summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-05-04 15:17:39 +0000
committerJeroen Roovers <jer@gentoo.org>2011-05-04 15:17:39 +0000
commit9ede11768f52d43e7745bb0a1067fb86a2b84ce8 (patch)
treebc84fb84f0aacb4392332a15940a7ecfa1e3f626 /dev-vcs
parentVersion bump (diff)
downloadhistorical-9ede11768f52d43e7745bb0a1067fb86a2b84ce8.tar.gz
historical-9ede11768f52d43e7745bb0a1067fb86a2b84ce8.tar.bz2
historical-9ede11768f52d43e7745bb0a1067fb86a2b84ce8.zip
Run tests only when UID != 0 (bug #363113).
Package-Manager: portage-2.2.0_alpha30/cvs/Linux i686
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/cssc/ChangeLog5
-rw-r--r--dev-vcs/cssc/Manifest10
-rw-r--r--dev-vcs/cssc/cssc-1.3.0.ebuild10
3 files changed, 18 insertions, 7 deletions
diff --git a/dev-vcs/cssc/ChangeLog b/dev-vcs/cssc/ChangeLog
index 3aae398b62bd..4cb903e9e20d 100644
--- a/dev-vcs/cssc/ChangeLog
+++ b/dev-vcs/cssc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-vcs/cssc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/ChangeLog,v 1.9 2011/04/11 01:31:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/ChangeLog,v 1.10 2011/05/04 15:17:39 jer Exp $
+
+ 04 May 2011; Jeroen Roovers <jer@gentoo.org> cssc-1.3.0.ebuild:
+ Run tests only when UID != 0 (bug #363113).
11 Apr 2011; Jeroen Roovers <jer@gentoo.org> -cssc-1.0.1.ebuild:
Officially remove the old (bug #312089).
diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest
index a85127bc9e3a..58b295f04b48 100644
--- a/dev-vcs/cssc/Manifest
+++ b/dev-vcs/cssc/Manifest
@@ -4,13 +4,13 @@ Hash: SHA1
DIST CSSC-1.2.0.tar.gz 753857 RMD160 b45a3ffd94d9591005a4c8e3ea6bc62764f7f50f SHA1 45a7130e49b7abaffc2a784c7a0cddf39d0af844 SHA256 e5a899074000ca81fa1c9bf5cdd299855233bab06004273d56a81663f2f08780
DIST CSSC-1.3.0.tar.gz 1608481 RMD160 4318632f0c243ee59639ea9226e0a3d2409e9763 SHA1 5f9d7338c58efd9fed7b774843045433b61aed12 SHA256 95053aab534c111648ea5b096037673b541a0c2960574d8addf70201a5337c2e
EBUILD cssc-1.2.0.ebuild 875 RMD160 b383089154930ee5718884f7c8168b6cad5e2bb8 SHA1 4deb1af6e29dd0500f93ab25a39f53fa926f212c SHA256 1755c2bfbcbc1e1c8d54215b708f732a7213b0bbb378fbf3ac6669707fb67bd6
-EBUILD cssc-1.3.0.ebuild 896 RMD160 708dff63c5ab149c32012c856aee9fc3582061d7 SHA1 4ffb65a70e10d4b0012f26242121f798da3fc788 SHA256 a599c6c0e1962ce8e6ac0db96a5464a810ba839a55efb18f95e475f0ce39965d
-MISC ChangeLog 3036 RMD160 a30b4cc53328e31a4146348a3e2d31070ff63f3e SHA1 49379ed55d3172728bbd65035af72e9a46aaa056 SHA256 463100cd7ff6e00d0bd621d4444367d16305199bcfd90d2949d057e9d7955441
+EBUILD cssc-1.3.0.ebuild 1010 RMD160 cf9e4e1b1f770f4c010c8e6319ae4ae4d68cab5d SHA1 456502dd8f135e38ae03ba27cce539ad304814e1 SHA256 1272f579b25ece5e813b1487c3e853cbbb97d71f5b5179dc8add5e238dff9e1d
+MISC ChangeLog 3150 RMD160 4fa531648a845fd5922241908d5d3664b6328191 SHA1 f119a60cbe3acfb3c44ef80220b27caadd19f0cb SHA256 e0baba0e30103a1c034143aadc5ce50ae900ccb41ae5813bad7a971855729e2e
MISC metadata.xml 217 RMD160 0d94a6fc560097772d4c2e86e653554bd05c25d4 SHA1 0d2cb1ef66cc2caa1b1e6905019402cddb355105 SHA256 6dc63d55b31ccafd1b88efc0808f669d4df575f9115872c574ffc1596851a4f8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2iWeQACgkQVWmRsqeSphOQOQCfRNE/TQ3FXkVEDTnacP4qFxjS
-qdgAn33UW/RxU2U3Mris7W1H47bRHlWR
-=Ei1e
+iEYEARECAAYFAk3BbhgACgkQVWmRsqeSphO6EQCfWbo4TaOcEBgppDZrO4QYutou
+yY0An3NSRshcYTr1BP7JBM+7mC4vVTFM
+=i8IE
-----END PGP SIGNATURE-----
diff --git a/dev-vcs/cssc/cssc-1.3.0.ebuild b/dev-vcs/cssc/cssc-1.3.0.ebuild
index 3eda53fbba52..613ba582b02d 100644
--- a/dev-vcs/cssc/cssc-1.3.0.ebuild
+++ b/dev-vcs/cssc/cssc-1.3.0.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-vcs/cssc/cssc-1.3.0.ebuild,v 1.2 2011/01/08 18:26:10 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/cssc-1.3.0.ebuild,v 1.3 2011/05/04 15:17:39 jer Exp $
EAPI="2"
@@ -27,6 +27,14 @@ src_compile() {
emake all || die "emake failed"
}
+src_test() {
+ if [[ ${UID} = 0 ]]; then
+ einfo "Tests will not be run as root"
+ else
+ emake check || die
+ fi
+}
+
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README NEWS ChangeLog AUTHORS || die "dodoc failed"