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/stripe/
Date: Sat,  9 Dec 2023 06:53:02 +0000 (UTC)	[thread overview]
Message-ID: <1702103301.ecac04bd5f7c240333d51e6aa04169f72710514c.mgorny@gentoo> (raw)

commit:     ecac04bd5f7c240333d51e6aa04169f72710514c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  9 06:17:29 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  9 06:28:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecac04bd

dev-python/stripe: Bump to 7.8.1

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

 dev-python/stripe/Manifest            |  1 +
 dev-python/stripe/stripe-7.8.1.ebuild | 73 +++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest
index b87978f8aae1..88a1736ea4c0 100644
--- a/dev-python/stripe/Manifest
+++ b/dev-python/stripe/Manifest
@@ -2,3 +2,4 @@ DIST stripe-7.4.0.tar.gz 743353 BLAKE2B 30246bf8c5c922fe1ab906757fef064d4f6eea69
 DIST stripe-7.6.0.tar.gz 743504 BLAKE2B 32b82cd34241f00c259edc3e0d46d25337cd2490e6c3f4fb9d90d13e785f5e844fbaf66b224a7ae2ac7643d80b90eb36fde465ffdae058ded7741cb53dca5ec6 SHA512 5383ee5bc7e128840f9a1a738eca3bd6ce4a98df554243308d3b6fc667b519b996fc63d34c29abfc4f2f9082e8062aaf9aacdb3edb70e4ef2a6556228926daa2
 DIST stripe-7.7.0.tar.gz 747906 BLAKE2B 40d6f4cdbefef54df8aa84529c879f9cfe3b36fafb35cdc12e98513ae63e3fc41a38174def79adf2e891445502771437489f73010b206a005a02883ef51400fd SHA512 988bf67fce52c5b48e8a7d0d6dac408fd5bc1bd3cbd0d80b06ab5b7b8c44a5daa231c6f3f5e563cea2a717cbec56ae4a83eac9526a463074ff3d1d2cb68a6b92
 DIST stripe-7.8.0.tar.gz 768444 BLAKE2B 8262f097cfac300db6f12ef9781b28b4841bed7f23f1fa72e4c147702008e3f44b50f8bdcbaa5144607f95fac8db519536d996d0dd1457233f11e4e2b705eb78 SHA512 969ce4b59e5a16735c556132c9f5bb9c134cc32fd385d69e52495ae20e0367f0acb5f24f3e1c025c851aa119ce5f2490f06fa320bfcd5712ae4609cbb6b22256
+DIST stripe-7.8.1.tar.gz 768885 BLAKE2B 4e38fec0751fe7314e42303230d602b5f16daa40d833c749c29fa68cdd954cb604a2a0bcc7527253852499920ab5981629ca325d739fc56330bac4ab31b2bbd4 SHA512 cbee9cc0133fa18efa6582da032685fa44cd0446a2d032015410ca60a68ae5ce4a6dc5f82cedb24b1acc09a3c638e0f59f85e72798ee55603039b6fad27fe98e

diff --git a/dev-python/stripe/stripe-7.8.1.ebuild b/dev-python/stripe/stripe-7.8.1.ebuild
new file mode 100644
index 000000000000..a5deb252c18b
--- /dev/null
+++ b/dev-python/stripe/stripe-7.8.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Stripe python bindings"
+HOMEPAGE="
+	https://github.com/stripe/stripe-python/
+	https://pypi.org/project/stripe/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+	>=dev-python/requests-2.20[${PYTHON_USEDEP}]
+	>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
+"
+# please bump dev-util/stripe-mock dep to the latest version on every bump
+BDEPEND="
+	test? (
+		>=dev-util/stripe-mock-0.178.0
+		dev-python/pytest-mock[${PYTHON_USEDEP}]
+		net-misc/curl
+	)
+"
+
+distutils_enable_tests pytest
+
+DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md )
+
+python_test() {
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest tests -p pytest_mock
+}
+
+src_test() {
+	local stripe_mock_port=12111
+	local stripe_mock_max_port=12121
+	local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log"
+	# Try to start stripe-mock until we find a free port
+	while [[ ${stripe_mock_port} -le ${stripe_mock_max_port} ]]; do
+		ebegin "Trying to start stripe-mock on port ${stripe_mock_port}"
+		stripe-mock --http-port "${stripe_mock_port}" &> "${stripe_mock_logfile}" &
+		local stripe_mock_pid=${!}
+		sleep 2
+		# Did stripe-mock start?
+		curl --fail -u "sk_test_123:" \
+			"http://127.0.0.1:${stripe_mock_port}/v1/customers" &> /dev/null
+		eend ${?} "Port ${stripe_mock_port} unavailable"
+		if [[ ${?} -eq 0 ]]; then
+			einfo "stripe-mock running on port ${stripe_mock_port}"
+			break
+		fi
+		(( stripe_mock_port++ ))
+	done
+	if [[ ${stripe_mock_port} -gt ${stripe_mock_max_port} ]]; then
+		eerror "Unable to start stripe-mock for tests"
+		die "Please see the logfile located at: ${stripe_mock_logfile}"
+	fi
+
+	local -x STRIPE_MOCK_PORT=${stripe_mock_port}
+	distutils-r1_src_test
+
+	# Tear down stripe-mock
+	kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock"
+}


             reply	other threads:[~2023-12-09  6:53 UTC|newest]

Thread overview: 271+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-09  6:53 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02  9:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/stripe/ Michał Górny
2024-11-02  9:40 Arthur Zamarin
2024-10-30 16:41 Michał Górny
2024-10-26 11:52 Michał Górny
2024-10-19  6:03 Michał Górny
2024-10-12  6:01 Michał Górny
2024-10-05  9:12 Michał Górny
2024-10-05  9:06 Arthur Zamarin
2024-10-04  3:12 Michał Górny
2024-10-02 11:22 Michał Górny
2024-09-28 12:59 Michał Górny
2024-09-28 12:32 Arthur Zamarin
2024-09-21 10:45 Michał Górny
2024-09-21 10:41 Arthur Zamarin
2024-09-19  4:27 Michał Górny
2024-09-14 12:32 Michał Górny
2024-09-14 12:12 Arthur Zamarin
2024-09-13  3:12 Michał Górny
2024-09-06  9:25 Michał Górny
2024-09-02  3:02 Michał Górny
2024-09-01 19:51 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-31 14:37 Arthur Zamarin
2024-08-30  1:56 Michał Górny
2024-08-24 19:06 Michał Górny
2024-08-24 16:22 Sam James
2024-08-24 11:49 Sam James
2024-08-24 10:45 Sam James
2024-08-16  3:18 Michał Górny
2024-08-10  7:31 Michał Górny
2024-08-10  5:26 Michał Górny
2024-08-02  4:50 Michał Górny
2024-07-27  9:44 Michał Górny
2024-07-27  6:44 Arthur Zamarin
2024-07-26 15:28 Michał Górny
2024-07-19  4:25 Michał Górny
2024-07-13  8:01 Michał Górny
2024-07-13  7:27 Arthur Zamarin
2024-07-12  2:33 Michał Górny
2024-07-06  6:35 Michał Górny
2024-07-06  6:26 Sam James
2024-07-06  5:29 Michał Górny
2024-06-28  5:19 Michał Górny
2024-06-25  8:01 Michał Górny
2024-06-22 15:01 Michał Górny
2024-06-22 13:48 Arthur Zamarin
2024-06-18  4:45 Michał Górny
2024-06-15 19:15 Michał Górny
2024-06-14  1:53 Michał Górny
2024-06-08  9:02 Michał Górny
2024-06-08  7:19 Arthur Zamarin
2024-06-07  1:59 Michał Górny
2024-06-01 17:38 Michał Górny
2024-06-01 17:35 Sam James
2024-06-01 17:35 Sam James
2024-06-01 17:29 Sam James
2024-05-31  4:22 Michał Górny
2024-05-25  6:33 Michał Górny
2024-05-25  6:27 Arthur Zamarin
2024-05-24  4:03 Michał Górny
2024-05-17  9:49 Michał Górny
2024-05-17  8:46 Arthur Zamarin
2024-05-17  6:25 Michał Górny
2024-05-11 10:02 Michał Górny
2024-05-11  9:49 Arthur Zamarin
2024-05-10  2:02 Michał Górny
2024-05-04  7:25 Michał Górny
2024-05-04  7:14 Arthur Zamarin
2024-05-03  3:42 Michał Górny
2024-05-02  1:37 Michał Górny
2024-05-02  0:26 Sam James
2024-04-26  2:05 Michał Górny
2024-04-24 17:15 Michał Górny
2024-04-24 16:15 Sam James
2024-04-19  2:44 Michał Górny
2024-04-17  3:42 Michał Górny
2024-04-13 17:49 Michał Górny
2024-04-13 16:39 Arthur Zamarin
2024-04-12  3:35 Michał Górny
2024-04-11  4:25 Michał Górny
2024-04-10  6:15 Michał Górny
2024-04-05 18:06 Michał Górny
2024-04-05 16:12 Michał Górny
2024-04-05 16:12 Michał Górny
2024-04-05  2:45 Michał Górny
2024-03-30 19:45 Michał Górny
2024-03-30 18:02 Arthur Zamarin
2024-03-30 15:28 Michał Górny
2024-03-30 15:28 Michał Górny
2024-03-29  5:16 Michał Górny
2024-03-23 11:58 Michał Górny
2024-03-23 11:53 Michał Górny
2024-03-22  4:38 Michał Górny
2024-03-15  5:06 Michał Górny
2024-03-09 14:19 Michał Górny
2024-03-08  5:40 Michał Górny
2024-03-03 13:06 Michał Górny
2024-03-03  6:11 Sam James
2024-03-03  6:11 Sam James
2024-03-03  6:11 Sam James
2024-03-01  4:47 Michał Górny
2024-02-24 15:12 Michał Górny
2024-02-24 14:04 Sam James
2024-02-23  3:40 Michał Górny
2024-02-18  3:28 Michał Górny
2024-02-17 21:42 Jakov Smolić
2024-02-16  5:40 Michał Górny
2024-02-11 13:10 Michał Górny
2024-02-11 11:11 Sam James
2024-02-09  3:33 Michał Górny
2024-02-04  4:01 Michał Górny
2024-02-03 21:34 Sam James
2024-02-03 19:09 Sam James
2024-02-03 14:10 Sam James
2024-02-02  4:12 Michał Górny
2024-01-26  5:39 Michał Górny
2024-01-26  5:39 Michał Górny
2024-01-20 20:00 Michał Górny
2024-01-20 18:36 Arthur Zamarin
2024-01-20  7:09 Michał Górny
2024-01-13  8:20 Michał Górny
2024-01-06 19:50 Michał Górny
2024-01-06 18:46 Michał Górny
2024-01-06 18:46 Michał Górny
2024-01-06 11:54 Sam James
2024-01-05 11:25 Michał Górny
2023-12-30 14:32 Michał Górny
2023-12-30 14:25 Arthur Zamarin
2023-12-24  5:59 Michał Górny
2023-12-23  5:12 Michał Górny
2023-12-15  8:17 Michał Górny
2023-12-12  6:32 Michał Górny
2023-12-09 16:13 Michał Górny
2023-12-09 15:54 Michał Górny
2023-12-09 15:54 Michał Górny
2023-12-09 15:54 Michał Górny
2023-12-08  5:41 Michał Górny
2023-12-01  5:39 Michał Górny
2023-11-24  9:32 Sam James
2023-11-22 12:27 Michał Górny
2023-11-22 12:12 Arthur Zamarin
2023-11-22  7:49 Michał Górny
2023-11-17  7:57 Michał Górny
2023-11-10  4:09 Michał Górny
2023-11-03  7:06 Michał Górny
2023-11-01  5:08 Michał Górny
2023-10-27 12:56 Michał Górny
2023-10-18 15:56 Michał Górny
2023-10-18  9:44 Sam James
2023-10-18  9:44 Sam James
2023-10-17  3:03 Michał Górny
2023-10-06  4:34 Michał Górny
2023-09-22  3:11 Michał Górny
2023-09-17 11:37 Michał Górny
2023-09-17  6:01 Sam James
2023-09-17  6:01 Sam James
2023-09-15  3:36 Michał Górny
2023-09-11  2:57 Michał Górny
2023-09-06  2:41 Michał Górny
2023-09-01  5:06 Michał Górny
2023-08-25  9:49 Michał Górny
2023-08-19 18:19 Michał Górny
2023-08-19 17:53 Arthur Zamarin
2023-08-17  8:36 Michał Górny
2023-07-14  5:33 Michał Górny
2023-06-01 14:59 Michał Górny
2023-04-28 15:41 Michał Górny
2023-04-28 15:18 Arthur Zamarin
2023-03-31  4:32 Michał Górny
2023-03-24  5:21 Michał Górny
2023-03-11  9:58 Michał Górny
2023-03-11  8:34 Arthur Zamarin
2023-02-17  6:37 Michał Górny
2023-02-03  7:19 Michał Górny
2022-12-25 17:50 Michał Górny
2022-12-25 16:45 Sam James
2022-11-17  6:15 Michał Górny
2022-11-03 20:00 Arthur Zamarin
2022-11-03 20:00 Sam James
2022-10-03 19:55 Michał Górny
2022-09-20  5:57 Michał Górny
2022-09-19 20:10 Jakov Smolić
2022-09-07  5:16 Michał Górny
2022-09-06 21:25 Sam James
2022-09-06 21:15 Sam James
2022-08-20 11:22 Arthur Zamarin
2022-08-07  8:54 Michał Górny
2022-07-12  7:08 Michał Górny
2022-07-12  6:46 Agostino Sarubbo
2022-07-01  6:53 Michał Górny
2022-06-18  6:47 Michał Górny
2022-06-08 19:40 Michał Górny
2022-06-06 11:33 Michał Górny
2022-06-06 10:22 Jakov Smolić
2022-06-06 10:22 Jakov Smolić
2022-05-24  6:16 Michał Górny
2022-05-20  8:29 Michał Górny
2022-05-10 10:07 Michał Górny
2022-05-06  7:41 Michał Górny
2022-05-04  8:19 Michał Górny
2022-05-01 13:04 Michał Górny
2022-05-01 12:20 Jakov Smolić
2022-05-01 12:20 Jakov Smolić
2022-04-22  8:19 Michał Górny
2022-04-19  8:45 Michał Górny
2022-04-17 16:54 Michał Górny
2022-04-17  8:07 Jakov Smolić
2022-04-17  8:07 Jakov Smolić
2022-04-15  8:23 Arthur Zamarin
2022-04-08 21:18 Michał Górny
2022-03-30 18:45 Michał Górny
2022-03-16 10:06 Michał Górny
2022-02-27 20:03 Michał Górny
2022-02-27 14:44 Jakov Smolić
2022-02-16 22:34 Michał Górny
2022-01-27 12:34 Michał Górny
2022-01-26 20:18 Jakov Smolić
2022-01-20 23:26 Michał Górny
2022-01-20 19:29 Arthur Zamarin
2021-12-21 20:33 Arthur Zamarin
2021-12-17 18:57 Michał Górny
2021-12-17 18:30 Jakov Smolić
2021-12-12 21:32 Michał Górny
2021-12-12 20:55 Jakov Smolić
2021-12-12 20:04 Jakov Smolić
2021-11-17  9:55 Michał Górny
2021-11-14 20:53 Michał Górny
2021-11-14 20:29 Sam James
2021-11-14  0:30 Sam James
2021-11-12  9:40 Michał Górny
2021-10-12  6:18 Michał Górny
2021-08-18 17:08 Michał Górny
2021-08-18 12:58 Agostino Sarubbo
2021-08-16  5:13 Agostino Sarubbo
2021-07-14 22:16 Michał Górny
2021-07-13  6:46 Michał Górny
2021-07-13  6:33 Agostino Sarubbo
2021-07-13  6:26 Agostino Sarubbo
2021-07-12  9:11 Michał Górny
2021-07-10  7:34 Michał Górny
2021-06-23 21:27 Michał Górny
2021-06-05  8:28 Michał Górny
2021-05-20  7:25 Michał Górny
2021-05-06 15:04 Michał Górny
2021-03-28 10:02 Agostino Sarubbo
2021-03-26 12:37 Michał Górny
2021-03-26 12:00 Agostino Sarubbo
2021-03-15 16:18 Agostino Sarubbo
2021-02-23  0:51 Michał Górny
2021-02-06  8:59 Michał Górny
2020-04-25  8:45 Cédric Krier
2020-04-14 12:32 Agostino Sarubbo
2020-04-13 16:06 Agostino Sarubbo
2020-03-29  9:50 Michał Górny
2020-03-29  9:50 Michał Górny
2020-03-22 12:20 Cédric Krier
2020-03-17  8:08 Michał Górny
2020-01-18 18:48 Michał Górny
2020-01-18  9:53 Cédric Krier
2019-09-14 12:38 Cédric Krier
2019-03-28 23:12 Patrice Clement
2018-11-11 10:41 Michał Górny
2018-07-28 11:27 Cédric Krier
2018-03-03 15:31 Cédric Krier
2017-12-17 14:07 Cédric Krier
2017-10-29 12:54 Cédric Krier
2017-10-08 20:19 Cédric Krier
2017-10-08 16:47 Cédric Krier
2017-07-16 15:46 Cédric Krier
2017-05-10 22:23 Cédric Krier

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=1702103301.ecac04bd5f7c240333d51e6aa04169f72710514c.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