diff options
Diffstat (limited to 'dev-python/cssselect2')
-rw-r--r-- | dev-python/cssselect2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cssselect2/cssselect2-0.4.1-r1.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest index 0c670e84b71a..15c4813fa992 100644 --- a/dev-python/cssselect2/Manifest +++ b/dev-python/cssselect2/Manifest @@ -1,3 +1,4 @@ DIST cssselect2-0.4.1.tar.gz 32756 BLAKE2B 86915c39aa5b72ebcdba25b3ac23f59a0fb6c6109019d68e8ce8846572d9412a3cc76cdf9e8b2163605cb942183019eb9170df9a4e61476d703eaf612381a903 SHA512 feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac +EBUILD cssselect2-0.4.1-r1.ebuild 776 BLAKE2B b8aaec107bd5aef2340332503563ae364959c41105be3b76663eb6a3fa1a1b9c90138f68eae07d730e2f2d236c217d495392bc8b4132787470200204d1ec8b04 SHA512 7e7df0d96e27161517453e58d753ec0116e13e7a66b80ae998de08cd041bf6d6a9523b251c83f589c27c7cf2a0314de1067a7adf48860e457a3d791c21b771fc EBUILD cssselect2-0.4.1.ebuild 735 BLAKE2B 9a521bf8a5160ea37b80f00f92612d8d251d5c3c345f661b5e33cbfccbe0a08c2db0aa5e3981d7b60c3e76057776f218609d1b83ea4a20559d2f9b32c30a2964 SHA512 8f80f34ab6b3940f703ab4c39225f13d73472ea2823aa5788180e6f725a70f686d6042054eb83f7667e971f0abbbbdb5047fdec0a6bbb5bd3c3db0d3f863c846 MISC metadata.xml 394 BLAKE2B 23a6ce3791a44c2a50b0a1853f1860ec76c15ca2a437e8406ef8459941921f8f92905933b59841ab9e3ef429a40435e2e480de38311f9bb078af747105d6eb41 SHA512 1c7692aebe1ec93fddf5e536af98a4be44c6610f8bfaff1f58ace0562916c24c5bc67db8455c1cc75eba3296b34a4fce3e72dd770abe4f51c1e83798ee9887eb diff --git a/dev-python/cssselect2/cssselect2-0.4.1-r1.ebuild b/dev-python/cssselect2/cssselect2-0.4.1-r1.ebuild new file mode 100644 index 000000000000..26623092910e --- /dev/null +++ b/dev-python/cssselect2/cssselect2-0.4.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE="https://cssselect2.readthedocs.io/en/latest/ + https://pypi.org/project/cssselect2/ + https://github.com/Kozea/cssselect2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/tinycss2[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + sed -i -e '2,3s:flit:&_core:' pyproject.toml || die + distutils-r1_src_prepare +} |