diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-16 21:25:41 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-16 21:25:41 +0100 |
commit | 99ba4c14f310dfae3e8f42e102babcc31a3455c6 (patch) | |
tree | 1cda09409b9158cf72beab90c3174b94bea8052e /dev-python/pyquery | |
parent | dev-python/pydocstyle: Remove old (diff) | |
download | gentoo-99ba4c14f310dfae3e8f42e102babcc31a3455c6.tar.gz gentoo-99ba4c14f310dfae3e8f42e102babcc31a3455c6.tar.bz2 gentoo-99ba4c14f310dfae3e8f42e102babcc31a3455c6.zip |
dev-python/pyquery: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyquery')
-rw-r--r-- | dev-python/pyquery/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch | 20 | ||||
-rw-r--r-- | dev-python/pyquery/files/pyquery-1.4.1-tests-pypy.patch | 20 | ||||
-rw-r--r-- | dev-python/pyquery/pyquery-1.4.3-r1.ebuild | 44 |
4 files changed, 0 insertions, 85 deletions
diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest index 2c9de0a63bb8..a6fa9d25b0f1 100644 --- a/dev-python/pyquery/Manifest +++ b/dev-python/pyquery/Manifest @@ -1,2 +1 @@ -DIST pyquery-1.4.3.tar.gz 47448 BLAKE2B 32451dfc8f8160207b4be12006ceba3098b8cb344bfa3e80ccf75f8cfca9542614ae78b9bfec773139cbbf12434201f92f8b4738e7d9e6241b3addfeb1bc8dda SHA512 cb61326e38f78763ca15de09e3a56dad776b3d4831b54eabf295db0f9af8bf04599642c73f5db3e3172b86d7b66ba2ef626c8cba2dfb458af6ac432d15ea7cba DIST pyquery-2.0.0.tar.gz 45210 BLAKE2B 2c1d052d310541b36f526e72906681ea03e0d55be16202c98ab5d5b9f5fc408b7612a353100937381639a03f8871b8bf691c6b0d5ad09dec8cc6f2e2ced7944d SHA512 316a479acd23e371b6e70550681527b15203e7ab62f4722375335180f13d9b48d9170abf308bb26b6180d954de4f8dfea5f90426cb820c5e888cc56f8a99ba33 diff --git a/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch b/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch deleted file mode 100644 index 37664689c0fd..000000000000 --- a/dev-python/pyquery/files/pyquery-1.4.1-network-tests.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/tests/test_pyquery.py b/tests/test_pyquery.py -index ca38a83..d29b27b 100644 ---- a/tests/test_pyquery.py -+++ b/tests/test_pyquery.py -@@ -6,6 +6,7 @@ - import os - import sys - import time -+import unittest - from lxml import etree - from pyquery.pyquery import PyQuery as pq, no_default - from pyquery.openers import HAS_REQUEST -@@ -889,6 +890,7 @@ class TestWebScrapping(TestCase): - - class TestWebScrappingEncoding(TestCase): - -+ @unittest.skip("needs internet") - def test_get(self): - d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница', - method='get') diff --git a/dev-python/pyquery/files/pyquery-1.4.1-tests-pypy.patch b/dev-python/pyquery/files/pyquery-1.4.1-tests-pypy.patch deleted file mode 100644 index f5f160a138de..000000000000 --- a/dev-python/pyquery/files/pyquery-1.4.1-tests-pypy.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/tests/test_pyquery.py b/tests/test_pyquery.py -index d29b27b..e6a9230 100644 ---- a/tests/test_pyquery.py -+++ b/tests/test_pyquery.py -@@ -7,6 +7,7 @@ import os - import sys - import time - import unittest -+import platform - from lxml import etree - from pyquery.pyquery import PyQuery as pq, no_default - from pyquery.openers import HAS_REQUEST -@@ -33,6 +34,7 @@ path_to_invalid_file = os.path.join(dirname, 'invalid.xml') - - class TestUnicode(TestCase): - -+ @unittest.skipIf(sys.hexversion > 0x3000000 and 'pypy' in platform.python_implementation().lower(), "broken on pypy3") - def test_unicode(self): - xml = pq(u"<html><p>é</p></html>") - self.assertEqual(type(xml.html()), text_type) diff --git a/dev-python/pyquery/pyquery-1.4.3-r1.ebuild b/dev-python/pyquery/pyquery-1.4.3-r1.ebuild deleted file mode 100644 index cbfb507ab55b..000000000000 --- a/dev-python/pyquery/pyquery-1.4.3-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="A jQuery-like library for python" -HOMEPAGE=" - https://github.com/gawel/pyquery/ - https://pypi.org/project/pyquery/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - >=dev-python/lxml-2.1[${PYTHON_USEDEP}] - >dev-python/cssselect-0.7.9[${PYTHON_USEDEP}] - >=dev-python/webob-1.1.9[${PYTHON_USEDEP}] -" -DEPEND=" - test? ( - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/pyquery-1.4.1-network-tests.patch" - "${FILESDIR}/pyquery-1.4.1-tests-pypy.patch" -) - -distutils_enable_tests unittest - -pkg_postinst() { - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup4 -} |