Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/css-parser/
Date: Thu, 24 Feb 2022 22:42:23
Message-Id: 1645742537.e5746469924477ce978959619f84e6f29712dca8.mgorny@gentoo
1 commit: e5746469924477ce978959619f84e6f29712dca8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 22:40:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 22:42:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5746469
7
8 dev-python/css-parser: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/css-parser/css-parser-1.0.7-r1.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/css-parser/css-parser-1.0.7-r1.ebuild b/dev-python/css-parser/css-parser-1.0.7-r1.ebuild
16 new file mode 100644
17 index 000000000000..717719f4a345
18 --- /dev/null
19 +++ b/dev-python/css-parser/css-parser-1.0.7-r1.ebuild
20 @@ -0,0 +1,23 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A CSS Cascading Style Sheets library (fork of cssutils)"
32 +HOMEPAGE="https://pypi.org/project/css-parser/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="LGPL-2.1+"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
38 +
39 +BDEPEND="
40 + test? ( dev-python/chardet[${PYTHON_USEDEP}] )
41 +"
42 +
43 +distutils_enable_tests unittest