diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-19 00:32:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-19 00:32:54 +0000 |
commit | 434fbe89e81a1fe06d92676be72ab7f862cc3f53 (patch) | |
tree | 7ed0f70fded2af7cbc43e42097f4cd2cebd8c845 /dev-ruby/duktape-rb | |
parent | cd0d9000770337b445051f1852fe3971ceb7a6e2 (diff) |
gentoo auto-resync : 19:03:2023 - 00:32:54
Diffstat (limited to 'dev-ruby/duktape-rb')
-rw-r--r-- | dev-ruby/duktape-rb/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/duktape-rb/Manifest b/dev-ruby/duktape-rb/Manifest index 67f4090bd6d8..e597fede2499 100644 --- a/dev-ruby/duktape-rb/Manifest +++ b/dev-ruby/duktape-rb/Manifest @@ -1,5 +1,7 @@ AUX duktape-rb-2.3.0.0_duktape-2.5.0-tests.patch 677 BLAKE2B 74224d6c929cafc5d61566ff9bcd69f4279d1e14e3029e9af2396c4e7c1c280bba5bc8ed7a9751c8f9596cb26414d0ee893e346480ed3b780db602eb40169425 SHA512 3754e03340c2cbed7f9b264c718c4b39d7115b7c7d6d9ce6980bb04a0f426bc626019edb132f34ae031fb53be6c6aacca71137b1c46fda879dd285e4f920249b AUX duktape-rb-2.3.0.0_use-system-duktape.patch 1860 BLAKE2B 479457cc1782a43ea217ac65dc20f41bfd8ca75dcdf7b77403b144514b590989a98eba01b3f0687e49b81cbb9a096bebb7e0034a0c09dcae36def12d10ea8e13 SHA512 567b9d3b41a413703e64e9167c683a5fb60af13a97426aa03ffe4a38ca6f810fad54ee29269157698c70c762329b3e889b7bed72420700764a478c9047abd4ef DIST duktape-rb-2.3.0.0.tar.gz 1356464 BLAKE2B be7362ddbe6860bcb12c8f8909f66ae525585e628f7be2317b07eb07960f8f25e503dbc89e713e57144cc8108751ac856aa73a16cbd58502e928acf9e116247c SHA512 af4fd45387c3f40cd24bf3c879ef4e0d7efd43ca24f0cb866bf869db7fa9f4add9b60122c0dcfbce5491cdd7479b1414637fa1054078216b9f57fa426feb0154 +DIST duktape-rb-2.7.0.0.tar.gz 1385934 BLAKE2B 1a3a7ea2c1469ddf9ac482e4329726e0f96823e75153027cf83155cca796cd0380d816a23d617e4bc40e72215acdc524fcb9575711e585952aeb9c6ed85ede70 SHA512 e91f57c2789aeb26aecbd9759c0b8cda457f290fcbe431fee721d01c1987c64f307f0e042b50cf6b4fa468d41c6365adde8395e2a33a8c637f6524af1c7cf028 EBUILD duktape-rb-2.3.0.0-r3.ebuild 1058 BLAKE2B 237552807ee1a00094ac1d7d314c6be86679335a4b0701db5cd6979a576a07421514f347f3453f903a7148bce537688b382678952d10b5e2c4bb7321bfc9d441 SHA512 4ada2abd7caa14e6a784ebc163cfae3b7c86541f7fbc9deaed55b3ceb28ee9a2d42242347ea49b8ad529f682db521513ec52c244b11c4a2c090993e81f64ef13 +EBUILD duktape-rb-2.7.0.0.ebuild 1011 BLAKE2B 7c8beac2f009817e6767890e4716164416939ec4aa4173a199ab64c3cee3585ea960d9efbe00c60769a198b2a79464644bfcfe88ae83ba45ae6e3f6af650566d SHA512 49bfb768844f68d9e29c63f045dc18559341e1752723a2c9809098e543225b004898d62e78c3474237f7ef9415e6240f905f93b50f2b7b1b8d68fe192fd256d0 MISC metadata.xml 345 BLAKE2B d952a9eb1a46adcf939e0eb82475ca2b442b67c90d1ced4b92b214f6d461aeff1695027d862bfea6941cc89177355de6eb66495456461885edb6d17543bc538c SHA512 785c03f58811dcd7310d1fc9799e5840d629423318cf8c30b9f2dbee4dc96256b74fec897581f075cf907cc8389686755c5e16bc4a5d3c9592830e15206dc869 diff --git a/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild b/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild new file mode 100644 index 000000000000..aa16f49130ee --- /dev/null +++ b/dev-ruby/duktape-rb/duktape-rb-2.7.0.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_GEMSPEC="duktape.gemspec" +RUBY_FAKEGEM_NAME="duktape" + +RUBY_FAKEGEM_EXTENSIONS=(ext/duktape/extconf.rb) + +inherit ruby-fakegem + +MY_PN=${PN/-/\.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Ruby bindings to the Duktape JavaScript interpeter" +HOMEPAGE="https://github.com/judofyr/duktape.rb" +SRC_URI="https://github.com/judofyr/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv" + +COMMON_DEPEND="dev-lang/duktape:=" +DEPEND+="${COMMON_DEPEND}" +RDEPEND+="${COMMON_DEPEND}" + +ruby_add_bdepend " + dev-ruby/pkg-config + dev-ruby/rake-compiler + dev-ruby/sdoc +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.3.0.0_use-system-duktape.patch +) + +RUBY_S=${MY_P} + +all_ruby_prepare() { + rm ext/duktape/duktape.{c,h} ext/duktape/duk_config.h || die "Failed to remove bundled duktape" +} + +each_ruby_test() { + ${RUBY} test/test_duktape.rb || die +} |