diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 14:53:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-24 14:53:22 +0100 |
commit | f73bef95b39f4fbc8f0278c26ad1534e5eec322f (patch) | |
tree | 64bc7f001d8ccd5ed51b0a301b91aad797e72ac5 /dev-ruby | |
parent | 28267a5e528b273fbd1b0f5f52ecaab4b03016ab (diff) |
gentoo auto-resync : 24:07:2022 - 14:53:22
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 111281 -> 111299 bytes | |||
-rw-r--r-- | dev-ruby/airbrussh/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/airbrussh/airbrussh-1.4.1.ebuild (renamed from dev-ruby/airbrussh/airbrussh-1.4.0.ebuild) | 17 | ||||
-rw-r--r-- | dev-ruby/crack/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/crack/crack-0.4.4-r1.ebuild | 40 | ||||
-rw-r--r-- | dev-ruby/mustermann/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/mustermann/mustermann-1.1.2.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/mustermann/mustermann-2.0.2.ebuild | 24 | ||||
-rw-r--r-- | dev-ruby/nokogiri/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/nokogiri/nokogiri-1.13.8.ebuild | 95 | ||||
-rw-r--r-- | dev-ruby/rack-protection/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rack-protection/rack-protection-2.2.2.ebuild | 24 | ||||
-rw-r--r-- | dev-ruby/strscan/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/strscan/strscan-3.0.1.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/strscan/strscan-3.0.4.ebuild (renamed from dev-ruby/strscan/strscan-3.0.2.ebuild) | 2 |
15 files changed, 209 insertions, 49 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex b8f195dd239d..9bcf56ff523f 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/airbrussh/Manifest b/dev-ruby/airbrussh/Manifest index bbd2d786bc8b..689abfe12351 100644 --- a/dev-ruby/airbrussh/Manifest +++ b/dev-ruby/airbrussh/Manifest @@ -1,4 +1,5 @@ DIST airbrussh-1.4.0.tar.gz 1450070 BLAKE2B 94f128cd25c5af48f17fa771c366d3cdf744dc4e7ccef23de583b1ed60ffe1640dd7d02d76fb78573936beb3412c277151b36a870ac3e11222c3135f34b0e140 SHA512 e3a5cb80365a963875e89d15fa2b4dc86985d6b5f13ecfa9baf9ad599b5780ef8ea2c2e4040bb35498a5ecd1c6becb081b3e917cfe082d2db63fd74ba54755b7 +DIST airbrussh-1.4.1.tar.gz 1450155 BLAKE2B cecdc1b278a23c76b169febf5aa704d024a1ef41344a81a24d28f2a0f53830804f494d1bf967d8a54bfa73a92df333095fcc4591970c1d3e2ed1c23095258d11 SHA512 33bc484a3ac42a2a4a3795068649e93472bded1f887d9cdab52f4268090889b1d6ddc1c8743574b07e174eb606b24311ee13952d8b61517841693b44bf92450e EBUILD airbrussh-1.4.0-r1.ebuild 1002 BLAKE2B fa7350d67fd9c37f3800e0714d5634d767fd130ebc1648b97c250ce5a22ab6b5ce3ab773350bfbd111779f4b02528034b3b58908fe6faa7dcc35037b57c86356 SHA512 e87be91d6f37c70c5fca204db0eee37ed6d398fc936d3752624a68c81137b79b15a6eb275a068da2cd75b25e655a0e8cc294c418d834f2cdd6d51e7831fdd168 -EBUILD airbrussh-1.4.0.ebuild 889 BLAKE2B a2b6121b61bfd7a21e2c1942be0ed9cae00c8ff2a62ead036a7a00c7125ebfe46855ecefb9fd278b57b13e603d3a505e93fab81481b9d394e1d5fe95b11c195a SHA512 2a6280d45b3d9684d0bdc9369895bc7bb024a2c54e8cafc5aa9bae566276a64854f91960f18daa2043d4124afc7930af893c3b17c3c7d89f888e504fda9dca20 +EBUILD airbrussh-1.4.1.ebuild 1098 BLAKE2B 50b4e9813f1c0f8e61447c936a239aee4a8b7f6dc72531c4b97687ec39ea6a40bfa0ce32883ea2fbc8c7e9aaa1bbd824c56199bbd1ae270941021cc88a38cd02 SHA512 e78ef77635731cb500be4c1e5334a64dd024267c1255a95ee0ac0811cdc4e6061b458dc3b2a6836695e46700aa318fa2919b80c94a8b39283acd925363ed227c MISC metadata.xml 396 BLAKE2B d27f0009de40add27cbe4a8a668ac4a82fa98eef30d794c61add8ad293db7e6b76c948499646c1dc23046cd4d88cfb36b41c1c14ebf78316ba6a4547493edb87 SHA512 98a3ccc2e6734e249cfb13754015cbd79485d20bc018312f7ff8500fa3c011db88c3955990a97da714dc6af7a6c94196057839eb76fd1612f30dba9e623ee0a6 diff --git a/dev-ruby/airbrussh/airbrussh-1.4.0.ebuild b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild index 07c738f0bde5..50728e4b92a6 100644 --- a/dev-ruby/airbrussh/airbrussh-1.4.0.ebuild +++ b/dev-ruby/airbrussh/airbrussh-1.4.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +EAPI=8 +USE_RUBY="ruby27 ruby30" RUBY_FAKEGEM_BINWRAP="" @@ -16,7 +16,7 @@ SRC_URI="https://github.com/mattbrictson/airbrussh/archive/v${PV}.tar.gz -> ${P} LICENSE="MIT" SLOT="1" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="" ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" @@ -24,10 +24,17 @@ ruby_add_rdepend ">dev-ruby/sshkit-1.7.0" ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/mocha )" all_ruby_prepare() { - sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die rm -f test/support/minitest_reporters.rb || die + # Add missing require + sed -i -e '1irequire "rake" ; require "rake/task"' test/support/rake_task_definition.rb || die + # Avoid a test poluting the environment sed -i -e '/test_color_is_can_be_forced_via_env/,/^ end/ s:^:#:' test/airbrussh/console_test.rb || die } + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/crack/Manifest b/dev-ruby/crack/Manifest index dcecb93afe3c..dc4d46579af6 100644 --- a/dev-ruby/crack/Manifest +++ b/dev-ruby/crack/Manifest @@ -1,3 +1,4 @@ DIST crack-0.4.4.tar.gz 586633 BLAKE2B 26e2cda6e9447fb3c9fe02092a6e9d6a8097c7bca6a483a3af42aa8ba491b737bc0dc3ae1936ef8ffb5c5d5cbbed3fde69c9641f05b9e3eb3beab87c375f68fd SHA512 3f86c76718a3c2a65ee11b15434035396c2355a8562bdb642432a659b52c3e811e930318e0dc2df3ff06bd53ac14d0694471e425420ae3b7971f5d4f818bba87 +EBUILD crack-0.4.4-r1.ebuild 1249 BLAKE2B b57c7a0e4a8d6c540d959f5a0ca86fec9e8295fe1cdfb494a82e1f63df3348027ca3677076e7b7d3cd4e82afd9e66f062cc4e950cda1a81be61ace746d8a6ae7 SHA512 d29fc1362fb146cbebdf87e24ead8cc581a8a14b21ef5cc033aea50f4326323dfb1ee6bb493aeb3eda0cbb2d1e7b621fdcba94001938f5177f15a182ab9d2453 EBUILD crack-0.4.4.ebuild 1107 BLAKE2B f6d10256b74eb122f990f3e458836edafd5099ea60173b606437743dffe46cf7156a674f172de403aafb509a41b681d05306afe5fd36a9a8fbcf4bcb65f2439c SHA512 ee73b8ef85924d2a1c0cd210f2b6ce9ff3f8c773220fa561982b29a6accf4b2e22535dc2f6905c206a1b4b554326dafd974b8a0ca8323ae49b70cba3bd6a8245 MISC metadata.xml 343 BLAKE2B e98d01493c40195b22fa423e30e512b5f4b5ef08676138f4c5c3b7d18aae166fdc5fbb11ea465370de681fc85ded672dabefe34546f2b3140379984a187399f0 SHA512 44de19ae2a745da9ef90d7300e56efc80f892f0a7173ea6967c1bd079a24d0b50fa5de6eb1565254d7db84b5875679c9e70d2f3a87a60c31c9aa33f7bb4d6616 diff --git a/dev-ruby/crack/crack-0.4.4-r1.ebuild b/dev-ruby/crack/crack-0.4.4-r1.ebuild new file mode 100644 index 000000000000..01cf2faa06cb --- /dev/null +++ b/dev-ruby/crack/crack-0.4.4-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md History" + +RUBY_FAKEGEM_GEMSPEC="crack.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails" +HOMEPAGE="https://github.com/jnunemaker/crack" +SRC_URI="https://github.com/jnunemaker/crack/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_rdepend "dev-ruby/rexml" + +ruby_add_bdepend "test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_prepare() { + # Remove tests which fail when run by portage but pass when run by hand + sed -i -e '/{"regex": \/foo.*\/}/d' test/json_test.rb || die + sed -i -e '/{"regex": \/foo.*\/i}/d' test/json_test.rb || die + sed -i -e '/{"regex": \/foo.*\/mix}/d' test/json_test.rb || die +} + +each_ruby_test() { + ${RUBY} -Itest -Ilib -e 'gem "psych", "~> 3.0"; Dir["test/*_test.rb"].each { |f| load f }' || die +} diff --git a/dev-ruby/mustermann/Manifest b/dev-ruby/mustermann/Manifest index 86b04e5a6bfd..d82d398d4e3d 100644 --- a/dev-ruby/mustermann/Manifest +++ b/dev-ruby/mustermann/Manifest @@ -1,5 +1,7 @@ DIST mustermann-1.1.1.gem 51712 BLAKE2B cce8b5237b8dea0dae42822ec58c02a88b07b6d75a09bff6d8699c41fbc53c900dd3bc157ef66c863ad7d646bd5380cf935f5fa3cc1b322cef39b73d26682dac SHA512 55d5fd9b8309e0b806b2fb0af409fbc71b958b8f91116991439f2c66b1f71f17647a61020b0349a86132e7d3da383121719ea330538abb8f3c8bef5fbff0b747 DIST mustermann-1.1.2.gem 51712 BLAKE2B 18333b94381f4e250d2af26a5c93f246dd41b310d158937478b190fe60fb7f6261a73b3399ddbfc2bb5cf0fc2ddb457f7919d9e61d132bf8ffa82757ab5f2cea SHA512 5eae07fed9a9df6799909145964bc635beb1be47454bd32219f2e3df8b915e3875db412aae0d67be94ccaf35d8071f553a364363b701076211f7de3b744f1b46 +DIST mustermann-2.0.2.gem 50176 BLAKE2B 82c134d56a11178a085dc3182e61c67e6e83638f637da23124b3b12aa388622a4d073f693bf562109e07b3bfe75f01ce0492b4fd1f050105b61925b59c7a9410 SHA512 ed72ec2e376e160cd315cdd8fb0693993b02d6898167dc6f158049bd8e0a6ad4f98e604108992e5787067ea951be793d2a7e6e47df2d582907868300aaa74e5a EBUILD mustermann-1.1.1.ebuild 610 BLAKE2B d7c415fd148be57739f4f6b6ea35c854d86a4e0e73be699d3e6a5d676c62496b21caa83d937d3788c6ba81a6992dad2fb6221f0773f788e5abf043a6a0d1b7ad SHA512 60fec248e37409cb912c3c7c4236c1257c47e9e78d4549fef25a448ca33e02ce68732ba440ce6c05391a2f4c09ce0050a129a834ce1114c5022dc1ef869c9397 -EBUILD mustermann-1.1.2.ebuild 604 BLAKE2B eef0c8276715f6629696253c40348344b5e94e2884d47f1291ca483d18f445d44d21fd2db0978d704398d748e0db14b3f2e10d5bd30b0a18410b64763f1eb51b SHA512 ba96db0406bb60c87a90f0885626fb47c5eee6c0d23051912301f787fa9ac6ec628ea4dff129d6147590b649cd7b8eb29e5edee8d1b37d3b708cddc2de5b7769 +EBUILD mustermann-1.1.2.ebuild 603 BLAKE2B c0030cdd5abd02a6fc23b3d4049261a6c619c980fe3cb1564301ce79a2369fcc4cdbfca730afff316462255dcc4c8e71eb52171ed53858520ce78da8ccb2048e SHA512 e81668d44272e01c6ffa99e9547d2f7286a037e65bcf853136ac4a77be4c7e9bb4914644b3e85be23819e4cf4d61872f53bc93ba5d6978f2b32065f63ec6de83 +EBUILD mustermann-2.0.2.ebuild 615 BLAKE2B 200a1eea03b5d2547b4f9ce9f77fda759446878e301d6bb31918d5d69b0da1865fd8628a82221f5115a0fb203c81bddb775f8ec4f2d051e835624dc9458348f0 SHA512 c5f8319c2938f7defa9c67b2aaab384c8bc7c9c49e05e53ece501b834e35bf2ad2934d9badfd2e39c237d17d593f55e5f3fd7e286e87d0cf28908acf77cdf18b MISC metadata.xml 248 BLAKE2B 0c876bde3c72e61d28284a95a837103e6d594c9f6fccbd6d7d1039f9c5a604347c20c334c9a57d80b152888fed536196f2807b477e8d0336c80affb0e28c9dc9 SHA512 b2b64178cf6cbbaa5fb4671ffe1ab88b83c920de363ae099ef74fa3e5eb8c8f0285c749cabc0cebf344951503d1b7309ae294afe9e7cf5172700182d8843fa14 diff --git a/dev-ruby/mustermann/mustermann-1.1.2.ebuild b/dev-ruby/mustermann/mustermann-1.1.2.ebuild index 8471920dd4e9..7c667d056561 100644 --- a/dev-ruby/mustermann/mustermann-1.1.2.ebuild +++ b/dev-ruby/mustermann/mustermann-1.1.2.ebuild @@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/sinatra/mustermann" LICENSE="MIT" SLOT="1" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="" ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*" diff --git a/dev-ruby/mustermann/mustermann-2.0.2.ebuild b/dev-ruby/mustermann/mustermann-2.0.2.ebuild new file mode 100644 index 000000000000..9c5d19b419c5 --- /dev/null +++ b/dev-ruby/mustermann/mustermann-2.0.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +# There are specs but they depend heavily on unpackaged code. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="A library implementing patterns that behave like regular expressions" +HOMEPAGE="https://github.com/sinatra/mustermann" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "=dev-ruby/ruby2_keywords-0.0*" diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest index a61b2a2d75fc..926b030774d1 100644 --- a/dev-ruby/nokogiri/Manifest +++ b/dev-ruby/nokogiri/Manifest @@ -1,5 +1,7 @@ DIST nokogiri-1.13.6-git.tgz 6249974 BLAKE2B db6a7fd70cd88fa784e70fd33102ad2a0d65a848a713bd93907d3c77b7ecc101a4f0a38febf3265b25967e045bf9091e46cf319702c08319e32f94d57a946985 SHA512 96f4e52332052bfae0d88d8c93cf334f8484b51290cafe8c1d43c820ba6ac5aa74b187c37e7177e62435d6101d859c16555b715fa88fcb06da742c84fd0e7486 DIST nokogiri-1.13.7-git.tgz 6250903 BLAKE2B b8756a8af2428518451acabf629e5f634a526bcd184c6884ff90f3014ae71d700895527ff571f743929e168e39c1fd9a83cb55a8327c3b12e069c0804f765579 SHA512 34f406681fab399221306366ba8c82a2030164641bd9ec8502c8e0ecfd02423b5635517d2c6015f97cc80bcc2be83d81bda6038f61b59352d7348b591c411711 +DIST nokogiri-1.13.8-git.tgz 6251962 BLAKE2B 122f82b1e00c0b4ae889c72a5c47f543cec70dde5ef814665ac63e795dd1b761806b62f719300b85d9de141d509533d132c34156e5073e717670c6c4aee3bbef SHA512 61ed70b5493a3c54d0c272d75cad60f6c8bc86592e9cf9455ca0b1b9a8830564ffe102f0cbcc816b90297aa8e27e1c31f19e5d553c6998fb19a1fd32aa39daf3 EBUILD nokogiri-1.13.6.ebuild 2670 BLAKE2B 6009f73f5b582d3878493e3ab0f7b59cbeb50913b1e09ea13f0a49a840ad6bfc2fdfe7deb140881b257b13c3d9f57049859a4d01dfe646bc41d4f7c0dd4373a2 SHA512 c322190d601225828de7552499025653186648706aa467c542c68c2d6e0f1f625a4f3b2a24f9aa76e983fc52f4a98c8bf3dfb1a27aec64613342334a482bbcba EBUILD nokogiri-1.13.7.ebuild 2677 BLAKE2B 1ae1bf065c3b133079db326680678175c5cbf6e03e1d593488846ac8caaf47c5d47d030eabba77f5be4b646b10bdffee2fdc8cbb7cfbfa9ad59430fd41bb6118 SHA512 d1578456113d75e9e289c6a5e4a2bdc982ea2f46c17d66e4a773f327c17249f23afd85d3d2fa10a46f0ddf78b2afa508ca1230eb98af02595f5c313686ab8572 +EBUILD nokogiri-1.13.8.ebuild 2670 BLAKE2B 84d8b31b8b21ccb9c6c9b2f71d2fd30a653f00e3f991a74cda9d8cbe87100f3923ddcd17ef80248e33e18aa77bc1d1dce2be33469944b43da174f9eedb9718a9 SHA512 9cad71c3dc59e56d6738217fd28c4141597c4e362c3b3033dcb05a93b0472917f829baf4739819c165787f5c7eb1fed2dcc862910c522676672ffe6ac279379f MISC metadata.xml 349 BLAKE2B 824094b81182da6ed2c43f55f8697dbf614662e1e032ed62bcf8ec4ef8fb6e6a1bf346f90863a8cb7d6cfaf2696f0be70fd3027d6d01e583bba0c1334252447d SHA512 9ab17ab504279d8d1ea584f7a6f411fe778b89564016dc0d596ec7f714cf9ad80ed5e30c179ec6aa190bafe8a8b72bfdc5a964d213a8024783da246bbb817629 diff --git a/dev-ruby/nokogiri/nokogiri-1.13.8.ebuild b/dev-ruby/nokogiri/nokogiri-1.13.8.ebuild new file mode 100644 index 000000000000..a7ea8e045dd8 --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.13.8.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2022 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.9.14:= + >=dev-libs/libxslt-1.1.35 + sys-libs/zlib + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.14 + >=dev-libs/libxslt-1.1.35 + sys-libs/zlib + 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/rack-protection/Manifest b/dev-ruby/rack-protection/Manifest index 90cde9e7515c..70eeb75cc41e 100644 --- a/dev-ruby/rack-protection/Manifest +++ b/dev-ruby/rack-protection/Manifest @@ -1,5 +1,7 @@ DIST rack-protection-2.2.0.gem 17408 BLAKE2B d9d5d8e2473b6354dd61cfc338a05932a2c60aa12544399cb0b9b74c717d6fa48bdec638381582be0a13f845f0c69583275f412458a20198894b5eddc7b53358 SHA512 06d6c2026e3e93131a2405bbaa8a514ddde48607979828b9fc41309dbdfff2b7c8cac48a6981e76b5dda554f0cbdc7c6ff5f44b8925fce1cb9b7de0a16380ca4 DIST rack-protection-2.2.1.gem 17408 BLAKE2B 21ecf95a27ab08b2e89369cfaffff43192c2ca5bb74afe7a91041e5fb9f2479a625ca2fcc59fc2f3eb208f17a3456dffd14095d25f8a0ed331972f6f987dace6 SHA512 595dc7ff7deb63130f966a12849750900319356f29948e9cca1e1aebe168bad77de624dd280a1b804ad6a2d44daedfcb352777ca724e9fde2a5de02ead472734 +DIST rack-protection-2.2.2.gem 17408 BLAKE2B d67384374afa29712742531bff0cca78be96f80dd316d4e5929cb2751152bc0d73f8ede4430aa50a2e114b872845f11ca8debe93eaa1a7a63e05daae697c2e7d SHA512 6bc7694daebcc2fb585b303aa059e82db94c142a82d0e951e0dd99388074449c989d41c3aa05882a150776e28d0394f78d0b063e564e7eda7aea14d496eef0fb EBUILD rack-protection-2.2.0.ebuild 732 BLAKE2B dd20f9b311166faf02058ca14b4e6f0c46d197a0b3c5e8c46375c89bdd889919945e2552eae32deadcd407bca3a2ab750ec9eb7bbd87017bf935bdea1641faf7 SHA512 4106892a5dee7c8c44e42e857b7d26d6ae4f702c2c7c5da901cb34953ce0b33d045a2a549239e1f202bc1bc88df7bd2068ceca207196f906e3c2bb0bd653ba6d EBUILD rack-protection-2.2.1.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a +EBUILD rack-protection-2.2.2.ebuild 726 BLAKE2B 4083feb02c0beef7cf258771716e2a70bb6cbc296bc42d39f322f15dbf770303e817faab09cc4e55f06b71e428646676cee19804ee364aa9518fa41d01c50baa SHA512 e7faa9d7d47927db185ab474107800d9e6e6377e95d1caa6cf56ca26c5ca99fbae7473de4ad75c21e0f1cc35d2d452ed9e039713be0694affd6988edbe54669a MISC metadata.xml 489 BLAKE2B 86cb22f6328ceaf077a0e956866b44015fb19dcb81431ce6f219bd7748af6b19b524905e035b2600d385731bc7bb815dc7649e5699bb59626a8269735e853bad SHA512 86816de00c35e3f0d6d0037c9e5519a0b2e8e9a7a926d9a8a056bc04605f28d9aa1fef93279284553a3da68f3d5ce8514763c86cf2b484a28cdc3e41fa5d882b diff --git a/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild b/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild new file mode 100644 index 000000000000..d31bdbd997d7 --- /dev/null +++ b/dev-ruby/rack-protection/rack-protection-2.2.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +# There are no specs in the gem and the source cannot be downloaded separately. +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="This gem protects against typical web attacks" +HOMEPAGE="https://github.com/rkh/rack-protection" + +LICENSE="MIT" +SLOT="$(ver_cut 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="" + +ruby_add_rdepend "dev-ruby/rack:*" + +# ruby_add_bdepend "test? ( dev-ruby/rack-test )" diff --git a/dev-ruby/strscan/Manifest b/dev-ruby/strscan/Manifest index 88ab6f975345..3d9c2af21e10 100644 --- a/dev-ruby/strscan/Manifest +++ b/dev-ruby/strscan/Manifest @@ -1,7 +1,5 @@ -DIST strscan-3.0.1.tar.gz 28111 BLAKE2B 4623fe6fd74a9ca30ba1818fe548fcc793f1e22798bba9d561299ccdc493dfa5deafec072b193532c92116307c5b79f2c7c7bd362602b0ba3a0d1ea778a1d528 SHA512 7cd37a24dbec02bfade6e7440139de52d149ce1c196a1ea73b5b09e4096a0a99b26d0680498bd27bd443befe62c806bb94cec08c2fbe097c4724446b56c8bfa0 -DIST strscan-3.0.2.tar.gz 34900 BLAKE2B 586bd6046e1681742650f4f612a458dc5b23b11116fa010eec0a354fc76242dbc8af512c0053330903d23bb7859345152cdf450a00a2be6f6d0783b5099de9d8 SHA512 657cab357d6cdd601a80cf4adbe141b005e116a0d7a0630b2966b07cf93d6410cc319c7a8305cffd9cb79d7975e95d98b20ac43c4133496cf38f6fe2fb6c8246 DIST strscan-3.0.3.tar.gz 34914 BLAKE2B 00bd42816fa22c8c5a69f57191873c37c7278c8364471d3721459702171fbee3d195330127184dbaff9f432b72fdcc38c0f5faa206f22c1d0351f3d68dbd5542 SHA512 0a72d7d2b28853763e5f894e9b1e01f7e01a3483cce15f4ca6305b65ce851bd6134d189caa5a23ea79af11af38a9f95944c99a9f5cd032d96cc2a45101bd836a -EBUILD strscan-3.0.1.ebuild 950 BLAKE2B a42bfc67ffc0841938baf2bf66019c525125d1d4ee5140931b31363905b1ef1a8ae1a8793691a6e6f6987e16b6b2e665aa1850b04296357e6beabf8e81d5d281 SHA512 ac1e3e78da76040090bc6ec655a244ec490043d6d471d7d46551a788f267dbe189ceac17076b29926b1528eb6f91f80357aa0ae325a1f0cb920ded5d2a0687bf -EBUILD strscan-3.0.2.ebuild 907 BLAKE2B d7830696a4fb3f98e1f5cc086579e3dbf9c545f06ebdbb68ce6eb2875d856c90b6b86c02af05b63807f32395b7eeef933dbe1443d2a97db12462665f85a2d404 SHA512 40b50552e808075de4205397cb180be113e3dedf7f81040a30f6e46802980d3ddff72ad661310cabf817955ce19be226f6e082144a1c6e496d339740d0f30c57 +DIST strscan-3.0.4.tar.gz 35226 BLAKE2B c0962db44ccaeea6bb6002adaa80655ac969e3958cc656d211248ac9911bce6581139dfbebcc3f6904ca78ea487a42c172e6dea1f1d7c5e4afc8ed6a7e5a2785 SHA512 2a6c45d1aac8b9bdff8eec5cfac4c39bc1e217117571ac6d967dd2c3491c710c46458bf7b4acd38e8c9354169439494922a17d5144fa28d574a2328e4f8d6fa1 EBUILD strscan-3.0.3.ebuild 907 BLAKE2B d7830696a4fb3f98e1f5cc086579e3dbf9c545f06ebdbb68ce6eb2875d856c90b6b86c02af05b63807f32395b7eeef933dbe1443d2a97db12462665f85a2d404 SHA512 40b50552e808075de4205397cb180be113e3dedf7f81040a30f6e46802980d3ddff72ad661310cabf817955ce19be226f6e082144a1c6e496d339740d0f30c57 +EBUILD strscan-3.0.4.ebuild 900 BLAKE2B 036e6157fb7a86cedfbe0ef0099bb47f36aa11628e1bafc5ed9005f7869c8291ea56fa4ee11a6d2af7019f42210b41ceedba8072a18f90d9339c1221bc342862 SHA512 8b7d041d82a63052c2c3c0ecd2039d57e0e86a1f99377665548f266b3626806130c12f501a712d34c1d4fca58ab30460e0f36f9ed91e61a98f2a69d667ef8ff4 MISC metadata.xml 339 BLAKE2B 78f4ae75b57e9192dcd9490dad00fe1ba916bad247dd6665b7eb6c4804ff1340c78407f6c79b777c555817f17e6ca3beb25a29f3d44be8b1865659a0b127f826 SHA512 8cd27e859d447843da29169be15647a5b7355d830f375aa59e8b39d701dd9b9c7c377c7f53c53eeea6c7222f4f9aec0ae0f7040673e24d6cdfb8b25f411819f0 diff --git a/dev-ruby/strscan/strscan-3.0.1.ebuild b/dev-ruby/strscan/strscan-3.0.1.ebuild deleted file mode 100644 index cd2a0fe25581..000000000000 --- a/dev-ruby/strscan/strscan-3.0.1.ebuild +++ /dev/null @@ -1,36 +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_EXTRADOC="NEWS.md README.md" - -RUBY_FAKEGEM_GEMSPEC="strscan.gemspec" - -RUBY_FAKEGEM_BINWRAP="" - -RUBY_FAKEGEM_EXTENSIONS=(ext/strscan/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="Provides lexical scanning operations on a String" -HOMEPAGE="https://github.com/ruby/strscan" -SRC_URI="https://github.com/ruby/strscan/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="MIT" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="$(ver_cut 1)" -IUSE="" - -all_ruby_prepare() { - sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_prepare() { - mkdir lib || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test/lib -rhelper run-test.rb || die -} diff --git a/dev-ruby/strscan/strscan-3.0.2.ebuild b/dev-ruby/strscan/strscan-3.0.4.ebuild index a93f81956640..dd5d817cbf97 100644 --- a/dev-ruby/strscan/strscan-3.0.2.ebuild +++ b/dev-ruby/strscan/strscan-3.0.4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" |