1 |
commit: 87d75445ce9d731211b9b2a972361acdc9f1dec6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 11:09:26 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 13:05:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d75445 |
7 |
|
8 |
dev-python/rencode: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rencode/rencode-1.0.6-r2.ebuild | 35 ------------------------------ |
13 |
1 file changed, 35 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/rencode/rencode-1.0.6-r2.ebuild b/dev-python/rencode/rencode-1.0.6-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 7a0faefed188..000000000000 |
18 |
--- a/dev-python/rencode/rencode-1.0.6-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,35 +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 |
-PYTHON_COMPAT=( python3_{8..10} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="similar to bencode from the BitTorrent project" |
31 |
-HOMEPAGE="https://github.com/aresch/rencode" |
32 |
-SRC_URI="https://github.com/aresch/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-3+" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux" |
37 |
- |
38 |
-BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
39 |
- |
40 |
-distutils_enable_tests pytest |
41 |
- |
42 |
-PATCHES=( |
43 |
- # https://github.com/aresch/rencode/commit/16e61e1ff4294bddb7c881536d3d454355c78969 |
44 |
- "${FILESDIR}/${P}-drop-wheel-dependency.patch" |
45 |
- # bug #812437 |
46 |
- "${FILESDIR}/${P}-fix-CVE-2021-40839.patch" |
47 |
-) |
48 |
- |
49 |
-python_test() { |
50 |
- # The C extension ("_rencode") can't be imported from "${S}/rencode" |
51 |
- # so we need to cd somewhere else to make sure "rencode" is imported |
52 |
- # from ${BUILD_DIR}/lib (thanks to PYTHONPATH). |
53 |
- cd "${T}" || die |
54 |
- epytest "${S}" |
55 |
-} |