From: | "Dirkjan Ochtman (djc)" <djc@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pytz: ChangeLog pytz-2011n.ebuild |
Date: | Thu, 01 Dec 2011 14:33:04 |
Message-Id: | 20111201143248.D41DC2004B@flycatcher.gentoo.org |
1 | djc 11/12/01 14:32:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pytz-2011n.ebuild |
5 | Log: |
6 | Version bump pytz to 2011n. |
7 | |
8 | (Portage version: 2.1.10.39/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.117 dev-python/pytz/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytz/ChangeLog?rev=1.117&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytz/ChangeLog?rev=1.117&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytz/ChangeLog?r1=1.116&r2=1.117 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v |
20 | retrieving revision 1.116 |
21 | retrieving revision 1.117 |
22 | diff -u -r1.116 -r1.117 |
23 | --- ChangeLog 7 Oct 2011 12:10:51 -0000 1.116 |
24 | +++ ChangeLog 1 Dec 2011 14:32:48 -0000 1.117 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/pytz |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.116 2011/10/07 12:10:51 djc Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/ChangeLog,v 1.117 2011/12/01 14:32:48 djc Exp $ |
30 | + |
31 | +*pytz-2011n (01 Dec 2011) |
32 | + |
33 | + 01 Dec 2011; Dirkjan Ochtman <djc@g.o> +pytz-2011n.ebuild: |
34 | + Version bump to 2011n. |
35 | |
36 | *pytz-2011k (07 Oct 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/pytz/pytz-2011n.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytz/pytz-2011n.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pytz/pytz-2011n.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pytz-2011n.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pytz/pytz-2011n.ebuild,v 1.1 2011/12/01 14:32:48 djc Exp $ |
51 | |
52 | EAPI="3" |
53 | SUPPORT_PYTHON_ABIS="1" |
54 | |
55 | inherit distutils eutils |
56 | |
57 | DESCRIPTION="World timezone definitions for Python" |
58 | HOMEPAGE="http://pypi.python.org/pypi/pytz http://pytz.sourceforge.net/" |
59 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" |
60 | |
61 | LICENSE="MIT" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
64 | IUSE="" |
65 | |
66 | DEPEND="dev-python/setuptools |
67 | >=sys-libs/timezone-data-${PV}" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | DOCS="CHANGES.txt" |
71 | |
72 | src_prepare() { |
73 | distutils_src_prepare |
74 | |
75 | # Use timezone-data zoneinfo. |
76 | epatch "${FILESDIR}/${PN}-2009j-zoneinfo.patch" |
77 | } |
78 | |
79 | src_test() { |
80 | testing() { |
81 | PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" pytz/tests/test_tzinfo.py |
82 | } |
83 | python_execute_function testing |
84 | } |
85 | |
86 | src_install() { |
87 | distutils_src_install |
88 | |
89 | delete_zoneinfo() { |
90 | rm -fr "${ED}$(python_get_sitedir)/pytz/zoneinfo" |
91 | } |
92 | python_execute_function -q delete_zoneinfo |
93 | } |