diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-03-14 21:41:51 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-03-14 21:41:51 +0000 |
commit | c864d8cb36931e866693388bcd17cd35f8b27bfe (patch) | |
tree | 07130955fe21d45136d2fdb9fe290e76b06d2f83 /dev-ruby/pg | |
parent | Marked ~x86-linux (diff) | |
download | historical-c864d8cb36931e866693388bcd17cd35f8b27bfe.tar.gz historical-c864d8cb36931e866693388bcd17cd35f8b27bfe.tar.bz2 historical-c864d8cb36931e866693388bcd17cd35f8b27bfe.zip |
Tests can only be run with FEATURES=userpriv.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/pg')
-rw-r--r-- | dev-ruby/pg/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/pg/Manifest | 12 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.10.1.ebuild | 15 | ||||
-rw-r--r-- | dev-ruby/pg/pg-0.9.0-r1.ebuild | 16 |
4 files changed, 32 insertions, 17 deletions
diff --git a/dev-ruby/pg/ChangeLog b/dev-ruby/pg/ChangeLog index 863cf5f0a5d6..c3a8ba7f1c49 100644 --- a/dev-ruby/pg/ChangeLog +++ b/dev-ruby/pg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/pg # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.27 2011/03/13 16:06:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.28 2011/03/14 21:41:51 graaff Exp $ + + 14 Mar 2011; Hans de Graaff <graaff@gentoo.org> pg-0.9.0-r1.ebuild, + pg-0.10.1.ebuild: + Tests can only be run with FEATURES=userpriv. 13 Mar 2011; Hans de Graaff <graaff@gentoo.org> pg-0.9.0-r1.ebuild: Drop ruby19 to create a stable candidate. diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index fe5b585bce04..456b35b05a00 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -3,14 +3,14 @@ Hash: SHA256 DIST pg-0.10.1.gem 113664 RMD160 b5ef41c64357c4a92b39179647fa04b90a549b4d SHA1 37c97087235128296a30e89c9294aa32bff9d6d6 SHA256 af1e71ebe15bb4ee17bc42a221040fae15ddaf61592f7b8010df60a38acab597 DIST pg-0.9.0.gem 100352 RMD160 e1db8140493cda141c49569a2a209f07f75e3113 SHA1 40aca1b69c5b88a89d05598f6f062f33cb609b4b SHA256 cd277796982956bac3f21f01b80f9075fe8692799e0dcc6eb20905506a2354c6 -EBUILD pg-0.10.1.ebuild 1430 RMD160 974b7daa53199273b09e4a83d928071806a3b8de SHA1 eaaddc5a4d0359493edbd31a7a853e8445ccc850 SHA256 4a80277697f91a65841a48f10bccb0a87ce4176ec1f6ff1e0649e300d3ee193a -EBUILD pg-0.9.0-r1.ebuild 1625 RMD160 192c3a1bc99d88c660147f52f3b8fb5c36c889a2 SHA1 58a4609454dd615069bfca96b4a62676b7034673 SHA256 7938531f39869d32d67e4ca2fe52d9d9409fd09253ce79ee8b88aced051d4e64 -MISC ChangeLog 3715 RMD160 53ce927bce9173fd2f4bdb311226940eef4f3e0e SHA1 7e3e33f47c208dadee66fe7c7f31250b76d4f257 SHA256 bbef47729a7c66abb3d178fe91a6d902db1b202fc36b27952cb60e837e61cd7c +EBUILD pg-0.10.1.ebuild 1577 RMD160 94e17aa270e7bec936b24aff860d4403f99076db SHA1 75d5bf3912e9b9b0a37360ad36aed328493ef2c6 SHA256 c0138cc487d5eb658a0f589d5546fb98814d58c8cb35615662eb1a8a997d78b8 +EBUILD pg-0.9.0-r1.ebuild 1773 RMD160 bdb25b0801d61cdf7e02ece8e802a4059c254766 SHA1 f2f718d851ae8b799bb01a0efd547ec99cbca177 SHA256 ba10f3a2cd1bfa3795b60a59a6eb99a065a108f3c30f58e9eb10053cdb30d434 +MISC ChangeLog 3854 RMD160 e12b6c3e4fcfd5ac7468c5af88a03b2cba9798b2 SHA1 d79f948d046e0f3f723c97a00dbe599b31001810 SHA256 0efa69919fda09ba05a04788214a550cc273455bf970da4cec35e6cc3269f34d MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk1864UACgkQrnu0mw69Jkom3wD/dqgJYbMyB9T1zBZraqcz/e7Z -RQmVTN5LbvQjNa6fWo0A/irdyfTL6POKkpc5PSossdkDzKHNIbCoe8sX8Cp04wWN -=IYK9 +iF4EAREIAAYFAk1+i6sACgkQrnu0mw69JkpqdQD+Il7YWwnEK3Pjlb7BeOdM37lE +8P7NSqpkO8dghfiROgUA/RAcMfY0hLk4Vl4JQIKbisEzzuJ7exE1jEpsXQhbi/OI +=P1tM -----END PGP SIGNATURE----- diff --git a/dev-ruby/pg/pg-0.10.1.ebuild b/dev-ruby/pg/pg-0.10.1.ebuild index 6f7dfca4e100..027a616f60f6 100644 --- a/dev-ruby/pg/pg-0.10.1.ebuild +++ b/dev-ruby/pg/pg-0.10.1.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/pg/pg-0.10.1.ebuild,v 1.2 2011/01/22 07:45:17 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.10.1.ebuild,v 1.3 2011/03/14 21:41:51 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ree18 ruby19" @@ -48,8 +48,13 @@ each_ruby_compile() { } each_ruby_test() { - # Make the rspec call explicit, this way we don't have to depend - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild - # the whole extension from scratch. - ${RUBY} -Ilib -S rspec -fs spec/*_spec.rb || die "spec failed" + if [[ "${EUID}" -ne "0" ]]; then + # Make the rspec call explicit, this way we don't have to depend + # on rake-compiler (nor rubygems) _and_ we don't have to rebuild + # the whole extension from scratch. + ${RUBY} -Ilib -S rspec -fs spec/*_spec.rb || die "spec failed" + else + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." + fi } diff --git a/dev-ruby/pg/pg-0.9.0-r1.ebuild b/dev-ruby/pg/pg-0.9.0-r1.ebuild index 7320c17b189b..db91f80cf25f 100644 --- a/dev-ruby/pg/pg-0.9.0-r1.ebuild +++ b/dev-ruby/pg/pg-0.9.0-r1.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/pg/pg-0.9.0-r1.ebuild,v 1.10 2011/03/13 16:06:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild,v 1.11 2011/03/14 21:41:51 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ree18" @@ -51,8 +51,14 @@ each_ruby_compile() { } each_ruby_test() { - # Make the rspec call explicit, this way we don't have to depend - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild - # the whole extension from scratch. - ${RUBY} -Ilib -S spec -Du -fs spec/*_spec.rb || die "spec failed" + if [[ "${EUID}" -ne "0" ]]; then + # Make the rspec call explicit, this way we don't have to depend + # on rake-compiler (nor rubygems) _and_ we don't have to rebuild + # the whole extension from scratch. + ${RUBY} -Ilib -S spec -Du -fs spec/*_spec.rb || die "spec failed" + else + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." + fi } + |