diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-29 00:54:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-12-29 00:54:43 +0000 |
| commit | 849b2a23e34c3bcce31eed8b4aaedeb63f6c4cd6 (patch) | |
| tree | 24140ea7f18d61c1ef5b548410f683996ea1f237 /dev-python/pyquery | |
| parent | 89bdf0bea50f19711633d2a295a6f30029102e63 (diff) | |
| download | baldeagleos-repo-849b2a23e34c3bcce31eed8b4aaedeb63f6c4cd6.tar.gz baldeagleos-repo-849b2a23e34c3bcce31eed8b4aaedeb63f6c4cd6.tar.xz baldeagleos-repo-849b2a23e34c3bcce31eed8b4aaedeb63f6c4cd6.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyquery')
| -rw-r--r-- | dev-python/pyquery/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyquery/pyquery-2.0.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pyquery/Manifest b/dev-python/pyquery/Manifest index 0eef5930be6d..2c9de0a63bb8 100644 --- a/dev-python/pyquery/Manifest +++ b/dev-python/pyquery/Manifest @@ -1 +1,2 @@ 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/pyquery-2.0.0.ebuild b/dev-python/pyquery/pyquery-2.0.0.ebuild new file mode 100644 index 000000000000..204d5a375b5e --- /dev/null +++ b/dev-python/pyquery/pyquery-2.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,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-1.2.0[${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}] + dev-python/webob[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # needs network + tests/test_pyquery.py::TestWebScrappingEncoding::test_get +) + +pkg_postinst() { + optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup4 +} |
