1 |
commit: 99b6cc8608af8a66f8ac3610c77614d30c80c4e0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 18:26:47 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 21:30:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b6cc86 |
7 |
|
8 |
dev-python/feedparser: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/feedparser/feedparser-5.2.1.ebuild | 43 --------------------------- |
13 |
1 file changed, 43 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/feedparser/feedparser-5.2.1.ebuild b/dev-python/feedparser/feedparser-5.2.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 96ba7d59bf0..00000000000 |
18 |
--- a/dev-python/feedparser/feedparser-5.2.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,43 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{7,8} pypy3 ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Parse RSS and Atom feeds in Python" |
31 |
-HOMEPAGE="https://github.com/kurtmckee/feedparser https://pypi.org/project/feedparser/" |
32 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-# sgmllib is licensed under PSF-2. |
35 |
-LICENSE="BSD-2 PSF-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" |
38 |
-IUSE="" |
39 |
- |
40 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
41 |
-RDEPEND="" |
42 |
- |
43 |
-# Tests have issues with chardet installed, and are just kind of buggy. |
44 |
-RESTRICT="test" |
45 |
- |
46 |
-PATCHES=( |
47 |
- "${FILESDIR}/${P}-sgmllib.patch" |
48 |
-) |
49 |
- |
50 |
-python_prepare_all() { |
51 |
- mv feedparser/sgmllib3.py feedparser/_feedparser_sgmllib.py || die |
52 |
- distutils-r1_python_prepare_all |
53 |
-} |
54 |
- |
55 |
-python_test() { |
56 |
- cp feedparser/feedparsertest.py "${BUILD_DIR}" || die |
57 |
- ln -s "${S}/feedparser/tests" "${BUILD_DIR}/tests" || die |
58 |
- cd "${BUILD_DIR}" || die |
59 |
- if [[ ${EPYTHON} == python3* ]]; then |
60 |
- 2to3 --no-diffs -w -n feedparsertest.py || die |
61 |
- fi |
62 |
- "${PYTHON}" feedparsertest.py || die "Testing failed with ${EPYTHON}" |
63 |
-} |