diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /dev-python/twython | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'dev-python/twython')
-rw-r--r-- | dev-python/twython/Manifest | 2 | ||||
-rw-r--r-- | dev-python/twython/twython-3.9.1.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/twython/Manifest b/dev-python/twython/Manifest index 81015e682a04..06c1e708871f 100644 --- a/dev-python/twython/Manifest +++ b/dev-python/twython/Manifest @@ -1,3 +1,5 @@ DIST twython-3.7.0.gh.tar.gz 373183 BLAKE2B a84e10c1d61736af3e93f265d92104dac15d5f7a43d7fbdce4e8c58b641f671a1c4c10f44c5b6d6ce9f0646860d35c14414b17e84daeb74f6e2c8871207b6fd4 SHA512 33eb35ea811ec1964fcd51fad54ba53d60e6caf3b5b7d11ae138f7228be9fb1eca7a02b1c6699a62cc2f6c39e035cb5a28f53ef67a98d019cdf91c9874867871 +DIST twython-3.9.1.gh.tar.gz 372933 BLAKE2B 3db7f37e284ec83546e4f93a23e34c21ce9853e6206b62353e36b738ba591acadc55fd3dbbdf8cf7d74e63ab9966b9cdc7f49c5caa06e165bb7107b350509835 SHA512 e64d623dfa7ba2e81e09f9d8e784851b44201493d128ec576c4b5a9abc88debf1ca78f8a12933e0cd0a6b495012fa951bb62ea5d92db11186b37747b8576174f EBUILD twython-3.7.0.ebuild 900 BLAKE2B 11d5468dfd9a83fee82fbab7edd46933235894218eaeb38285b40758c5fce52eb9b736109deae083b728082bde8667c91aef209cff9b8ef22bbfe60334cc7da3 SHA512 3561737b9e2e08c13e0c7a8355b14539de2c53069ab39533fb9f0661ce6999e4005077b45942cf73225e3917a38da503f656589d6b4aa65812e8289644d17797 +EBUILD twython-3.9.1.ebuild 1191 BLAKE2B 63f4650af8fe26f89cff21a7098bbd670b4a1894e8a9bf98b44ab936e1a6f92d39ad3e225a9106a59907e8ab052a285be2d141f08077865957d23f98645873f4 SHA512 ef1e309c82e5fb6d689309c46e75eee7a1f5b028af3408a077f482761770cdd46000872c853b9e04b4809c0d193f9a7a45ff52324a9d89213999d7fbf0925034 MISC metadata.xml 381 BLAKE2B 8c4300189076c3f5cb8498a4aae6ce79751ccc3b51295ac6c75b8b290f71cc9f0aea946a7d7c4e75434372459aedcf7d0286c31039221c06e48b945904e35814 SHA512 6ba06a2be42b96f85609cc2a10637ff911228a8f0a5b5fa1debc3d4c6ba6d9e57462f09cdcb96e12f75544fd3a161d5e3ecb5a89e8f50fa152dc7ccc795048f6 diff --git a/dev-python/twython/twython-3.9.1.ebuild b/dev-python/twython/twython-3.9.1.ebuild new file mode 100644 index 000000000000..88ff3fa034fa --- /dev/null +++ b/dev-python/twython/twython-3.9.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="An easy way to access Twitter data with Python" +HOMEPAGE="https://github.com/ryanmcgrath/twython" +SRC_URI=" + https://github.com/ryanmcgrath/twython/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/responses[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # tests are largely unmaintained and outdated + tests/test_core.py::TwythonAPITestCase::test_get_lastfunction_header_should_return_header + tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_for_missing_auth_data + tests/test_core.py::TwythonAPITestCase::test_request_should_handle_400_that_is_not_auth_related + tests/test_core.py::TwythonAPITestCase::test_request_should_handle_401 + tests/test_core.py::TwythonAPITestCase::test_request_should_handle_rate_limit + ) + epytest ${deselect[@]/#/--deselect } +} |