diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-02 16:34:28 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-02 16:34:28 +0000 |
commit | 2910cd62945334beed3bac181a27bc2ba46c315d (patch) | |
tree | 4c0484082ef5a4fed2b283f2cd5e2df8bcf73e21 /dev-python/python-dateutil | |
parent | Initial commit. (diff) | |
download | gentoo-2-2910cd62945334beed3bac181a27bc2ba46c315d.tar.gz gentoo-2-2910cd62945334beed3bac181a27bc2ba46c315d.tar.bz2 gentoo-2-2910cd62945334beed3bac181a27bc2ba46c315d.zip |
Version bump.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-dateutil')
-rw-r--r-- | dev-python/python-dateutil/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/python-dateutil/python-dateutil-1.5.ebuild | 47 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/python-dateutil/ChangeLog b/dev-python/python-dateutil/ChangeLog index 9f5fc25f5e21..35d83f103316 100644 --- a/dev-python/python-dateutil/ChangeLog +++ b/dev-python/python-dateutil/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/python-dateutil # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.25 2010/02/08 08:39:46 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.26 2010/04/02 16:34:28 arfrever Exp $ + +*python-dateutil-1.5 (02 Apr 2010) + + 02 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +python-dateutil-1.5.ebuild: + Version bump. 08 Feb 2010; Peter Volkov <pva@gentoo.org> python-dateutil-1.4.1-r1.ebuild: diff --git a/dev-python/python-dateutil/python-dateutil-1.5.ebuild b/dev-python/python-dateutil/python-dateutil-1.5.ebuild new file mode 100644 index 000000000000..acc46c8a5fa4 --- /dev/null +++ b/dev-python/python-dateutil/python-dateutil-1.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 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.5.ebuild,v 1.1 2010/04/02 16:34:28 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +DESCRIPTION="dateutil datetime math and logic library for python" +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" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DOCS="NEWS README" + +DEPEND="dev-python/setuptools" +RDEPEND="sys-libs/timezone-data" +RESTRICT_PYTHON_ABIS="3.*" + +PYTHON_MODNAME="dateutil" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.4.1-locale.patch" + + # Use zoneinfo in /usr/share/zoneinfo. + sed -e "s/zoneinfo.gettz/gettz/g" -i test.py || die "sed failed" +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + insinto /usr/share/doc/${PF}/examples + doins example.py sandbox/*.py + rm -f "${ED}"usr/lib*/python*/site-packages/dateutil/zoneinfo/*.tar.* +} |