diff options
author | 2009-08-04 23:50:40 +0000 | |
---|---|---|
committer | 2009-08-04 23:50:40 +0000 | |
commit | 0b8755103e153bd2130e4173458c23ead30e1e60 (patch) | |
tree | fa534fb1aed39208986ebede745b760e800e4ae8 /dev-python/decorator | |
parent | Set SUPPORT_PYTHON_ABIS. (diff) | |
download | historical-0b8755103e153bd2130e4173458c23ead30e1e60.tar.gz historical-0b8755103e153bd2130e4173458c23ead30e1e60.tar.bz2 historical-0b8755103e153bd2130e4173458c23ead30e1e60.zip |
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-13912-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/decorator')
-rw-r--r-- | dev-python/decorator/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/decorator/Manifest | 4 | ||||
-rw-r--r-- | dev-python/decorator/decorator-3.0.1.ebuild | 27 |
3 files changed, 30 insertions, 7 deletions
diff --git a/dev-python/decorator/ChangeLog b/dev-python/decorator/ChangeLog index c030097c2239..c10b9932877e 100644 --- a/dev-python/decorator/ChangeLog +++ b/dev-python/decorator/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/decorator # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.5 2009/05/22 21:00:21 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/ChangeLog,v 1.6 2009/08/04 23:50:40 arfrever Exp $ + + 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + decorator-3.0.1.ebuild: + Set SUPPORT_PYTHON_ABIS. 22 May 2009; Patrick Lauer <patrick@gentoo.org> decorator-2.3.2.ebuild: SRC_URI fix for 2.3.2, fixes #269086 diff --git a/dev-python/decorator/Manifest b/dev-python/decorator/Manifest index 327a24f79eb3..7a17ee9baf7a 100644 --- a/dev-python/decorator/Manifest +++ b/dev-python/decorator/Manifest @@ -3,6 +3,6 @@ DIST decorator-2.3.2.tar.gz 16605 RMD160 2781127c2aeabd90aec6a4d5f1d8f7fa80f0c6a DIST decorator-3.0.1.tar.gz 151960 RMD160 b255fdce55f259aae0a1dd0edda9ba0d7570d2f2 SHA1 2753bede5d4bd158d2168f87244df289405356ef SHA256 d4294afdd740b8f32f2381450b4521c812ba5d8919b57f9abaeb5ea151e6d1f3 EBUILD decorator-2.2.0.ebuild 786 RMD160 6b1d73ae4c0af28a7435521e7a2806adaf79d0aa SHA1 79c3c91d65e4a3a55a97f446dd08eb1b90f017e4 SHA256 0c561d0800b02e7251fe9725e201048e1e41deda460114b156ea47974c2dc59d EBUILD decorator-2.3.2.ebuild 678 RMD160 f72b51ebf712ddd783499f7d132920359ee4b692 SHA1 c615f93fce0d57a86d54af63265cf86558a029f8 SHA256 802bd44500ea43c67d985501875064711b111c6be3c536a2687379562063facc -EBUILD decorator-3.0.1.ebuild 926 RMD160 a05377fac6d60f46fc6a9a6fda0fa6b27804766f SHA1 e914db560457963a515be792b9ac0557e8531ca1 SHA256 7ec41f43c0e08ccee928cc74a4f8952c923b42d02510812f73b711c7d0ef9579 -MISC ChangeLog 1008 RMD160 186e958d0cf6f7c92fe526704b54e715f22408bd SHA1 7c0d54bd3414ad1a77a60939949c360866eb637a SHA256 36b33d8f13cbcf30820e5873ae865059e59abfadb6ab3bf63d1e9230e173d58a +EBUILD decorator-3.0.1.ebuild 1166 RMD160 8b212c93c7d5cfaa83b4029553965daf35b5cc0c SHA1 f5191775c7a2127b770e8ddf2c8abfd7d61e8b41 SHA256 cbdd0e7e35bf8601595277ba8def910e14d09fe3cdda1375fd371675df69b9d0 +MISC ChangeLog 1136 RMD160 488191002fe6ebd815a927763a25578707f4f775 SHA1 a87949e7ca085338a6f8f889d45b67fa160d6568 SHA256 2d4213b68664d269bd6970eaa9bf085e69696e7f40fa956060334dcd137753df MISC metadata.xml 466 RMD160 2e0aefd00364286b5fe33226ccddd5197bc0044c SHA1 1774085c42e131dbc6a320dcdd3465df18850096 SHA256 b41a98c8c1c4722d925be9c7d02be1eee04f72bc58c14cda63346c4b40e7e277 diff --git a/dev-python/decorator/decorator-3.0.1.ebuild b/dev-python/decorator/decorator-3.0.1.ebuild index 139b0700571d..6d1f5c569be2 100644 --- a/dev-python/decorator/decorator-3.0.1.ebuild +++ b/dev-python/decorator/decorator-3.0.1.ebuild @@ -1,6 +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/decorator/decorator-3.0.1.ebuild,v 1.1 2009/03/27 11:41:12 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/decorator/decorator-3.0.1.ebuild,v 1.2 2009/08/04 23:50:40 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils @@ -13,18 +16,34 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" +DEPEND="" +RDEPEND="" + +RESTRICT_PYTHON_ABIS="3*" + DOCS="CHANGES.txt README.txt" src_test() { - # multiprocessing only in python-2.6 and above, and not use anyway + # multiprocessing module is available only in Python >=2.6, and isn't used anyway. sed -i -e '/multiprocessing/d' documentation.py || die - PYTHONPATH=build/lib "${python}" documentation.py || die "tests failed" + testing() { + PYTHONPATH="build/lib-${PYTHON_ABI}" "$(get_python)" documentation.py + } + python_execute_function testing } src_install() { distutils_src_install - if use doc;then + if use doc; then dodoc documentation.pdf || die "dodoc pdf doc failed" dohtml documentation.html || die "dohtml html doc failed" fi } + +pkg_postinst() { + python_mod_optimize decorator.py +} + +pkg_postrm() { + python_mod_cleanup +} |