diff options
author | Sebastian Pipping <sping@gentoo.org> | 2010-06-26 01:41:01 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2010-06-26 01:41:01 +0000 |
commit | 51fa8faf2f0dbaa5a40e98ced0048f3a60c5c274 (patch) | |
tree | c98a57256d1009730cdae00c18e2050388e8abe2 /dev-python/shm | |
parent | Add USE dep on accessibility for Qt packages, see bug 325461 (diff) | |
download | historical-51fa8faf2f0dbaa5a40e98ced0048f3a60c5c274.tar.gz historical-51fa8faf2f0dbaa5a40e98ced0048f3a60c5c274.tar.bz2 historical-51fa8faf2f0dbaa5a40e98ced0048f3a60c5c274.zip |
dev-python/shm: Fix setup.py to respect CC variable (bug #243966)
Package-Manager: portage-2.2_rc62/cvs/Linux i686
Diffstat (limited to 'dev-python/shm')
-rw-r--r-- | dev-python/shm/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/shm/Manifest | 15 | ||||
-rw-r--r-- | dev-python/shm/files/shm-1.2.2-compiler.patch | 11 | ||||
-rw-r--r-- | dev-python/shm/shm-1.2.2.ebuild | 10 |
4 files changed, 27 insertions, 15 deletions
diff --git a/dev-python/shm/ChangeLog b/dev-python/shm/ChangeLog index 892739478bd5..56870d9c2c0e 100644 --- a/dev-python/shm/ChangeLog +++ b/dev-python/shm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/shm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/shm/ChangeLog,v 1.6 2010/06/02 06:29:21 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/shm/ChangeLog,v 1.7 2010/06/26 01:41:01 sping Exp $ + + 26 Jun 2010; Sebastian Pipping <sping@gentoo.org> shm-1.2.2.ebuild, + +files/shm-1.2.2-compiler.patch: + Fix setup.py to respect CC variable (bug #243966) 02 Jun 2010; Torsten Veller <tove@gentoo.org> metadata.xml: Remove chtekk from metadata.xml (#103720) diff --git a/dev-python/shm/Manifest b/dev-python/shm/Manifest index e21c45aab540..6fa8f016235e 100644 --- a/dev-python/shm/Manifest +++ b/dev-python/shm/Manifest @@ -1,14 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX shm-1.2.2-compiler.patch 464 RMD160 c4e49103c3be5646fc71371d6ed46b17b1d6d171 SHA1 b3712417ebdeb5c406b72bb007ab1323b4a63b39 SHA256 c2558b041808f281e0b7d67b0d6b73a1faa5edd567ad306cc58f331bd5dd4c87 DIST shm-1.2.2.tar.gz 25258 RMD160 ede61d42ec9a89d2be98fc32eeb02f1e2406cfa2 SHA1 6a806f2adb44641cb8d3f29a55ed5440c58d5915 SHA256 5d733f61b26c2b71e46add5db6a74b50cb88e7339a30d91931bd10b85ddc8189 -EBUILD shm-1.2.2.ebuild 658 RMD160 3d45240faeb4a3a22775b28aa6716ed3ffc89145 SHA1 389d30df507cdab31a3a63ad05df52ffa744a617 SHA256 1679a9b879c2984040d543f9dcdeb7392d4ebc57309229103cd96597328df727 -MISC ChangeLog 846 RMD160 50b5d43591fc00d91ff0df95f339a1be32e32547 SHA1 b8555c05400724024380cd718f90a84742eccecf SHA256 a7b4569b0b68220e78145347128b3b895c1b2a436327867c9445a670a72712b0 +EBUILD shm-1.2.2.ebuild 738 RMD160 72d8b2ab95e29d0896a918f316f4ea83222135cf SHA1 326600ee593a57f97d87e5b9321d502ad9b87e03 SHA256 caa92b93404a991cd45b85019869bc6e61770d6965d1c939110f06ad3e61c2bd +MISC ChangeLog 1005 RMD160 c858c817003968b020f504128f8b568d84cf630f SHA1 e88edf6c91e61c476f75904ab31dd5c75888c738 SHA256 c7ac9a630fde47dae2f74b20a66a7a4ab472fea99ffc3c2973cf8ac98cf59a07 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwF+kYACgkQV3J2n04EauxkdQCgwVVhmLpj2RSdd0G02YpEyXho -kmYAoJsLDmRofOlp7jOWcISAXVfjnLnz -=EkJ2 ------END PGP SIGNATURE----- diff --git a/dev-python/shm/files/shm-1.2.2-compiler.patch b/dev-python/shm/files/shm-1.2.2-compiler.patch new file mode 100644 index 000000000000..e9e1bd22a3a1 --- /dev/null +++ b/dev-python/shm/files/shm-1.2.2-compiler.patch @@ -0,0 +1,11 @@ +--- setup.py 2010-06-26 03:29:30.000000000 +0200 ++++ setup.py 2010-06-26 03:30:10.000000000 +0200 +@@ -84,7 +84,7 @@ + filename = "%d.c" % i + file(path + filename, "w").write(src % ('_' * i)) + +- cmd = ["cc", "-c", "-o", "/dev/null", "%s" % path + filename] ++ cmd = [os.environ.get("CC", "cc"), "-c", "-o", "/dev/null", "%s" % path + filename] + + po = popen2.Popen4(cmd) + if not po.wait(): underscores[i] = True diff --git a/dev-python/shm/shm-1.2.2.ebuild b/dev-python/shm/shm-1.2.2.ebuild index bb3660a2340c..42c8a0d16b6d 100644 --- a/dev-python/shm/shm-1.2.2.ebuild +++ b/dev-python/shm/shm-1.2.2.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/shm/shm-1.2.2.ebuild,v 1.4 2010/02/07 20:27:57 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/shm/shm-1.2.2.ebuild,v 1.5 2010/06/26 01:41:01 sping Exp $ + +EAPI="2" NEED_PYTHON=2.3 -inherit distutils +inherit eutils distutils KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" @@ -19,6 +21,10 @@ IUSE="" DEPEND="dev-python/setuptools" RDEPEND="" +src_prepare() { + epatch "${FILESDIR}"/${P}-compiler.patch +} + src_install() { distutils_src_install |