From f516638b7fe9592837389826a6152a7e1b251c54 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 30 May 2020 11:44:06 +0100 Subject: gentoo resync : 30.05.2020 --- dev-python/pyquery/Manifest | 2 +- dev-python/pyquery/pyquery-1.4.1-r1.ebuild | 45 ++++++++++++++++++++++++++++ dev-python/pyquery/pyquery-1.4.1.ebuild | 47 ------------------------------ 3 files changed, 46 insertions(+), 48 deletions(-) create mode 100644 dev-python/pyquery/pyquery-1.4.1-r1.ebuild delete mode 100644 dev-python/pyquery/pyquery-1.4.1.ebuild (limited to 'dev-python/pyquery') diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest index 5fec21e3b81d..0422b894b3dc 100644 --- a/dev-python/pyquery/Manifest +++ b/dev-python/pyquery/Manifest @@ -1,5 +1,5 @@ AUX pyquery-1.4.1-network-tests.patch 613 BLAKE2B d9e9f2e11c2183f6759a90e35d60a96a3522790743da1d3ec21ad8006e40d98753fb90c14c14c705ab781b08143c52ecf04722d25928f3abe44ebabb59d04342 SHA512 e6ba986a24bf1adf9e1d6c5f4d59fc28a5a613062aa691f84d760c82beeb77d9198a655795e2701dec05184c4fef377cb4bb6f5cc75f49d2ecf798770cb8f86a AUX pyquery-1.4.1-tests-pypy.patch 715 BLAKE2B 9f0ef9cf79cddbd90fb6cac1d6297c98f495f5e258b78f4dbac92c4ce3b26e302614a424bad25b9cab2f6a08f8c8e07525d57a6c1ccfd1c4e51893768704edfa SHA512 ba78b8db4c934598de0aeb37ba76e3eda96b123ebd6a85f458dcd8e8a8d13a37935989dcdb9a282748b188267137f85fe6ad3dfa2c0670f77e76ccae47c819ca DIST pyquery-1.4.1.tar.gz 47983 BLAKE2B eb8d0ca59122734a4c715c33f40fd0b5fcc8edcabe9e41649ddf332feb1df603f8527a668aa7b9d78974b3d049e774355296644abd9b4d426d96e6e3c7a74065 SHA512 e2bfbbf51f99a408e9696a2b9c15f8875813847a10b5bd93c4c7a6886ac1b3ae6c7883ec4fb64e9bccab2127617843961e181044fe927f3c80c8ac363ed86141 -EBUILD pyquery-1.4.1.ebuild 1285 BLAKE2B d76e1677cd25d289eee7dfefb6df0d17e6e1d2624ac1f89b0c04453b39991b0e200efa89cab641fcd8c05c69dfc622c66756410e844ed23eb56f07e26bee91dc SHA512 564ab6b6bfe641fd23e06ac12a6b3a3fafd09a1ca6c1ae83f8b756fa2f113f11adbc2acb324e3e1aee8b5d15b45d31ed3799e948cae3bc664cdb3d6509966ccc +EBUILD pyquery-1.4.1-r1.ebuild 1170 BLAKE2B 177f03a22956d3ebe75f00caeaea31e8b96a36469711a610dcce3d1fac67ed2fb9dd26b6ea71285a2f20f5dd452a8f7398f9d1713bbe659f37931c49baa36d96 SHA512 b8ea4340a27983d5f6e82b8c692a5b1af76d039fd0fe7d26137dffaf69ed36c6af991601c02ea18e01606008fcebc65acecc193c5e327659e3849526a9b074f4 MISC metadata.xml 375 BLAKE2B 6b09c68dc28585cedb0d7109e174b26cdd2ca11c3e8413550f3032a7b2cd11c7745cafc530d7e18692fab76c6c6717e6ba2d92111e2e1df0cae8be73a3e833bd SHA512 ebed84e50582171d8a99f7ee1031553a6afc558f5aa6914f2aa5eacccc7efd6c87b284eec803dd81fef3dd91426fd28f93ae21f6cab1e74c9e4541df3904956f diff --git a/dev-python/pyquery/pyquery-1.4.1-r1.ebuild b/dev-python/pyquery/pyquery-1.4.1-r1.ebuild new file mode 100644 index 000000000000..86bf2c88a3db --- /dev/null +++ b/dev-python/pyquery/pyquery-1.4.1-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 eutils + +DESCRIPTION="A jQuery-like library for python" +HOMEPAGE="https://github.com/gawel/pyquery" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc64 s390 sparc x86" +IUSE="test" + +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? ( ${RDEPEND} + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + )" + +RESTRICT+=" !test? ( test )" + +PATCHES=( + "${FILESDIR}/pyquery-1.4.1-network-tests.patch" + "${FILESDIR}/pyquery-1.4.1-tests-pypy.patch" +) + +python_test() { + # The suite, it appears, requires this hard setting of PYTHONPATH! + PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}" +} + +pkg_postinst() { + optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup +} diff --git a/dev-python/pyquery/pyquery-1.4.1.ebuild b/dev-python/pyquery/pyquery-1.4.1.ebuild deleted file mode 100644 index 492ec9f7550a..000000000000 --- a/dev-python/pyquery/pyquery-1.4.1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) - -inherit distutils-r1 eutils - -DESCRIPTION="A jQuery-like library for python" -HOMEPAGE="https://github.com/gawel/pyquery" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc64 s390 sparc x86" -IUSE="test" - -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=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - dev-python/beautifulsoup[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - dev-python/webtest[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/restkit[${PYTHON_USEDEP}]' 'python2_7') - )" - -RESTRICT+=" !test? ( test )" - -PATCHES=( - "${FILESDIR}/pyquery-1.4.1-network-tests.patch" - "${FILESDIR}/pyquery-1.4.1-tests-pypy.patch" -) - -python_test() { - # The suite, it appears, requires this hard setting of PYTHONPATH! - PYTHONPATH=. nosetests || die "Tests fail with ${EPYTHON}" -} - -pkg_postinst() { - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup -} -- cgit v1.2.3