summaryrefslogtreecommitdiff
path: root/dev-python/cssselect/cssselect-1.2.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-28 08:28:04 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-28 09:08:53 +0200
commit55743c9496cd12a1bb18f532ffe2bf99895c2860 (patch)
treef1c30a7356d23a70c63e03f743e9aa1acf549ce8 /dev-python/cssselect/cssselect-1.2.0.ebuild
parent1fb95e7e731f073ed823d75da3e2ce6e2182c237 (diff)
downloadgentoo-55743c9496cd12a1bb18f532ffe2bf99895c2860.tar.gz
gentoo-55743c9496cd12a1bb18f532ffe2bf99895c2860.tar.bz2
gentoo-55743c9496cd12a1bb18f532ffe2bf99895c2860.zip
dev-python/cssselect: Bump to 1.2.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cssselect/cssselect-1.2.0.ebuild')
-rw-r--r--dev-python/cssselect/cssselect-1.2.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/cssselect/cssselect-1.2.0.ebuild b/dev-python/cssselect/cssselect-1.2.0.ebuild
new file mode 100644
index 000000000000..4b5575cd375d
--- /dev/null
+++ b/dev-python/cssselect/cssselect-1.2.0.ebuild
@@ -0,0 +1,33 @@
+# 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_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Parse CSS3 Selectors and translate them to XPath 1.0"
+HOMEPAGE="
+ https://cssselect.readthedocs.io/en/latest/
+ https://github.com/scrapy/cssselect/
+ https://pypi.org/project/cssselect/
+"
+SRC_URI="
+ https://github.com/scrapy/cssselect/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+BDEPEND="
+ test? (
+ dev-python/lxml[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs
+distutils_enable_tests unittest