summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-02-06 06:34:39 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-02-06 06:34:39 +0000
commitf22b201bab51788a9949f5b4bed2dae15f72d44d (patch)
tree4afe8086a7caee967f5c69f98f65885a5101fceb /dev-python/pytz
parentVersion bump. Add ruby21. Drop dependency on dev-ruby/hoe. (diff)
downloadgentoo-2-f22b201bab51788a9949f5b4bed2dae15f72d44d.tar.gz
gentoo-2-f22b201bab51788a9949f5b4bed2dae15f72d44d.tar.bz2
gentoo-2-f22b201bab51788a9949f5b4bed2dae15f72d44d.zip
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/pytz')
-rw-r--r--dev-python/pytz/ChangeLog10
-rw-r--r--dev-python/pytz/metadata.xml22
-rw-r--r--dev-python/pytz/pytz-2013.9.ebuild33
3 files changed, 53 insertions, 12 deletions
diff --git a/dev-python/pytz/ChangeLog b/dev-python/pytz/ChangeLog
index 186a0fc9cec6..3188989551d7 100644
--- a/dev-python/pytz/ChangeLog
+++ b/dev-python/pytz/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pytz
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.160 2013/09/07 22:08:39 radhermit Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.161 2014/02/06 06:34:39 bicatali Exp $
+
+*pytz-2013.9 (06 Feb 2014)
+
+ 06 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> +pytz-2013.9.ebuild,
+ metadata.xml:
+ Version bump
*pytz-2013d (07 Sep 2013)
diff --git a/dev-python/pytz/metadata.xml b/dev-python/pytz/metadata.xml
index 6c2db61de2b6..cb4aa831e3ec 100644
--- a/dev-python/pytz/metadata.xml
+++ b/dev-python/pytz/metadata.xml
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <longdescription lang="en">pytz brings the Olson tz database into Python. This library allows
- accurate and cross platform timezone calculations using Python 2.3
- or higher. It also solves the issue of ambiguous times at the end of
- daylight savings, which you can read more about in the Python
- Library Reference (datetime.tzinfo).
- Amost all (over 540) of the Olson timezones are supported.</longdescription>
- <upstream>
- <remote-id type="pypi">pytz</remote-id>
- </upstream>
+<herd>python</herd>
+<longdescription lang="en">
+ pytz brings the Olson tz database into Python. This library allows
+ accurate and cross platform timezone calculations using Python 2.3
+ or higher. It also solves the issue of ambiguous times at the end of
+ daylight savings, which you can read more about in the Python
+ Library Reference (datetime.tzinfo).
+ Amost all (over 540) of the Olson timezones are supported.
+</longdescription>
+<upstream>
+ <remote-id type="pypi">pytz</remote-id>
+</upstream>
</pkgmetadata>
diff --git a/dev-python/pytz/pytz-2013.9.ebuild b/dev-python/pytz/pytz-2013.9.ebuild
new file mode 100644
index 000000000000..829810dd5cff
--- /dev/null
+++ b/dev-python/pytz/pytz-2013.9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/pytz-2013.9.ebuild,v 1.1 2014/02/06 06:34:39 bicatali Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
+inherit distutils-r1
+
+DESCRIPTION="World timezone definitions for Python"
+HOMEPAGE="http://pythonhosted.org/pytz/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=sys-libs/timezone-data-2013i"
+RDEPEND="${DEPEND}"
+
+DOCS=( CHANGES.txt )
+
+PATCHES=(
+ # Use timezone-data zoneinfo.
+ "${FILESDIR}/${PN}-2009j-zoneinfo.patch"
+ # ...and do not install a copy of it.
+ "${FILESDIR}/${PN}-2009h-zoneinfo-noinstall.patch"
+)
+
+python_test() {
+ "${PYTHON}" pytz/tests/test_tzinfo.py
+}