From: | "Jesus Rivero (neurogeek)" <neurogeek@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/python-dateutil: ChangeLog python-dateutil-1.4.1-r1.ebuild python-dateutil-1.4.1.ebuild |
Date: | Tue, 20 Jan 2009 13:56:32 |
Message-Id: | E1LPH5g-0000gC-Et@stork.gentoo.org |
1 | neurogeek 09/01/20 13:56:28 |
2 | |
3 | Modified: ChangeLog |
4 | Added: python-dateutil-1.4.1-r1.ebuild |
5 | Removed: python-dateutil-1.4.1.ebuild |
6 | Log: |
7 | Fixed DEPEND typo, Added setuptools to DEPEND. Removed old version |
8 | (Portage version: 2.2_rc16/cvs/Linux 2.6.18-gentoo-r3 i686) |
9 | |
10 | Revision Changes Path |
11 | 1.17 dev-python/python-dateutil/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dateutil/ChangeLog?rev=1.17&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dateutil/ChangeLog?rev=1.17&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dateutil/ChangeLog?r1=1.16&r2=1.17 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v |
20 | retrieving revision 1.16 |
21 | retrieving revision 1.17 |
22 | diff -u -r1.16 -r1.17 |
23 | --- ChangeLog 14 Jan 2009 17:39:15 -0000 1.16 |
24 | +++ ChangeLog 20 Jan 2009 13:56:28 -0000 1.17 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/python-dateutil |
27 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.16 2009/01/14 17:39:15 bicatali Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/ChangeLog,v 1.17 2009/01/20 13:56:28 neurogeek Exp $ |
30 | + |
31 | +*python-dateutil-1.4.1-r1 (20 Jan 2009) |
32 | + |
33 | + 20 Jan 2009; Jesus Rivero <neurogeek@g.o> |
34 | + -python-dateutil-1.4.1.ebuild, +python-dateutil-1.4.1-r1.ebuild: |
35 | + Fixed DEPEND typo, Added setuptools to DEPEND. Removed old version |
36 | |
37 | *python-dateutil-1.4.1 (14 Jan 2009) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: python-dateutil-1.4.1-r1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/python-dateutil/python-dateutil-1.4.1-r1.ebuild,v 1.1 2009/01/20 13:56:28 neurogeek Exp $ |
52 | |
53 | EAPI=2 |
54 | NEED_PYTHON=2.3 |
55 | inherit distutils |
56 | |
57 | DESCRIPTION="dateutil datetime math and logic library for python" |
58 | HOMEPAGE="http://labix.org/python-dateutil" |
59 | SRC_URI="http://labix.org/download/python-dateutil/${P}.tar.gz" |
60 | |
61 | LICENSE="PSF-2.3" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ia64 ~ppc ~x86" |
64 | IUSE="" |
65 | |
66 | DOCS="NEWS README" |
67 | |
68 | DEPEND=">=dev-python/setuptools-0.6_rc7-r1 |
69 | sys-libs/timezone-data" |
70 | RDEPEND="" |
71 | |
72 | PYTHON_MODNAME=dateutil |
73 | |
74 | src_prepare() { |
75 | epatch "${FILESDIR}"/${P}-locale.patch |
76 | # use zoneinfo in /usr/share/zoneinfo |
77 | sed -i -e 's/zoneinfo.gettz/gettz/g' test.py || die |
78 | } |
79 | |
80 | src_test() { |
81 | PYTHONPATH=build/lib "${python}" test.py || die |
82 | } |
83 | |
84 | src_install() { |
85 | distutils_src_install |
86 | insinto /usr/share/doc/${PF}/examples |
87 | doins example.py sandbox/*.py |
88 | rm -f "${D}"/usr/lib*/python*/site-packages/dateutil/zoneinfo/*.tar.* |
89 | } |