diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-11 12:07:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-11 12:07:11 +0000 |
commit | 44a6f923079d51164af67c7bc3f3e0db24658088 (patch) | |
tree | 887711eae2249a5c6ddbd27a28150c485e7b5475 /dev-python/stripe | |
parent | 81e061dafc8bba274946b1e96d43863977187080 (diff) |
gentoo auto-resync : 11:03:2023 - 12:07:11
Diffstat (limited to 'dev-python/stripe')
-rw-r--r-- | dev-python/stripe/Manifest | 8 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.0.0.ebuild | 71 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.1.0.ebuild | 71 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.1.1.ebuild | 70 | ||||
-rw-r--r-- | dev-python/stripe/stripe-5.2.0.ebuild | 2 |
5 files changed, 2 insertions, 220 deletions
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index 3f93cde92a65..d96fe2330157 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,9 +1,3 @@ -DIST stripe-5.0.0.tar.gz 267241 BLAKE2B 6b4a58a355baf2d16d6de8667d1dff655c3334b58933c6172b25963f90bf072ebb5fae197faafd69285ceaaf06ba952c7012c35222df873d0453ec9fcee45cd5 SHA512 3d782abd3d6983734b6248fcb44cb69609475e14b820062882439c11ba8ba64e19f3db7984902157adaf0a80f9c26d18e7fbe414eb27bfeda95a7fae78a07577 -DIST stripe-5.1.0.tar.gz 267508 BLAKE2B 973f286c1a6a6703e903d65267465def0a99c15e65b034a690f12d51e6572412f1007eb8fa7ba9df41f4450e09c8b0584a1ce472d0815757ef1e402021daec67 SHA512 1afe76180922bfdd90c19d9a6326a98a9cc8e138fc9bb26c42f245373f8b4b93bc0144d3c41e0fd5f278fe425f6bb219cda7d4f993db845756de22c0047cb228 -DIST stripe-5.1.1.tar.gz 267508 BLAKE2B da7918aeaa50dcb0e02274a93d39db16cc02b185597b00b442437050df3842c4d9dcbf3477015b7166837845fe6d2f9f9b79fc05ace118c985254545d424b1d9 SHA512 119af52d0a3548dc73a14b3de84cf9b8c465cccc296386b045b7aa23e0db6a071f2d03e6d445c0581863055497378b2a1169bd70119eb4d5ecc62382968da2ef DIST stripe-5.2.0.tar.gz 267950 BLAKE2B b7312e4c7e56803fdd64507602df3527efcc964aa7bb6deae59d00df75c72c47cf179382ce6b90ffab5089e7fce9b2e03de0748a091b36dd25d93d8cf6b1d119 SHA512 e928487b690a2c7bce9013ba988ff5a1d9b0ef4b0be56852385925fd5fa4a1b9e655e05b7fa2728d38ed7834eebe621b883851e6a6db625f388866f32c9f8a15 -EBUILD stripe-5.0.0.ebuild 1816 BLAKE2B 946accaca81fdb3985cd70e3ee52fe062712e6c9464d429d0e49aad10aab51d1b5fb8dbb51f61a7a4c92cfac1e46e04b1ee699a8dddded0d57ae0d7da372fec6 SHA512 2f49dbe494941f67f4832c27e49f883ca60b31cf760d95f456d04088cac02e9803d981dca77b0e36e3a9dc652943d3a3024968e125aebd7e66029d1688ea2f5a -EBUILD stripe-5.1.0.ebuild 1818 BLAKE2B dcfd6e92c29be7d2ee5e54d198abc2d44d899702f7798c184352a26fc191168a86b708c259ef461554ea0215ecddff0d7f885bb64c924da1f46157f388d751bb SHA512 00b8fcb108caf40d6d8620a833097ae08fe10b15afc01a02079988113147d05e492b0470ee2f5c6223d8a6a0f180eb51028ff15b0e1f7a8e87133d91744fd6fb -EBUILD stripe-5.1.1.ebuild 1779 BLAKE2B 14f2f04eda62fd13177875f47c1ff824c764ba2bddde8d44ced72b4843b1aa85b94da553dd7d0961f5ca7da4d4c444f49f11bf961db922aa4d3f88a028d47654 SHA512 45f700a2070b78855e25c65683f6013fe324dbf2eb68837c4d243649a94c5dc690bc7649aec433f13f4fa96929076e2fe9d86b6ab7a0ee534e16065f1fb57c14 -EBUILD stripe-5.2.0.ebuild 1779 BLAKE2B 14f2f04eda62fd13177875f47c1ff824c764ba2bddde8d44ced72b4843b1aa85b94da553dd7d0961f5ca7da4d4c444f49f11bf961db922aa4d3f88a028d47654 SHA512 45f700a2070b78855e25c65683f6013fe324dbf2eb68837c4d243649a94c5dc690bc7649aec433f13f4fa96929076e2fe9d86b6ab7a0ee534e16065f1fb57c14 +EBUILD stripe-5.2.0.ebuild 1777 BLAKE2B 7d52e724895d47f77fa83ed1c81b77070c1453f9e7aa6464975dcf8384ef559567c618b4c056da8d701c33cdc15fe953623e2d1cae20147e8d0e3b8f01c9cc8d SHA512 9bc618c6f3bda2b506c49f87950981607eb5bba6eea89c6362c6b3da83a14da65d8c9d9aee741a97fa98d42314dbf2d3f1c268a94b0c45f850f3911ef023041c MISC metadata.xml 372 BLAKE2B e6a38fdec6fc016068e7a0522ba15e83bf358ba1475e54a9630b1e86c75bc14b790c59716317bd81438a1c770e4d31afbe04400ddcd5dd272715c251fd6cb1a2 SHA512 2d9672b242f2d38654f7906097e597dfbdf75afa3583ea331f61772db95d19a802e83ed523c67a6cf3da18411036055c0996fd04d99199618d5205be8a61bd77 diff --git a/dev-python/stripe/stripe-5.0.0.ebuild b/dev-python/stripe/stripe-5.0.0.ebuild deleted file mode 100644 index fa2766359154..000000000000 --- a/dev-python/stripe/stripe-5.0.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_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.141.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.1.0.ebuild b/dev-python/stripe/stripe-5.1.0.ebuild deleted file mode 100644 index 25678121e96f..000000000000 --- a/dev-python/stripe/stripe-5.1.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_{9..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Stripe python bindings" -HOMEPAGE=" - https://github.com/stripe/stripe-python/ - https://pypi.org/project/stripe/ -" -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.151.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.1.1.ebuild b/dev-python/stripe/stripe-5.1.1.ebuild deleted file mode 100644 index 324896ea5925..000000000000 --- a/dev-python/stripe/stripe-5.1.1.ebuild +++ /dev/null @@ -1,70 +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_{9..11} 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}] -" -BDEPEND=" - test? ( - >=dev-util/stripe-mock-0.151.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.2.0.ebuild b/dev-python/stripe/stripe-5.2.0.ebuild index 324896ea5925..3dcb231fe397 100644 --- a/dev-python/stripe/stripe-5.2.0.ebuild +++ b/dev-python/stripe/stripe-5.2.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}] |