diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-01-04 18:28:00 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-01-04 18:28:00 +0000 |
commit | 04bd5e972eced01913c7c675b8f64515ee542e38 (patch) | |
tree | 7709e3f9d5dfa5d2a6bad470467b07083be1956a /dev-python/pytz | |
parent | Version bump. Cleaning old versions (diff) | |
download | gentoo-2-04bd5e972eced01913c7c675b8f64515ee542e38.tar.gz gentoo-2-04bd5e972eced01913c7c675b8f64515ee542e38.tar.bz2 gentoo-2-04bd5e972eced01913c7c675b8f64515ee542e38.zip |
Bump, fixes #299617
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pytz')
-rw-r--r-- | dev-python/pytz/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pytz/pytz-2009u.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-python/pytz/ChangeLog b/dev-python/pytz/ChangeLog index 61fcd14d8c76..ebedb4215579 100644 --- a/dev-python/pytz/ChangeLog +++ b/dev-python/pytz/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pytz -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.53 2009/12/24 17:28:49 pacho Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.54 2010/01/04 18:28:00 patrick Exp $ + +*pytz-2009u (04 Jan 2010) + + 04 Jan 2010; Patrick Lauer <patrick@gentoo.org> +pytz-2009u.ebuild: + Bump, fixes #299617 24 Dec 2009; Pacho Ramos <pacho@gentoo.org> pytz-2009r.ebuild: amd64 stable, bug 296686 diff --git a/dev-python/pytz/pytz-2009u.ebuild b/dev-python/pytz/pytz-2009u.ebuild new file mode 100644 index 000000000000..0d6e54e21218 --- /dev/null +++ b/dev-python/pytz/pytz-2009u.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/pytz-2009u.ebuild,v 1.1 2010/01/04 18:28:00 patrick Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit eutils distutils + +DESCRIPTION="World Timezone Definitions for Python" +HOMEPAGE="http://pypi.python.org/pypi/pytz/ http://pytz.sourceforge.net/" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="dev-python/setuptools + >=sys-libs/timezone-data-${PV}" +DEPEND="${RDEPEND}" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="CHANGES.txt" + +src_prepare() { + # Use timezone-data zoneinfo. + epatch "${FILESDIR}/${PN}-2009j-zoneinfo.patch" +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" pytz/tests/test_tzinfo.py + } + python_execute_function testing +} + +src_install() { + [[ -z "${ED}" ]] && local ED="${D}" + distutils_src_install + rm -fr "${ED}"usr/lib*/python*/site-packages/pytz/zoneinfo +} |