diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
commit | bff543bb632933380da922cbfc07c67157d72d42 (patch) | |
tree | df2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /dev-python/stripe | |
parent | 491d0101c89d81dec507f28215b3cb094800d600 (diff) |
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'dev-python/stripe')
-rw-r--r-- | dev-python/stripe/Manifest | 6 | ||||
-rw-r--r-- | dev-python/stripe/stripe-9.10.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/stripe/stripe-9.11.0.ebuild | 88 | ||||
-rw-r--r-- | dev-python/stripe/stripe-9.8.0.ebuild | 88 |
4 files changed, 2 insertions, 182 deletions
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index caea3aea535c..e3e24e3a3ea5 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.11.0.tar.gz 1276871 BLAKE2B 82d02301e4e08c98593631c16b44de5b8481f918839f2839575c8fb8a89a4245436950406e1cf13cb78999a965e8f085bd49821f5214341928be1d3cadd40563 SHA512 2f4878c704ef7b1e782b8264a47c7151d6bd9e7ad4b2799f97a753c00e3ae18c7f4425bdab7d58443bf0111e9da90eb577e047551682132f0682782556c5c1fa DIST stripe-9.12.0.tar.gz 1277151 BLAKE2B a23e490ac99f3814db204cd8ad71793b5da73a82c420823cecd87dad5f17c9dbe44a7dcdfbb519b5db4cb488f286e231029827bae25657c2bf4183d1c4dd8406 SHA512 c6c4a4cfeddda4c0e4042b31addea6885819304b469e4f7f701c894fca2d1ccca867dac511abf8d9dd9fc7cc135185387a5b55d37558b9355ee4add16b6318cb -DIST stripe-9.8.0.tar.gz 1268721 BLAKE2B 12eeb333a51e71f39c366dda1a4bf82c15f7c3673fc4d27c0e25b978a19902b722d44d5b0f17c017638740cb95f353a024f5012ad70b13c0ac7f7b420df4b082 SHA512 3b19ba9709818af12ba2110b32232c9a33f3a43ce33dfeb8a1e0a7c8a2d643f96795ef474ccdef9e780c1ab58bfa3e687105311cc1d5d24c2984d442d539706b -EBUILD stripe-9.10.0.ebuild 2435 BLAKE2B bc1705d2eeb4e9355163d4758daf18d7f5c82ae1ad414dfb05c9244c78610316daaa889eb6bdac94705130f1554ef06c96d4e9774e5480ed88fcc342b9e3efa8 SHA512 78664ee32de5d98259cc8ef27c99718de405d616036150a68dc1810734dd080d9c14b870f60cbea2e83761c6b44c2bec5a99f3990a98ebfd6ba6a8197a041ac4 -EBUILD stripe-9.11.0.ebuild 2435 BLAKE2B 44a70137984ce5bbcb00a55c204dadbc1296af66644ce29227a9f17aba38dff54ff40799251f9d712559390b063fc0f7293225bb79065e8cebb7191937d4838a SHA512 9d751f6868c342e2a486befbfdd270d842af1fca53860731e2afc5b0a4ca2111a907a63c1785efd93cb822a3bb1ac0e3f47f8a131c2b3d3d1694ee2ac8555c93 +EBUILD stripe-9.10.0.ebuild 2432 BLAKE2B 2d67456cd2f45ab9e6a74a706a71e0777d6cbfb91d464b1196fb27397e2bd85531976d39140776b700036087469884cb6e8e76a3d9ca338d221ac14ecd33eb1b SHA512 1e25a5c2267bb174c53b2f783907ff2e179e609d13fce5c87e042eeb5df92b7f3dd20f93a4b05b63b124433a6f5e3d1f707a1a501e44dec301ef76f1e38330dc EBUILD stripe-9.12.0.ebuild 2435 BLAKE2B 44a70137984ce5bbcb00a55c204dadbc1296af66644ce29227a9f17aba38dff54ff40799251f9d712559390b063fc0f7293225bb79065e8cebb7191937d4838a SHA512 9d751f6868c342e2a486befbfdd270d842af1fca53860731e2afc5b0a4ca2111a907a63c1785efd93cb822a3bb1ac0e3f47f8a131c2b3d3d1694ee2ac8555c93 -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.10.0.ebuild b/dev-python/stripe/stripe-9.10.0.ebuild index 3bf97ad94c6e..bb67222d08e2 100644 --- a/dev-python/stripe/stripe-9.10.0.ebuild +++ b/dev-python/stripe/stripe-9.10.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.11.0.ebuild b/dev-python/stripe/stripe-9.11.0.ebuild deleted file mode 100644 index 7925c1fc5c50..000000000000 --- a/dev-python/stripe/stripe-9.11.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..13} 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 deleted file mode 100644 index bb67222d08e2..000000000000 --- a/dev-python/stripe/stripe-9.8.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" -} |