summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-08-05 16:57:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-08-05 16:57:42 +0000
commitae653df5da552a4836b3214e340c993072e0417d (patch)
tree777eb450042f1372468f3ee812f7245a35c8ace9 /dev-python/BitVector
parent[bump] dev-pelean-0.210.0 (diff)
downloadgentoo-2-ae653df5da552a4836b3214e340c993072e0417d.tar.gz
gentoo-2-ae653df5da552a4836b3214e340c993072e0417d.tar.bz2
gentoo-2-ae653df5da552a4836b3214e340c993072e0417d.zip
A few fixes for testing and python compats from Arfrever
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/BitVector')
-rw-r--r--dev-python/BitVector/BitVector-3.0-r1.ebuild (renamed from dev-python/BitVector/BitVector-3.0.ebuild)30
-rw-r--r--dev-python/BitVector/ChangeLog8
2 files changed, 28 insertions, 10 deletions
diff --git a/dev-python/BitVector/BitVector-3.0.ebuild b/dev-python/BitVector/BitVector-3.0-r1.ebuild
index addac5e2c423..8aad6ad7f72d 100644
--- a/dev-python/BitVector/BitVector-3.0.ebuild
+++ b/dev-python/BitVector/BitVector-3.0-r1.ebuild
@@ -1,27 +1,39 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/BitVector/BitVector-3.0.ebuild,v 1.1 2011/07/29 21:23:13 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/BitVector/BitVector-3.0-r1.ebuild,v 1.1 2011/08/05 16:57:42 bicatali Exp $
-EAPI=3
-PYTHON_DEPEND=2
+EAPI="3"
SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="3.*"
+RESTRICT_PYTHON_ABIS="2.4 2.5"
+
inherit distutils
DESCRIPTION="A pure-Python memory-efficient packed representation for bit arrays"
-HOMEPAGE="http://rvl4.ecn.purdue.edu/~kak/dist/${P}.html"
-SRC_URI="http://rvl4.ecn.purdue.edu/~kak/dist/${P}.tar.gz"
+HOMEPAGE="http://cobweb.ecn.purdue.edu/~kak/dist/"
+SRC_URI="http://cobweb.ecn.purdue.edu/~kak/dist/${P}.tar.gz"
-LICENSE="PSF-2.4"
+LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODULES="BitVector.py"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Don't install test.py.
+ rm -f test.py
+}
+
src_test() {
+ cd Test${PN}
+
testing() {
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" Test.py
}
- pushd Test${PN} > /dev/null
python_execute_function testing
- popd > /dev/null
}
diff --git a/dev-python/BitVector/ChangeLog b/dev-python/BitVector/ChangeLog
index 1cad82f230de..a9fd0aa24839 100644
--- a/dev-python/BitVector/ChangeLog
+++ b/dev-python/BitVector/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/BitVector
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/BitVector/ChangeLog,v 1.2 2011/07/29 21:23:13 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/BitVector/ChangeLog,v 1.3 2011/08/05 16:57:42 bicatali Exp $
+
+*BitVector-3.0-r1 (05 Aug 2011)
+
+ 05 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> -BitVector-3.0.ebuild,
+ +BitVector-3.0-r1.ebuild:
+ A few fixes for testing and python compats from Arfrever
*BitVector-3.0 (29 Jul 2011)