diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 107623 -> 107610 bytes | |||
-rw-r--r-- | dev-ruby/css_parser/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.14.0.ebuild | 43 | ||||
-rw-r--r-- | dev-ruby/dalli/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/dalli/dalli-2.7.11.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/dalli/dalli-3.2.2.ebuild | 40 | ||||
-rw-r--r-- | dev-ruby/git/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/git/git-1.13.1.ebuild | 44 | ||||
-rw-r--r-- | dev-ruby/haml/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/haml/haml-6.1.1.ebuild | 55 | ||||
-rw-r--r-- | dev-ruby/haml/metadata.xml | 12 | ||||
-rw-r--r-- | dev-ruby/html2haml/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/html2haml/html2haml-2.3.0.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/io-event/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/io-event/io-event-1.1.6.ebuild | 34 | ||||
-rw-r--r-- | dev-ruby/mail/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mail/mail-2.8.0.1.ebuild | 39 | ||||
-rw-r--r-- | dev-ruby/nokogiri/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/nokogiri/nokogiri-1.14.0.ebuild | 95 | ||||
-rw-r--r-- | dev-ruby/oauth/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/oauth/oauth-0.5.14.ebuild | 46 |
21 files changed, 416 insertions, 99 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 39e718038e73..78ab66560b8f 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 16de9fed306a..db161b8dc7c0 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,5 +1,7 @@ DIST css_parser-1.11.0.tar.gz 38987 BLAKE2B e3420b635a7604dee4ca4c5f434dc3a8f3caf27310fb8d1a947e8d6aedb47e1130846afbe989f9d2c9c52b1db9e1266849fec09253c243a1f28a3bcb6ea58785 SHA512 9dfc1aff7f05dca82a10504c6e1c42011385e17db5f43faa5c83a2c2226b2f7a524fc626c6f7ce69e49d1919a6fc12baed35823d0da07940d41804bd1590ba50 DIST css_parser-1.12.0.tar.gz 39191 BLAKE2B 8c112aab26248c1566df6c2f1078b6bb068406d50dc08da7c52395f4f8dd2ee16dd1e99d3812922af7c70d50a07ccab4f979c38caf8d2974a1c5d1ff29932c2f SHA512 6f5f4af113d30ba795dcf0bf104519697a2eb6cd092342c21b3236eb6db39d12ff5fde8c29971242f955bb9658c357995f37c00de69d53cc22cc4a5860446fb9 +DIST css_parser-1.14.0.tar.gz 39396 BLAKE2B 0cbed83854bf85779b7f3e495030f796e93310794f2f022d9cd5fa4ba29699e1e3676b18b0cc1027353e2d8daeb56001b5fbfd583e000ebb67499d8ea0aae735 SHA512 2d5da004b4c904e040d9814245c8a1e05cc08a5dff5ca8ec5050c1f2f288fa65c14b952fdc73aa88e1b945403f3b262c0958e942a5b20edd89cb9a8d97e07e22 EBUILD css_parser-1.11.0.ebuild 1112 BLAKE2B b7f3ad5ae3c5a80ef1886a00100aaa9d680bcbc0f85435bf3264e2bd129dec42b0f85944d4e187ef6723b102d8959b7ce5fc6d72636b2631d225ae15fd849b5c SHA512 25f3cc53415b8bfdfdbae8bbc6652244c47956e30e99d2b8b479e4cd94dfd58b98ed10841781cd8a275af72d04a8b6ffbd2ce10d4bfa9117384089b37c01a5aa EBUILD css_parser-1.12.0.ebuild 1112 BLAKE2B 5a569013be9eac81c9b67078db069f6e3d6cda75e7c1d73950d0a68e3cf4c319e4d800b5f3b27a5106587113ac62e8bc66375fc385f15892d8c9201eb29780d9 SHA512 c1ae6068a2ce3db64f025a919c5991f81a2e6e340e6d663a6e3924f7390fc6caa3b70b066b45fa62878ce48e77261ae1890851e1dac13fdc7d9bd3fb3e78ae06 +EBUILD css_parser-1.14.0.ebuild 1112 BLAKE2B 4245fb45e653d36c734771d4a64b45755ba0177a6484f2833216497855646de11b5ea0b39a12305d6ec496a0033baf0ac96b26eadbd428c378bea84c44b00614 SHA512 714ecb12271589004b5e9d576aae34d8173ec6d939cce87027769522b2bf146808bd97d450f17cf8c4a7e79cbc28c86c99630f3a31fabd4922ff2d8e7be0ac09 MISC metadata.xml 347 BLAKE2B e585a8b52f5f7e687ecaf086e023fb07c7055d35595395889b3bf8f6c2c6d2c1ac6938a8b4e8e113f5ba828c6875c9a9ab30fcf6bcfe1a10be62205755fec7f6 SHA512 4850009083f17624cd34fd16f20752fef5d8857c62f00a6303cd3b59eb4e883f94985e1ed86cc400f7f66048bd1e795afcb20ba9968db8adb16e9cffdb4ffe0e diff --git a/dev-ruby/css_parser/css_parser-1.14.0.ebuild b/dev-ruby/css_parser/css_parser-1.14.0.ebuild new file mode 100644 index 000000000000..3875807891b4 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.14.0.ebuild @@ -0,0 +1,43 @@ +# 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_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/dalli/Manifest b/dev-ruby/dalli/Manifest index 711856e6d4b9..0a6da4491f9a 100644 --- a/dev-ruby/dalli/Manifest +++ b/dev-ruby/dalli/Manifest @@ -1,7 +1,3 @@ -DIST dalli-2.7.11.tar.gz 52341 BLAKE2B 5b3a2bc57f4b0e3a9ac0d24ffa3bba89ea38665ac08ef3d7760fa6ce74db21d323a18e74a4f3009165364332731d7c6890df36c68409afbe21d3ac096275f028 SHA512 8f299a19d95293370564b6337bbdfeb32d928e0a95bf5f5df962ea20b039f4765da1797513ca96cabf93309484575481a02fb1e0c6d227f74c81fc72f95be22a -DIST dalli-3.2.2.tar.gz 70163 BLAKE2B 59b67fda686674ea4df36b503d7f362e052d2ad32b0f4fd07e90f8e5f39ec0760a5b3e0a3627a684c38bc3cd9ede8d0e6614825ef5154da9c281e2720a343e3f SHA512 6ac42c09aac7a5b8f4678449b8c1660f95232fd96f2885f7685f4c62573f435b76fcd2c06180bc05a493671ee9fed2c3ba9edb8ac318968b7725c3c76fb34544 DIST dalli-3.2.3.tar.gz 71163 BLAKE2B cdb205f39dce8e7c64da808a5da8b0c295ca938b21d1a42f16a7fda06d47b11c9d357240d633b17ec140e90a1838d4e28da6333971eaad043ffd04508ffb7537 SHA512 43729fa6f7ee92d886e113c6c04f1334c74bcb189e5c75205cc955a94fe1e0d834f94b69d1e9408609f4039018417da74f9b80fc8851ed33ee3fd60fb77df224 -EBUILD dalli-2.7.11.ebuild 1580 BLAKE2B 39f0f7be69f4e765a7b1d071254b50ddcfe40a2da74eaabbec89ec4b326ff8021423fb9b9689480105e73ffc4e9dd4f1d099bd61b1cb1675233607149c80cc21 SHA512 e18919458eb72a224bd69849eb991af5e973d799873af42d97404eb8b864eee3336fb63f71d6d2cd08456d310e26cc9ff5d9037ff4d292237b54a3e11571ad98 -EBUILD dalli-3.2.2.ebuild 1132 BLAKE2B 256d4442e36531c24e028db8a384cc42381a796d7bfe0463db1fbc40a3da1307bb03f97c857596ccb670ff8732e6022800c0ef8f97292f97842b6efeddad2f64 SHA512 c2a3c411c9b40a970b3793b3d76b200e0ec8a1cd96d4cde2a04adb9847bc7b9309cfc34d59c0e212621e5b0d1df921f3576cda9cba2c032b3d94a277ec775a77 EBUILD dalli-3.2.3.ebuild 1127 BLAKE2B 20be6f1ae48304062fd120fac0aaefc110b526581ecfd469c830b32a8e5c595b79636d9655a55e1be09110983c58eaa5b05011fdb0cc570d36ec89862f5d2602 SHA512 a37d56677060ef146f95a92d0c50bc91c9689608b54b437361143fb052013705f9376734b863b016e4c4d0d83b2117409af08477d973e8c21eae7e177d20abec MISC metadata.xml 347 BLAKE2B f1e7c89c18e4fb1a02714796274401469ee66687a98d56445ed894024667a9bb277d0d1c1f6cc4ddfd90c3d3b3cd2f826bad7dda8fc5f3d6111b8326865228bd SHA512 7645efc96c6c7d275946260d28055c704f3fb45674e864b60a4a60e7265c8c61e82105373a243ecad18101c850ec47ea3c9a5a2a0538b4f9c99232ba1fa36c6e diff --git a/dev-ruby/dalli/dalli-2.7.11.ebuild b/dev-ruby/dalli/dalli-2.7.11.ebuild deleted file mode 100644 index a918291870bd..000000000000 --- a/dev-ruby/dalli/dalli-2.7.11.ebuild +++ /dev/null @@ -1,50 +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" - -RUBY_FAKEGEM_TASK_TEST="test" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A high performance pure Ruby client for accessing memcached servers" -HOMEPAGE="https://github.com/petergoldstein/dalli" -SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86" -IUSE="" - -DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4 )" - -ruby_add_bdepend "test? ( - dev-ruby/minitest:5 - >=dev-ruby/mocha-0.13 - dev-ruby/rack - >=dev-ruby/activesupport-5.2 - dev-ruby/connection_pool )" - -all_ruby_prepare() { - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - - sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die - - sed -i -e '3igem "minitest", "~> 5.0"; gem "activesupport", ">=5.2.0"' \ - -e '/bundler/ s:^:#:' test/helper.rb || die - - # Drop rails dependency which is only used to display the version - # number, so we only need to depend on activesupport and avoid - # complicated circular dependencies. - sed -i -e '/rails/I s:^:#:' \ - -e '14irequire "active_support"' test/helper.rb || die - - # Fix test compatability with memcached 1.5.4 and higher - # https://github.com/petergoldstein/dalli/pull/672 - #sed -i -e '/memcached_low_mem_persistent/,/^end/ s/-M/-M -I 512k/' test/memcached_mock.rb || die -} diff --git a/dev-ruby/dalli/dalli-3.2.2.ebuild b/dev-ruby/dalli/dalli-3.2.2.ebuild deleted file mode 100644 index 73735d2adf42..000000000000 --- a/dev-ruby/dalli/dalli-3.2.2.ebuild +++ /dev/null @@ -1,40 +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 ruby31" - -RUBY_FAKEGEM_TASK_TEST="MT_NO_PLUGINS=true test" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="History.md Performance.md README.md" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="A high performance pure Ruby client for accessing memcached servers" -HOMEPAGE="https://github.com/petergoldstein/dalli" -SRC_URI="https://github.com/petergoldstein/dalli/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 x86" -IUSE="" - -DEPEND+="${DEPEND} test? ( >=net-misc/memcached-1.5.4[ssl(-)] )" - -ruby_add_bdepend "test? ( - dev-ruby/minitest:5 - dev-ruby/rack -)" - -all_ruby_prepare() { - chmod 0755 "${HOME}" || die "Failed to fix permissions on home" - - sed -i -e '/\(appraisal\|bundler\)/ s:^:#:' Rakefile || die - - sed -i -e '3igem "minitest", "~> 5.0"; require "dalli"' \ - -e '/bundler/ s:^:#:' test/helper.rb || die - - sed -i -e "s:/tmp:${T}:" test/utils/certificate_generator.rb || die -} diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index bbc65bda16f7..4836eee462ef 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,5 +1,7 @@ DIST git-1.12.0.tar.gz 218472 BLAKE2B f5e0465fd2f0f2f1eb1584da6757c012cf80457a15e61b9a974707c8f026f34940d86b25fdd708b9fa6071fc35e8e65c6c87bc83b94bb0daec61ef015a03184c SHA512 9967bf6c9f00e29442495fb24abfd1ea3b6ad0068829e9d86727d41ecf07be0b8fbdc6d05b3c245a23223b4e35e87e984e7a60a5883839e6de45f8bdac406b0d DIST git-1.13.0.tar.gz 219424 BLAKE2B 38d1821c59cbb743c50655e9426d77f76e77dda614a711b7d2185ed7f4caa853383ba85ecf05237da403061d002527c38a5c6e06cf5e6d482ac76bac49a0db56 SHA512 7920de37a3df67b743e91fb317bd0cba746d2343dfb77036398fc124d00eede7b9ade5dd2af5f26d65f1f24006608a29fca55d5be8a00557caaa31acd0b274d4 +DIST git-1.13.1.tar.gz 219640 BLAKE2B c87fce3f83130f7a75a10a21c4c980ec1d3594b20afa7b482f21077083076df7b4c462908a05c7b2fb3091e1fda00857ae40c4809e89f059f63ce12b119f307b SHA512 58cd7f38a5c1d5ab3d68cf2d4b026a80073f5dba3cb4895e220ecad5dbdf6a2df4e1e44570bde9256371c5089b81523aca4a5c686348bd04638f4dd09927e876 EBUILD git-1.12.0.ebuild 1252 BLAKE2B 8cecfda11f8006929f7b8254415ce8226183e29843f20cefab00efdd23aa670799d2ae38f3221c92f375b0f377d39920ba92366ec0e4a407774fc63ef885c13c SHA512 d87fac3a7d4cc86b2604c877f8bfc55d32d3d7259883ec3ffe7489957f202e8020d6ad9c21e3b87c569a9ecf9ac396ad3326725eff121cf44581d2ceb27f810c EBUILD git-1.13.0-r1.ebuild 1310 BLAKE2B 8e07d2f03e4d698cb3ccd66719553ca18651a73387549ab7a1f8f80afd14e756cda74d548d57dba6ad24037e70992885208ab170c0b3e1ce07d61d924630099b SHA512 ce4483e7cd8a3679f00a170517050b0b2d00ea1e87bf8a5e9a0a91648b99a99442e2bb7c5ef5c76215bbfdff98224ee088007b20e133439fa54e5566047c384a +EBUILD git-1.13.1.ebuild 1311 BLAKE2B c59850828f991c0ebab56f87d442bc2a4a6a45ecfc9d48a542b18c6340ae176c2d514080a0ae275196bfdd4d69892f163e04def4f69ec5bf3b20ec49740248fd SHA512 0edd92d9cde77118fd7ff25e1b0c4bf9b02b6436bf0f4d096c089ceae2d19a038d5200858ac96f7ebef56123d303f6da28524b7a438732ca1a6e3f57e3167b5f MISC metadata.xml 343 BLAKE2B bc9a79524aa9216ddb3624e81f61f8ecaf988538693155f5b8de7289effc0613a5d102b55b4c9c9eccc50d8556b0c4fdcec1e9a9cdab67d28753008204c9af2d SHA512 d599ff9d1df8510ff8603e9030a65c294bef3ee93f0e5a438300a8bb5c0ffe3c4a9bdd7ec41fd5effa27b4b7e1c978faefe95dceedc270b6a995bb928f2d70be diff --git a/dev-ruby/git/git-1.13.1.ebuild b/dev-ruby/git/git-1.13.1.ebuild new file mode 100644 index 000000000000..d9cbcab1b2db --- /dev/null +++ b/dev-ruby/git/git-1.13.1.ebuild @@ -0,0 +1,44 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="git.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for using Git in Ruby" +HOMEPAGE="https://github.com/schacon/ruby-git" +SRC_URI="https://github.com/schacon/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-git-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" +RDEPEND+=">=dev-vcs/git-1.6.0.0" + +ruby_add_rdepend ">=dev-ruby/addressable-2.8:0 >=dev-ruby/rchardet-1.8:1" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Don't use hardcoded /tmp directory. + sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die + + sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's/1.12.0/'${PV}'/' lib/git/version.rb || die +} + +each_ruby_test() { + git config --global user.email "git@example.com" || die + git config --global user.name "GitExample" || die + ${RUBY} -Ilib:.:test -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/haml/Manifest b/dev-ruby/haml/Manifest index cf81eed4e2e7..e665f0c5ff33 100644 --- a/dev-ruby/haml/Manifest +++ b/dev-ruby/haml/Manifest @@ -1,3 +1,5 @@ DIST haml-5.2.2.tar.gz 129833 BLAKE2B d68c24c7a3c817d6d364b2ec92b84b4f56f4fffa48b99d17b2df27da35f50b1fb1f69b184a7b21d899c476e0d4c8ad2b940a7cb2995ec24ecdafab8ef61fe393 SHA512 1aec59fab20d8139a5dfedde2007fa8137a377a345e4d30229f9d1140d56cdf970c8ae70e2647e6a408d7fa543a16050f66a8a636efa6a6b1f91ee1ffcc136c1 +DIST haml-6.1.1.tar.gz 669644 BLAKE2B 239b3a1fe02bcd1e2981198ba7c54c71ca2af0947102fcea6cd600cc6579294856baa290589a7d3a015e54df8bcecf8e50175cf2189e8f4f9c6f9721a558bcc9 SHA512 7d732be085b41b8f0eec418600a82b51c68301081165aa636fa342ae26b74215a202a4b15e592da980d9a7fbe24bad01399f599770420133c4b6ab7523386fa5 EBUILD haml-5.2.2.ebuild 1496 BLAKE2B 1abadf57965798595ed08da1de7b19b0635a05ead6287e29e8902c2a69de9a69b693d3e282ba51468f6ed4c83a455c63f539020274c4e8332f8e933dec8d233c SHA512 3828bbbf977f0157e3669c425b870b8faff8260c94be80b3f08b55c04b2654a763e24f0b82d6dd4deb79075f0d85741e34462aa020903f01dc0c3c5f4eb43d4a -MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 +EBUILD haml-6.1.1.ebuild 1503 BLAKE2B 0a8bd32d1ec14e23757a956376fb9e6014ae2853d0454b15dbcb9a5dc57f58fce9d97a99a5a75997961c5c67314984dbbb60a5799477f21d1945efae74c5f98f SHA512 528c1fcd88bb67620771a179557716963cbef7b35cb1e242340e85aa81902daf3f9bd7a29721aff0e2a23dcc3f81ad825ba4db8c9bdaafe3f3ca5f3d0979b18b +MISC metadata.xml 384 BLAKE2B 49a1ec969b1de2c61646aef404bcb19961d7f7b6b8c0324c1f447c8847adb0d3667e653b4273ed1c7e177e7e5216e6275a7c664ee6917ecb48e69d89554a33c6 SHA512 047f50785afcb708d07a770c38e40d7c8be01455832f01bbd006608eb18af8a8470a21ab0c57b7304ad4e2be39121310d0feb1ac64163a1b5e4c1cbf61cb8bfb diff --git a/dev-ruby/haml/haml-6.1.1.ebuild b/dev-ruby/haml/haml-6.1.1.ebuild new file mode 100644 index 000000000000..1bd1fbf34089 --- /dev/null +++ b/dev-ruby/haml/haml-6.1.1.ebuild @@ -0,0 +1,55 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/haml/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/haml" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md FAQ.md README.md REFERENCE.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A ruby web page templating engine" +HOMEPAGE="https://haml.info/" +SRC_URI="https://github.com/haml/haml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="doc test" + +ruby_add_rdepend ">=dev-ruby/temple-0.8.2 dev-ruby/thor dev-ruby/tilt:*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/nokogiri + >=dev-ruby/railties-6.0 + >=dev-ruby/activemodel-6.0 + >=dev-ruby/actionpack-6.0 + ) + doc? ( + dev-ruby/yard + )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/bundler/ s:^:#: ; /Bundler/,/end/ s:^:#:' Rakefile || die + sed -i -e '/bundler/I s:^:#:' \ + -e '/simplecov/I s:^:#:' \ + test/test_helper.rb || die + # Remove tests that fails when RedCloth is available + rm -f test/haml/filters/markdown_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -rtest_helper -e 'Dir["test/haml/**/*_test.rb"].each { require _1 }' || die +} diff --git a/dev-ruby/haml/metadata.xml b/dev-ruby/haml/metadata.xml index 658c72b1920d..81aca44931d3 100644 --- a/dev-ruby/haml/metadata.xml +++ b/dev-ruby/haml/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> -</maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">haml/haml</remote-id> + <remote-id type="rubygems">haml</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ruby/html2haml/Manifest b/dev-ruby/html2haml/Manifest index 51a59013773f..c799f49a3276 100644 --- a/dev-ruby/html2haml/Manifest +++ b/dev-ruby/html2haml/Manifest @@ -1,3 +1,5 @@ DIST html2haml-2.2.0.gem 21504 BLAKE2B ead2c636baacb8dbba7bd650356da5e2ebfa8ab565edb38ab03df287d8d0709b9271ef3f46fae0f2d2b86d37dbf6a0212fbf6803aaf7757a9f2653b773e46482 SHA512 b6988182073f35d4d9b9f07f2cc2ba01c66679fa646fd2d1e3c8cf0643c88b04a2b1a36d584bdcca897f804e32486a618abc8fbd8db023ff9c22ee66d93ed9f0 +DIST html2haml-2.3.0.gem 21504 BLAKE2B 52bfdab16a78c44f7f3f5e4be6015f236fe53b15c9fe6e595223e76fdef544f06cb4abc8b3a2c3fd904c20a404e5bb10c44546494a93ff10690bd5a023afe555 SHA512 75b3453fe919c8914d53cb5492df2377756d89fa795d5ea29a64559e7f3e4ee91e61db706e7860e214a7e6d5160e0f209c65d68d8d3ac28ec5b51fefba6a9a94 EBUILD html2haml-2.2.0-r1.ebuild 751 BLAKE2B 4f2fadb174884f0b23f34a5488341cbba39383fc87e0eb8f6df05d09cb0064d6e9afad17c73fc282f74077f772cf959a76bffd36a05681c75072ceacbe61516f SHA512 2f87d9ff02a000aec5e711902b58394f7a3c528edf62ea9abdb0f3dd47ce757767dc43ab2c20827ede5381a8c6180f056c38498f63ac0faf1f0c9d04458964ea +EBUILD html2haml-2.3.0.ebuild 755 BLAKE2B f4d773b413996eae2a4b3e9c0777a255133687d5513853603caad84f3f22f558118015d595404f3fbe6fa7c6c6f426d28e7aef6c811fbb69b3d1f04e0a573ffe SHA512 0f905865ce534c42709aeb7b35ba60c5dfce7fac90846e62df26c974664c4abe779ba1c795d901027c8cda3d08f874fce55f4ec7a1e60d8b8ffb75c0b175054d MISC metadata.xml 331 BLAKE2B f5c8ed8830eb1340ec46abc36011d86b1ee13b0c148f603c0f91f568669c6a04165c838442db7375e7bf95ab881d8dd3901cf2945c9998f7543e4ed512396745 SHA512 9ebe00179949ad57b1b609816d570c565643d9574cd59740a96eee15bddea461bcb432dc1bcd7b24e6200831b8419ef69704ef0ff299493c85cd07c1688d49f1 diff --git a/dev-ruby/html2haml/html2haml-2.3.0.ebuild b/dev-ruby/html2haml/html2haml-2.3.0.ebuild new file mode 100644 index 000000000000..0817065ce65c --- /dev/null +++ b/dev-ruby/html2haml/html2haml-2.3.0.ebuild @@ -0,0 +1,35 @@ +# 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="README.md Changelog.markdown" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +inherit ruby-fakegem + +DESCRIPTION="Convert HTML and HTML+Erb to Haml" +HOMEPAGE="https://github.com/haml/html2haml" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0 + >=dev-ruby/erubis-2.7.0 + >=dev-ruby/ruby_parser-3.5 + >=dev-ruby/haml-4.0" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/html2haml_test.rb || die + ${RUBY} -Ilib:test test/erb_test.rb || die +} diff --git a/dev-ruby/io-event/Manifest b/dev-ruby/io-event/Manifest index 3a3ac0baf1bc..f2f5ba3d3067 100644 --- a/dev-ruby/io-event/Manifest +++ b/dev-ruby/io-event/Manifest @@ -1,7 +1,9 @@ DIST io-event-1.1.2.tar.gz 34305 BLAKE2B 8e7814ada38c4a766f413373e0ef5b0c94a1b94342667a25c59bf8925fed791c3dc527bf63f02a9e40297abcdde730047a3a80104ac9d9f12ea648e5842ea851 SHA512 68a9c01f8075117767cdcacb095f9587118f86cc536d94a990b55e63e7f5213c350556486c45e2687db2ac810d48dc1d9aa28e994ef6ae0229f7b258d0b92aa2 DIST io-event-1.1.3.tar.gz 34336 BLAKE2B bf0143c73e8d3f2929d3d86a740bb4c846558e3e605414087a5bb16b6e8d1c0b35494b9c761de8d57004b4b540b72d16916ec602a04f204f32fa5ba074a465a3 SHA512 9da7405e6d0d0b7aed30718bd52c15bd05061f73c4a1ed481bbfa037a11d75a034876e7470ad29523e8e16c5a3b69eaf8716d81b8e840fb01c6248ecab633495 DIST io-event-1.1.4.tar.gz 34425 BLAKE2B 80af7c6234e44197c79c2b893aae02a05399c28a02daca900526e25bf3d0703d085b94dc231cf485028e8ce529b54a5a85b5adb6a720be87222be8d84302354a SHA512 8c8ae307879511099cbd5ceec775d408a5de28887e466a1fc62f4c1551c8e757875fcc7f12646c8d73f0fd9018a28cb8d6d0da1e4e6f0a0238812fe2674d1520 +DIST io-event-1.1.6.tar.gz 34530 BLAKE2B 3b0e6e5ca781b61467daeb885ea22de639c2f3c68f96657c99e8257f0cb0028f8997e6aa0ab5c53b56e53a944c40944e701d57160faeb4273a5bc77ceb4c2dfc SHA512 65cc9a9de7037059a119f1ca6569414baacab234ac4e6ee91ac5c780ed789510d8691111890dbe19082867c5adbd50cc9a86e28b37460b8fb01ff53abde8d417 EBUILD io-event-1.1.2.ebuild 812 BLAKE2B 29277f25b5ee930d609136697016f714bce53c4d1b687f0e43f5ea7ae62d05a704b5694e73a205f6f558de5470d909de715ac8224ca76d369766f2dc4de30cae SHA512 c7df0b2b298c04cd5978e7365a9e23452d6b0dc5ebfd9c999b8bd643144380f43cc1bdd3e2773414fa39cb0286f128c795b377c53d4903662f88e36be4a82978 EBUILD io-event-1.1.3.ebuild 812 BLAKE2B 29277f25b5ee930d609136697016f714bce53c4d1b687f0e43f5ea7ae62d05a704b5694e73a205f6f558de5470d909de715ac8224ca76d369766f2dc4de30cae SHA512 c7df0b2b298c04cd5978e7365a9e23452d6b0dc5ebfd9c999b8bd643144380f43cc1bdd3e2773414fa39cb0286f128c795b377c53d4903662f88e36be4a82978 EBUILD io-event-1.1.4.ebuild 812 BLAKE2B 29277f25b5ee930d609136697016f714bce53c4d1b687f0e43f5ea7ae62d05a704b5694e73a205f6f558de5470d909de715ac8224ca76d369766f2dc4de30cae SHA512 c7df0b2b298c04cd5978e7365a9e23452d6b0dc5ebfd9c999b8bd643144380f43cc1bdd3e2773414fa39cb0286f128c795b377c53d4903662f88e36be4a82978 +EBUILD io-event-1.1.6.ebuild 817 BLAKE2B 5a21ff0f222c7b45d0c5a1da046eeaf85faf3839fe6b498e9eaf6ea1e4f41980c7b90c85a102eab2897ad8d68201532af6f19e956d6998719f79a46746ffea92 SHA512 e58f9785de59d029bf6eb87dbc328352c7928eddccaead18b57af5ed7897dc7dd42b4ebc5bea39fad7f28d7990f4339ef6e9ac61e76a85e1564b10430ab708b5 MISC metadata.xml 344 BLAKE2B bb572a3bebb66073283f2eea535cb9ac95d3adba0e060350609028bb47b7a03b6ddb3294293e95a6c505fe5d9c7127a37f1d1afa9abf66312bf4b4a688b4ddf9 SHA512 9c114303bb3edf528224eac75e7095403230f94baf373649442c123cceee029258616fa2ea68823814dd1ecdfe0f9c4ef73491ca449f569f12aa159b78811ef5 diff --git a/dev-ruby/io-event/io-event-1.1.6.ebuild b/dev-ruby/io-event/io-event-1.1.6.ebuild new file mode 100644 index 000000000000..1a7f76b6f182 --- /dev/null +++ b/dev-ruby/io-event/io-event-1.1.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An event loop" +HOMEPAGE="https://github.com/socketry/io-event" +SRC_URI="https://github.com/socketry/io-event/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~sparc" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/sus-0.6:0 )" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid dependency on unpackaged covered package + rm -f config/sus.rb || die +} + +each_ruby_test() { + ${RUBY} -S sus-parallel || die +} diff --git a/dev-ruby/mail/Manifest b/dev-ruby/mail/Manifest index 3027d85aabc2..44b02195a0fd 100644 --- a/dev-ruby/mail/Manifest +++ b/dev-ruby/mail/Manifest @@ -1,5 +1,7 @@ DIST mail-2.7.1-git.tar.gz 625251 BLAKE2B c1efbb259042155e983c1971fe9821eb0dd850089bd04cb0c74513f6f17dabf8ecc3155d9e5846ae657383f522872323f8fba37d51fba4318ac682d18a6d4c50 SHA512 17c601c86715135331f750048339a11a67a17f34486dbafa3ba7e9af9970d60927a2fa95c72a398418548df1fdf5addb2ed3afe9da7dff1f0bd949438726be1b DIST mail-2.8.0-git.tar.gz 620136 BLAKE2B 4c115ddf92ef18c7889d391d264bf4c0be37be4849accf6e4778cc50317a4c0cd5f042c465f4f7862ca33e1de166b35bcb6d6e08e3fe44cce6aecbf1c1f9380e SHA512 ac60d72d16dd75fb5e8474900e069d5f711ce66340582a96d1f79ba582841cb82b212637053f45d1014997776ff411cbc8f9c19e06f024f6aa59b09c50c02583 +DIST mail-2.8.0.1-git.tar.gz 620162 BLAKE2B 92a183df4cec63c194debb5fd1c5194f2fe8d909094f9b79c157c3c004574c78e8b2567c44a7f62f3a91af4689e7e2ca023768f005ff62998d0999a0d46e4bf3 SHA512 d2c84ffec336bb1967107641b741eef06238e37d68704024d3f037893e95fcf9501ffdb34f3f820e1f8df63b4057e0d329d09cd6a96281801ece6fb3d26f1a4d EBUILD mail-2.7.1-r1.ebuild 893 BLAKE2B 5815eaf3478c7b8f0e9a236b4a885af5d6209a9cc25cb7ed2b8ed386abff258f2fec9b92903d66ca25c0701411a81b4e6310f85a6cbf4134e9718898ce71a865 SHA512 5e2d38dafbe411006ddb6fa8216646289801388dd940497972ea3d0a0e910c7ab4700d132396684bc738d6d03cc11eab8dbeea5d56f6be972b1f8e01a058869e +EBUILD mail-2.8.0.1.ebuild 1014 BLAKE2B f1ba5b7ed87db5fdc1761a518db892e575a96fdd825539961b95fbba8944a1f385a11fdeec13db30dc63e7432f0acd4ca5dc9ba30f74ad201a2e96a2643d462d SHA512 9c75c9fb7355436bbd6c2c057cfdcc0b93c827b0415a72afba3726d78422f41ba904f4a136501e8f0c706c27f8d16681bab252de7db58e42db3d20b9cedb1eba EBUILD mail-2.8.0.ebuild 1014 BLAKE2B 327f555e6bb0d597251c99ae609266a2164e31078bf95e549ca58d0b73ef2c70f9160802239591ce72f3e2c7c53142fed732ed9754b0aaf11f655da52783e5d4 SHA512 be895ed118818f065e86aa6d759eb400ca079ebfec3004b1f322b07548357f4d51fe95bda1edf370a82e9635652234398b2a6112113a7859f96ed940ecc374cf MISC metadata.xml 337 BLAKE2B edda3267d35eae7a763cb191424ad231a356da5d17ce213061d0111e9addab8d34ae9bb52e47c0ea05d58258d04befa284aa3930d316429ca4b82c2d676bb61b SHA512 06ff50f20204499fef8bf6eb3af793ec7b471c2d1a29fd30b821086f934344a6251c0304cc52c9b720af5a7b7214831a68813c33f36fe4f679deb8667d3cb7f8 diff --git a/dev-ruby/mail/mail-2.8.0.1.ebuild b/dev-ruby/mail/mail-2.8.0.1.ebuild new file mode 100644 index 000000000000..0dce16387ebe --- /dev/null +++ b/dev-ruby/mail/mail-2.8.0.1.ebuild @@ -0,0 +1,39 @@ +# 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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="mail.gemspec" + +inherit ruby-fakegem + +GITHUB_USER="mikel" + +DESCRIPTION="An email handling library" +HOMEPAGE="https://github.com/mikel/mail" +SRC_URI="https://github.com/${GITHUB_USER}/mail/archive/${PV}.tar.gz -> ${P}-git.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-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="" + +ruby_add_rdepend " + >=dev-ruby/mini_mime-0.1.1 + dev-ruby/net-imap + dev-ruby/net-pop + dev-ruby/net-smtp +" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '/[Bb]undle/d' -e '6d' Rakefile || die "Unable to remove Bundler code." + + sed -i -e '/benchmark/I s:^:#:' spec/spec_helper.rb || die +} diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest index 0fa64f322c01..5aed5997ba91 100644 --- a/dev-ruby/nokogiri/Manifest +++ b/dev-ruby/nokogiri/Manifest @@ -1,5 +1,7 @@ DIST nokogiri-1.13.10-git.tgz 6236674 BLAKE2B 043a08ab969aac1f1fada730b8df11c295b28c9b9c41bd311cedc1d20064c61b2838489c67b8513c98736377defe33cd171b9ff3846f56af450caee4327e7727 SHA512 c9a4b14cb92c4920872048991c958036d5f09b8e231a6f6408e5d3c5df78b70e206cc12b8ed8aaae012e51f6f87adcbe46273cd1feca082ec17f42114f5a1172 DIST nokogiri-1.13.6-git.tgz 6249974 BLAKE2B db6a7fd70cd88fa784e70fd33102ad2a0d65a848a713bd93907d3c77b7ecc101a4f0a38febf3265b25967e045bf9091e46cf319702c08319e32f94d57a946985 SHA512 96f4e52332052bfae0d88d8c93cf334f8484b51290cafe8c1d43c820ba6ac5aa74b187c37e7177e62435d6101d859c16555b715fa88fcb06da742c84fd0e7486 +DIST nokogiri-1.14.0-git.tgz 10445399 BLAKE2B c8119709232979d86d017b7f97a5ceff8f756daa85a2b51dc4d0973419a01d7ef862aeab9bbdb4000ab4bda1335e09afc24049fa34a33bd69fd8b7297bf43474 SHA512 9da9c3bafc7a0d9dd0218855d67ca2d024024e3778e9f2784a0a018f5add7ba92ddcbb5568017617b0270091f738e9edadbaeaaa26112cf43b64bd46210567d2 EBUILD nokogiri-1.13.10.ebuild 2672 BLAKE2B cbefa7feed0f6318e060996f30613866c8832b004a8ee7abfd811dcc98c5c2ee05d1a5337076d2a60c93c0171d3f70c53b085d4b31f38f3a50ca2f52dc0ded5f SHA512 2bf4ee868314eccdc43a78f3506991e7cf876604ecc507607204d80d77328e40effc845c56cb943f5a156cea1a399dd282dc9a454e687e007aed63fc544ead01 EBUILD nokogiri-1.13.6.ebuild 2670 BLAKE2B 6009f73f5b582d3878493e3ab0f7b59cbeb50913b1e09ea13f0a49a840ad6bfc2fdfe7deb140881b257b13c3d9f57049859a4d01dfe646bc41d4f7c0dd4373a2 SHA512 c322190d601225828de7552499025653186648706aa467c542c68c2d6e0f1f625a4f3b2a24f9aa76e983fc52f4a98c8bf3dfb1a27aec64613342334a482bbcba +EBUILD nokogiri-1.14.0.ebuild 2679 BLAKE2B 77e96e4a9400db2fff3fb1e93c884669e86c76394afee2970dfaf4f9d8b03b63ea6dd849d3275d8b910df6c566211a78b4bdafdff7cf6abcf77b5cef6412f8c4 SHA512 5660ad74e67c5196f1e6be4581271feedb504dbc132b070e1ac3e186d955957531cefd053faebb959b2bdc60b59e3c876a770698fc4f1c789391cf364ebe3c40 MISC metadata.xml 349 BLAKE2B 824094b81182da6ed2c43f55f8697dbf614662e1e032ed62bcf8ec4ef8fb6e6a1bf346f90863a8cb7d6cfaf2696f0be70fd3027d6d01e583bba0c1334252447d SHA512 9ab17ab504279d8d1ea584f7a6f411fe778b89564016dc0d596ec7f714cf9ad80ed5e30c179ec6aa190bafe8a8b72bfdc5a964d213a8024783da246bbb817629 diff --git a/dev-ruby/nokogiri/nokogiri-1.14.0.ebuild b/dev-ruby/nokogiri/nokogiri-1.14.0.ebuild new file mode 100644 index 000000000000..c6bb2c38bb01 --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.14.0.ebuild @@ -0,0 +1,95 @@ +# 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 ROADMAP.md SECURITY.md" + +RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb) + +inherit ruby-fakegem multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="https://www.nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + >=dev-libs/libxml2-2.10.3:= + >=dev-libs/libxslt-1.1.37 + sys-libs/zlib + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.10.3 + >=dev-libs/libxslt-1.1.37 + >=sys-libs/zlib-1.2.13 + virtual/libiconv" + +ruby_add_rdepend ">=dev-ruby/racc-1.4:0" + +ruby_add_bdepend " + dev-ruby/mini_portile2:2.8 + >=dev-ruby/rexical-1.0.7 + dev-ruby/rdoc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ s:^:#:' \ + Rakefile || die + # Remove the cross compilation options since they interfere with + # native building. + sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die + sed -i -e '/cross_config_options/d' Rakefile || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -e '/reporters/I s:^:#:' \ + -i test/helper.rb || die + + # There is no need for mini_portile2 to be a runtime dependency on Gentoo + sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${RUBY} -Cext/${PN} extconf.rb \ + --with-zlib-include="${EPREFIX}"/usr/include \ + --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ + --with-iconv-include="${EPREFIX}"/usr/include \ + --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ + --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ + --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ + --with-xslt-dir="${EPREFIX}"/usr \ + --with-iconvlib=iconv \ + || die "extconf.rb failed" +} + +each_ruby_compile() { + if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" + fi + + if ! [[ -f lib/nokogiri/css/parser.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" + fi + + emake -Cext/${PN} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/oauth/Manifest b/dev-ruby/oauth/Manifest index 015b019ae39d..ded7cb320818 100644 --- a/dev-ruby/oauth/Manifest +++ b/dev-ruby/oauth/Manifest @@ -1,5 +1,7 @@ DIST oauth-0.5.10.tar.gz 67073 BLAKE2B 30d5823151412f53af41f28f7d5831bcfa7e7cf0b86d3a122b825fd086c00dab7fca7a4838b7ed5ebb269725af7c2a64cf771fc598bd6a97b9968e480ce78b4c SHA512 0ff5cd07052e210b1948496844166e1095b09d9c39592b6b11fa3aa4909fd8debec55237493d292dc60f4fe513ddf1a8f58cdb0215949241cf753d4e53aa107e +DIST oauth-0.5.14.tar.gz 68764 BLAKE2B 19c7f463d5fcba62a609355834ba93adf1efa05b2ce25fc5d9d3623da15d35a7cb54eff9201bb4f373a66629781f5937326430a7a1c9c615929bcc5bae099a67 SHA512 646ed55a602e9e7b8e8d59532c89929305abeeda6b38fc38bdf1d5e400deec7f5884d988bcbb9e3537eb3a0921dacb73cb5238af27e9885aff95b67196f62c99 DIST oauth-0.5.8.tar.gz 67852 BLAKE2B 7dc19a2f84f585fd517d677bf441c5964b45566ffea3cbd7612061db115a5570cf8315b4cbdd8788f9b0ff336b6eea91922f17c0ce17a4c626731282bd8203ca SHA512 3bf8298ea5bcffe1fe61ba894a5cfcb04a5814348154749e056ea18d975b00b10db7ed226f2187ffb9f414b755022bf32ff4bb2c02f1f429f6a9a7062032d82e EBUILD oauth-0.5.10.ebuild 1273 BLAKE2B aa72344fa2c13297ac938ae7f78f75d6b4f614cc45e3a34102c1ca8c9e408cd0956e539cd1a187c67a0fcf632942d7eac96e5d008c86d298297565e3107e49ea SHA512 b4de6e240f666f64ba40244f1c5fefd313d66713e7695268c1f8f6c4b2fa766de831fbaebaa8a1467d8e2e17b5e64343833840698eba57bc8fd6a50e65ff6916 +EBUILD oauth-0.5.14.ebuild 1302 BLAKE2B a0c37ea85360a0849f423faa66e5fcfcd33c8860f815724398bcf01c733b5457530d45ad479fddb43859687bf5f36a5b8d3eeb267db11463ffd41a543dbb789c SHA512 54a70e14f6465120482c8a947f2b23029455bbada34ccf9c5db8a011396d23a2ddd5c7f0b65dbe07620f145f0816a26016b12fd95b0a2ffcd8a2692756e1d418 EBUILD oauth-0.5.8.ebuild 1063 BLAKE2B b5eb384fab6e4a1781ee4f6415ec2dc4a68091595791d4279c87b3f1b62ae6cba3f1f2cd1fda8043137c1386096aa8941d47a0134adbecddc8ab1763c323f53c SHA512 203582b890816b60f140dee53a86a0aa22e21e91b817d5645fae94b254eb3b3f25d74faea507dfd04b21ab59b2b3ed844a8c5124c15dbe516986a2baeb7f7db1 MISC metadata.xml 336 BLAKE2B ab0fbd6793480301de481d3d1cfe9b26bfd24573f43d742c154fb4ddf4d0550663acd415dda46dbace5005085a40714fe3fdd9a84b147154c8ed3fdc47d59c02 SHA512 b99860f6b76b68cad2e0bde7a8c8d7156e4806dbed1f11f4579dfd8a89c372f7963d90b273a2ca3abbae82072aa91fba475b051b9dfaa7c557e4f36cbb5c85a6 diff --git a/dev-ruby/oauth/oauth-0.5.14.ebuild b/dev-ruby/oauth/oauth-0.5.14.ebuild new file mode 100644 index 000000000000..2092a7815cc8 --- /dev/null +++ b/dev-ruby/oauth/oauth-0.5.14.ebuild @@ -0,0 +1,46 @@ +# 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_BINWRAP="oauth" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md TODO" + +RUBY_FAKEGEM_GEMSPEC="oauth.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A RubyGem for implementing both OAuth clients and servers" +HOMEPAGE="https://github.com/oauth-xx/oauth-ruby" +SRC_URI="https://github.com/oauth-xx/oauth-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="${PN}-ruby-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/bundler + dev-ruby/test-unit:2 + dev-ruby/mocha:1.0 + dev-ruby/webmock + dev-ruby/rack + dev-ruby/actionpack:6.1 + dev-ruby/railties:6.1 +)" + +all_ruby_prepare() { + # Require a compatible version of mocha + sed -i -e '1igem "mocha", "~> 1.0"; gem "railties", "~>6.1.0" ; gem "actionpack", "~>6.1.0"; require "action_dispatch"' \ + -e '/mocha/ s/mini_test/minitest/' \ + -e '/\(byebug\|minitest_helpers\|simplecov\)/I s:^:#:' test/test_helper.rb || die + + # Avoid test tripped up by kwargs confusion + sed -i -e '/test_authorize/askip "kwargs confusion"' test/units/test_cli.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/*test*.rb"].each {|f| require f}' || die +} |