summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-26 19:27:55 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-26 19:27:55 +0000
commit65389ad6963879eeda6c1d936a0b410ca3b4d9ed (patch)
treea3dd01a29dd1527f62c7f83df494b03a099ac8a4 /dev-python
parentAdding 8.5 alpha (diff)
downloadgentoo-2-65389ad6963879eeda6c1d936a0b410ca3b4d9ed.tar.gz
gentoo-2-65389ad6963879eeda6c1d936a0b410ca3b4d9ed.tar.bz2
gentoo-2-65389ad6963879eeda6c1d936a0b410ca3b4d9ed.zip
Version bump.
(Portage version: 15209-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pytz/ChangeLog8
-rw-r--r--dev-python/pytz/pytz-2010b.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/pytz/ChangeLog b/dev-python/pytz/ChangeLog
index ebedb4215579..524ed8a61d79 100644
--- a/dev-python/pytz/ChangeLog
+++ b/dev-python/pytz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pytz
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.55 2010/01/26 19:27:55 arfrever Exp $
+
+*pytz-2010b (26 Jan 2010)
+
+ 26 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pytz-2010b.ebuild:
+ Version bump.
*pytz-2009u (04 Jan 2010)
diff --git a/dev-python/pytz/pytz-2010b.ebuild b/dev-python/pytz/pytz-2010b.ebuild
new file mode 100644
index 000000000000..acd2ed814fd3
--- /dev/null
+++ b/dev-python/pytz/pytz-2010b.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-2010b.ebuild,v 1.1 2010/01/26 19:27:55 arfrever 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
+}