diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-10-06 11:34:36 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-10-06 11:34:36 +0000 |
commit | 15cc950b85e9b5a22939c1101ac6fdda2fd9aab0 (patch) | |
tree | 155450dc2415623c692635e5ccc93a760dd384aa /dev-ruby/fast_xs | |
parent | Add ruby20 target. (diff) | |
download | historical-15cc950b85e9b5a22939c1101ac6fdda2fd9aab0.tar.gz historical-15cc950b85e9b5a22939c1101ac6fdda2fd9aab0.tar.bz2 historical-15cc950b85e9b5a22939c1101ac6fdda2fd9aab0.zip |
Add ruby20 target.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/fast_xs')
-rw-r--r-- | dev-ruby/fast_xs/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/fast_xs/Manifest | 13 | ||||
-rw-r--r-- | dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild | 53 |
3 files changed, 61 insertions, 12 deletions
diff --git a/dev-ruby/fast_xs/ChangeLog b/dev-ruby/fast_xs/ChangeLog index 009d10a8d67b..a45a14ef9ee8 100644 --- a/dev-ruby/fast_xs/ChangeLog +++ b/dev-ruby/fast_xs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/fast_xs # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.19 2013/07/08 18:32:45 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.20 2013/10/06 11:34:32 mrueg Exp $ + +*fast_xs-0.8.0-r1 (06 Oct 2013) + + 06 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +fast_xs-0.8.0-r1.ebuild: + Add ruby20 target. 08 Jul 2013; Hans de Graaff <graaff@gentoo.org> -fast_xs-0.7.3-r1.ebuild: Cleanup. diff --git a/dev-ruby/fast_xs/Manifest b/dev-ruby/fast_xs/Manifest index bd244c8036fa..54a5be29f636 100644 --- a/dev-ruby/fast_xs/Manifest +++ b/dev-ruby/fast_xs/Manifest @@ -1,15 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX fast_xs-0.8.0+ruby-1.9.patch 1090 SHA256 5f4b59f7ae2aac87377d37d9124430ca752cfda0348a308464a1d06800aa8518 SHA512 0c4f4b03db6ed70381b9aa7e671038206648a2c88211bb7d015f552e2114015a7cb749678670ee876aa568505ac3df42535f839367cfd1fc52ba6674429940a5 WHIRLPOOL ff0156914c5b8b0239030d307d7438c5b398a388d8206b63d15ad26fb600d62839a167c73589bfaf08c4fdc0499bcfbb1b69cf68ee702e5e0210cab4c9b76e5a DIST fast_xs-0.8.0.gem 22016 SHA256 5ff2e1b088bdad3d4eae2a71b118b8aa9b39975702853c3bb307e35db1facdc7 SHA512 55fc2704fab020f03b1ce138d1631dd5ad73a8601dcd95989a59c7cccb490c70b4e1af59fb8b009bfa0899f2c23feb42cc3068e243cd539ba1cb01a9f7bc573b WHIRLPOOL e29bd2abf334e85809abb830968d9850439a5c50767aee0718ad5967c26b6ca9c9d7a9661a0bfc78a85e425634e69d6cac859eb59e8f57e29c481c8ca6969e3d +EBUILD fast_xs-0.8.0-r1.ebuild 1525 SHA256 e5f84cdc36239f49e478ed5337d946ac4b365a08d374d3c164a02f9492a4944e SHA512 ec649eb59409a50c36003513e997adab6203d75dc15f665767f561d8b04b73763e71cbbbb621f859907ffc327ade35494fed21aad94da841c573aa2cb98249ee WHIRLPOOL e24e119d501d11972d14a2877f29afc5065794c009112070795a53bf0efd8f29df4324f84f3a9987527df3b258c55e4b437fffca17d51f23b03ba525e9713e99 EBUILD fast_xs-0.8.0.ebuild 1602 SHA256 66d989e0c38ba27dd2b45ee22b508feaafb510360855689c7d43e4859db790b0 SHA512 1797d37fa057c877a9289e199accc485a9921054dca2d8f3862adff102a1ee2bc2bebc5726e0d5e86dcf760006eac584c59d44db20869369ba97c617a934e22b WHIRLPOOL 8d70b1655d9412d9ff34f4ad5a0a04d7979990c95e14a576c6a9f6d27baecf236238d253bf16965f3e5168ecc1666eaecbd4efc16e4227ef9ceb59a261a71339 -MISC ChangeLog 2373 SHA256 07b82b1552a7fb3c9f2899bfe70e76bbd6ecf835d74212638379ee1e6788dde0 SHA512 d4e490069278cecf3afc9002171860f5ad57b013eb2ca31bf9bf375ca07d546501458d71c40d7a0431a9c7d4b3d98fff708e7030c11a7970ebcc3d79b5a94117 WHIRLPOOL 59837df43b3509277228aeb3eba01909babcc75941258cbdb51a8dfa18070ea17a295c8aba4c96c74a0e8b4ef7e2a0f7983d5da5c962c032dc1aafb38b5ef1c5 +MISC ChangeLog 2501 SHA256 2446d9aad22e80686c80d6d887c3137cb86e2a653d54a708b53840d04be4b3a2 SHA512 5aa6d818bfbb0927c30dad6422177e4b7995d50a3c9909b9e44282521157c2488163be2a15acae6596891a8184b96d242af16c41592329e7f7df1980323a67bb WHIRLPOOL 055b1c1ab9185b099e9603a6b8e0aa255d65e48909b51a05bd89f9d23f3b359dac471332ced46b1ea1aa35a492bb81f6dc0ffffd416928c42b51170ead123a82 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) - -iF4EAREIAAYFAlHbBc4ACgkQiIP6VqMIqNc6OQD/QS/Yf7VLH4T8rzWhncDXNjb6 -FBVD09QYWUQDWyOzp2EA/124GFAH7FfqblOW2bAj8YE8Crvg9gAed99wScfsexFp -=GGfr ------END PGP SIGNATURE----- diff --git a/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild b/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild new file mode 100644 index 000000000000..9e91707cdcd3 --- /dev/null +++ b/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0-r1.ebuild,v 1.1 2013/10/06 11:34:32 mrueg Exp $ + +EAPI=5 + +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="fast_xs text escaping library ruby bindings." +HOMEPAGE="http://fast-xs.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.3.2 )" +ruby_add_bdepend "test? ( + >=dev-ruby/hoe-2.3.2 + dev-ruby/rack +)" + +USE_RUBY="ruby18" ruby_add_bdepend "test? ( www-servers/mongrel )" + +RUBY_PATCHES=( "${P}+ruby-1.9.patch" ) + +each_ruby_configure() { + ${RUBY} -Cext/fast_xs extconf.rb || die "extconf.rb failed" + ${RUBY} -Cext/fast_xs_extra extconf.rb || die "extconf.rb failed" +} + +each_ruby_compile() { + emake -Cext/fast_xs CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/fast_xs/fast_xs$(get_modname) lib/ || die + emake -Cext/fast_xs_extra CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" V=1 + cp ext/fast_xs_extra/fast_xs_extra$(get_modname) lib/ || die +} + +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 +} |