summaryrefslogtreecommitdiff
path: root/dev-python/cssselect/cssselect-1.3.0.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-03-11 07:35:11 +0100
committerMichał Górny <mgorny@gentoo.org>2025-03-11 09:47:33 +0100
commit2277c29f1ed92d6926faa2c691e72fea425e98e7 (patch)
tree12d1a5999aa579a5f5c0f8275d3cd180ab245329 /dev-python/cssselect/cssselect-1.3.0.ebuild
parent4d638b632a7ac42b14345f709e01603c0ac6a008 (diff)
downloadgentoo-2277c29f1ed92d6926faa2c691e72fea425e98e7.tar.gz
gentoo-2277c29f1ed92d6926faa2c691e72fea425e98e7.tar.bz2
gentoo-2277c29f1ed92d6926faa2c691e72fea425e98e7.zip
dev-python/cssselect: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cssselect/cssselect-1.3.0.ebuild')
-rw-r--r--dev-python/cssselect/cssselect-1.3.0.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/cssselect/cssselect-1.3.0.ebuild b/dev-python/cssselect/cssselect-1.3.0.ebuild
new file mode 100644
index 000000000000..1464ea5ac51c
--- /dev/null
+++ b/dev-python/cssselect/cssselect-1.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
+
+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 ~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