diff options
| author | Michał Górny <mgorny@gentoo.org> | 2020-09-26 18:17:35 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2020-09-26 18:21:19 +0200 |
| commit | 5d1dd1cb1a962b769baa6b8437924b75c7c06cf9 (patch) | |
| tree | 1ac04d3725106a4b58fbec3fbc74667f69b85ff3 /dev-python/cssselect/cssselect-1.1.0-r1.ebuild | |
| parent | b6bfe47f936ad09a528beb307b63a72b6ffcc824 (diff) | |
| download | gentoo-5d1dd1cb1a962b769baa6b8437924b75c7c06cf9.tar.gz gentoo-5d1dd1cb1a962b769baa6b8437924b75c7c06cf9.tar.bz2 gentoo-5d1dd1cb1a962b769baa6b8437924b75c7c06cf9.zip | |
dev-python/cssselect: Remove py2.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cssselect/cssselect-1.1.0-r1.ebuild')
| -rw-r--r-- | dev-python/cssselect/cssselect-1.1.0-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/cssselect/cssselect-1.1.0-r1.ebuild b/dev-python/cssselect/cssselect-1.1.0-r1.ebuild new file mode 100644 index 000000000000..9888e40d1b39 --- /dev/null +++ b/dev-python/cssselect/cssselect-1.1.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) + +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 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 |
