From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/twython/
Date: Sat, 26 Feb 2022 11:39:44 +0000 (UTC) [thread overview]
Message-ID: <1645875578.4793680d705569f3362b956fc2c94fc48a43c4c4.mgorny@gentoo> (raw)
commit: 4793680d705569f3362b956fc2c94fc48a43c4c4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 11:24:41 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 11:39:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4793680d
dev-python/twython: Migrate to PEP517 build
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/twython/twython-3.9.1-r1.ebuild | 41 ++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/dev-python/twython/twython-3.9.1-r1.ebuild b/dev-python/twython/twython-3.9.1-r1.ebuild
new file mode 100644
index 000000000000..6e483bc423d5
--- /dev/null
+++ b/dev-python/twython/twython-3.9.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+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
+
+EPYTEST_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
+ tests/test_core.py::TwythonAPITestCase::test_sends_correct_accept_encoding_header
+)
next reply other threads:[~2022-02-26 11:39 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-26 11:39 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-18 15:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/twython/ Michał Górny
2024-06-18 15:56 Michał Górny
2023-11-24 16:55 Sam James
2023-11-23 19:38 Michał Górny
2023-11-04 18:03 Michał Górny
2022-11-19 16:57 Arthur Zamarin
2022-06-01 7:30 Sam James
2022-04-24 11:06 Jakov Smolić
2022-03-31 14:08 Michał Górny
2022-03-31 13:55 Jakov Smolić
2021-08-26 8:24 Michał Górny
2021-08-26 4:41 Agostino Sarubbo
2021-08-25 17:29 Michał Górny
2021-07-17 6:18 Michał Górny
2021-02-27 21:39 Sam James
2020-05-04 12:34 Michał Górny
2020-05-04 6:49 Agostino Sarubbo
2020-05-03 12:28 Agostino Sarubbo
2020-03-29 10:13 Michał Górny
2020-03-13 9:56 Michał Górny
2019-12-28 16:16 David Seifert
2017-10-01 8:57 Patrick Lauer
2017-09-24 11:53 Michael Palimaka
2017-07-31 10:49 Tobias Klausmann
2017-05-02 8:47 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1645875578.4793680d705569f3362b956fc2c94fc48a43c4c4.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox