Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytz/
Date: Tue, 22 Sep 2015 07:02:39
Message-Id: 1442905351.116aedd8dae8d2fc5a3963f7a579ae760847e83b.jlec@gentoo
1 commit: 116aedd8dae8d2fc5a3963f7a579ae760847e83b
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 22 07:01:17 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 22 07:02:31 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116aedd8
7
8 dev-python/pytz: Version Bump
9
10 Package-Manager: portage-2.2.21
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/pytz/Manifest | 1 +
14 dev-python/pytz/pytz-2015.6.ebuild | 34 ++++++++++++++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-python/pytz/Manifest b/dev-python/pytz/Manifest
18 index 8261d87..4e944b0 100644
19 --- a/dev-python/pytz/Manifest
20 +++ b/dev-python/pytz/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pytz-2014.10.tar.bz2 166213 SHA256 387f968fde793b142865802916561839f5591d8b4b14c941125eb0fca7e4e58d SHA512 870ab2dd4e7ebd0e5eb22fe888978f17678ba4ae72aca5106ca5a5fbdb6c4204de18ccbe27124a9f252546b030872d070c016350602aa5f7d1b68c43fa5367ec WHIRLPOOL d1f9cc2a1fcf67d22cad7e61d7634dd5d1c575bc47d72159a5394cdc9804c144093a516b3b8e90d685f4f9a469eb7e4bae3909ea8dcf839369cb3f1454919081
23 DIST pytz-2015.4.tar.bz2 157361 SHA256 a78b484d5472dd8c688f8b3eee18646a25c66ce45b2c26652850f6af9ce52b17 SHA512 ade31780d5d91cb519e69b38f8828e1cf94b5b388a3efd80db42b7a5e5603f43f5726f7aecfd08c78d3637a3017910f3ed1a7727ec291f6579a41882c6289ca4 WHIRLPOOL 7804617d21de5e6212ccc1f17651c8e76a94374af22f542cd6eb54fc6951d0b6ec42cd7623162074994573b6bba492d92397a584277b423742c15b68cb930ae7
24 +DIST pytz-2015.6.tar.bz2 156925 SHA256 01eed1b2226dc386d8e467a2ff8c4f1aa08c65d5d7e7c43aa094bd45d5bd68ba SHA512 e6e117d85c0a0310b115cfaae2b9d5957641f8367a7890f4e1afed8129e77c6a08b733b985c06d5f3fe5bbfa565387826883864b79dd4946065561a60ad24f35 WHIRLPOOL 255684e9f24353aeda2f26fc89216aef3b34a87a74df4dc758f87da31cedce6d372d405d37e8c538b786324c6ce03da177d3429438999ecfd744009fd7bbbbe9
25
26 diff --git a/dev-python/pytz/pytz-2015.6.ebuild b/dev-python/pytz/pytz-2015.6.ebuild
27 new file mode 100644
28 index 0000000..6041a14
29 --- /dev/null
30 +++ b/dev-python/pytz/pytz-2015.6.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="World timezone definitions for Python"
43 +HOMEPAGE="http://pythonhosted.org/pytz/ https://pypi.python.org/pypi/pytz/"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
49 +IUSE=""
50 +
51 +DEPEND="
52 + dev-python/setuptools[${PYTHON_USEDEP}]
53 + >=sys-libs/timezone-data-2014i"
54 +RDEPEND="${DEPEND}"
55 +
56 +PATCHES=(
57 + # Use timezone-data zoneinfo.
58 + "${FILESDIR}"/${PN}-2009j-zoneinfo.patch
59 + # ...and do not install a copy of it.
60 + "${FILESDIR}"/${PN}-2009h-zoneinfo-noinstall.patch
61 +)
62 +
63 +python_test() {
64 + "${PYTHON}" pytz/tests/test_tzinfo.py -v || die "Tests fail with ${EPYTHON}"
65 +}