diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-26 23:24:28 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-26 23:24:28 +0000 |
commit | 21c97e7f0350b93b73865808d4f98e5fd2fa0984 (patch) | |
tree | eb8c4aef9313b91a339b6d08f749cad54095f625 /dev-python/python-lzo | |
parent | Clean patch. (diff) | |
download | historical-21c97e7f0350b93b73865808d4f98e5fd2fa0984.tar.gz historical-21c97e7f0350b93b73865808d4f98e5fd2fa0984.tar.bz2 historical-21c97e7f0350b93b73865808d4f98e5fd2fa0984.zip |
Set SUPPORT_PYTHON_ABIS (bug #345545).
Package-Manager: portage-2.2.0_alpha25_p9/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-lzo')
-rw-r--r-- | dev-python/python-lzo/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-lzo/Manifest | 16 | ||||
-rw-r--r-- | dev-python/python-lzo/python-lzo-1.08.ebuild | 39 |
3 files changed, 34 insertions, 29 deletions
diff --git a/dev-python/python-lzo/ChangeLog b/dev-python/python-lzo/ChangeLog index c8106e1320e1..c19506d9c1c8 100644 --- a/dev-python/python-lzo/ChangeLog +++ b/dev-python/python-lzo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-lzo -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v 1.4 2008/11/17 08:10:23 flameeyes Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/ChangeLog,v 1.5 2011/02/26 23:24:28 arfrever Exp $ + + 26 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-lzo-1.08.ebuild: + Set SUPPORT_PYTHON_ABIS (bug #345545). 17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org> files/lzo2compat.patch: diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest index ef6bf31902fb..30838b0ca1df 100644 --- a/dev-python/python-lzo/Manifest +++ b/dev-python/python-lzo/Manifest @@ -1,15 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX lzo2compat.patch 530 RMD160 d871cf6b9161c745e630357eb735094b12f9daed SHA1 43e5c90fb2ff1c8c37ad45c1c87cbb57f39ecee0 SHA256 8aa55502fe297e13fca64a28f54b0266e707ddc0ada0b0afdb1aa729836f6372 +AUX lzo2compat.patch 417 RMD160 9c002ad8a6cef99abf435391af5f831658885b4a SHA1 7f34d7b3aaf9aa4473c108fc1243e44349cafca5 SHA256 db59a49162a6b79055f9bff2b9140f2a36a0d423cf0d62caaa97da39863190d0 DIST python-lzo-1.08.tar.gz 13046 RMD160 61ebb764149c8b4bcfcffcc404794475568faa51 SHA1 e51f6a6ee14a7a9c4a6874df60b7c2ad9af03961 SHA256 2865afe7b995844bf80af94441d1ccf908b0e3aba3eacf5ba602f23e748476c4 -EBUILD python-lzo-1.08.ebuild 654 RMD160 9ed8cefed9e3b6e0c3e4be9076f57e787a87e130 SHA1 678716c544a49d732ce5c513bec100639cd911e0 SHA256 eff4563ba11ac126da7e08f2172e748e74edd089e82f557ae9da340a79a5fa62 -MISC ChangeLog 755 RMD160 490f31d7e11843f784e73fe5b891a1cc8db0e2a0 SHA1 e690368bd24dea5bb454e301839243339f500231 SHA256 ed0686e995baaa08d3eaaa790c3e356409acd27977287a51bf7f4d10afec3a7a +EBUILD python-lzo-1.08.ebuild 835 RMD160 8e6ac8aa86f2b723d5cfdaf626116b92e6558e72 SHA1 5f9ae873a62ac7673f069f583e53523c67d03cff SHA256 517384bb2a9e36278acb44e529a8d5d7e28b2c829689695acfda0faf868dda95 +MISC ChangeLog 895 RMD160 c827ca24b339c0831aa3348468007509788a465a SHA1 cc7e3def03c10686b2cec08ee6fc5829726b1dd0 SHA256 85bd033b11418465bda750a21496c570ca80bc2db36b3a01821a58e538c81446 MISC metadata.xml 258 RMD160 3012d928ec9a4a47b32108ca00bd4a2a486b6fb9 SHA1 b615c8ff2a49428677d705ef5df7f4aa740e0402 SHA256 2af02804deb0c0f8bc989d1edbe87d6db8d304ad98a0cb99427827c0742e3f40 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkhJuwACgkQAiZjviIA2XiLRQCgvQSxsBnWdzVJRKX+seHOYvzw -oaAAn2sGZ0fTjpf1HcDeFu6svNxWAMVs -=ri23 ------END PGP SIGNATURE----- diff --git a/dev-python/python-lzo/python-lzo-1.08.ebuild b/dev-python/python-lzo/python-lzo-1.08.ebuild index 4546d50c9a30..a6a4fefb9159 100644 --- a/dev-python/python-lzo/python-lzo-1.08.ebuild +++ b/dev-python/python-lzo/python-lzo-1.08.ebuild @@ -1,23 +1,34 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v 1.2 2007/07/04 21:43:17 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-lzo/python-lzo-1.08.ebuild,v 1.3 2011/02/26 23:24:28 arfrever Exp $ -inherit eutils distutils +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils eutils DESCRIPTION="Python interface to lzo" -SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz" HOMEPAGE="http://www.oberhumer.com/opensource/lzo/" -RDEPEND="virtual/python - dev-libs/lzo" -DEPEND="${RDEPEND}" -IUSE="" +SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz" + +LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -LICENSE="GPL-2" +IUSE="" + +DEPEND="dev-libs/lzo:2" +RDEPEND="${DEPEND}" + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/lzo2compat.patch" +} -src_unpack() { - unpack ${A} - if has_version ">=dev-libs/lzo-2"; then - epatch "${FILESDIR}"/lzo2compat.patch - fi +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/test.py + } + python_execute_function testing } |