diff --git a/app-text/lesspipe/Manifest b/app-text/lesspipe/Manifest index 2deb7f2d7be75..936d407f9e766 100644 --- a/app-text/lesspipe/Manifest +++ b/app-text/lesspipe/Manifest @@ -1,2 +1,3 @@ DIST lesspipe-2.11.tar.gz 171212 BLAKE2B aa7cf35f00d9db4ad7cb48ae89089a4d0c5d6c6e41ec902bc7ba6d4fd218f8ea90e1fdf3d6fcbac1dd1f86eb841a0daa6838b0086905fd4b0535d91040ef85aa SHA512 ed75d8529bd24876b11a50d0ada476299569d0fe716c390de84a0630ae475594f96370ffbed64fc5d9e2417dcbaa7b2f68630e32f665dff799667c2653b0265f DIST lesspipe-2.12.tar.gz 171915 BLAKE2B b1181cc5ca6ec8ca918bff31def6d6fde5f6bcfde9d48e0a23a088ee9ff178e3e9ff330b1c27a3d74b63d227c94292141414bec8c25d0035f9fec01c6760b8b9 SHA512 9c6945b0f5a5672e3b9b0035ebc63ab3197c1b3d1dfc3d4a2280c1f11421d98ccc5c016273a308a96f61a47f4da6d6658502534284fff81fd75365a4ba91c27e +DIST lesspipe-2.13.tar.gz 173413 BLAKE2B 06752c71822233bf7f5f9f55b416222963a05cb9b7ce60d204b989d5d7052e5d24ca26f0ddc9e2520789e89cf8e2be456a77f616adefe65e637d0761948a734d SHA512 e4e2448f9d001c1da3ca2d9ad029598cc51bd3ce381f77d4b77093d8df8162111726af09690611f91542b2f8f437dcc448b95505adfc92a724bff151490ddd3d diff --git a/app-text/lesspipe/lesspipe-2.13.ebuild b/app-text/lesspipe/lesspipe-2.13.ebuild new file mode 100644 index 0000000000000..9b06994b07f0e --- /dev/null +++ b/app-text/lesspipe/lesspipe-2.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +DESCRIPTION="Preprocessor for less" +HOMEPAGE="https://github.com/wofr06/lesspipe" +SRC_URI="https://github.com/wofr06/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +# Please check again on bumps! (bug #734896) +RESTRICT="!test? ( test ) test" + +RDEPEND=" + dev-lang/perl + dev-perl/Text-CSV +" +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + test? ( app-editors/vim ) +" + +src_configure() { + # Not an autoconf script. + # + # PG0301 + # By default, only completions for installed shells are installed. + # Unconditionally install zsh too. + edo ./configure --prefix="${EPREFIX}"/usr --all-completions +} + +src_compile() { + # Nothing to build (avoids the "all" target) + : +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install + einstalldocs + + # The upstream Makefile intentionally installs to the wrong directory, then prints: + # In bash, please preload the completion, dynamic invocation does not work + # . /usr/share/bash-completion/less_completion + # Or consider installing the file less_completion in /etc/bashcompletion.d + rm "${ED}"/usr/share/bash-completion/less_completion || die + insinto /etc/bash_completion.d + doins less_completion +} + +pkg_preinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "This package installs 'lesspipe.sh' which is distinct from 'lesspipe'." + elog "The latter is the Gentoo-specific version. Make sure to update your" + elog "LESSOPEN environment variable if you wish to use this copy." + fi +} diff --git a/dev-ruby/http-cookie/Manifest b/dev-ruby/http-cookie/Manifest index 7c105791efcc8..fb426d0e7aa9a 100644 --- a/dev-ruby/http-cookie/Manifest +++ b/dev-ruby/http-cookie/Manifest @@ -1 +1,2 @@ DIST http-cookie-1.0.5.gem 39424 BLAKE2B 569a0d18c962be378f3974b400ddf2289c72490b2b93619fcd83ed6c00bbf5def76239c52163dc6231060792abf3a19988285a6cd28f158ff7339252da912e61 SHA512 d530d64b5c2fc3757a6de03384fe768317e24a523d4a4215f5bcc6b5bca9e7b94eeaad1e52fbb67548396b7b2ca7c9d8b68ea7b99109e24770fcf34c950469ef +DIST http-cookie-1.0.6.gem 40448 BLAKE2B 428cd8aef9d08ff86486c1dab10f75e2cf0aa614eda598a95e35598f945a41cc35cf7a871b4b6b56f01435790c7995d1cb83c2fff46463282d66f0e1cd8a0883 SHA512 088949816b70c3eea5464b492cb067d1d1cea8608ba8ad791876b5a33cc57c95b036420e3e9872a40e35c84168a37ab6b4615a049ea98b04588000cdf594bc5f diff --git a/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild b/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild new file mode 100644 index 0000000000000..80e69e9381ece --- /dev/null +++ b/dev-ruby/http-cookie/http-cookie-1.0.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library to handle HTTP cookies" +HOMEPAGE="https://github.com/sparklemotion/http-cookie" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# See https://github.com/sparklemotion/http-cookie/issues/16 for dropping domain_name +ruby_add_rdepend ">=dev-ruby/domain_name-0.5:0" + +all_ruby_prepare() { + sed -i -e "/simplecov/d" -e "/bundler/d" Rakefile || die + sed -i -e '5irequire "cgi"' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_http_cookie.rb || die + ${RUBY} -Ilib test/test_http_cookie_jar.rb || die +} diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 2e3ee93f1f484..33d988584ae54 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -1,3 +1,2 @@ DIST json-2.6.3.tar.gz 133077 BLAKE2B f6101f533159fb689b6bf22975137d34a77bd0926c164a9c14f2d5eab982778538ec40551709e8a6470f05e78584a3e5680be740314bb7829b48feb32fb258ae SHA512 1bf9125266d8cdc565deb9e2fe3c884a1fc8d2f3b31caae67a154d0c47e30305074c1c08b49d180dd785c766762b46d3b3ef85919d53388797fcc2f37675317c -DIST json-2.7.1.tar.gz 125655 BLAKE2B 9921b8dd26123d27b752d3dd633f788437a1aa2003b09ad6d0f43e946362f48a8e5b8dcc70d08f61cc9affa2578750e40c5a78d3bf88e0417af8890100987c79 SHA512 81e7cf51363095088142a7ac15428765f296e9b8c205946abf9ab98ddf7c57aa732c8111e6b0e239606645dfbc24dd40fbe981a52ab2d9fac97c0e3fb08133a0 DIST json-2.7.2.tar.gz 125814 BLAKE2B 450c9495053c762446e77997bdc7e0291f8baf160a4da7e56d04ed18aa5629a11f1309e40bab0849692433392cfba8a19dda905fe5044ab363591a49e6e18b60 SHA512 5c432c293eed69b9810b5d0ca782383ba3f206d561641c354515e357c663ed4a4fb5ae35d3336d48605f9e82156d2f14a7ec6fa26642351214f60d91bac84f0e diff --git a/dev-ruby/json/json-2.7.1-r1.ebuild b/dev-ruby/json/json-2.7.1-r1.ebuild deleted file mode 100644 index e35c42b886fea..0000000000000 --- a/dev-ruby/json/json-2.7.1-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_GEMSPEC="json.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext - -inherit ruby-fakegem - -DESCRIPTION="A JSON implementation as a Ruby extension" -HOMEPAGE="https://github.com/flori/json" -SRC_URI="https://github.com/flori/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="|| ( BSD-2 Ruby )" - -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="$(ver_cut 1)" -IUSE="" - -RDEPEND="${RDEPEND}" -DEPEND="${DEPEND} - dev-util/ragel" - -ruby_add_bdepend "dev-ruby/rake - doc? ( dev-ruby/rdoc ) - test? ( - dev-ruby/test-unit:2 - dev-ruby/test-unit-ruby-core - )" - -all_ruby_prepare() { - # Avoid building the extension twice! - # And use rdoc instead of sdoc which we don't have packaged - # And don't call git to list files. We're using the pregenerated spec anyway. - sed -i \ - -e '/task :test/ s|:compile,||' \ - -e 's| => :clean||' \ - -e 's|sdoc|rdoc|' \ - -e 's|`git ls-files`|""|' \ - Rakefile || die "rakefile fix failed" - - sed -e 's/__dir__/"."/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid setting gem since it will not be available yet when installing - sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die -} diff --git a/dev-ruby/jwt/Manifest b/dev-ruby/jwt/Manifest index dcb52c43aef65..79f3654b3cb87 100644 --- a/dev-ruby/jwt/Manifest +++ b/dev-ruby/jwt/Manifest @@ -1,4 +1,2 @@ -DIST jwt-2.7.0.tar.gz 75020 BLAKE2B 2bfa009912f4037dc13672ef6d43557e70bc9a06d399d949a6c5ddee641dc550a218242482ec0a66eb470ab117d1e192dd1ca6fdb5a03926d85f4902d72500e7 SHA512 8e0bb9909d123b7b73fe01fafc4088e45140e417b1bff84b240a317f3dca8085b2b987bd1e93cb1506efc66a1f7371168f8202a590308ee0e4c52820983a9789 DIST jwt-2.7.1.tar.gz 75003 BLAKE2B 5c43fd78cf22960749358cbfcbfb5c47dce935ef8fd83235137a963572b95b19583399e142136663d113df472ebfb5dd976ce60156b75cceeff387950b6190b0 SHA512 efcdd81bc472a18764e0033f1040e9e2506952cbfb691acfc1ad90a5b34ebac864911e0cfeb28b82ac2ce1da7e3578a6677c0b113d1e45a81a3f4c4f8fed1047 -DIST jwt-2.8.0.tar.gz 71132 BLAKE2B 195bce2da7598c2c16d22db6b0322b6b8b9ab76dba70bc66f88ae44a030acc4a2d70a9864c760ebabb6b6d6ae6256fe291be33aea4e67432258f4243e939d9b6 SHA512 d2ef3505aa38f0337a658fa365258195be118939ec300dc8d17ca6cb950358b2e9a7c64c0dea3ef50df250c70da4e2233a4daccbe8fac97e902e28b7e9dcfa0d DIST jwt-2.8.1.tar.gz 71939 BLAKE2B 07eb3df24165c72f13a77dfff658a94574e4fc5b5aed3b56041c58cf9bfb8eba663e76de7eb91e2870bbb8dcdeb79b9c2a7888d29f41feee06e2f07a825b90b9 SHA512 df4ad49f223bba0ace69a37d229868c2deabed5c09fd84e5e4ce4021242cef9e30c07a592b5bf54af6bdcfec552487d808620cf020d242757fc4310d201469c2 diff --git a/dev-ruby/jwt/jwt-2.7.0.ebuild b/dev-ruby/jwt/jwt-2.7.0.ebuild deleted file mode 100644 index 5210e3c5ef347..0000000000000 --- a/dev-ruby/jwt/jwt-2.7.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" -HOMEPAGE="https://github.com/jwt/ruby-jwt" -SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="" - -RUBY_S="ruby-jwt-${PV}" - -ruby_add_bdepend "test? ( dev-ruby/rbnacl )" - -all_ruby_prepare() { - sed -i -e "/simplecov/ s:^:#:" \ - -e '/^SimpleCov.start/,/^end/ s:^:#:' \ - spec/spec_helper.rb || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/jwt/jwt-2.8.0.ebuild b/dev-ruby/jwt/jwt-2.8.0.ebuild deleted file mode 100644 index e092f3ff62850..0000000000000 --- a/dev-ruby/jwt/jwt-2.8.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_GEMSPEC="ruby-jwt.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby implementation of JSON Web Token draft 06" -HOMEPAGE="https://github.com/jwt/ruby-jwt" -SRC_URI="https://github.com/jwt/ruby-jwt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" -IUSE="test" - -RUBY_S="ruby-jwt-${PV}" - -ruby_add_bdepend "test? ( dev-ruby/rbnacl )" - -all_ruby_prepare() { - sed -i -e "/simplecov/ s:^:#:" \ - -e '/^SimpleCov.start/,/^end/ s:^:#:' \ - spec/spec_helper.rb || die - - sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/mini_portile2/Manifest b/dev-ruby/mini_portile2/Manifest index 5580d6a4a0ba4..6384d1639e6d8 100644 --- a/dev-ruby/mini_portile2/Manifest +++ b/dev-ruby/mini_portile2/Manifest @@ -1,3 +1,4 @@ DIST mini_portile2-2.8.4.gem 30720 BLAKE2B 33f5e67e1ef647c781cf4f5a4b04a2164b27fb6846e0d76ad42f1cdbdd04cae69c4e14cde4ce5bc36c392de74d256770f693485e896b443aab8cceb0a6cc28e9 SHA512 19e3e4908e54fb73d695f0674a5c95d96bfa2cf6f87c0d59c32f8a68941b729adc065b3bea2d5eaada489340d8c76e098b9db839d075cac5d183f47d2cee7d9c DIST mini_portile2-2.8.5.gem 35840 BLAKE2B f14d071bebf5f1d7160b5196564279ea46ae4ec306587a6ec550c3dbc105db0790b55aae1d7595d2d11d5d21826a07ac382c62e4c22ba15aa22323520040789e SHA512 fa09bc2c4aefc341cb249dc33b5ad3182aa582ef150645793e323bdef4d19cbeeced0348c3c962a7225a9aa91b40824347fa1499955326525eddcf867f6ff798 DIST mini_portile2-2.8.6.gem 35840 BLAKE2B 0173084a911ecc6400c1d7cff9645cb7cc99db6e8aac934c7ee723300b3016286dc21dbd2299c9b703a817527a63cd86c31334c880e57a879f78ab24a109e844 SHA512 7131806ef5af09082e08a05000256ad7ce9fcd170ef3485f42618c69e0bee6cdf8f2e14b67e61d36b9efed5c1df970045720a01d9e0b7ffac434da651a28f238 +DIST mini_portile2-2.8.7.gem 37376 BLAKE2B ba12a85f227df501f7b93a35b6ceb50f6c51470cedc293090c640ffbbbfca0b1089a5174aec914e7655d5f780792dba898beedf1239428e91b8b4852352d932a SHA512 9376a6c2a77a863369d9980dedde3750696ee05ad2249891c35dc03385a2442b0fd182cb4c62da967138f3a9b83c075a6cf8f2a80dd5b76f6f61dbe4e1982fbe diff --git a/dev-ruby/mini_portile2/mini_portile2-2.8.7.ebuild b/dev-ruby/mini_portile2/mini_portile2-2.8.7.ebuild new file mode 100644 index 0000000000000..ec718bb6b3137 --- /dev/null +++ b/dev-ruby/mini_portile2/mini_portile2-2.8.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +inherit ruby-fakegem + +DESCRIPTION="Simplistic port-like solution for developers" +HOMEPAGE="https://github.com/flavorjones/mini_portile" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" +IUSE="test" + +BDEPEND="test? ( dev-build/cmake )" + +ruby_add_bdepend "test? ( + dev-ruby/minitar + dev-ruby/minitest-hooks + dev-ruby/net-ftp + dev-ruby/webrick +)" + +all_ruby_prepare() { + # Avoid tests that expect gcc to be the main compiler, which we + # cannot guarantee. + sed -e '/test_configure_defaults_with/askip("Requires gcc to be the C/C++ compiler.")' \ + -i test/test_cmake.rb || die +} + +each_ruby_test() { + ${RUBY} -w -W2 -I. -Ilib -e 'Dir["test/test_*.rb"].map{|f| require f}' || die +} diff --git a/dev-ruby/net-ftp/Manifest b/dev-ruby/net-ftp/Manifest index 8d52647951e20..23f50701948f8 100644 --- a/dev-ruby/net-ftp/Manifest +++ b/dev-ruby/net-ftp/Manifest @@ -1,2 +1,2 @@ -DIST net-ftp-0.2.0.tar.gz 29845 BLAKE2B 710ad47552242dfc30fd971cff683d67e0e1cda73086e3504b0e45ab650ad4666c19c46d221bb5b64fab2d507a9063c64fc8da17de9221de4fd487acb0cb3514 SHA512 a6b2f30bde4c39568690db7f57e917e0fab046d456acfe68eb22a0ee81ad71b4be4a6c7752dc556bb2481f3e0fe5fc81193e194e2b5056087abce633e0d2f7e9 DIST net-ftp-0.3.4.tar.gz 28020 BLAKE2B 2962f61c17b4314a044d3a80c62693948d1241f783b6f948a056ca34b8f076c8357dc150f04e09a245236b402c6e711e02f6a3717b60aa816a6ca419cfa1ed08 SHA512 1f289b8b0481abf66bbe000cfdc08d8f32559d02ccee186159696e1b563aecc1178d975946d969064bdb8abf8f76d50b5d5bde0423e12bf2ba0b757796c9b046 +DIST net-ftp-0.3.5.tar.gz 29007 BLAKE2B 4c7c9154f41333151b8249f38cdf1baf3e7cc4cbdb3e5f27cba1f2f97be463b16ede73b6e49b3e43bd591ece6784d102919c4028af636bddc34ac3e03f889b82 SHA512 551aa99200b4ee629a07f1107f1aee0f896bbed8bc88aba49103db244081cc28dbdbcc21cb0df60588b721aec9e22007ac5749d2485bb534c38621df28c04adf diff --git a/dev-ruby/net-ftp/net-ftp-0.2.0.ebuild b/dev-ruby/net-ftp/net-ftp-0.3.5.ebuild similarity index 73% rename from dev-ruby/net-ftp/net-ftp-0.2.0.ebuild rename to dev-ruby/net-ftp/net-ftp-0.3.5.ebuild index 87b1ff8c58656..506af331b8a77 100644 --- a/dev-ruby/net-ftp/net-ftp-0.2.0.ebuild +++ b/dev-ruby/net-ftp/net-ftp-0.3.5.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_BINWRAP="" RUBY_FAKEGEM_EXTRADOC="README.md" @@ -16,8 +16,7 @@ SRC_URI="https://github.com/ruby/net-ftp/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="" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" ruby_add_rdepend " dev-ruby/net-protocol diff --git a/dev-ruby/net-imap/Manifest b/dev-ruby/net-imap/Manifest index ab26aa25ac178..d6d26ee01552a 100644 --- a/dev-ruby/net-imap/Manifest +++ b/dev-ruby/net-imap/Manifest @@ -1,3 +1,4 @@ DIST net-imap-0.3.7.tar.gz 138906 BLAKE2B d6bc143d3947ec8a97cd7e0628e05447574f83296c78275dc7414d9cc744e820bcb6b8917de9215152be8b6141f69d4d6a1ea9e2265791eb4989dcdcce09b10c SHA512 6917d3bd980bbca86938232a59104dd924ffe7ec2f095e8c997165c726ada8020c821b26a0e8748433df49cf8802c4a434c805bd27f415d1f2644ddea1a94db8 DIST net-imap-0.4.10.tar.gz 241688 BLAKE2B 459581055564669e99f40436b454a1a072de57fb64fc81ee55bee602ca6e3ed97c81cda1975d462b5d583264adad72803cfe801319ba8724fd8ae229cfb7ec68 SHA512 0f05588dc80cef7f121cbb40e2e9ddd6cd44e5ba96ca8451ea32339275d394f1233bc6a8bc30aa1de6852f49a469e0ee64a3821d08e12199e4af51fca4e79ccf DIST net-imap-0.4.11.tar.gz 243069 BLAKE2B 7d8eb7ae4604358c408d855c731d4a99a4383f123abf6da9d4ba68414b470be6e4d511ebf10824b69563f7de73cbcb50a943b7a3d1221fadbb673a59f5428d8d SHA512 7f6eb23edafc9ed47e84493a3bd5baaddd5ba6ff3c4c2a0afb6693f98d0ff2574495580d484077e8600a1a2351f8595865e8e6acecf8e0ba690b9122e59c7100 +DIST net-imap-0.4.12.tar.gz 243885 BLAKE2B d3ccd6f799671f2101c38fcba437ae3962a61a2fe4b73545fbeee5f10ad035c0819afb25e7617fdcfce88337b4c99c3c4d98eeae914a1fc77a90519430b4e889 SHA512 ad3b030ba5a7daf8831a34a0e0effe0780134d7c81aeb4025adb39f11dd97ba57bcddd555b9038a34bdcc809ea722d778e0368a26d04739e084f6d4b7714aed8 diff --git a/dev-ruby/net-imap/net-imap-0.4.12.ebuild b/dev-ruby/net-imap/net-imap-0.4.12.ebuild new file mode 100644 index 0000000000000..78de90b9b8ae1 --- /dev/null +++ b/dev-ruby/net-imap/net-imap-0.4.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="net-imap.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby client api for Internet Message Access Protocol" +HOMEPAGE="https://github.com/ruby/net-imap" +SRC_URI="https://github.com/ruby/net-imap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="$(ver_cut 1-2)" +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="test" + +ruby_add_rdepend " + dev-ruby/date + dev-ruby/net-protocol +" + +ruby_add_bdepend "test? ( + dev-ruby/digest + dev-ruby/strscan + dev-ruby/test-unit + dev-ruby/test-unit-ruby-core +)" + +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 +} diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest index 787b37a14cfd1..8ac33029bb43b 100644 --- a/dev-ruby/sqlite3/Manifest +++ b/dev-ruby/sqlite3/Manifest @@ -1,5 +1,2 @@ DIST sqlite3-1.6.7.gem 3249664 BLAKE2B 021edaa3d1a9d4cd8eeaaf3354e6e5aab047d8e61abbd5416ae50b2a7e426e5a6c1a484bc9f0c47a838b006b37eb3b41d7c51c200851f9d7bf0525b9dc91b597 SHA512 83455e533bbe84c71045b28ec6262b50804e774f3de4811e123cdb780ea4989227c01a8b6939179813ae3b59e1261e2d694830cc10ca05e7789dc635ff4d9b97 -DIST sqlite3-1.6.9.gem 3277312 BLAKE2B 85360858f23ad20efce1d2d0dfb5661440425ad2d45bee3ff4c26a1489a9c3e8d1a875a8a0a2f71b89f9dde85e01ab10b65ba9bebcc9f4efe2dfb9214d983a5e SHA512 d5bb7b928c9cac2a8a97f9ce4e56041713d41364bef6e37ea10e47d795576b0f524eea9a8369f2022dab12d79cf0d28f85383d731ecde1af5edfb0c6421c83ff -DIST sqlite3-1.7.0.gem 3277824 BLAKE2B a836cccf0ad6572139589a534bd95e011108f313c0f3876da612196ddb58d4ca7e4de4534d896566c1d86e3990f5601f9953bd14b25ae9a7aa85559389ec11b1 SHA512 d87b9567e58018c51788d7d524f983f4a4503e95f2b25fd0e0eb655f357fff7c18ebdabf0cdd057a1ac2215c8c849e7eb4e10a323bdc812632830ab886510c16 -DIST sqlite3-1.7.2.gem 3305984 BLAKE2B 944ed6206476e4161361b31dfb09bcf0c91a7a5c7a675f21892aa9831d41218d367e459459a4774e86331aeabec9db1bd12956e01f004f23e2d95beed73d5808 SHA512 1e0ad4266230108f30716a1ab1dd2defc47f52e5a43250e32295e2506fa1398334010ad3aa771a60c2127618aef2344fe902e064ea525e95c99438db8c3b73b1 DIST sqlite3-1.7.3.gem 3307008 BLAKE2B 0df742c7cb4a8f920196106b5701eae07e60e668f040ca6e3276afdd0dfdeed3fb19ed455425f332e13082ca740f42d914536ccdf565ed151b6eb0f6ccd7c676 SHA512 b6ed36a5618134ca1f993b21a351ac279ebb7e1370be521eae67ed9224a1fac11d71ddd7573b3b14da47657756cb68b3eab0164b6e6ed058d3f64fa95699bc2f diff --git a/dev-ruby/sqlite3/sqlite3-1.6.9.ebuild b/dev-ruby/sqlite3/sqlite3-1.6.9.ebuild deleted file mode 100644 index 02ac7a89108dd..0000000000000 --- a/dev-ruby/sqlite3/sqlite3-1.6.9.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_TASK_DOC="faq" -RUBY_FAKEGEM_DOCDIR="doc faq" -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.md README.md ChangeLog.cvs CHANGELOG.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3 - -inherit ruby-fakegem - -DESCRIPTION="An extension library to access a SQLite database from Ruby" -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby" -LICENSE="BSD" - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="" - -# We track the bundled sqlite version here -RDEPEND+=" >=dev-db/sqlite-3.44.2:3" -DEPEND+=" >=dev-db/sqlite-3.44.2:3" - -ruby_add_bdepend " - doc? ( dev-ruby/rdoc dev-ruby/redcloth ) - test? ( dev-ruby/minitest:5 ) -" - -all_ruby_prepare() { - sed -i -e 's/enable_config("system-libraries")/true/' ext/sqlite3/extconf.rb || die - - # Remove the runtime dependency on mini_portile2. We build without - # it and it is not a runtime dependency for us. - sed -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc; then - rdoc --title "${P} Documentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die - rm -f doc/js/*.gz || die - fi -} - -each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} diff --git a/dev-ruby/sqlite3/sqlite3-1.7.0.ebuild b/dev-ruby/sqlite3/sqlite3-1.7.0.ebuild deleted file mode 100644 index 6a59e359cad9a..0000000000000 --- a/dev-ruby/sqlite3/sqlite3-1.7.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_TASK_DOC="faq" -RUBY_FAKEGEM_DOCDIR="doc faq" -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.md README.md ChangeLog.cvs CHANGELOG.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3 - -inherit ruby-fakegem - -DESCRIPTION="An extension library to access a SQLite database from Ruby" -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby" -LICENSE="BSD" - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="" - -# We track the bundled sqlite version here -RDEPEND+=" >=dev-db/sqlite-3.44.2:3" -DEPEND+=" >=dev-db/sqlite-3.44.2:3" - -ruby_add_bdepend " - doc? ( dev-ruby/rdoc ) - test? ( dev-ruby/minitest:5 ) -" - -all_ruby_prepare() { - sed -i -e 's/enable_config("system-libraries")/true/' ext/sqlite3/extconf.rb || die - - # Remove the runtime dependency on mini_portile2. We build without - # it and it is not a runtime dependency for us. - sed -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc; then - rdoc --title "${P} Documentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die - rm -f doc/js/*.gz || die - fi -} - -each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} diff --git a/dev-ruby/sqlite3/sqlite3-1.7.2.ebuild b/dev-ruby/sqlite3/sqlite3-1.7.2.ebuild deleted file mode 100644 index 0824284115aed..0000000000000 --- a/dev-ruby/sqlite3/sqlite3-1.7.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32 ruby33" - -RUBY_FAKEGEM_TASK_DOC="faq" -RUBY_FAKEGEM_DOCDIR="doc faq" -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.md README.md ChangeLog.cvs CHANGELOG.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3 - -inherit ruby-fakegem - -DESCRIPTION="An extension library to access a SQLite database from Ruby" -HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby" -LICENSE="BSD" - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="doc test" - -# We track the bundled sqlite version here -RDEPEND+=" >=dev-db/sqlite-3.45.1:3" -DEPEND+=" >=dev-db/sqlite-3.45.1:3" - -ruby_add_bdepend " - doc? ( dev-ruby/rdoc ) - test? ( dev-ruby/minitest:5 ) -" - -all_ruby_prepare() { - sed -i -e 's/enable_config("system-libraries")/true/' ext/sqlite3/extconf.rb || die - - # Remove the runtime dependency on mini_portile2. We build without - # it and it is not a runtime dependency for us. - sed -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || die -} - -all_ruby_compile() { - all_fakegem_compile - - if use doc; then - rdoc --title "${P} Documentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die - rm -f doc/js/*.gz || die - fi -} - -each_ruby_test() { - ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} diff --git a/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild b/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild index 8f141ca5827bd..437c4cc993264 100644 --- a/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild +++ b/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild @@ -24,7 +24,7 @@ IUSE="doc test" # We track the bundled sqlite version here RDEPEND+=" >=dev-db/sqlite-3.45.2:3" -DEPEND+=" >=dev-db/sqlite-3.45.2:3" +DEPEND+=" >=dev-db/sqlite-3.45.2:3 &1 | head -n 1 | rev | cut -d' ' -f1 | rev) - - if ! [[ ${ver} =~ [0-9].[0-9][0-9] ]] ; then - # Skip if unrecognised format so we don't pass something - # odd into ver_cut. - return - fi - - ver_major=$(ver_cut 1 "${ver}") - ver_minor=$(ver_cut 2 "${ver}") - - # We use 2.37 here, not 2.35, as https://github.com/pciutils/pciutils/issues/98 mentions - # because we've had other miscompiles with older Binutils (not just build failures!) - # and we don't want people running any unsupported versions of Binutils. An example - # of this is where glibc is completely broken with old binutils: bug #802036. It's - # just not sustainable to support. - if [[ ${ver_major} -eq 2 && ${ver_minor} -lt 37 ]] ; then - eerror "Old version of binutils activated! ${P} cannot be built with an old version." - eerror "Please follow these steps:" - eerror "1. Select a newer binutils (>= 2.37) using binutils-config" - eerror " (If no such version is installed, run emerge -v1 sys-devel/binutils)" - eerror "2. Run: . /etc/profile" - eerror "3. Try emerging again with: emerge -v1 ${CATEGORY}/${P}" - eerror "4. Complete your world upgrade if you were performing one." - eerror "5. Perform a depclean (emerge -acv)" - eerror "\tYou MUST depclean after every world upgrade in future!" - die "Old binutils found! Change to a newer ld using binutils-config (bug #847133)." - fi - fi -} - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && check_binutils_version -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && check_binutils_version -} - -src_prepare() { - default - - if use static-libs ; then - cp -pPR "${S}" "${S}.static" || die - mv "${S}.static" "${S}/static" || die - fi - - multilib_copy_sources -} - -multilib_src_configure() { - # bug #640836, bug #852929 - # Still broken in 3.10.0, see https://github.com/pciutils/pciutils/pull/144. - filter-lto - - # bug #471102 - append-lfs-flags -} - -pemake() { - emake \ - HOST="${CHOST}" \ - CROSS_COMPILE="${CHOST}-" \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - RANLIB="$(tc-getRANLIB)" \ - DNS=$(usex dns) \ - IDSDIR='$(SHAREDIR)/hwdata' \ - MANDIR='$(SHAREDIR)/man' \ - PREFIX="${EPREFIX}/usr" \ - SHARED="yes" \ - STRIP="" \ - ZLIB=$(usex zlib) \ - PCI_COMPRESSED_IDS=0 \ - PCI_IDS=pci.ids \ - LIBDIR="\${PREFIX}/$(get_libdir)" \ - LIBKMOD=$(multilib_native_usex kmod) \ - HWDB=$(usex udev) \ - "$@" -} - -multilib_src_compile() { - pemake OPT="${CFLAGS}" all - - if use static-libs ; then - pemake \ - -C "${BUILD_DIR}"/static \ - OPT="${CFLAGS}" \ - SHARED="no" \ - lib/libpci.a - fi -} - -multilib_src_install() { - pemake DESTDIR="${D}" install install-lib - - use static-libs && dolib.a "${BUILD_DIR}"/static/lib/libpci.a -} - -multilib_src_install_all() { - dodoc ChangeLog README TODO - - rm "${ED}"/usr/sbin/update-pciids "${ED}"/usr/share/man/man8/update-pciids.8* || die - rm -r "${ED}"/usr/share/hwdata || die - - newinitd "${FILESDIR}"/init.d-pciparm pciparm - newconfd "${FILESDIR}"/conf.d-pciparm pciparm -}