1 |
commit: b847c13e7c9d0a2ec1d93e80fb15490b2070f8fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 14:05:29 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 14:05:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b847c13e |
7 |
|
8 |
dev-python/twython: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/twython/twython-3.9.1.ebuild | 37 --------------------------------- |
13 |
1 file changed, 37 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/twython/twython-3.9.1.ebuild b/dev-python/twython/twython-3.9.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 3562cdc0d51a..000000000000 |
18 |
--- a/dev-python/twython/twython-3.9.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,37 +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 |
-inherit distutils-r1 |
28 |
- |
29 |
-DESCRIPTION="An easy way to access Twitter data with Python" |
30 |
-HOMEPAGE="https://github.com/ryanmcgrath/twython" |
31 |
-SRC_URI=" |
32 |
- https://github.com/ryanmcgrath/twython/archive/v${PV}.tar.gz |
33 |
- -> ${P}.gh.tar.gz" |
34 |
- |
35 |
-SLOT="0" |
36 |
-LICENSE="MIT" |
37 |
-KEYWORDS="amd64 x86" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] |
41 |
- >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]" |
42 |
-BDEPEND=" |
43 |
- test? ( dev-python/responses[${PYTHON_USEDEP}] )" |
44 |
- |
45 |
-distutils_enable_tests pytest |
46 |
- |
47 |
-python_test() { |
48 |
- local deselect=( |
49 |
- # tests are largely unmaintained and outdated |
50 |
- tests/test_core.py::TwythonAPITestCase::test_get_lastfunction_header_should_return_header |
51 |
- tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_for_missing_auth_data |
52 |
- tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_that_is_not_auth_related |
53 |
- tests/test_core.py::TwythonAPITestCase::test_request_should_handle_401 |
54 |
- tests/test_core.py::TwythonAPITestCase::test_request_should_handle_rate_limit |
55 |
- ) |
56 |
- epytest ${deselect[@]/#/--deselect } |
57 |
-} |