1 |
commit: 9baa0ea6ea0770f0dfc42595f43b814641b1c0dc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 27 18:47:48 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 18:47:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9baa0ea6 |
7 |
|
8 |
dev-python/tinycss2: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tinycss2/tinycss2-1.1.1.ebuild | 39 ------------------------------- |
13 |
1 file changed, 39 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/tinycss2/tinycss2-1.1.1.ebuild b/dev-python/tinycss2/tinycss2-1.1.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 35f158990430..000000000000 |
18 |
--- a/dev-python/tinycss2/tinycss2-1.1.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,39 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
27 |
-PYTHON_COMPAT=( python3_{8..10} ) |
28 |
- |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-CSS_TEST_COMMIT_ID=c5749e51dda3868b3e8062e65a36584c2fec8059 |
32 |
- |
33 |
-DESCRIPTION="A complete yet simple CSS parser for Python" |
34 |
-HOMEPAGE="https://github.com/Kozea/tinycss2/ |
35 |
- https://pypi.org/project/tinycss2/" |
36 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
37 |
-SRC_URI=" |
38 |
- https://github.com/Kozea/tinycss2/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz |
39 |
- test? ( |
40 |
- https://github.com/SimonSapin/css-parsing-tests/archive/${CSS_TEST_COMMIT_ID}.tar.gz |
41 |
- -> css-parsing-tests-${CSS_TEST_COMMIT_ID}.gh.tar.gz |
42 |
- )" |
43 |
- |
44 |
-LICENSE="BSD" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" |
47 |
- |
48 |
-RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]" |
49 |
- |
50 |
-distutils_enable_tests pytest |
51 |
- |
52 |
-src_prepare() { |
53 |
- sed -i -e '/addopts/d' pyproject.toml || die |
54 |
- if use test; then |
55 |
- mv "${WORKDIR}/css-parsing-tests-${CSS_TEST_COMMIT_ID}"/* \ |
56 |
- tests/css-parsing-tests/ || die |
57 |
- fi |
58 |
- distutils-r1_src_prepare |
59 |
-} |