public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 17 Jul 2021 06:18:18 +0000 (UTC)	[thread overview]
Message-ID: <1626502664.b091d6a6ad5c70f8d72ab62932bfbbdcb090f2dd.mgorny@gentoo> (raw)

commit:     b091d6a6ad5c70f8d72ab62932bfbbdcb090f2dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 06:17:28 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 06:17:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b091d6a6

dev-python/twython: Bump to 3.9.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/twython/Manifest             |  1 +
 dev-python/twython/twython-3.9.1.ebuild | 37 +++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/twython/Manifest b/dev-python/twython/Manifest
index 5dd6430e989..ba0c3360882 100644
--- a/dev-python/twython/Manifest
+++ b/dev-python/twython/Manifest
@@ -1 +1,2 @@
 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

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 00000000000..88ff3fa034f
--- /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 }
+}


             reply	other threads:[~2021-07-17  6:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17  6:18 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ć
2022-02-26 11:39 Michał Górny
2021-08-26  8:24 Michał Górny
2021-08-26  4:41 Agostino Sarubbo
2021-08-25 17:29 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=1626502664.b091d6a6ad5c70f8d72ab62932bfbbdcb090f2dd.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