From 944929b01e940c0e1b4fb6696d5c46c88d7c6c00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 11 Mar 2020 08:32:25 +0100 Subject: [PATCH] dev-python/cssselect2: Bump to 0.2.2, py3.{7,8}, tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/cssselect2/Manifest | 1 + dev-python/cssselect2/cssselect2-0.2.2.ebuild | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/cssselect2/cssselect2-0.2.2.ebuild diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest index 845e21f8c8cc..7bbb084f390c 100644 --- a/dev-python/cssselect2/Manifest +++ b/dev-python/cssselect2/Manifest @@ -1 +1,2 @@ DIST cssselect2-0.2.0.tar.gz 28197 BLAKE2B 447dc915ff550ee137c64096ed760e12d8da4dbd732a1b48668c2843aa90b11af89e3fe6e31d7128ec713132c7dd5a8b17ed271e0afc3a9219b5839f5e1292d7 SHA512 18069dd22892d8457865c2960630e984e791c6779b8d3a6ce4542c3ae92535a8ab23fc964e59776095a999a38ad2c40facce3b9164fef68870bb54167b6dc49b +DIST cssselect2-0.2.2.tar.gz 31764 BLAKE2B 4f85af65bc893522aa3a084998bab364b66b0305690331a5a2e5719a0dfa7c8744bc1a2615c39b58981ddb152bbdfcd10d95ef23561ef65de34f9e6c32f51619 SHA512 1f11077c6e28f52a1c370c1f3d5fa1156f74b390298323889230304ede6c23a2f2b78c63026f5d84e67518a21fc8df3484577bc77fcf19cb97a84c2a7f28d355 diff --git a/dev-python/cssselect2/cssselect2-0.2.2.ebuild b/dev-python/cssselect2/cssselect2-0.2.2.ebuild new file mode 100644 index 000000000000..01f865d548fa --- /dev/null +++ b/dev-python/cssselect2/cssselect2-0.2.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +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/Kozea/cssselect2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/tinycss2[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +src_prepare() { + # junk deps + sed -i -e '/^addopts/d' setup.cfg || die + distutils-r1_src_prepare +} -- 2.26.2