diff options
Diffstat (limited to 'dev-ruby/fast_xs')
-rw-r--r-- | dev-ruby/fast_xs/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/fast_xs/Manifest b/dev-ruby/fast_xs/Manifest index 2f3c4c2e2e4e..f52f35a96dc3 100644 --- a/dev-ruby/fast_xs/Manifest +++ b/dev-ruby/fast_xs/Manifest @@ -1,4 +1,5 @@ AUX fast_xs-0.8.0+ruby-1.9.patch 1090 BLAKE2B b5b0b2db3e19adc57e85141b893cdfbed8844def9ad39cd7ba5ade46a5ae73201498782c0093e25e075bd6c2577a895715ba82a87cc14327492410558442d194 SHA512 0c4f4b03db6ed70381b9aa7e671038206648a2c88211bb7d015f552e2114015a7cb749678670ee876aa568505ac3df42535f839367cfd1fc52ba6674429940a5 DIST fast_xs-0.8.0.gem 22016 BLAKE2B b24e65c31623e86ac8ab8b5a442565083bd047e5740aeae74d74e82c09770a8149853ad021ea6c6c036d411e8f299f4a531d78b0b3314ed5bf32d7f8b9fcf697 SHA512 55fc2704fab020f03b1ce138d1631dd5ad73a8601dcd95989a59c7cccb490c70b4e1af59fb8b009bfa0899f2c23feb42cc3068e243cd539ba1cb01a9f7bc573b EBUILD fast_xs-0.8.0-r2.ebuild 1310 BLAKE2B d0721f5167efc4dae52de306286e0995c0d7bf91c4bfe5ec208519f780a8a5e769e3e52594a7240e94c3a5b0d46fff7095b2f6f11cd817dc59a719d87e0bc24f SHA512 af29ea28cef2a70fa3dc6f57e0fa71b01d9d207b53be25af6b2507bb12df772f52a3f8635d605da5b37b0e6dc93f4a8febed67a106fdd3bfcb0fcf81f0961287 +EBUILD fast_xs-0.8.0-r3.ebuild 929 BLAKE2B 47e5aceb99870b6b8815f64825760d1c5834058a6662c4c297d09a85480c057551f17a9830ab4a0d59fb0419129a76df608270909aa28f4bc817b27d6d88dbf9 SHA512 be4202e6e8a9333eba9449c690b5d88c03eb9273d3dc4846ca4a18c6fdd02b1cb268f9c0a334a02227a4c4048a18930b86da258a656483e35fff3a35f12a42cb MISC metadata.xml 344 BLAKE2B 606e2ea9e00823abb5e87d45ac41c0ebfe100de30901b120d74b90966d50c525b068796591c3aa7be7a8767f98b2e9d93c2a1b556efc861fa5d6b29b8955c36e SHA512 4c84dc383d13d166f199d39a7a9cea86063392034a467b0aeec29a06c2b70949785662c0bd9b0dc60884cab74455d92f113613519708889f64e11a6d4bbc53fc diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild new file mode 100644 index 000000000000..1d561300495a --- /dev/null +++ b/dev-ruby/fast_xs/fast_xs-0.8.0-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +RUBY_FAKEGEM_EXTENSIONS=(ext/fast_xs/extconf.rb ext/fast_xs_extra/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="fast_xs text escaping library ruby bindings" +HOMEPAGE="https://github.com/brianmario/fast_xs" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +PATCHES=( "${FILESDIR}/${P}+ruby-1.9.patch" ) + +each_ruby_test() { + # the Rakefile tries to run all the tests in a single process, but + # this breaks the monkey-patchers, we're forced to run them one by + # one. + for tu in test/test_*.rb; do + ${RUBY} -Ilib $tu || die "test $tu failed" + done +} |