summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/python-dateutil/ChangeLog6
-rw-r--r--dev-python/python-dateutil/Manifest4
-rw-r--r--dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild24
3 files changed, 21 insertions, 13 deletions
diff --git a/dev-python/python-dateutil/ChangeLog b/dev-python/python-dateutil/ChangeLog
index 5db782cc0b1b..222aa5d74282 100644
--- a/dev-python/python-dateutil/ChangeLog
+++ b/dev-python/python-dateutil/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/python-dateutil
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.19 2009/10/11 11:05:59 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.20 2009/12/20 23:00:08 arfrever Exp $
+
+ 20 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ python-dateutil-1.4.1-r1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
11 Oct 2009; Fabian Groffen <grobian@gentoo.org>
python-dateutil-1.4.1-r1.ebuild:
diff --git a/dev-python/python-dateutil/Manifest b/dev-python/python-dateutil/Manifest
index 852b38ddeaec..0a7adb4fbf51 100644
--- a/dev-python/python-dateutil/Manifest
+++ b/dev-python/python-dateutil/Manifest
@@ -4,6 +4,6 @@ DIST python-dateutil-1.2.tar.bz2 135624 RMD160 31e62aceb2ce980b5cfb64841f7d125f8
DIST python-dateutil-1.4.1.tar.gz 225965 RMD160 51caf0b0c7bfbf16044437e3b93af22829180dca SHA1 0d06926ac127b8db333d91b3afb0eeb100ac7cac SHA256 74b615c6a55b4421187feba1633fc233e7c5ebdd7abe9b092447a32946823357
EBUILD python-dateutil-1.1.ebuild 699 RMD160 39d85f0753a2c326f6f875bdff9ec8e1390faba1 SHA1 8559ae4ac30de72521c11591d88fa85d1aa6765f SHA256 be0986470a7ee6e00c573a5f66e96c1bfce2e1299fb681cea3fb2e8e0ea093b7
EBUILD python-dateutil-1.2.ebuild 744 RMD160 5fc6fd1fa5644326f3dfab0583058a8561319c9b SHA1 fe289fa58efca2e317cf3dcdfa4bc523a2017514 SHA256 70bd9607898b03472405a85f3796f6f1c81b447d5ba33f1cab757a5f35eea05a
-EBUILD python-dateutil-1.4.1-r1.ebuild 1149 RMD160 e61b5d2adadc5f605f6d7daae49dcd49bf2a07b7 SHA1 3a96d907c95c9c25e48fe16b9fe0748adebe427d SHA256 c577004c4e52d0a79365d6fe73edf177affc44a6efe7be8eec78c135e4996b80
-MISC ChangeLog 2844 RMD160 8dfca56be18a1b4efe11e8bdf7a1acc926a5fae2 SHA1 182b11c54e6e02854efb26dc982b96d5ed898556 SHA256 9043d67b298f66874ff44cb0f9ee2635fd94940fa53a4d4530f14d30bf988561
+EBUILD python-dateutil-1.4.1-r1.ebuild 1289 RMD160 ba6a923dbcc35fb9d7bbe09a13ef39e80197cf0e SHA1 4e8f45f4c76a1eacb4bac1d9413b9a54f4846122 SHA256 d6c00003162abc873339c9440e1d0ec84091ce7ef77824beff86f459bc4e9cab
+MISC ChangeLog 2981 RMD160 0b9c973b65407bc6106dddb44cff8a6a841910bf SHA1 90eda56581ef1da4c18d14af629a13036f359794 SHA256 e3d3440c6a60a25412c493294d3a008bdfee9d404444848225158d4e43c0dcbd
MISC metadata.xml 321 RMD160 a4032f38afe72e05418ce030fe0144c44f6efa50 SHA1 2b6e67f28acd888380da9a608f65133ec8427602 SHA256 bc09a8d19122457f72a5cc7b348a41f4208b8c89d32cd20bfe0d39bb71630df3
diff --git a/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild b/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild
index 1f3a36cf46c8..441e36735d33 100644
--- a/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild
+++ b/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild,v 1.2 2009/10/11 11:05:59 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild,v 1.3 2009/12/20 23:00:08 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
-EAPI=2
-NEED_PYTHON=2.3
inherit distutils
DESCRIPTION="dateutil datetime math and logic library for python"
-HOMEPAGE="http://labix.org/python-dateutil"
+HOMEPAGE="http://labix.org/python-dateutil http://pypi.python.org/pypi/python-dateutil"
SRC_URI="http://labix.org/download/python-dateutil/${P}.tar.gz"
LICENSE="PSF-2.3"
@@ -17,11 +18,11 @@ IUSE=""
DOCS="NEWS README"
-DEPEND=">=dev-python/setuptools-0.6_rc7-r1
- sys-libs/timezone-data"
-RDEPEND=""
+DEPEND=">=dev-python/setuptools-0.6_rc7-r1"
+RDEPEND="sys-libs/timezone-data"
+RESTRICT_PYTHON_ABIS="3.*"
-PYTHON_MODNAME=dateutil
+PYTHON_MODNAME="dateutil"
src_prepare() {
epatch "${FILESDIR}"/${P}-locale.patch
@@ -30,11 +31,14 @@ src_prepare() {
}
src_test() {
- PYTHONPATH=build/lib "${python}" test.py || die
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py
+ }
+ python_execute_function testing
}
src_install() {
- [[ -z ${ED} ]] && local ED=${D}
+ [[ -z "${ED}" ]] && local ED="${D}"
distutils_src_install
insinto /usr/share/doc/${PF}/examples
doins example.py sandbox/*.py