From 4fe228ee9aa3b9b825d54ace549a5517e153e8bd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Jun 2024 00:08:14 +0100 Subject: gentoo auto-resync : 09:06:2024 - 00:08:13 --- dev-python/stripe/Manifest | 6 +-- dev-python/stripe/stripe-9.7.0.ebuild | 88 ----------------------------------- dev-python/stripe/stripe-9.8.0.ebuild | 2 +- dev-python/stripe/stripe-9.9.0.ebuild | 88 ----------------------------------- 4 files changed, 2 insertions(+), 182 deletions(-) delete mode 100644 dev-python/stripe/stripe-9.7.0.ebuild delete mode 100644 dev-python/stripe/stripe-9.9.0.ebuild (limited to 'dev-python/stripe') diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 615183c394c3..eeb9d20004e3 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,9 +1,5 @@ DIST stripe-9.10.0.tar.gz 1273670 BLAKE2B ebe42096846a124dea93744b26103dfc0a82f51191be612962258d7ab8c903e3da707dad3e35bafaa7431dd65a08234d9df5f9a614ff1959d86dc2d992ae7ad0 SHA512 f2a22534703add04512fa5ee124bd0ac48dd8a69dd19438260e9fce2cd00b659b9b014f76e325b6b0e51c79c157d15acb775d4ee4e1401a837d7e7dd81e81191 -DIST stripe-9.7.0.tar.gz 1268225 BLAKE2B 2ae512fa7f24966166e2d64a8e4e9f23077d0d0318c6f85e4b922b59fbf66e7bf884567d86270c96911a82b51ecfd72312dfd42d335801e9dd40a1912150e8f0 SHA512 5c36ca6447f5d4947b0e069fe5d4fa30ce2cf11768efa8abb70fcc9a69bd104fe085707a463d566abb5417f9dd4b6cb1d3bab132d20616267931fd895544236e DIST stripe-9.8.0.tar.gz 1268721 BLAKE2B 12eeb333a51e71f39c366dda1a4bf82c15f7c3673fc4d27c0e25b978a19902b722d44d5b0f17c017638740cb95f353a024f5012ad70b13c0ac7f7b420df4b082 SHA512 3b19ba9709818af12ba2110b32232c9a33f3a43ce33dfeb8a1e0a7c8a2d643f96795ef474ccdef9e780c1ab58bfa3e687105311cc1d5d24c2984d442d539706b -DIST stripe-9.9.0.tar.gz 1272880 BLAKE2B 222cc85453d6ed184c7b945d55ca2d35fb5327b3005c04b97d57ab14d44174394f4c7a03d8ed699297cd1b8a7d2e38a1265e66efe07a6c71abefcea7b36df2cc SHA512 49c783e4365e2cc04fbeef66e2678e5e596899cbc90b1edc2192cc7aac6590a138a7315bb2e0f5f504f6a81b7bc3dd8ee7dfb9777d7780d9944b129b0b8e0d2d EBUILD stripe-9.10.0.ebuild 2435 BLAKE2B bc1705d2eeb4e9355163d4758daf18d7f5c82ae1ad414dfb05c9244c78610316daaa889eb6bdac94705130f1554ef06c96d4e9774e5480ed88fcc342b9e3efa8 SHA512 78664ee32de5d98259cc8ef27c99718de405d616036150a68dc1810734dd080d9c14b870f60cbea2e83761c6b44c2bec5a99f3990a98ebfd6ba6a8197a041ac4 -EBUILD stripe-9.7.0.ebuild 2432 BLAKE2B 2d67456cd2f45ab9e6a74a706a71e0777d6cbfb91d464b1196fb27397e2bd85531976d39140776b700036087469884cb6e8e76a3d9ca338d221ac14ecd33eb1b SHA512 1e25a5c2267bb174c53b2f783907ff2e179e609d13fce5c87e042eeb5df92b7f3dd20f93a4b05b63b124433a6f5e3d1f707a1a501e44dec301ef76f1e38330dc -EBUILD stripe-9.8.0.ebuild 2435 BLAKE2B bc1705d2eeb4e9355163d4758daf18d7f5c82ae1ad414dfb05c9244c78610316daaa889eb6bdac94705130f1554ef06c96d4e9774e5480ed88fcc342b9e3efa8 SHA512 78664ee32de5d98259cc8ef27c99718de405d616036150a68dc1810734dd080d9c14b870f60cbea2e83761c6b44c2bec5a99f3990a98ebfd6ba6a8197a041ac4 -EBUILD stripe-9.9.0.ebuild 2435 BLAKE2B bc1705d2eeb4e9355163d4758daf18d7f5c82ae1ad414dfb05c9244c78610316daaa889eb6bdac94705130f1554ef06c96d4e9774e5480ed88fcc342b9e3efa8 SHA512 78664ee32de5d98259cc8ef27c99718de405d616036150a68dc1810734dd080d9c14b870f60cbea2e83761c6b44c2bec5a99f3990a98ebfd6ba6a8197a041ac4 +EBUILD stripe-9.8.0.ebuild 2432 BLAKE2B 2d67456cd2f45ab9e6a74a706a71e0777d6cbfb91d464b1196fb27397e2bd85531976d39140776b700036087469884cb6e8e76a3d9ca338d221ac14ecd33eb1b SHA512 1e25a5c2267bb174c53b2f783907ff2e179e609d13fce5c87e042eeb5df92b7f3dd20f93a4b05b63b124433a6f5e3d1f707a1a501e44dec301ef76f1e38330dc MISC metadata.xml 673 BLAKE2B 6b85b1f88713d2365274fcff21648748039b48028b3c34c1192e16ca12d0f3b4d14ab13c7c2a744c381898ea0c1304bda8be52d3fadddc1a1b787f010b001398 SHA512 e3178927a69d14f59673acc5eaedda59db5a07e2145ed6fb0597363b60183cb3e7a7b0feefc1d4c9095d52ed96e0be32ef5dc23ad0c20fd6e6b33c830177c0be diff --git a/dev-python/stripe/stripe-9.7.0.ebuild b/dev-python/stripe/stripe-9.7.0.ebuild deleted file mode 100644 index bb67222d08e2..000000000000 --- a/dev-python/stripe/stripe-9.7.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.186.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.8.0.ebuild b/dev-python/stripe/stripe-9.8.0.ebuild index 3bf97ad94c6e..bb67222d08e2 100644 --- a/dev-python/stripe/stripe-9.8.0.ebuild +++ b/dev-python/stripe/stripe-9.8.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" IUSE="telemetry" RDEPEND=" diff --git a/dev-python/stripe/stripe-9.9.0.ebuild b/dev-python/stripe/stripe-9.9.0.ebuild deleted file mode 100644 index 3bf97ad94c6e..000000000000 --- a/dev-python/stripe/stripe-9.9.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.186.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" -} -- cgit v1.2.3