summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 20:45:10 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 20:45:10 +0000
commit7906e542040eec7ff7c21de8c988531f1166a560 (patch)
tree6884b2a84163b434361489a790c56e02eac240e7 /dev-python/guppy
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-7906e542040eec7ff7c21de8c988531f1166a560.tar.gz
historical-7906e542040eec7ff7c21de8c988531f1166a560.tar.bz2
historical-7906e542040eec7ff7c21de8c988531f1166a560.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14218-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/guppy')
-rw-r--r--dev-python/guppy/ChangeLog6
-rw-r--r--dev-python/guppy/Manifest4
-rw-r--r--dev-python/guppy/guppy-0.1.9.ebuild29
3 files changed, 28 insertions, 11 deletions
diff --git a/dev-python/guppy/ChangeLog b/dev-python/guppy/ChangeLog
index 3372ae71bf20..1920c675451a 100644
--- a/dev-python/guppy/ChangeLog
+++ b/dev-python/guppy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/guppy
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.10 2009/09/07 19:45:37 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/ChangeLog,v 1.11 2009/09/08 20:45:10 arfrever Exp $
+
+ 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ guppy-0.1.9.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*guppy-0.1.9 (07 Sep 2009)
diff --git a/dev-python/guppy/Manifest b/dev-python/guppy/Manifest
index 10bd1f446c8c..358a37d96878 100644
--- a/dev-python/guppy/Manifest
+++ b/dev-python/guppy/Manifest
@@ -3,6 +3,6 @@ DIST guppy-0.1.8.tar.gz 471028 RMD160 0735d31f781cdcd39ca092381b9ebb68c69a3e84 S
DIST guppy-0.1.9.tar.gz 494828 RMD160 d2868536ea505736711a25bdebd65bf28bd51f97 SHA1 3a51893f90c9d5394716eb1a22ea8263646399db SHA256 4d64144bbabf9f182202d363adc26c65e1ff9b5a527453c1819456b176075a76
EBUILD guppy-0.1.6.ebuild 763 RMD160 e426b6122a6ebbac0fb152359de2a700745e5a40 SHA1 cc4deeb60d1027606fc080fb25a32d1c83ab6a86 SHA256 8cb2b5d24b25727bc8a427a26245024c63f49b2b7ad5893d3b8ae087c1a346ca
EBUILD guppy-0.1.8.ebuild 783 RMD160 dbe0b4ed9d2076ba622ab7a8ae167d15d09e55d0 SHA1 af36df65926365d747009e946057dc8c49e85534 SHA256 d879f8a59f941f09d72840723c9d2e74c07469828abfdc47612e6fafc02cce0e
-EBUILD guppy-0.1.9.ebuild 782 RMD160 f8762273cccfa1e89d8efe6646f1d3597598ad76 SHA1 7a7d6e3bc0816c60c824c56581e3d07aa396aa00 SHA256 90cf59efe2e22b0beea3da02d0369115efe189d86a841d25202ebfc8edeee4cc
-MISC ChangeLog 1478 RMD160 a12f3a9a7de8bd85467bf7d855c9c9d9a837fe47 SHA1 7497d08bebd751054958a8fc7dbea5336ead263b SHA256 ddb766578e23333e9531ab5892ca2f87a82485b1c96a4bc2378a71b25d532d0e
+EBUILD guppy-0.1.9.ebuild 1209 RMD160 106fec6b6470f75fd13a5fda748f854ad96a233c SHA1 2af09f7c7f7d632b38df40907065f924b14ff4f4 SHA256 c8fa0ad0c3aa82587cff3d844f6ec0feae2ce1735a431f3c67a7957e776992c5
+MISC ChangeLog 1602 RMD160 51fae163e285c7dd141dda8e40db448cfe3925db SHA1 05c0b2115014f45a834a57541de131e001927233 SHA256 719b5c769bd1d53fa182ea893427c64c1381bd7f48cc6eea2e51913e95fee20a
MISC metadata.xml 495 RMD160 978415e5eb097afef9b14fc03c6b6b9df76f9fd5 SHA1 79e09a94d7f0cb90696d4a6df72aa50732c19674 SHA256 dd1a4345ad31b04cb7cbe88003e7561b4d94b7149f9a50da07fe9f5940944d07
diff --git a/dev-python/guppy/guppy-0.1.9.ebuild b/dev-python/guppy/guppy-0.1.9.ebuild
index 6b35a439726f..f9746a8abbdc 100644
--- a/dev-python/guppy/guppy-0.1.9.ebuild
+++ b/dev-python/guppy/guppy-0.1.9.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/guppy-0.1.9.ebuild,v 1.1 2009/09/07 19:45:37 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/guppy/guppy-0.1.9.ebuild,v 1.2 2009/09/08 20:45:10 arfrever Exp $
-NEED_PYTHON=2.3
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -15,16 +16,28 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DOCS="ANNOUNCE changelog"
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
+
+DOCS="ANNOUNCE ChangeLog"
src_test() {
- "${python}" setup.py install --home="${T}/test" || die "test install failed"
- cd "${T}/test/lib/python"
- PYTHONPATH=. "${python}" guppy/heapy/test/test_all.py || die "test failed"
- rm -rf "${T}/test"
+ testing() {
+ cd "${S}"
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home="${T}/test-${PYTHON_ABI}" || die "Installation of tests failed with Python ${PYTHON_ABI}"
+ cd "${T}/test-${PYTHON_ABI}/lib/python"
+ PYTHONPATH="$(ls -d "${S}/build-${PYTHON_ABI}/"lib*):." "$(PYTHON)" guppy/heapy/test/test_all.py || return 1
+ }
+ python_execute_function testing
}
src_install() {
distutils_src_install
- dohtml doc/*
+ dohtml guppy/doc/*
+
+ delete_duplicated_documentation() {
+ find "${D}$(python_get_sitedir)" -name '*.html' -o -name '*.jpg' | xargs rm -f
+ }
+ python_execute_function -q delete_duplicated_documentation
}