diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2008-06-18 14:27:36 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2008-06-18 14:27:36 +0000 |
commit | bf4978f240dc3f341fe0ee51311419f8744876c3 (patch) | |
tree | 67e70ba51a32a2ce648ef9e5a28a8fd595b47e33 /dev-python/python-dateutil | |
parent | Add patch to fix bug 224945 (upstream bug 393). (diff) | |
download | gentoo-2-bf4978f240dc3f341fe0ee51311419f8744876c3.tar.gz gentoo-2-bf4978f240dc3f341fe0ee51311419f8744876c3.tar.bz2 gentoo-2-bf4978f240dc3f341fe0ee51311419f8744876c3.zip |
Set up PYTHON_MODNAME, fixes bug #227267.
(Portage version: 2.2_pre8/cvs/Linux 2.6.25-gentoo-r3 x86_64)
Diffstat (limited to 'dev-python/python-dateutil')
4 files changed, 17 insertions, 6 deletions
diff --git a/dev-python/python-dateutil/ChangeLog b/dev-python/python-dateutil/ChangeLog index b0978c9adaa2..e9afb4ab127e 100644 --- a/dev-python/python-dateutil/ChangeLog +++ b/dev-python/python-dateutil/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/python-dateutil # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.14 2008/03/12 18:14:54 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.15 2008/06/18 14:27:36 coldwind Exp $ + + 18 Jun 2008; Santiago M. Mola <coldwind@gentoo.org> + python-dateutil-1.1.ebuild, python-dateutil-1.2.ebuild, + python-dateutil-1.3.ebuild: + Set up PYTHON_MODNAME, fixes bug #227267. 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Marien Zwart (marienz, #107204) from metadata.xml. diff --git a/dev-python/python-dateutil/python-dateutil-1.1.ebuild b/dev-python/python-dateutil/python-dateutil-1.1.ebuild index de9417213ef1..a432275a3703 100644 --- a/dev-python/python-dateutil/python-dateutil-1.1.ebuild +++ b/dev-python/python-dateutil/python-dateutil-1.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 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.1.ebuild,v 1.6 2006/10/15 18:15:34 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.1.ebuild,v 1.7 2008/06/18 14:27:36 coldwind Exp $ inherit distutils @@ -18,6 +18,8 @@ DEPEND=">=dev-lang/python-2.3 DOCS="NEWS example.py sandbox/rrulewrapper.py sandbox/scheduler.py" +PYTHON_MODNAME="${PN/python-/}" + src_test() { ${python} test.py } diff --git a/dev-python/python-dateutil/python-dateutil-1.2.ebuild b/dev-python/python-dateutil/python-dateutil-1.2.ebuild index a98ae61971e9..0dcb7050d479 100644 --- a/dev-python/python-dateutil/python-dateutil-1.2.ebuild +++ b/dev-python/python-dateutil/python-dateutil-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 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.2.ebuild,v 1.5 2008/01/14 20:10:28 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.2.ebuild,v 1.6 2008/06/18 14:27:36 coldwind Exp $ NEED_PYTHON=2.3 @@ -20,6 +20,8 @@ RDEPEND="${DEPEND}" DOCS="NEWS example.py sandbox/rrulewrapper.py sandbox/scheduler.py" +PYTHON_MODNAME="${PN/python-/}" + src_test() { PYTHONPATH="." "${python}" test.py || die "tests failed" } diff --git a/dev-python/python-dateutil/python-dateutil-1.3.ebuild b/dev-python/python-dateutil/python-dateutil-1.3.ebuild index d0e464ea5997..e82ed34a94c4 100644 --- a/dev-python/python-dateutil/python-dateutil-1.3.ebuild +++ b/dev-python/python-dateutil/python-dateutil-1.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.3.ebuild,v 1.1 2007/12/31 08:08:57 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.3.ebuild,v 1.2 2008/06/18 14:27:36 coldwind Exp $ NEED_PYTHON=2.3 @@ -19,6 +19,8 @@ DEPEND="!<=dev-python/matplotlib-0.82" DOCS="NEWS example.py sandbox/rrulewrapper.py sandbox/scheduler.py" +PYTHON_MODNAME="${PN/python-/}" + src_test() { "${python}" test.py } |