diff options
Diffstat (limited to 'dev-ruby')
33 files changed, 127 insertions, 639 deletions
diff --git a/dev-ruby/builder/builder-3.2.4.ebuild b/dev-ruby/builder/builder-3.2.4.ebuild deleted file mode 100644 index c1f1c4381a4e..000000000000 --- a/dev-ruby/builder/builder-3.2.4.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md CHANGES" - -inherit ruby-fakegem - -DESCRIPTION="A builder to facilitate programatic generation of XML markup" -HOMEPAGE="http://onestepback.org/" - -LICENSE="MIT" -SLOT="$(ver_cut 1-2)" -KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -all_ruby_prepare() { - sed -i \ - -e '/rdoc\.template .*jamis/d' \ - Rakefile || die - - rm rakelib/* || die -} - -each_ruby_test() { - ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} diff --git a/dev-ruby/coderay/Manifest b/dev-ruby/coderay/Manifest index 96ebaa024b4d..77502be2a907 100644 --- a/dev-ruby/coderay/Manifest +++ b/dev-ruby/coderay/Manifest @@ -1,2 +1 @@ -DIST coderay-1.1.2.tar.gz 220645 BLAKE2B 85405da2b148ae23573abf2c3fcf94a643024756308e83c4cecf0a5edae2fedc4ca7c7bdf8fb5936310f6699ca8f06f91cceb475e00511a54af0a96dd517c234 SHA512 cfce5e9f0a0d988e7920912e064ecbef3b54200a08ca2e07453452edd7f382a1eb9292bc566e069f5d1b784033e816f13d9ddfb39520e8e44a8d1e898aa33591 DIST coderay-1.1.3.tar.gz 229139 BLAKE2B a900cc5fbac950f66814d9300876d6a273b296d07139297d5344d26c5710d23c37761e5743ef972f523afa20fa663f239c03d9d2ad47232b77e53fe5053736f0 SHA512 a5208965e8dbad53d179fdc1c57df59ba4e13522a1a57c371ccd3f9369408a1c7d878867df48b201a1d590b46ef0f9bada3f3e7810866f17d244b5b370aba3fb diff --git a/dev-ruby/coderay/coderay-1.1.2.ebuild b/dev-ruby/coderay/coderay-1.1.2.ebuild deleted file mode 100644 index 585540cac894..000000000000 --- a/dev-ruby/coderay/coderay-1.1.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -# The test target also contains test:exe but that requires -# shoulda-context which we do not have packaged yet. -RUBY_FAKEGEM_TASK_TEST="test:functional test:units" - -RUBY_FAKEGEM_TASK_DOC="doc" -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby library for syntax highlighting" -HOMEPAGE="http://coderay.rubychan.de/" -SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -# Redcloth is an optional but automagically tested dependency. This -# requires redcloth-4.2.2. We don't depend on this version to make -# bootstrapping rspec with new versions easier, since redcloth depends -# on rake-compiler. - -all_ruby_prepare() { - sed -i -e "/[Bb]undler/d" Rakefile || die - sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die - - # Fix failing tests for lazy evaluation in ruby26 - sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die -} diff --git a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild b/dev-ruby/coderay/coderay-1.1.3-r1.ebuild deleted file mode 100644 index 380b0699f14c..000000000000 --- a/dev-ruby/coderay/coderay-1.1.3-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -# The test target also contains test:exe but that requires -# shoulda-context which we do not have packaged yet. -RUBY_FAKEGEM_TASK_TEST="spec test:functional test:units" - -RUBY_FAKEGEM_TASK_DOC="doc" -RUBY_FAKEGEM_DOCDIR="doc" - -RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown" - -RUBY_FAKEGEM_GEMSPEC="coderay.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A Ruby library for syntax highlighting" -HOMEPAGE="http://coderay.rubychan.de/" -SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -PATCHES=("${FILESDIR}/${P}-ruby30.patch") - -# Redcloth is an optional but automagically tested dependency. This -# requires redcloth-4.2.2. We don't depend on this version to make -# bootstrapping rspec with new versions easier, since redcloth depends -# on rake-compiler. - -ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" - -all_ruby_prepare() { - sed -i -e "/[Bb]undler/d" Rakefile || die - sed -i -e '/git ls-files/ s:^:#:' -e 's/.rc.*"/"/' coderay.gemspec || die - sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb test/*/*.rb || die - - # Fix failing tests for lazy evaluation in ruby26 - sed -i -e 's/\.filter$/.filter.to_a/' test/unit/filter.rb || die -} diff --git a/dev-ruby/daemons/daemons-1.4.1.ebuild b/dev-ruby/daemons/daemons-1.4.1.ebuild index 22f662138b2d..790dd4ed241e 100644 --- a/dev-ruby/daemons/daemons-1.4.1.ebuild +++ b/dev-ruby/daemons/daemons-1.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ SRC_URI="https://github.com/thuehlinger/daemons/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" IUSE="examples" all_ruby_prepare() { diff --git a/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild b/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild deleted file mode 100644 index e482f910f919..000000000000 --- a/dev-ruby/fast_gettext/fast_gettext-1.8.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="GetText but 3.5x faster, 560x less memory, clean namespace and threadsave!" -HOMEPAGE="https://github.com/grosser/fast_gettext" -SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/bundler )" - -all_ruby_prepare() { - rm Gemfile.lock || die - - # Remove jeweler and bump from Gemfile since they are not needed for tests. - sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die - - # Avoid unneeded dependency on git and development dependencies. - sed -e '/git ls-files/ s:^:#:' \ - -e '/\(wwtd\|bump\|sqlite3\|activerecord\|i18n\)/ s:^:#:' \ - -i fast_gettext.gemspec || die - - # Avoid a test dependency on activerecord since this is now in the - # dependency tree for app-admin/puppet and many arches don't have - # rails keyworded. - sed -i -e '/active_record/ s:^:#:' spec/spec_helper.rb || die - rm -f spec/fast_gettext/translation_repository/db_spec.rb || die - sed -i -e '/works with DB repository/,/^ end/ s:^:#:' spec/fast_gettext/storage_spec.rb || die - sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die - - # Don't run a test that requires safe mode which we can't provide - # due to insecure directory settings for the portage dir. This spec - # also calls out to ruby which won't work with different ruby - # implementations. - sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die -} - -each_ruby_prepare() { - # Make sure the right ruby interpreter is used - sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die -} diff --git a/dev-ruby/multi_json/multi_json-1.15.0.ebuild b/dev-ruby/multi_json/multi_json-1.15.0.ebuild index 45edc1cfd08d..36e5ad29fde2 100644 --- a/dev-ruby/multi_json/multi_json-1.15.0.ebuild +++ b/dev-ruby/multi_json/multi_json-1.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,7 +20,7 @@ DESCRIPTION="A gem to provide swappable JSON backends" HOMEPAGE="https://github.com/intridea/multi_json" LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="0" IUSE="" diff --git a/dev-ruby/net-sftp/Manifest b/dev-ruby/net-sftp/Manifest index 83fbe4b755e6..178923b318b0 100644 --- a/dev-ruby/net-sftp/Manifest +++ b/dev-ruby/net-sftp/Manifest @@ -1,2 +1 @@ -DIST net-sftp-3.0.0.tar.gz 63542 BLAKE2B e09e209aa0d102a6da7611cabf49970c9a4e572d51946d5dc0688879db97c92e8a39713dd0011a4234391ff0ab685a978c491917c041f7d10a8f092fde5c876a SHA512 c28411cfa8522dec893fe7a1588a16bb761a9d7692c81c453d9a9ad817988637614c6afd754db8547e845a16062882e2b7e95974b889631676f092d9e84b83e7 DIST net-sftp-4.0.0.tar.gz 63896 BLAKE2B d63d32d3810c05c6ed19d156c87854d09a585a63e651be5984aed22b9a2b82c6c1464dd90fcc07d5586cd171d388dd6874ebe9e4e871012fee1620701f1d648e SHA512 8c4284da3b9143a02d597fc1c2824e5ab96abb38fef932682326443ea949733c4e7513184fb6b5c870d3ff802928e34580d423c98c594cb7a07ad17a50fb5c56 diff --git a/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild b/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild deleted file mode 100644 index 1a15973e3816..000000000000 --- a/dev-ruby/net-sftp/net-sftp-3.0.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc" - -RUBY_FAKEGEM_GEMSPEC="net-sftp.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="SFTP in pure Ruby" -HOMEPAGE="https://github.com/net-ssh/net-sftp" -SRC_URI="https://github.com/net-ssh/net-sftp/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_rdepend "dev-ruby/net-ssh:6" - -ruby_add_bdepend " - test? ( - dev-ruby/bundler - >=dev-ruby/mocha-0.13 - )" - -all_ruby_prepare() { - sed -i -e "s:_relative ': './:" -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die -} diff --git a/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild b/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild deleted file mode 100644 index 0a8dc086232b..000000000000 --- a/dev-ruby/net-ssh/net-ssh-6.1.0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.md THANKS.txt" -RUBY_FAKEGEM_EXTRAINSTALL="support" - -RUBY_FAKEGEM_GEMSPEC="net-ssh.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Non-interactive SSH processing in pure Ruby" -HOMEPAGE="https://github.com/net-ssh/net-ssh" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> net-ssh-git-${PV}.tgz" - -LICENSE="GPL-2" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ppc ppc64 x86" -IUSE="ed25519 test" -RESTRICT="!test? ( test )" - -ruby_add_rdepend "virtual/ruby-ssl ed25519? ( >=dev-ruby/ed25519-1.2:1 dev-ruby/x25519 dev-ruby/bcrypt_pbkdf:1 )" -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 >=dev-ruby/mocha-0.13 )" - -all_ruby_prepare() { - # Avoid bundler dependency - sed -i -e '/\(bundler\|:release\)/ s:^:#:' Rakefile || die - - sed -e "s:require_relative ':require './:" \ - -e 's/git ls-files -z/find -print0/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -src_test() { - # prevent tests from trying to connect to ssh-agent socket and failing - unset SSH_AUTH_SOCK - if ! use ed25519; then - export NET_SSH_NO_ED25519=true - fi - ruby-ng_src_test -} diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index f56e84213eaf..8affaac9a5a8 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -1,4 +1,2 @@ -DIST pg-1.2.2.gem 196608 BLAKE2B 068be98d190cb4074cc89bdb5b376322f323950909f7a6fddc8669a3ff0f85eef9f512bd2ec7121707e9ea077b2b428f698e84f2118c76e34f5def75ca303fca SHA512 5c7cc90afb75a66e80cfc34c4875cf22b005aa0a27e78db6f71d1829f870c6409b73326a9925f79c0d642e93ea51d1f84c7383323fea44b7488e83deb7754951 -DIST pg-1.2.3.gem 196608 BLAKE2B b3e9119d068c833f7352b61802d5fb03616ed2d13f957c8d4b51966444523ef9d884a860309209dfbda5931aa1f8199b7a63a51a89c194758de309f00bdbfbd6 SHA512 dd8fa7b256102aea7588fd7e1d4e28199be2bf9910149d266b5379e78a7a57aa2a22763d04a559f4763842cad4ba8d0fbc33e8b43b7497dc77039edfd1029585 DIST pg-1.3.5.tar.gz 256197 BLAKE2B 8a8cd0135eb7dcf8389d2b0afa174059d12f542b1e2897fba0e292fd16f31508293ca90f64f731db9bc14e55e9ba2c740ccf744a5fe30c449d64344264e409e1 SHA512 44e8ad97a6f4136d49641c5a59a70a489d766d1c1e511f5a6f003c2ae2900466b02a2504dc0fb26c872ce3fcb56ac83ac5299a829cca99d9c02c4b7ce0f0ac75 DIST pg-1.4.1.tar.gz 258388 BLAKE2B d2f2c81b51fb159a95990382cce316938b97d8ecb1c9590c4a70be741f4806bc47dc99423c1d54e939bc156e287cc7cba28d854dc68900501c10fbaf15cb3076 SHA512 e8e0ad7b6df4a98d8ac6dfa8006044f7fbfc45713e1aa866e80a83061be5a6a1a57456cc2ffc14d976c2d108ce526c6fa9d4ce59222a9d9bb3ef676e9dec8da9 diff --git a/dev-ruby/pg/pg-1.2.2.ebuild b/dev-ruby/pg/pg-1.2.2.ebuild deleted file mode 100644 index 17a4ff0eed87..000000000000 --- a/dev-ruby/pg/pg-1.2.2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc" - -inherit multilib ruby-fakegem - -DESCRIPTION="Ruby extension library providing an API to PostgreSQL" -HOMEPAGE="https://github.com/ged/ruby-pg" - -LICENSE="|| ( BSD-2 Ruby-BSD )" -SLOT="1" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND+=" dev-db/postgresql:*" -DEPEND+=" dev-db/postgresql - test? ( >=dev-db/postgresql-9.4[server(+),threads] )" - -all_ruby_prepare() { - # hack the Rakefile to make it sure that it doesn't load - # rake-compiler (so that we don't have to depend on it and it - # actually works when building with USE=doc). - sed -i \ - -e '/Rakefile.cross/s:^:#:' \ - -e '/ExtensionTask/,/^end$/ s:^:#:' \ - Rakefile || die -} - -each_ruby_configure() { - ${RUBY} -C ext extconf.rb || die "extconf.rb failed" -} - -each_ruby_compile() { - emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" - cp ext/*$(get_libname) lib || die -} - -each_ruby_test() { - if [[ "${EUID}" -ne "0" ]]; then - # Make the rspec call explicit, this way we don't have to depend - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild - # the whole extension from scratch. - RSPEC_VERSION=3 ruby-ng_rspec - else - ewarn "The userpriv feature must be enabled to run tests." - eerror "Testsuite will not be run." - fi -} diff --git a/dev-ruby/pg/pg-1.2.3.ebuild b/dev-ruby/pg/pg-1.2.3.ebuild deleted file mode 100644 index 608439296628..000000000000 --- a/dev-ruby/pg/pg-1.2.3.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="ChangeLog Contributors.rdoc README.rdoc History.rdoc" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="Ruby extension library providing an API to PostgreSQL" -HOMEPAGE="https://github.com/ged/ruby-pg" - -LICENSE="|| ( BSD-2 Ruby-BSD )" -SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND+=" dev-db/postgresql:*" -DEPEND+=" dev-db/postgresql - test? ( >=dev-db/postgresql-9.4[server(+),threads] )" - -all_ruby_prepare() { - # hack the Rakefile to make it sure that it doesn't load - # rake-compiler (so that we don't have to depend on it and it - # actually works when building with USE=doc). - sed -i \ - -e '/Rakefile.cross/s:^:#:' \ - -e '/ExtensionTask/,/^end$/ s:^:#:' \ - Rakefile || die -} - -each_ruby_test() { - if [[ "${EUID}" -ne "0" ]]; then - # Make the rspec call explicit, this way we don't have to depend - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild - # the whole extension from scratch. - RSPEC_VERSION=3 ruby-ng_rspec - else - ewarn "The userpriv feature must be enabled to run tests." - eerror "Testsuite will not be run." - fi -} diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest index b068a8476a7f..e6e8f872a987 100644 --- a/dev-ruby/rails-html-sanitizer/Manifest +++ b/dev-ruby/rails-html-sanitizer/Manifest @@ -1 +1,2 @@ DIST rails-html-sanitizer-1.4.4.gem 18432 BLAKE2B c6966ae526142219040e98a5bd02190672050dc9831194ecd570498b75bfb168e734fe3f4d9ffa5814d1c5b94f73820e5900e805a199651c9b37645acff0237c SHA512 9a6671334967078f744296ca273a8b44c0071d04c841fe626333bbb62c252b6688b5559079a47cda540f06bd35c924ede8d9ef092c775dfab55e2673137fc05b +DIST rails-html-sanitizer-1.5.0.gem 19456 BLAKE2B 7f8b0270d9006b975fed28941139e176af4738954bd56e7b34dbc4f778521d770ff0c2c92cb365d1a671fc69d1da79f4d3bd4d90e37913c61084139ba7ff9893 SHA512 533a203d34b0f77b70258fc1b610caf1d4910da48224b136774d094ee8fa74b5cd9f3b1719118334489a41d743b97592539935b05b07770cd745e03634422214 diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild new file mode 100644 index 000000000000..598d5a84bed4 --- /dev/null +++ b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.5.0.ebuild @@ -0,0 +1,31 @@ +# 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_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Sanitize HTML fragments in Rails applications" +HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/loofah-2.19.1:0" + +ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )" + +all_ruby_prepare() { + # Avoid tests that depend on nokogiri patches to libxml2. +# sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die +: +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/rbs/Manifest b/dev-ruby/rbs/Manifest index c56d2242d978..34f366726ec3 100644 --- a/dev-ruby/rbs/Manifest +++ b/dev-ruby/rbs/Manifest @@ -4,3 +4,4 @@ DIST rbs-2.5.1.tar.gz 983686 BLAKE2B d0feb4f173e2d1dd76d93309279fc75f9ed992ead2c DIST rbs-2.8.0.tar.gz 1065757 BLAKE2B 136ba929d0b61c6b2625b49574ec45a28aa1de77a1a63d74bf5747ff4c88968ce28116472a97310e10846dec404dc2a4ccebb51c90f14f5713f3b1d21f18c9c6 SHA512 3a04026112bffef03a3e65c5d539ead7de353b4af279da6f4a7def854fe6c7f95d291663ab18bab678228ae4b26e87aec89fc1ed961ebc4cf83f38ef726ad407 DIST rbs-2.8.2.tar.gz 1069304 BLAKE2B a05cdd12767ed47cb90a64ab9803523dfa11a2295ebf2be4f9087918bc74ef75a46e3ec95a78c6c272e65b7d0485db0697edc8c4e586f7ae2b4608cde638969e SHA512 02666374fa8a93f421916f62b6a101e602c5dc8996169b1fd618618ab76afb11bba0891aac3f48f70af080f5d73ede264728f93799b3a330cae3a43b9cab1cb4 DIST rbs-2.8.3.tar.gz 1069360 BLAKE2B 7151346fadcfdb2e246dbd32c440c4e5fbfe0f6dbed67a100460b451f87432a5811d63269b612949b720d0a3234818e46d1e1f614886e92e0b75cb5814c3e24f SHA512 4e6ec348945171868752ff62704e2a64ced4a11288a96c03e837e508df235c0cf85f99469952a7b052662ee7bc16e0942aaa2bc448381d95d5603fefdacf6839 +DIST rbs-2.8.4.tar.gz 1069703 BLAKE2B a7b97e2ba7b8bd5afca303d69262cd54169bfad8e716cb5c452a1f20c36708f62c36382d5d3111856aa130e5d198960117ad47ca444ac3e042e99e534b3c2204 SHA512 e698b64ffc5c5e53ed84ab9fb6a5d83cc17738ec2114f72cadd0d9e062d8017ee91dc4d1afe254646c30659f3af57d6606f555881951fae7cc399b1bbd428824 diff --git a/dev-ruby/rbs/rbs-2.8.4.ebuild b/dev-ruby/rbs/rbs-2.8.4.ebuild new file mode 100644 index 000000000000..c90ff55f9e70 --- /dev/null +++ b/dev-ruby/rbs/rbs-2.8.4.ebuild @@ -0,0 +1,49 @@ +# 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_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRAINSTALL="core schema sig stdlib" +RUBY_FAKEGEM_EXTENSIONS=(ext/rbs_extension/extconf.rb) + +RUBY_FAKEGEM_GEMSPEC="rbs.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="The language for type signatures for Ruby and standard library definitions" +HOMEPAGE="https://github.com/ruby/rbs" +SRC_URI="https://github.com/ruby/rbs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( Ruby-BSD BSD-2 )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rdoc dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # We compile the extension directly + sed -i -e '/extensiontask/I s:^:#:' Rakefile || die + + # Avoid JSON schema validation tests due to a large dependency stack + # that would be needed. + rm -f test/rbs/schema_test.rb || die + + # Avoid setup tests since they require a lot of development dependencies. + rm -f test/rbs/test/runtime_test_test.rb || die + + # Avoid tests requiring a network connection + rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb \ + test/rbs/collection/config_test.rb test/rbs/collection/sources/git_test.rb || die + sed -i -e '/def test_collection_/aomit "Requires network"' test/rbs/cli_test.rb || die + sed -i -e '/def test_loading_from_rbs_collection/aomit "Requires network"' test/rbs/environment_loader_test.rb || die + + sed -i -e '/def test_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die +} diff --git a/dev-ruby/regexp_parser/Manifest b/dev-ruby/regexp_parser/Manifest index db5b96723050..91f225c7e2a7 100644 --- a/dev-ruby/regexp_parser/Manifest +++ b/dev-ruby/regexp_parser/Manifest @@ -1,3 +1,4 @@ DIST regexp_parser-2.4.0.tar.gz 93162 BLAKE2B cab80ca22b1f34d60a47f7bb3f671e2a7af46b598250a0d1f85049b5b682800badf82c7f0cfc676808999d4128bd8b8a6d2bd073d8a771ee7c07253f1e24e5ce SHA512 cd7a9d5d3d4882753b47a8369a807b3c6d943e36a66d0001d51d5d37d19a46c2ba078217d95952f1dc7c7434699a35bbd6414cd45264db08a0173f887a8d4826 DIST regexp_parser-2.6.0.tar.gz 96082 BLAKE2B 13247e32002ff2b7d33cb24ce20b4841b11202c9427c701e4e970c30e24172bcae949680a7b33130c61050996b49fafd535f8f7f4bc853a6780738d5901a1846 SHA512 1d05f664de803253a000ded43cf4ed492914eb285bdeb1613597568f13804587c829f80289e11ba00274b25862331e36010d5214e64abc1ec3fa9cd9895cb863 DIST regexp_parser-2.6.1.tar.gz 96292 BLAKE2B 0b981aff33e31c821bff82348d84b755532460a57d328e50b123eb73c04553ebaaf6f4bb360c59798ef0ad1886904e8cf95202a4b50206fa6e88fedf00492a32 SHA512 990d2af8577466887be24f9a942fe1f833a73c2e1048f7ce9d11aced3179fda5385eae9234c6242f306b71ec6014bf087bf67f789e23c513306f307a114f855f +DIST regexp_parser-2.6.2.tar.gz 96648 BLAKE2B 5da51aa2a76a0f4156cb564936e457d301d3c479d15cc7788e69b3f359aa3555cf61e81c7ddc58f11966c1208c72ceb6f8950e3db2c1924c0185c18ef6c00cec SHA512 ac866233784385e89419f22eeb16c1de08e742715a8454024d94d00078ceaba2a9159e7d8cdc7dff1f93bda61be405453c63666caf31173154b802493c150ec0 diff --git a/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild b/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild new file mode 100644 index 000000000000..05d3f3b8b8fd --- /dev/null +++ b/dev-ruby/regexp_parser/regexp_parser-2.6.2.ebuild @@ -0,0 +1,36 @@ +# 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_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_BINWRAP="" + +RUBY_FAKEGEM_GEMSPEC="regexp_parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A library for tokenizing, lexing, and parsing Ruby regular expressions" +HOMEPAGE="https://github.com/ammar/regexp_parser" +SRC_URI="https://github.com/ammar/regexp_parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend "dev-ruby/rake dev-ruby/rspec:3 + test? ( dev-ruby/ice_nine dev-ruby/regexp_property_values dev-ruby/rspec:3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +} + +each_ruby_compile() { + ${RUBY} -S rake ragel:rb || die +} diff --git a/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild index fb1e1b8a48cc..2686f44e19d9 100644 --- a/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild +++ b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,11 +21,11 @@ SLOT="$(ver_cut 1)" KEYWORDS="~amd64" ruby_add_rdepend ">=dev-ruby/roadie-3.1:4 - || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 dev-ruby/railties:6.0 dev-ruby/railties:5.2 )" + || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 dev-ruby/railties:6.0 )" ruby_add_bdepend " test? ( dev-ruby/bundler - dev-ruby/rails:7.0 dev-ruby/rails:6.0 dev-ruby/rails:5.2 + dev-ruby/rails:7.0 dev-ruby/rails:6.0 dev-ruby/rspec-rails dev-ruby/rspec-collection_matchers )" @@ -34,7 +34,7 @@ all_ruby_prepare() { sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die # Avoid already removed rails version - sed -i -e '/rails_51/ s:^:#:' spec/integration_spec.rb || die + sed -i -e '/rails_5\(1\|2\)/ s:^:#:' spec/integration_spec.rb || die # Avoid dependency on optional bootsnap sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_70/Gemfile spec/railsapps/rails_70/config/boot.rb || die diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest index 061609d7b847..2c6f1034cecc 100644 --- a/dev-ruby/rr/Manifest +++ b/dev-ruby/rr/Manifest @@ -1,2 +1 @@ -DIST rr-1.2.1.tar.gz 137497 BLAKE2B 3db6751d15e54da6ee6777fb7d383c1bfea2e68482dda03ceda9a70f66382cf9aa7c39f27fca9f0ce92b19858b5324bdbb5811809b3ae146e213bb03ddca0772 SHA512 df2d05ff732908da55878cb89cb7d1c4442a18c19f71940244f5bd7dc55632467a1824f55d7fade4b5122486a61277090d7ad05df9f99098030c21aa45b36dd2 DIST rr-3.1.0.tar.gz 140388 BLAKE2B 0994ae589d1d9ebe6b4a334c1e93f959b63280beff8f2a6b1696722ac908ac5a21954e65d20216c239587abdbff3a1b3110f6f1eb3f17bd5e0f169a4892e750c SHA512 d05d8421d5cd6e9225cbf5ca183c54cc510a3212f0629f7cee60887b18c874618cb67836503aed7665cef8443cc579306b84e030ae1ec0834f56298f5044a2fa diff --git a/dev-ruby/rr/rr-1.2.1.ebuild b/dev-ruby/rr/rr-1.2.1.ebuild deleted file mode 100644 index a6ff408b2528..000000000000 --- a/dev-ruby/rr/rr-1.2.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="none" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" - -inherit ruby-fakegem - -DESCRIPTION="A double framework featuring a selection of double techniques and a terse syntax" -HOMEPAGE="https://rr.github.io/rr" -SRC_URI="https://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend "test? ( - dev-ruby/rspec:2 - dev-ruby/minitest - dev-ruby/diff-lcs )" - -all_ruby_prepare() { - rm Gemfile || die - sed -i -e '1,2 s:^:#:' spec/suites/rspec_2/spec_helper.rb || die -} - -each_ruby_test() { - # Only run the rspec 2 case since we don't have appraisals. Setting - # up everything correctly without it seems very complicated. - ruby-ng_rspec --format progress spec/suites/rspec_2/unit || die -} diff --git a/dev-ruby/ruby-odbc/Manifest b/dev-ruby/ruby-odbc/Manifest index 3c2d2a3dfd7b..3c3051d5f12e 100644 --- a/dev-ruby/ruby-odbc/Manifest +++ b/dev-ruby/ruby-odbc/Manifest @@ -1,2 +1 @@ -DIST ruby-odbc-0.99999.tar.gz 76934 BLAKE2B 59de5a544b7eefe8e181f2c6a9a61915361743ef5f7554f778667b50ca0dc57fd0c4f71e406ad6f1d00fb2c6a6509030e61ad34dddecff61896f7bfe383d0a9b SHA512 05e3e67a895406e1a57fbea6f8ecd1c087d836794ea3245bd9eec888eb3c46fa2bf2607cc1b8fdc416d7bc531d783d621c03c9fde004db8c2e431fe838c531af DIST ruby-odbc-0.999991.tar.gz 77110 BLAKE2B dd32698811f14e05f1190ffd73b390fa02924a1dd936db0b2b3c6ac9d8d8663f5d400ff89e03591081b45d558378a76701cf6b8be8502297a141c271dde3c24b SHA512 3f1e2e75e31f10f47392cda1cd28aa54451a499c3bd6e9224466a7b338406835a5d453600e79a3bac040197397c31d9f744567969058969685d6f4e06e72addb diff --git a/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild b/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild deleted file mode 100644 index c570271600d2..000000000000 --- a/dev-ruby/ruby-odbc/ruby-odbc-0.99999.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README ChangeLog" - -inherit ruby-fakegem - -DESCRIPTION="RubyODBC - For accessing ODBC data sources from the Ruby language" -HOMEPAGE="http://www.ch-werner.de/rubyodbc/" -SRC_URI="http://www.ch-werner.de/rubyodbc/${P}.tar.gz" - -LICENSE="|| ( GPL-2 Ruby-BSD )" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND="${DEPEND} >=dev-db/unixODBC-2.0.6" -RDEPEND="${RDEPEND} >=dev-db/unixODBC-2.0.6" - -# tests require to have an ODBC service enabled, so we can't run them -# for now :( -RESTRICT=test - -all_ruby_prepare() { - # Make sure that it doesn't try to use the absolute-local path for - # the extension as we'd be unable to run it properly otherwise. - sed -i -e 's:\./odbc:odbc:' test/{,utf8/}test.rb || die - - # Since lib should not get installed avoid it entirely… - mv lib contrib || die -} - -each_ruby_configure() { - for dir in ext ext/utf8; do - ${RUBY} -C${dir} extconf.rb --disable-dlopen || die "extconf (${dir}) failed" - done -} - -each_ruby_compile() { - for dir in ext ext/utf8; do - emake V=1 -C${dir} - done -} - -each_ruby_install() { - each_fakegem_install - - ruby_fakegem_newins ext/odbc.so lib/odbc.so - ruby_fakegem_newins ext/utf8/odbc_utf8.so lib/odbc_utf8.so -} - -all_ruby_install() { - all_fakegem_install - dodoc doc/*.html -} diff --git a/dev-ruby/ruby-progressbar/Manifest b/dev-ruby/ruby-progressbar/Manifest index de30f3165066..c9d7f83bc40c 100644 --- a/dev-ruby/ruby-progressbar/Manifest +++ b/dev-ruby/ruby-progressbar/Manifest @@ -1,2 +1 @@ -DIST ruby-progressbar-1.10.1.tar.gz 53416 BLAKE2B ee435291cd55558843ab05254c01a6148711aee54a5ce80d7b03902e32fd8735fda2e3686794f3f2c8a62c7ca26d90df4d63b48c8d947a471279c35131c49898 SHA512 6cbd791833a1638949c7283b5c475164b44ec8a5d4c7eb417d741da5c9cda9e777481a785f112be7fd1c3714668ad58cbf9aa39eecb61d1022fb3bb35ddb6203 DIST ruby-progressbar-1.11.0.tar.gz 61341 BLAKE2B 558de9d15f6c3eafb0a9ef0b39db279727651c8f86234f3ffad1faac7e9ab7f6bdef6662fadb2132bf10d70bcac9412801a695e0bb3afa5879a48dd363920734 SHA512 5a5c8a6af410746ef601821ec171933d781d32bfb7cb5f67f9cf877824a399941c11be69bb74380941f2271f6f5139928599881441f88860a71f8b7f7b55d4b4 diff --git a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild b/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild deleted file mode 100644 index 23f5711cd35e..000000000000 --- a/dev-ruby/ruby-progressbar/ruby-progressbar-1.10.1-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_BINWRAP="" - -inherit ruby-fakegem - -DESCRIPTION="A Text Progress Bar Library for Ruby" -HOMEPAGE="https://github.com/jfelchner/ruby-progressbar" -SRC_URI="https://github.com/jfelchner/ruby-progressbar/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="ruby-progressbar-releases-v${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -IUSE="test" - -ruby_add_bdepend "test? ( dev-ruby/rspectacular dev-ruby/timecop )" - -all_ruby_prepare() { - sed -i -e '/warning_filter/ s:^:#:' \ - spec/spec_helper.rb || die - # Avoid ruby24 syntax for an unneeded check - sed -i -e '/^return/ s:^:#:' spec/ruby-progressbar/refinements/enumerator_spec.rb || die -} diff --git a/dev-ruby/sass/sass-3.7.4.ebuild b/dev-ruby/sass/sass-3.7.4.ebuild deleted file mode 100644 index 39dcac31a69f..000000000000 --- a/dev-ruby/sass/sass-3.7.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME" - -inherit ruby-fakegem - -DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" -HOMEPAGE="https://sass-lang.com/" -SRC_URI="https://github.com/sass/ruby-sass/archive/${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="ruby-sass-${PV}" - -LICENSE="MIT" - -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86 ~amd64-linux" -SLOT="$(ver_cut 1-2)" -IUSE="" - -ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" - -ruby_add_rdepend " - !!<dev-ruby/sass-3.4.25-r1:3.4 - !!<dev-ruby/sass-3.5.7-r1:3.5 - dev-ruby/sass-listen:4" - -# tests could use `less` if we had it - -all_ruby_prepare() { - # Don't require maruku as markdown provider but let yard decide. - sed -i -e '/maruku/d' .yardopts || die - - # Keep VERSION_DATE around since we don't create a new package - sed -i -e '/at_exit/,/end/ s:^:#:' Rakefile || die -} - -each_ruby_test() { - RUBOCOP=false ${RUBY} -S rake test:ruby || die -} diff --git a/dev-ruby/semantic_puppet/Manifest b/dev-ruby/semantic_puppet/Manifest index 2d7c1b090321..321d9a0a3d34 100644 --- a/dev-ruby/semantic_puppet/Manifest +++ b/dev-ruby/semantic_puppet/Manifest @@ -1,2 +1 @@ -DIST semantic_puppet-1.0.2.gem 31744 BLAKE2B fd80225f799f55fe668c712cec20ad57163c3829ce70f49a30e7b73037883ea1960be0ea8f510e147c30254b7527e64f323fd7f9edb30f934762088ed997a241 SHA512 b059d8c7b13ae96dfe012318e7c6ee483cc09986d5d065c8422167a27a14d8e99433229c90388a7ff9ee425a0f5b6a6a6d5bc55f8b81901490afd8039ea86480 DIST semantic_puppet-1.0.4.gem 32256 BLAKE2B 4704a6d913388d10cf32442511d66d742bcdba792d81d67de960209dbffc8ade970431e794934152b71031de83a75d9e09bda830e6e66838b68913d2bbb9da0a SHA512 8b830626e973bc74fb4f4147e83ca8048d412751ff48dbe96ec6e790645eae7a51c665b75a09d0f0fdec3b29d3798158c38b613e2f83d115d1ba2a4c8d24362a diff --git a/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild b/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild deleted file mode 100644 index 65eecef58963..000000000000 --- a/dev-ruby/semantic_puppet/semantic_puppet-1.0.2.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" - -inherit ruby-fakegem - -DESCRIPTION="Library of tools for working with Semantic Versions and module dependencies" -HOMEPAGE="https://github.com/puppetlabs/semantic_puppet" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86" -IUSE="" diff --git a/dev-ruby/stomp/Manifest b/dev-ruby/stomp/Manifest index 055b7586488f..b0e928f9c22b 100644 --- a/dev-ruby/stomp/Manifest +++ b/dev-ruby/stomp/Manifest @@ -1,2 +1 @@ DIST stomp-1.4.10.gem 99840 BLAKE2B 5dc2b18d7551629dccb599a77934bffcf92d83158b6797a1645f5fd8af6c4738e1d8d97d5a6c6bb6655c19f98accd4ecdee0677096f9a5e89bdf0295532a1087 SHA512 bff1a533e5455cf4540bab3b5d16c63f1e0783b0257b5e0bf2fd26512586670ce5db66f97e098805c7b5fc02913478553409b90a4014bdc883465bc7b474eb7e -DIST stomp-1.4.9.gem 99328 BLAKE2B 9aa50880224cede15be69657ec7ecccf1a075db3e51de55faf3a0ba50335b90b910d1202c646585229cc35c0e2e4cf01fd99774960d9ae90ff82030c4bac6a69 SHA512 e1e3aed86621e2dac199fd7e4ba67fedc3582b5cfe9e4ff2efbdc9c545bb25d2c52391d9403e2fa935f69635e85bd3c1ca29d2d5b3c425aa850d3ccb8f7a5e86 diff --git a/dev-ruby/stomp/stomp-1.4.9.ebuild b/dev-ruby/stomp/stomp-1.4.9.ebuild deleted file mode 100644 index cd1e6a88a687..000000000000 --- a/dev-ruby/stomp/stomp-1.4.9.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="Ruby bindings for the stomp messaging protocol" -HOMEPAGE="https://github.com/stompgem/stomp" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -all_ruby_prepare() { - # Skip specs that hang the test run indefinitely, most likely - # because of rspec-mocks deprecation output - rm -f spec/connection_spec.rb || die -} diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest index b6053ea67cab..53b57245771a 100644 --- a/dev-ruby/tilt/Manifest +++ b/dev-ruby/tilt/Manifest @@ -1,2 +1 @@ -DIST tilt-2.0.10.tar.gz 51446 BLAKE2B de5c12dcf22994f182ae163a82c3060f1d0d8b4bc2a4495f28c9befc954b4949b9d2ae6aed42e3a9c35fb68825844881d9f15b2b68d949236e5396083ff199a3 SHA512 4a36c55347e307ea0c842aad3da72cebe98bcf8a0421040cfce7a43540d1746e736ce92b7ce7492a5cfc184372842c3ac7a006f3650b4c9420d5825ec005b4ef DIST tilt-2.0.11.tar.gz 53041 BLAKE2B 2509cc3efe5e6302c8943c00108eeda6ee4b23a18952ad23049e11ea28b397b80a21d34c4d241119f45cedf2a978a2673d857a6cc32d7e26a2016caa510458f9 SHA512 e28e31ab92aa42eada34e0f6c05dab6a54945d07b649588356b1635ba8a36700f6e537e8702613883693501442d21690d8b3690b06f7b9f331192134511b78b7 diff --git a/dev-ruby/tilt/tilt-2.0.10.ebuild b/dev-ruby/tilt/tilt-2.0.10.ebuild deleted file mode 100644 index 46a445fe60b6..000000000000 --- a/dev-ruby/tilt/tilt-2.0.10.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md" - -RUBY_FAKEGEM_GEMSPEC="tilt.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Thin interface over template engines to make their usage as generic as possible" -HOMEPAGE="https://github.com/rtomayko/tilt" -SRC_URI="https://github.com/rtomayko/tilt/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="2" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -# Block on some of the potential test dependencies. These dependencies -# are optional for the test suite, and we don't want to depend on all of -# them to faciliate keywording and stabling. -ruby_add_bdepend "test? ( - dev-ruby/coffee-script - dev-ruby/erubis - dev-ruby/nokogiri -)" - -all_ruby_prepare() { - rm Gemfile || die - sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die - - # Avoid tests with minor syntax differences since this happens all - # the time when details in the dependencies change. - sed -e '/test_smarty_pants_true/,/^ end/ s:^:#:' \ - -e '/test_smart_quotes_true/,/^ end/ s:^:#:' -i test/tilt_markdown_test.rb || die - sed -e '/smartypants when :smart is set/,/^ end/ s:^:#:' -i test/tilt_rdiscounttemplate_test.rb || die - - # Skip tests for unpackaged asciidoctor converter - sed -i -e '/docbook 4.5/askip' test/tilt_asciidoctor_test.rb || die -} |
