Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-dateutil/files/, dev-python/python-dateutil/
Date: Thu, 12 Oct 2017 17:16:05
Message-Id: 1507828549.e03955c4d8d725dc47afa42bbd8ca5e7a71307ed.radhermit@gentoo
1 commit: e03955c4d8d725dc47afa42bbd8ca5e7a71307ed
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 12 17:09:21 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 12 17:15:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03955c4
7
8 dev-python/python-dateutil: remove old
9
10 dev-python/python-dateutil/Manifest | 3 --
11 .../files/python-dateutil-2.4.2-timelex.patch | 13 ------
12 .../python-dateutil/python-dateutil-2.2.ebuild | 52 ----------------------
13 .../python-dateutil-2.4.2-r1.ebuild | 42 -----------------
14 .../python-dateutil/python-dateutil-2.6.0.ebuild | 38 ----------------
15 5 files changed, 148 deletions(-)
16
17 diff --git a/dev-python/python-dateutil/Manifest b/dev-python/python-dateutil/Manifest
18 index 4b91da1eab4..60208825461 100644
19 --- a/dev-python/python-dateutil/Manifest
20 +++ b/dev-python/python-dateutil/Manifest
21 @@ -1,4 +1 @@
22 -DIST python-dateutil-2.2.tar.gz 259085 SHA256 eec865307ebe7f329a6a9945c15453265a449cdaaf3710340828a1934d53e468 SHA512 cb278b8e18da3b991c6415ff59e9f3aa87cfb2e52048b3f74a9e3d183e0cc5bf71595123c644d0aea75084e653a885cbfa70c8ddd8b6a888bb13183624fcb46b WHIRLPOOL 545495d466cbea8f750b7e997699e2466131ce780ed73e18a880934a5255f759cee470b6f85a16a44f62bacaad14490e72a212c4cf6e53f0fe69b87492f9d055
23 -DIST python-dateutil-2.4.2.tar.gz 209120 SHA256 3e95445c1db500a344079a47b171c45ef18f57d188dffdb0e4165c71bea8eb3d SHA512 8e38721e6d132850f85e7808d2731285d2c12eae2a3e0cbebe05265d0837ad22d4d94b611e146028ea3d23a3e2611b281dd6224081a69dfe4b58cf3b378d7f0d WHIRLPOOL 88ddb75f52a95a6b7197b41364b80968bf2c21a3bda9c7b992726ef35ca934a66a5d8ccd773d7647f985541d87c66fa94af13600b0165707af9b73d1bff8887e
24 -DIST python-dateutil-2.6.0.tar.gz 258060 SHA256 62a2f8df3d66f878373fd0072eacf4ee52194ba302e00082828e0d263b0418d2 SHA512 1fec6dd6fc00650821fd826405414bcde79e1542a53608ebd837e924b4abc147a369214ec064adbff682fc5ff67440086f3000eaa77b274c7463c3f58686ced9 WHIRLPOOL 1cae1f1e3dfe09c3215bba031ee5a604ffe86bae7b70999320f37232ddaf5401edbb56697157b9b89316220d932faef07e7d7e6a2e68992fc17bb91bf86b24b3
25 DIST python-dateutil-2.6.1.tar.gz 241428 SHA256 891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca SHA512 f16dd29fc975629f594dd2683a525e2a86acb020bf8962558d19040b14ac6f19d4ab07a910d6bb55c9db3cc02b5472774a3a05ccc86cf624ca5e5144463646db WHIRLPOOL 963b2d15373e0d83bfb611c1bd6ac86463f5c88b4a20f42ca13e32ebf9d442994ecc3b22be09e57ed2983b20072d229623ee15aa3e4d9ba884d898723cbe0c72
26
27 diff --git a/dev-python/python-dateutil/files/python-dateutil-2.4.2-timelex.patch b/dev-python/python-dateutil/files/python-dateutil-2.4.2-timelex.patch
28 deleted file mode 100644
29 index bccec4a56dd..00000000000
30 --- a/dev-python/python-dateutil/files/python-dateutil-2.4.2-timelex.patch
31 +++ /dev/null
32 @@ -1,13 +0,0 @@
33 -diff --git dateutil/parser.py~ dateutil/parser.py
34 -index 8b6c2d28b8..75453ef49e 100644
35 ---- dateutil/parser.py~
36 -+++ dateutil/parser.py
37 -@@ -32,7 +32,7 @@ __all__ = ["parse", "parserinfo"]
38 - class _timelex(object):
39 -
40 - def __init__(self, instream):
41 -- if isinstance(instream, text_type):
42 -+ if not hasattr(instream, 'read'):
43 - instream = StringIO(instream)
44 - self.instream = instream
45 - self.wordchars = ('abcdfeghijklmnopqrstuvwxyz'
46
47 diff --git a/dev-python/python-dateutil/python-dateutil-2.2.ebuild b/dev-python/python-dateutil/python-dateutil-2.2.ebuild
48 deleted file mode 100644
49 index 010d7200f1d..00000000000
50 --- a/dev-python/python-dateutil/python-dateutil-2.2.ebuild
51 +++ /dev/null
52 @@ -1,52 +0,0 @@
53 -# Copyright 1999-2017 Gentoo Foundation
54 -# Distributed under the terms of the GNU General Public License v2
55 -
56 -EAPI=5
57 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
58 -
59 -inherit distutils-r1
60 -
61 -DESCRIPTION="Extensions to the standard Python datetime module"
62 -HOMEPAGE="http://labix.org/python-dateutil https://pypi.python.org/pypi/python-dateutil"
63 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64 -
65 -LICENSE="BSD"
66 -SLOT="0"
67 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
68 -IUSE="examples"
69 -
70 -RDEPEND="dev-python/six[${PYTHON_USEDEP}]
71 - sys-libs/timezone-data
72 - !<dev-python/python-dateutil-2.1"
73 -DEPEND="${RDEPEND}
74 - dev-python/setuptools[${PYTHON_USEDEP}]"
75 -
76 -python_prepare_all() {
77 - # Use zoneinfo in /usr/share/zoneinfo.
78 - sed -i -e "s/zoneinfo.gettz/gettz/g" test.py || die
79 -
80 - # Fix parsing of date in non-English locales.
81 - sed -e 's/subprocess.getoutput("date")/subprocess.getoutput("LC_ALL=C date")/' \
82 - -i example.py || die
83 -
84 - distutils-r1_python_prepare_all
85 -}
86 -
87 -python_test() {
88 - "${PYTHON}" test.py || die
89 -}
90 -
91 -python_install() {
92 - distutils-r1_python_install
93 -
94 - rm -f "${D}$(python_get_sitedir)/dateutil/zoneinfo"/*.tar.*
95 -}
96 -
97 -python_install_all() {
98 - distutils-r1_python_install_all
99 -
100 - if use examples; then
101 - docinto examples
102 - dodoc example.py sandbox/*.py
103 - fi
104 -}
105
106 diff --git a/dev-python/python-dateutil/python-dateutil-2.4.2-r1.ebuild b/dev-python/python-dateutil/python-dateutil-2.4.2-r1.ebuild
107 deleted file mode 100644
108 index 9be9f248eb8..00000000000
109 --- a/dev-python/python-dateutil/python-dateutil-2.4.2-r1.ebuild
110 +++ /dev/null
111 @@ -1,42 +0,0 @@
112 -# Copyright 1999-2017 Gentoo Foundation
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=5
116 -
117 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
118 -
119 -inherit distutils-r1
120 -
121 -DESCRIPTION="Extensions to the standard Python datetime module"
122 -HOMEPAGE="
123 - https://dateutil.readthedocs.org/
124 - https://pypi.python.org/pypi/python-dateutil
125 - https://github.com/dateutil/dateutil/
126 -"
127 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
128 -
129 -LICENSE="BSD"
130 -SLOT="0"
131 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
132 -IUSE=""
133 -
134 -RDEPEND="
135 - >=dev-python/six-1.5[${PYTHON_USEDEP}]
136 - sys-libs/timezone-data"
137 -DEPEND="${RDEPEND}
138 - dev-python/setuptools[${PYTHON_USEDEP}]"
139 -
140 -PATCHES=(
141 - "${FILESDIR}"/${P}-timelex.patch
142 -)
143 -
144 -_python_prepare_all() {
145 - # don't install zoneinfo tarball
146 - sed -i '/package_data=/d' setup.py || die
147 -
148 - distutils-r1_python_prepare_all
149 -}
150 -
151 -python_test() {
152 - esetup.py test
153 -}
154
155 diff --git a/dev-python/python-dateutil/python-dateutil-2.6.0.ebuild b/dev-python/python-dateutil/python-dateutil-2.6.0.ebuild
156 deleted file mode 100644
157 index 9f4ad2c27a3..00000000000
158 --- a/dev-python/python-dateutil/python-dateutil-2.6.0.ebuild
159 +++ /dev/null
160 @@ -1,38 +0,0 @@
161 -# Copyright 1999-2017 Gentoo Foundation
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI=6
165 -
166 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
167 -
168 -inherit distutils-r1
169 -
170 -DESCRIPTION="Extensions to the standard Python datetime module"
171 -HOMEPAGE="
172 - https://dateutil.readthedocs.org/
173 - https://pypi.python.org/pypi/python-dateutil
174 - https://github.com/dateutil/dateutil/
175 -"
176 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
177 -
178 -LICENSE="BSD"
179 -SLOT="0"
180 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
181 -IUSE=""
182 -
183 -RDEPEND="
184 - >=dev-python/six-1.5[${PYTHON_USEDEP}]
185 - sys-libs/timezone-data"
186 -DEPEND="${RDEPEND}
187 - dev-python/setuptools[${PYTHON_USEDEP}]"
188 -
189 -python_prepare_all() {
190 - # don't install zoneinfo tarball
191 - sed -i '/package_data=/d' setup.py || die
192 -
193 - distutils-r1_python_prepare_all
194 -}
195 -
196 -python_test() {
197 - esetup.py test
198 -}