From: Hans de Graaff Date: Sun, 4 Dec 2011 11:08:36 +0000 (+0000) Subject: Merge the ebuild from my overlay. Fix USE=doc, run tests since they work for me. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=21aab2464c9ae1a0b134044d12eb2c7eeb8583d8;p=gentoo.git Merge the ebuild from my overlay. Fix USE=doc, run tests since they work for me. Package-Manager: portage-2.1.10.11/cvs/Linux x86_64 --- diff --git a/dev-ruby/posix-spawn/ChangeLog b/dev-ruby/posix-spawn/ChangeLog index 98b279dddc3a..1ae045cb957f 100644 --- a/dev-ruby/posix-spawn/ChangeLog +++ b/dev-ruby/posix-spawn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/posix-spawn # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/posix-spawn/ChangeLog,v 1.1 2011/04/24 20:57:13 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/posix-spawn/ChangeLog,v 1.2 2011/12/04 11:08:36 graaff Exp $ + + 04 Dec 2011; Hans de Graaff posix-spawn-0.3.6.ebuild: + Merge the ebuild from my overlay. Fix USE=doc, run tests since they work for + me. *posix-spawn-0.3.6 (24 Apr 2011) diff --git a/dev-ruby/posix-spawn/Manifest b/dev-ruby/posix-spawn/Manifest index 1ede374c1450..2e207bc286e7 100644 --- a/dev-ruby/posix-spawn/Manifest +++ b/dev-ruby/posix-spawn/Manifest @@ -1,14 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 DIST posix-spawn-0.3.6.gem 25600 RMD160 36e583d222fe6b5cad9256033d955f95aa845248 SHA1 36025fd942b93910ab2a043e2561b2660f64c3cc SHA256 83aced0908f18b3ea8734191dcf2b2984f55378c8b231e4bf99e0880d4c45538 -EBUILD posix-spawn-0.3.6.ebuild 761 RMD160 faa8b1928d7e808b09290487bdd54814c5180313 SHA1 f0d881b61d41c059bbe0aba06d2ceb64e8bc68f7 SHA256 7b14da3f11a2258a6fc79167775ce0143aada4826de39c84c64210edc2ba6a1f -MISC ChangeLog 392 RMD160 df85be4c562d7e3ed84dfd264e5ed9545b2f12c5 SHA1 9da0c38f33576d89de01779c736320d7db5c4dec SHA256 947389c0d6b8cbe72611400f710d94a6661fde4098e18fe03277dd20a69bfa18 +EBUILD posix-spawn-0.3.6.ebuild 837 RMD160 37de90151b7f12482d97e6c96fff56ff6fc908af SHA1 b830d32f7b71692ff0903fd6c08c08b9d1beec91 SHA256 490d49bad1bc6dc092b8de60281fe2f81b7beae2c43b0f3ed3ffee0171bbc39c +MISC ChangeLog 551 RMD160 58418c283702c041208619951fc231f22cb7b7e1 SHA1 0d3bd384930aab36970a516caa666807a9f7864a SHA256 838c59db1b43ef07d2d3ab76aec4feb470d431fbb8159220abbaf3d89ae00a21 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk20jqUACgkQAiZjviIA2Xi32gCfQmJaro9nwKXEaX6YROrpJR+5 -5cwAniUFs/+DnH3Jspgn6AXBJFW+nGGt -=rhp+ +iF4EAREIAAYFAk7bVLoACgkQiIP6VqMIqNcJewD/ZpJWkSyQt1309GcODADry2Cu +iZd3IiPyK51u/3bXOxMA/2wSb08YMis1untOD5/yOlPPeX3hms+J7GTipESsKA2k +=/5V2 -----END PGP SIGNATURE----- diff --git a/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild b/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild index a522208c74cf..7c257512eef1 100644 --- a/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild +++ b/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild,v 1.1 2011/04/24 20:57:13 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/posix-spawn/posix-spawn-0.3.6.ebuild,v 1.2 2011/12/04 11:08:36 graaff Exp $ EAPI=2 @@ -8,22 +8,27 @@ EAPI=2 USE_RUBY="ruby18 ruby19 ree18" KEYWORDS="~amd64" +RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.md TODO HACKING" inherit ruby-fakegem -DESCRIPTION="Ruby library to access ELF files information" -HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" +DESCRIPTION="The posix-spawn library aims to implement a subset of the Ruby 1.9 Process::spawn" +HOMEPAGE="https://github.com/rtomayko/posix-spawn/" LICENSE="MIT LGPL-2.1" SLOT="0" IUSE="test" -ruby_add_bdepend ">=dev-ruby/rake-compiler-0.7.6" - -# https://github.com/rtomayko/posix-spawn/issues/11 -RESTRICT=test +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} each_ruby_compile() { - ${RUBY} -S rake compile || die + emake -Cext + cp ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb test || die }