Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/files/, dev-python/pyquery/
Date: Sat, 28 Mar 2020 18:26:08
Message-Id: 1585418986.41fa6c1dd76f0e4fdc6e42e50d5bce93b04f01f2.mgorny@gentoo
1 commit: 41fa6c1dd76f0e4fdc6e42e50d5bce93b04f01f2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 18:09:46 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 18:09:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fa6c1d
7
8 dev-python/pyquery: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyquery/Manifest | 2 -
13 .../files/pyquery-1.4.0-network-tests.patch | 22 -----------
14 dev-python/pyquery/pyquery-1.2.13-r1.ebuild | 46 ----------------------
15 dev-python/pyquery/pyquery-1.2.13.ebuild | 46 ----------------------
16 dev-python/pyquery/pyquery-1.4.0.ebuild | 42 --------------------
17 5 files changed, 158 deletions(-)
18
19 diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest
20 index 49db60200e9..b4cd5f54f22 100644
21 --- a/dev-python/pyquery/Manifest
22 +++ b/dev-python/pyquery/Manifest
23 @@ -1,3 +1 @@
24 -DIST pyquery-1.2.13.tar.gz 44032 BLAKE2B df257c6116b3f8804627a0b4a6556445c644410acdf008fe9afd08136a0a7f47d66b99071cce61a1569853ec9c3c38d20ca66aec0950532e94949b36d4814c3e SHA512 39a2bfe6f1eaefb6d1a78f73e5bdb4d12a9e223b26f6aff0f979ceaa68005ab08e41bdf11fe808489d22e0506e558621982dc59fa2164cd1e3d8168b0ef8ceb6
25 -DIST pyquery-1.4.0.tar.gz 45215 BLAKE2B cb748c09524f6cc6b22c9712370da754495c31b159a44f02e9b5f00e4e94295d7259d224e63066297e6efd74f0b43a508a56d1df4f4150727cd261b959402e9a SHA512 523bc058fc93332b13840a7249bce5a449b0029f6434043a739a2f24abdd89efb314da8795f1b2be2d7e4464a8e4bdf6b061d768b895d0dd1630f44ee341f37f
26 DIST pyquery-1.4.1.tar.gz 47983 BLAKE2B eb8d0ca59122734a4c715c33f40fd0b5fcc8edcabe9e41649ddf332feb1df603f8527a668aa7b9d78974b3d049e774355296644abd9b4d426d96e6e3c7a74065 SHA512 e2bfbbf51f99a408e9696a2b9c15f8875813847a10b5bd93c4c7a6886ac1b3ae6c7883ec4fb64e9bccab2127617843961e181044fe927f3c80c8ac363ed86141
27
28 diff --git a/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch b/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
29 deleted file mode 100644
30 index 337728794bb..00000000000
31 --- a/dev-python/pyquery/files/pyquery-1.4.0-network-tests.patch
32 +++ /dev/null
33 @@ -1,22 +0,0 @@
34 -Disable test that requires a network connection.
35 -
36 ---- a/tests/test_pyquery.py
37 -+++ b/tests/test_pyquery.py
38 -@@ -613,10 +613,10 @@
39 - self.s.shutdown()
40 -
41 -
42 --class TestWebScrappingEncoding(TestCase):
43 --
44 -- def test_get(self):
45 -- d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
46 -- method='get')
47 -- print(d)
48 -- self.assertEqual(d('#pt-login').text(), u'Войти')
49 -+#class TestWebScrappingEncoding(TestCase):
50 -+#
51 -+# def test_get(self):
52 -+# d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
53 -+# method='get')
54 -+# print(d)
55 -+# self.assertEqual(d('#pt-login').text(), u'Войти')
56
57 diff --git a/dev-python/pyquery/pyquery-1.2.13-r1.ebuild b/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
58 deleted file mode 100644
59 index 6bb67c3ab83..00000000000
60 --- a/dev-python/pyquery/pyquery-1.2.13-r1.ebuild
61 +++ /dev/null
62 @@ -1,46 +0,0 @@
63 -# Copyright 1999-2020 Gentoo Authors
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=7
67 -
68 -PYTHON_COMPAT=( python2_7 python3_{6,7} )
69 -
70 -inherit distutils-r1 eutils
71 -
72 -DESCRIPTION="A jQuery-like library for python"
73 -HOMEPAGE="https://github.com/gawel/pyquery"
74 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
75 -
76 -LICENSE="BSD"
77 -SLOT="0"
78 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sparc ~x86"
79 -IUSE="test"
80 -RESTRICT="!test? ( test )"
81 -
82 -RDEPEND="
83 - >=dev-python/lxml-2.1[${PYTHON_USEDEP}]
84 - >dev-python/cssselect-0.7.9[${PYTHON_USEDEP}]
85 - >=dev-python/webob-1.1.9[${PYTHON_USEDEP}]"
86 -DEPEND="
87 - dev-python/setuptools[${PYTHON_USEDEP}]
88 - test? ( ${RDEPEND}
89 - dev-python/beautifulsoup[${PYTHON_USEDEP}]
90 - dev-python/requests[${PYTHON_USEDEP}]
91 - dev-python/nose[${PYTHON_USEDEP}]
92 - dev-python/webtest[${PYTHON_USEDEP}]
93 - $(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') )"
94 -
95 -python_prepare_all() {
96 - # Disable tests needing a network connection
97 - sed -i -e "s/HAS_REQUEST = True/HAS_REQUEST = False/" tests/test_pyquery.py || die
98 - distutils-r1_python_prepare_all
99 -}
100 -
101 -python_test() {
102 - # The suite, it appears, requires this hard setting of PYTHONPATH!
103 - PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}"
104 -}
105 -
106 -pkg_postinst() {
107 - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
108 -}
109
110 diff --git a/dev-python/pyquery/pyquery-1.2.13.ebuild b/dev-python/pyquery/pyquery-1.2.13.ebuild
111 deleted file mode 100644
112 index bc7b1a1f0ea..00000000000
113 --- a/dev-python/pyquery/pyquery-1.2.13.ebuild
114 +++ /dev/null
115 @@ -1,46 +0,0 @@
116 -# Copyright 1999-2020 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=5
120 -
121 -PYTHON_COMPAT=( python{2_7,3_6} )
122 -
123 -inherit distutils-r1 eutils
124 -
125 -DESCRIPTION="A jQuery-like library for python"
126 -HOMEPAGE="https://github.com/gawel/pyquery"
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 ppc64 s390 sparc x86"
132 -IUSE="test"
133 -RESTRICT="!test? ( test )"
134 -
135 -RDEPEND="
136 - >=dev-python/lxml-2.1[${PYTHON_USEDEP}]
137 - >dev-python/cssselect-0.7.9[${PYTHON_USEDEP}]
138 - >=dev-python/webob-1.1.9[${PYTHON_USEDEP}]"
139 -DEPEND="
140 - dev-python/setuptools[${PYTHON_USEDEP}]
141 - test? ( ${RDEPEND}
142 - dev-python/beautifulsoup[${PYTHON_USEDEP}]
143 - dev-python/requests[${PYTHON_USEDEP}]
144 - dev-python/nose[${PYTHON_USEDEP}]
145 - dev-python/webtest[${PYTHON_USEDEP}]
146 - $(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') )"
147 -
148 -python_prepare_all() {
149 - # Disable tests needing a network connection
150 - sed -i -e "s/HAS_REQUEST = True/HAS_REQUEST = False/" tests/test_pyquery.py || die
151 - distutils-r1_python_prepare_all
152 -}
153 -
154 -python_test() {
155 - # The suite, it appears, requires this hard setting of PYTHONPATH!
156 - PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}"
157 -}
158 -
159 -pkg_postinst() {
160 - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
161 -}
162
163 diff --git a/dev-python/pyquery/pyquery-1.4.0.ebuild b/dev-python/pyquery/pyquery-1.4.0.ebuild
164 deleted file mode 100644
165 index 38283e43fea..00000000000
166 --- a/dev-python/pyquery/pyquery-1.4.0.ebuild
167 +++ /dev/null
168 @@ -1,42 +0,0 @@
169 -# Copyright 1999-2020 Gentoo Authors
170 -# Distributed under the terms of the GNU General Public License v2
171 -
172 -EAPI=7
173 -
174 -PYTHON_COMPAT=( python2_7 python3_{6,7} )
175 -
176 -inherit distutils-r1 eutils
177 -
178 -DESCRIPTION="A jQuery-like library for python"
179 -HOMEPAGE="https://github.com/gawel/pyquery"
180 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
181 -
182 -LICENSE="BSD"
183 -SLOT="0"
184 -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ppc64 s390 sparc x86"
185 -IUSE="test"
186 -RESTRICT="!test? ( test )"
187 -
188 -RDEPEND="
189 - >=dev-python/lxml-2.1[${PYTHON_USEDEP}]
190 - >dev-python/cssselect-0.7.9[${PYTHON_USEDEP}]
191 - >=dev-python/webob-1.1.9[${PYTHON_USEDEP}]"
192 -DEPEND="
193 - dev-python/setuptools[${PYTHON_USEDEP}]
194 - test? ( ${RDEPEND}
195 - dev-python/beautifulsoup[${PYTHON_USEDEP}]
196 - dev-python/requests[${PYTHON_USEDEP}]
197 - dev-python/nose[${PYTHON_USEDEP}]
198 - dev-python/webtest[${PYTHON_USEDEP}]
199 - $(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') )"
200 -
201 -PATCHES=( "${FILESDIR}/${P}-network-tests.patch" )
202 -
203 -python_test() {
204 - # The suite, it appears, requires this hard setting of PYTHONPATH!
205 - PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}"
206 -}
207 -
208 -pkg_postinst() {
209 - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
210 -}