From b594445f39d99066071d80fc8efeba5c8f72cc35 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 5 May 2024 00:00:45 +0100 Subject: gentoo auto-resync : 05:05:2024 - 00:00:45 --- dev-python/stripe/Manifest | 4 +- dev-python/stripe/stripe-9.2.0.ebuild | 88 ----------------------------------- dev-python/stripe/stripe-9.3.0.ebuild | 2 +- 3 files changed, 2 insertions(+), 92 deletions(-) delete mode 100644 dev-python/stripe/stripe-9.2.0.ebuild (limited to 'dev-python/stripe') diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index e538ef2cc3a1..f64460630f46 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,9 +1,7 @@ -DIST stripe-9.2.0.tar.gz 1221000 BLAKE2B efa869e7f9039fbf5ec2c7308b1f2b098f870289224f5f941ae3555c2f9177cf18210f813e26fb068841855d62697d25302b10dd8db0aa7de2af74b827ea151c SHA512 a579c537b3cfea245638d649734f62f6734e237db4d2bc733f933ecf03ac2576e9fdce2ad1adf5891db72c68e2166907b93e4e5d98b6ef92962423f7d8241ee2 DIST stripe-9.3.0.tar.gz 1257309 BLAKE2B 819f2ece26282020383953b2f9436023796897b7928ac9f07c753a56a79aa8b80cadad9b1f8b1021224f6a4f704a3c2a92aa807d60a6bc769992d7fc6793aecb SHA512 708ffe2b36946de7e5780f582bc0db6a7b3dc82c163a0839491060944e882fa1f7679900d398b87fd2dc336d2e74eccc0f4f821095ce0465affd49b813d2b4fa DIST stripe-9.4.0.tar.gz 1260466 BLAKE2B 77bcca5fa3e514733f3812b738ae1590da641b24e58de4d6e2eb49d45512e6eecc6025912d03e73344645bd86ea14db2673f9fe9c34519520284bdf965c98eae SHA512 6d290c0c0e86c9eac5862bea8918c7f4508049b0f87fca7e087d05678a35eec28acd1304a8a6f32265856baa8992f364c4cb98b85727862989990024a240ba49 DIST stripe-9.5.0.tar.gz 1262346 BLAKE2B 45ba78fac985352f1857b7f6e5e4907afc9ff45815419671b9ee6476f04a7bf216fa49eb0008b8804d0a9763885ee5a8d09431ba6c26cca5e2091787353ae688 SHA512 2a530fe88d56a4753a5f497547aaf51ae770c1c616677eaad65d820eef638f5dd35d78486a3105caf97b2986f3940019a7cc0e7f89fe1c4ae83195bccd1ce000 -EBUILD stripe-9.2.0.ebuild 2432 BLAKE2B 5a7e2218ac4bcb0586a378f2f4288c23ec191b7dfddee61cbc1d6c30c4be2da1ad0da7c35b9a4f89b456f02dc60aa94066ca3f0e5eda4a7aacc762fa2ac78b3e SHA512 d3c49fb081b5e77f525f96876a2f916650f34f02f54d7370f89b04b86d84542f90ba058740f20ebb0dfbf965e12ba03a8ebb308bdbf7ef2c085e3ee4323093bb -EBUILD stripe-9.3.0.ebuild 2435 BLAKE2B 627bf2d2954bb2a1bc5f6917efe52afff69e4b4dba3333cde9457e857f37033d4ef39c5b61f17828a925cfb3c400174ae2c135eac7e112f9a8437d9d3721ac0e SHA512 c6dbc570fec46d1e647923d6b161275b08786b8eaaa6fca482b97b3a4957c4f220437315ad1749e1ec5e0abfe8444dc42be48093726e6c866702ea57ef0e8ab6 +EBUILD stripe-9.3.0.ebuild 2432 BLAKE2B 5a7e2218ac4bcb0586a378f2f4288c23ec191b7dfddee61cbc1d6c30c4be2da1ad0da7c35b9a4f89b456f02dc60aa94066ca3f0e5eda4a7aacc762fa2ac78b3e SHA512 d3c49fb081b5e77f525f96876a2f916650f34f02f54d7370f89b04b86d84542f90ba058740f20ebb0dfbf965e12ba03a8ebb308bdbf7ef2c085e3ee4323093bb EBUILD stripe-9.4.0.ebuild 2435 BLAKE2B 32fc034c5c1ac6b645b6661ffd16eb8d631a2b805107d6eddbf69b3c107d9fd4624d2e7303308e783d06114e1ff35a6d40d735fa1b0ed9a79f0d18d14b2d1b30 SHA512 9528f01afb84a4cfee24fa0060a926b6b34eec0d24e36bf248ee8ff360f905b71c6ff5c8a003aa2c7460e9390dd95d184175edb01230fb79544b6def09ee48d4 EBUILD stripe-9.5.0.ebuild 2435 BLAKE2B 32fc034c5c1ac6b645b6661ffd16eb8d631a2b805107d6eddbf69b3c107d9fd4624d2e7303308e783d06114e1ff35a6d40d735fa1b0ed9a79f0d18d14b2d1b30 SHA512 9528f01afb84a4cfee24fa0060a926b6b34eec0d24e36bf248ee8ff360f905b71c6ff5c8a003aa2c7460e9390dd95d184175edb01230fb79544b6def09ee48d4 MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-9.2.0.ebuild b/dev-python/stripe/stripe-9.2.0.ebuild deleted file mode 100644 index 3aeb163f093c..000000000000 --- a/dev-python/stripe/stripe-9.2.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2024 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" -IUSE="telemetry" - -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.184.0 - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/anyio[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -src_prepare() { - if ! use telemetry; then - sed -i -e '/enable_telemetry/s:True:False:' stripe/__init__.py || die - fi - # https://github.com/stripe/stripe-python/pull/1297 - sed -e 's:from mock:from unittest.mock:' \ - -i tests/test_http_client.py || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest tests -p anyio -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" -} diff --git a/dev-python/stripe/stripe-9.3.0.ebuild b/dev-python/stripe/stripe-9.3.0.ebuild index 67734a537617..3aeb163f093c 100644 --- a/dev-python/stripe/stripe-9.3.0.ebuild +++ b/dev-python/stripe/stripe-9.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" -- cgit v1.2.3