From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E73C8158090 for ; Mon, 16 May 2022 18:58:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15E31E0828; Mon, 16 May 2022 18:58:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF824E0828 for ; Mon, 16 May 2022 18:58:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4C863412D5 for ; Mon, 16 May 2022 18:58:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 78B6346D for ; Mon, 16 May 2022 18:58:16 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1652727485.2185987149866efe87dd2297d8e9f6029457d1a6.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tinycss/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/tinycss/tinycss-0.4-r1.ebuild X-VCS-Directories: dev-python/tinycss/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 2185987149866efe87dd2297d8e9f6029457d1a6 X-VCS-Branch: master Date: Mon, 16 May 2022 18:58:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: db0455a8-74d3-4c01-8586-f465682a1240 X-Archives-Hash: abef2a4c9e9f23fd4e7f87fc1d0539dc commit: 2185987149866efe87dd2297d8e9f6029457d1a6 Author: Arthur Zamarin gentoo org> AuthorDate: Mon May 16 18:46:27 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon May 16 18:58:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21859871 dev-python/tinycss: EAPI=8, PEP517 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/tinycss/tinycss-0.4-r1.ebuild | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-python/tinycss/tinycss-0.4-r1.ebuild b/dev-python/tinycss/tinycss-0.4-r1.ebuild new file mode 100644 index 000000000000..0b65a57ee7c2 --- /dev/null +++ b/dev-python/tinycss/tinycss-0.4-r1.ebuild @@ -0,0 +1,35 @@ +# 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..10} ) + +inherit distutils-r1 + +DESCRIPTION="A complete yet simple CSS parser for Python" +HOMEPAGE="https://github.com/SimonSapin/tinycss/ + https://tinycss.readthedocs.io/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" + +DOCS=( CHANGES README.rst ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs + +python_prepare_all() { + rm setup.cfg || die + distutils-r1_python_prepare_all +} + +python_test() { + export TINYCSS_SKIP_SPEEDUPS_TESTS=1 + epytest ${PN}/tests/test_*.py +}