diff options
Diffstat (limited to 'dev-python/stripe')
-rw-r--r-- | dev-python/stripe/Manifest | 4 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.4.0.ebuild | 71 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.5.0.ebuild | 2 |
3 files changed, 2 insertions, 75 deletions
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 26ddd79c55ed..048f84cd9238 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,7 +1,5 @@ -DIST stripe-5.4.0.tar.gz 268711 BLAKE2B 2417174ceed571a7b8483992ac15ef9d19a037e5745118c2eec3094f8e848ec49b384f62bd4a136ed046b695bd753efc6064109c30a50aca539a1085b1e056fe SHA512 55351171184672ab55f38ed483078dbbb85216bf80d07726d1bb8848d24ff829a3d464d543182afafedfcaabdb516a5868bc4ac7d16f64f2dc2dc7c1ab2e152a DIST stripe-5.5.0.tar.gz 270144 BLAKE2B aab1f824f0b9e27b80e23ecc9267c4cfc9e4b952b14fa30e642587935d6a60076cb913e06d43ee5ee981e3d9603d73050ee92a8dd4dce7f0014839409cad1b7d SHA512 3023574e6b7e3037cb10ff20bf22e6b689f4fdf2f4ad04102b80e8dbe530a4d3f1c179dd9af1dab77f8a7d9da03573665ee22628b8ed35dbd655148b5621fc19 DIST stripe-6.0.0.tar.gz 262261 BLAKE2B e91fbbda137cdaa78042b8914a85dcd3d75e04568f0d4ad72659d638aaa302f0b404f7893146a1affa7c8249f4f3965f674d6849378f9f89075b48df17c201a0 SHA512 dd0ca09faa605259ac4cf02887cfa7c51583e7d9b560cc98ad91ba161d101daeae7f27adf0650e701dc2fc8094315715125a79389d4765bd4bea74054ed6967b -EBUILD stripe-5.4.0.ebuild 1855 BLAKE2B 08989ec5ac7408905628fe9d5fdf7095e16f7ad8b4279d52f2c04f5279f4335b295ce027bb73f9d371332f3c59c8defd7eae7bc34a02af9699959f6252c506d4 SHA512 6928f1d866daf73ac3e32387a5fba4a692c18563f262b68885b649950f1143382fa2c02eaac0bc3902edf7261a7207a8248d8620b50f3824435ff22ffa87b98f -EBUILD stripe-5.5.0.ebuild 1857 BLAKE2B 376aaf9ab9f521966fa620455827642deb0ef4e740c40c18fc316cd5344dfcf18b556e70116f7adb88dd97fdda899ab0bb45c34432974141b544b76d8ea14b20 SHA512 d7dda8e0b512a632a4d60950d8d4d699caea6424369929b7fc5b362ce1723070bb1ccc68a61b2b7d3dfb256062bebe5349d337d6aacf6c61d915ce4e0639885c +EBUILD stripe-5.5.0.ebuild 1855 BLAKE2B 32f5243b637b1bd18920e2bd38dbc6c1250bf63c683015987cb99492802d2e9102bbf1fd95d71c5df0ef0fbf2f9169d114a4c71bb86a3a0e3984482c0db9c1bb SHA512 1f90a1cf06d7870bd503ba11ae61917c5bd2dd4c1d4d0bc251a8af91913eaacc616b518cb4c8706849cfc33a1944655fd6e50300fbd9601fa525a42ec87bedcd EBUILD stripe-6.0.0.ebuild 1857 BLAKE2B c3bbd829c22415c9643c2498654d7e475be1195425e72ac747af8dbabde710b9907d3990ed21415a9fe3a21b8a831953d2075798e791b109f1676b0dcdc9a4d7 SHA512 97c6a3d644f054866a2740a7aefa484415bf63b5ea67b618ca2204722208bacc1850d0c310a47dfa035d107b6c65d82e8bec7a83572e79cd38f4fa2d7fe7a002 MISC metadata.xml 372 BLAKE2B e6a38fdec6fc016068e7a0522ba15e83bf358ba1475e54a9630b1e86c75bc14b790c59716317bd81438a1c770e4d31afbe04400ddcd5dd272715c251fd6cb1a2 SHA512 2d9672b242f2d38654f7906097e597dfbdf75afa3583ea331f61772db95d19a802e83ed523c67a6cf3da18411036055c0996fd04d99199618d5205be8a61bd77 diff --git a/dev-python/stripe/stripe-5.4.0.ebuild b/dev-python/stripe/stripe-5.4.0.ebuild deleted file mode 100644 index ccf3bbd38859..000000000000 --- a/dev-python/stripe/stripe-5.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# 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 x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" -# please bump dev-util/stripe-mock dep to the latest version on every bump -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.159.0 - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -distutils_enable_tests pytest - -DOCS=( LONG_DESCRIPTION.rst CHANGELOG.md README.md ) - -python_test() { - epytest tests -} - -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-5.5.0.ebuild b/dev-python/stripe/stripe-5.5.0.ebuild index 786a0183fe81..bc535aa2125f 100644 --- a/dev-python/stripe/stripe-5.5.0.ebuild +++ b/dev-python/stripe/stripe-5.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" RDEPEND=" >=dev-python/requests-2.20[${PYTHON_USEDEP}] |