summaryrefslogtreecommitdiff
path: root/dev-python/cssselect/cssselect-1.1.0.ebuild
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-26 18:08:55 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-26 18:18:16 -0800
commit2b317ae5ab0495b3ce1a3a9a8ffa987e25df5729 (patch)
treed5489c5bf580b527553f36c1264407dc321dd53a /dev-python/cssselect/cssselect-1.1.0.ebuild
parentc5d5911800933ea32953fd86b24b66263d378103 (diff)
downloadgentoo-2b317ae5ab0495b3ce1a3a9a8ffa987e25df5729.tar.gz
gentoo-2b317ae5ab0495b3ce1a3a9a8ffa987e25df5729.tar.bz2
gentoo-2b317ae5ab0495b3ce1a3a9a8ffa987e25df5729.zip
dev-python/cssselect-1.1.0: bump, add py38, EAPI=7
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/cssselect/cssselect-1.1.0.ebuild')
-rw-r--r--dev-python/cssselect/cssselect-1.1.0.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/cssselect/cssselect-1.1.0.ebuild b/dev-python/cssselect/cssselect-1.1.0.ebuild
new file mode 100644
index 000000000000..52b8fd4819d8
--- /dev/null
+++ b/dev-python/cssselect/cssselect-1.1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="parses CSS3 Selectors and translates them to XPath 1.0"
+HOMEPAGE="https://cssselect.readthedocs.io/en/latest/
+ https://pypi.org/project/cssselect/
+ https://github.com/scrapy/cssselect"
+SRC_URI="https://github.com/scrapy/cssselect/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
+
+distutils_enable_sphinx docs
+distutils_enable_tests unittest