diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 108634 -> 108642 bytes | |||
-rw-r--r-- | dev-ruby/date/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/date/date-3.3.4.ebuild | 33 | ||||
-rw-r--r-- | dev-ruby/drb/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/drb/drb-2.2.0.ebuild | 27 | ||||
-rw-r--r-- | dev-ruby/rdoc/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rdoc/rdoc-6.6.0.ebuild | 98 | ||||
-rw-r--r-- | dev-ruby/securerandom/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/securerandom/securerandom-0.3.0.ebuild | 27 |
9 files changed, 193 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 0b1763f7673c..72c79254d92f 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/date/Manifest b/dev-ruby/date/Manifest index 0e6ab274301b..ff61374df2d4 100644 --- a/dev-ruby/date/Manifest +++ b/dev-ruby/date/Manifest @@ -1,3 +1,5 @@ DIST date-3.3.3.tar.gz 109793 BLAKE2B c7ee6337a520172b692a48c963a67d7fe7f6f56dd6ea5a957eda32d7c21fee7d02d0616f39c32abf61ae5f33f6507c508e98c568fd8f7baf300dfc5658945917 SHA512 a2224fa191fd688593af29b95e40f67e9fb9acea93b7de613d9c4b105343434a9ef30f32599cd6af243dd3e35a9bf1f60b722e6a0bc4393e26e83734196e8193 +DIST date-3.3.4.tar.gz 99252 BLAKE2B a8fe8f4a716bb4247f00b94f2c9564a34df8fdd43d2345cfc529541bbfbf0549df1e0aac0d120de6b4cc6e6ea8e6fc38ee87cc36b16ddafb2c4589b8e96c04bd SHA512 d8b71c56316224ef7d5f0c7515adc9540eea784daa49f3c130dbbe1fcd2a90abc85b153bbca66809666c817597733f03f5acc06e883878ecc5ede3eab398c348 EBUILD date-3.3.3.ebuild 1019 BLAKE2B 73c4c956762d37d69c1b01017a42081b6eab5ffcb32ce96383418a4c9e8dfa6974eb2b71d75b435e1c72b41ec2a43e2b19669ebbb247520bcf955b9b31e2a410 SHA512 03335893c7dc1ab7da3bd469a49ca123bf5f8510be93ed11d8c5079096e3b45d691b640613c288fd71a77c3c981e01a69e9517e46bfffda4f72a804efd7ccfc8 +EBUILD date-3.3.4.ebuild 1013 BLAKE2B 09f28d7753f134ec3c44c822b80dfe5c9fdc4f3c4150790d94a4e7d9cb5a7d89032e82e7fcde43d2b7da1c7ee4488917d9dad8b2db2011c0a69b4e0ad00efd5e SHA512 c49e63e955426dd3ef9222cbb805fe2e0785dad84c6db66185a3b4bd5d2c9bbbbf655b335c1916b9868afb1e8b63579c367f1c1fbed8fd9580d52de1a21b725f MISC metadata.xml 336 BLAKE2B ebecdf17ef8daa50c1327043a3c8744971b20f9e58758716a4d39968312ed3426e3902d2be1fc6d1ccc6ff84460fa1c2bd98d5cdf0ccd417167603209c14b66d SHA512 5abad9d2498b1ca553c2500c9ea24b04b3c8f617ee799a45efe48814a8cb926380fdd6c5b963ac6b3f43f8c92ab445e59458a80b569ac5a433b7c89c3d9171dd diff --git a/dev-ruby/date/date-3.3.4.ebuild b/dev-ruby/date/date-3.3.4.ebuild new file mode 100644 index 000000000000..c6ce78027eff --- /dev/null +++ b/dev-ruby/date/date-3.3.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/date/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="date.gemspec" +RUBY_FAKEGEM_RECIPE_DOC="none" + +inherit ruby-fakegem + +DESCRIPTION="A subclass of Object includes Comparable module for handling dates" +HOMEPAGE="https://github.com/ruby/date" +SRC_URI="https://github.com/ruby/date/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/drb/Manifest b/dev-ruby/drb/Manifest index 922e255b4abe..d4d0534637bb 100644 --- a/dev-ruby/drb/Manifest +++ b/dev-ruby/drb/Manifest @@ -1,3 +1,5 @@ DIST drb-2.1.1.tar.gz 46269 BLAKE2B 91bba196afcf481c34aed1df3569ec122ba42da34e6eacdb19c245e7c76f63594152b8294d383118bd539720f89f9ca3a6488047a318dd7369aa11223e6c2f4e SHA512 e524c76f50f391256a40ff451f1f1f968babdc12a36426cbc9b127eaa1b4e7c0f4ff367146d32ec4cba088379ea23c06547cecf32c77c90d61681ecf04c999c5 +DIST drb-2.2.0.tar.gz 36203 BLAKE2B 5c60cd5dd8ab26434046435d98e203c7a50c6160edeb5373527140df8a26c7494a05a00b7faff11f1a8cecbeb963736e87adc1a9967e78b6c81b47d5c234eab3 SHA512 763f1ab8645d0bf168fc56bbde85fd4992405530d1764f49e18f2529713b3b2d62cc314b65e59472c11bbbb964e5133fe463b1f266ffde35f79b836a527c864a EBUILD drb-2.1.1.ebuild 739 BLAKE2B c869163a3db17be84b8a897339bd2023346d9b17d13d0f668f47626c1103eed7922df0779505c0582dc0a5e0a429a97c403fcf04b8679bd4a5880bd7bbf063bc SHA512 0452a34774ff8ace791b0b2dfe4e4f41adb65d009ec47a6e3d96b55dab0c193ebd195e2f140dc617f02fbdedefa1e4de521f34de510e3e2494de960bd4176a6e +EBUILD drb-2.2.0.ebuild 739 BLAKE2B c869163a3db17be84b8a897339bd2023346d9b17d13d0f668f47626c1103eed7922df0779505c0582dc0a5e0a429a97c403fcf04b8679bd4a5880bd7bbf063bc SHA512 0452a34774ff8ace791b0b2dfe4e4f41adb65d009ec47a6e3d96b55dab0c193ebd195e2f140dc617f02fbdedefa1e4de521f34de510e3e2494de960bd4176a6e MISC metadata.xml 335 BLAKE2B 200a0f834c2bef037f3c06f8b28f48699ac38d381683371d899d8814c27ef9d77fd673a61b3f59cfe4592583f372be6146917578b9f6ec24c7cd30d9200019b7 SHA512 33a0178f6f901b7c06ec2c511911f423fcf8ebb34af6a4e9379371c2d119be4744cd6807eb41bbeba9e56e87317bebfdbf62b8962406710b7285f8eb884ef9da diff --git a/dev-ruby/drb/drb-2.2.0.ebuild b/dev-ruby/drb/drb-2.2.0.ebuild new file mode 100644 index 000000000000..d3973552ead8 --- /dev/null +++ b/dev-ruby/drb/drb-2.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="drb.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Distributed object system for Ruby" +HOMEPAGE="https://github.com/ruby/drb" +SRC_URI="https://github.com/ruby/drb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/ruby2_keywords" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/rdoc/Manifest b/dev-ruby/rdoc/Manifest index 1b6c55ecd654..589c1693614e 100644 --- a/dev-ruby/rdoc/Manifest +++ b/dev-ruby/rdoc/Manifest @@ -1,5 +1,7 @@ DIST rdoc-6.4.0.tar.gz 755741 BLAKE2B d2519dc0dac3fac32ef7cac8c87dba1a679f0b09dc5858e91899d6d28195cf584fe3eba802bafad400ae26c5ddcb65eaec32e101f9e047f80cecd1616a386ed3 SHA512 6c6a89245ac77abdeedee70327f97f8a9b8bb596c14848a95487ff19039864dd7a5c0f5b501fe2e7b187c671cfb205c1500359c7c203beb89211addaf3ac34f7 DIST rdoc-6.5.0.tar.gz 762645 BLAKE2B cecade491f0d18b2c50ec710cb27a28b6cb946f321503e0508e8d4802e93033a78867346eb1d68ca56884ea0d68d51d6fdb92eb61fa63034a01332e8b572dbcf SHA512 10382e66ca778f85f236614fe071b2b0d598065d3aab8f5a89cb0839da7713b5e16a66e3f7a2bff2e2125d26a42f088a86c6d339dc36479a943bb7023c1cad0c +DIST rdoc-6.6.0.tar.gz 764785 BLAKE2B 85bd4b4ece07ae95c9afb6521ba42c1e016f75ef439c71512024ccf2f0ad47f603944aee1aeb28c76c74d59352ae673825c7d7f6bfe46b2ad3e2bafe406feb68 SHA512 fb4c58bb19652a090f45c85fec47be52e2474854ab9ae6705e9a3f6b2ac3381af4aca89b8a39ee5906bab6ff6c63a384d4a12dc6aa19024cc335df18cc92aab7 EBUILD rdoc-6.4.0.ebuild 2697 BLAKE2B f9b35a125df8033e62de26b10a71eff097eddac0699ed30536ba449db26016741a86185e40dd797f7a63e73dbf721d9fda1a3de2f69520df86409e1529eb7dfa SHA512 e6a6980a961a72811424146f4f995241745ab5c0ff4bd3cea59b41909ebaa0362da1532fb5370398ab0ddedd9e7b51b27c5920ac39ce7b7f165eee926a0dadb5 EBUILD rdoc-6.5.0.ebuild 2732 BLAKE2B 254a80d4442f1179852aaed6a98aa7ff488c1f87cc8c37ecde832f4954979091ea17b9b6e9bcc12fb649cb257803e58a5aed549e37664458be9c5672d5a41fc2 SHA512 1d5db6b03b09668ec089ca199cbe0a1b7ded3d7a1bd5e3abd40e2ce67381289f16e88d056eaf8ca2c5d446e714c066d98edc299a84f8bc68b705640ad04f86f6 +EBUILD rdoc-6.6.0.ebuild 2726 BLAKE2B 589396ce3fa6b00199053ade4c65870e1e9d9c0538599af7e5a438bf124924be3fd47ce7539ccdbbd90c9ad89f74bbd94915e4ad060f6719f42216abd2674ec8 SHA512 0e235da8448b62968cce7f30c53f73df470323c2186944d5b2a483dd93779c63d757e312806a4a73bbaeb41f7b357ecb2365f7d005cdd01b1b4efe45ecad57b5 MISC metadata.xml 336 BLAKE2B 142894745c624081f44dfccc6509273287120a43ceb8d7471634d92ab970bbc7747ce12b3a770b085c8c55a30f2c52ee34e0f27ba4be804ee2056150fb3b035f SHA512 438973812b1541e96ffd4add9422bd19e2c09f3f5b8ddc3ef86a670827c6bce9ed9c1bf9df0601927c959584b63a9d0986d0377807856ab8301fc8a8176922e1 diff --git a/dev-ruby/rdoc/rdoc-6.6.0.ebuild b/dev-ruby/rdoc/rdoc-6.6.0.ebuild new file mode 100644 index 000000000000..7ea9b73b0177 --- /dev/null +++ b/dev-ruby/rdoc/rdoc-6.6.0.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_GEMSPEC="rdoc.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An extended version of the RDoc library from Ruby 1.8" +HOMEPAGE="https://github.com/ruby/rdoc/" +SRC_URI="https://github.com/ruby/rdoc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 Ruby-BSD )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="doc" + +RDEPEND+=">=app-eselect/eselect-ruby-20181225" + +ruby_add_rdepend " + >=dev-ruby/psych-4.0.0 +" + +ruby_add_bdepend " + >=dev-ruby/kpeg-1.1.0-r1 + >dev-ruby/racc-1.4.10 + dev-ruby/rake + test? ( + dev-ruby/bundler + >=dev-ruby/minitest-5.8:5 + )" + +all_ruby_prepare() { + # Other packages also have use for a nonexistent directory, bug 321059 + sed -i -e 's#/nonexistent#/nonexistent_rdoc_tests#g' test/rdoc/test_rdoc*.rb || die + + # Avoid unneeded dependency on bundler, bug 603696 + sed -i -e '/bundler/ s:^:#:' \ + -e 's/Bundler::GemHelper.gemspec.full_name/"rdoc"/' \ + -e '/rubocop\/rake/ s:^:#:' \ + -e '/RuboCop/,/end/ s:^:#:' Rakefile || die + + # Skip rubygems tests since the rubygems test case code is no longer installed by rubygems. + sed -i -e '/^task/ s/, :rubygems_test//' Rakefile || die + + # Remove test that is depending on the locale, which we can't garantuee. + sed -i -e '/def test_encode_with/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + # Remove test depending on FEATURES=userpriv, bug 361959 + sed -i -e '/def test_check_files/,/^ end/ s:^:#:' test/rdoc/test_rdoc_options.rb || die + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + ruby -S exe/rdoc --force-output || die + rm -f doc/js/*.gz || die + fi +} + +each_ruby_compile() { + LANG=C.UTF-8 ${RUBY} -S rake generate || die +} + +all_ruby_install() { + all_fakegem_install + + for bin in rdoc ri; do + ruby_fakegem_binwrapper $bin /usr/bin/$bin-2 + + for version in $(ruby_get_use_implementations); do + version=`echo ${version} | cut -c 5-` + if use ruby_targets_ruby${version}; then + ruby_fakegem_binwrapper $bin /usr/bin/${bin}${version} + sed -i -e "1s/env ruby/ruby${version}/" \ + "${ED}/usr/bin/${bin}${version}" || die + fi + done + done +} + +pkg_postinst() { + if [[ ! -n $(readlink "${ROOT}"/usr/bin/rdoc) ]] ; then + eselect ruby set $(eselect --brief --colour=no ruby show | head -n1) + fi +} diff --git a/dev-ruby/securerandom/Manifest b/dev-ruby/securerandom/Manifest index b17e67046848..e8dbeaa5a8be 100644 --- a/dev-ruby/securerandom/Manifest +++ b/dev-ruby/securerandom/Manifest @@ -1,3 +1,5 @@ DIST securerandom-0.2.2.tar.gz 7871 BLAKE2B 3ded59a1c4a035ea80b0fb1fa67e43d86c27485c782b34c2a548489ea1570be1cdc12860389d655ba0344900275af3422fcbe4621335ec62895eb229407326d2 SHA512 173e8968de037b17d5c4cf22b1d08b042c60e9679fb8cea100df193d58a345d6cb246ad56eeb07f58a3a7a6060826d59b7ed8ecdf7e38352b9d56d3cdfa71ff1 +DIST securerandom-0.3.0.tar.gz 10302 BLAKE2B a5dd123fa6d48eebda20eaee70152c237b5018e8c04fbd83f4d8d53b2459453fc0676265341e26328252a5acf3a675f4455f04331a2698ece40bb693a554fbe4 SHA512 a61901b3de95007cb9296e0555ec36ca3ea4aa0a0ed55b0e6a1e5b53ca79240dd93e3d59ef1b6914e4cd646d038f499695196b8348eb829fd8822406a7fc7cb6 EBUILD securerandom-0.2.2.ebuild 826 BLAKE2B 15ccf1f57d4e62734dc01300e2e2d2b29c08948dd7c39df4e95613112653f969f7d4acf72021a539615d883ca49cc67f705c2dd0e813fa21b27d5aff131005d2 SHA512 3a3bb80052bda8725c8221e05f8cf7279c182ae93221012c08657a6010e57dd362f569fa9fc2bdb509d5d0577fc7ed1924f9d3ab9914fc5e7ff9fb0668da81da +EBUILD securerandom-0.3.0.ebuild 819 BLAKE2B b6d237d2330f9e33ff09749c734eee97c47d9df0f9d857e43c3ed83c635c7f2329444a484672e8b26f5ccae8670d49dc213d35ea0bcbd1142bb928c7b8df90b3 SHA512 dcd03ebd7099e543358a25472a2fad561e10f559ce56aae59bb448d487d7a6c0172bd41caf4ed3dfa7a4a22f9fd2dca79bd9c5011aa8ac38a1a4a7c13bc83159 MISC metadata.xml 344 BLAKE2B 3bfca7d632e9ed3ddb1d9e83312f1045e81d2486a06e9c4bd990c2686b94584e83a07ca303e366e058d3dbd0e3bb9c67626c3716938d49b11efe8288b979bd09 SHA512 fe13e1a6482387b9f886ad6792723d45104508235927967154d9d101ddf47fd51d9114054f1db6523f490411132c0706526515fffcea871cbe7faec5d3542271 diff --git a/dev-ruby/securerandom/securerandom-0.3.0.ebuild b/dev-ruby/securerandom/securerandom-0.3.0.ebuild new file mode 100644 index 000000000000..234e636a26d7 --- /dev/null +++ b/dev-ruby/securerandom/securerandom-0.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="securerandom.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Interface for secure random number generator" +HOMEPAGE="https://github.com/ruby/securerandom" +SRC_URI="https://github.com/ruby/securerandom/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |