summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-07-11 07:02:47 +0200
committerMichał Górny <mgorny@gentoo.org>2023-07-11 07:51:46 +0200
commit80c332899bc02b86997f82ee8a2e7f2287a28916 (patch)
tree08c8bc2726b54e8cd282ecd0dbe509ea602a9e6d /dev-python/braintree
parentdev-python/hypothesis: Bump to 6.81.1 (diff)
downloadgentoo-80c332899bc02b86997f82ee8a2e7f2287a28916.tar.gz
gentoo-80c332899bc02b86997f82ee8a2e7f2287a28916.tar.bz2
gentoo-80c332899bc02b86997f82ee8a2e7f2287a28916.zip
dev-python/braintree: Bump to 4.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/braintree')
-rw-r--r--dev-python/braintree/Manifest1
-rw-r--r--dev-python/braintree/braintree-4.21.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest
index 8e0de6f95a8c..c832f7398f80 100644
--- a/dev-python/braintree/Manifest
+++ b/dev-python/braintree/Manifest
@@ -1,2 +1,3 @@
DIST braintree_python-4.19.0.gh.tar.gz 217588 BLAKE2B a5a90443f3315112eed95e00d1733875b1e6c3056de57f182b13f06b47a94ac1d711b6ed7aee76e57f1388a46b89281594398c3e88c4018d5f1a4947d2ed4790 SHA512 4d464d0f36b77157d6ea94721dfd4f4354fa51e5dc9670443ee8689c08aefc0d81bd09d34d87d1a436f74a60df6cc7c0e0ff5dc366bd1779d57b46dd028d5362
DIST braintree_python-4.20.0.gh.tar.gz 219019 BLAKE2B b53220f3172181d4426e4165f8787317a25a0facfdd4da7c5c5d47578b8ff39dce903db1fa4119784e943a1f3364f5f60157413b459a72e27873de4efac60250 SHA512 1b8a4693796befb128cf790859b7ff528303e080455489679ab3a413b31c810b25f61a20e04681068ffce0d73d1679c14b0a3374c3efbf854781e977b8d53a44
+DIST braintree_python-4.21.0.gh.tar.gz 220035 BLAKE2B e8eb8a51fe5b49675abaf20c0cb3cfefa9129609df70bbf2e74aa4f588ea48014278fe2bb1e76841dbcd19fbc87346bc0b4302910237d5cffd839369465f2597 SHA512 409d4d80059f1868b2aa80896b0a082493fe0e1d3c1f76145bf41a1f7c93dc4a3970eb90b9c599584a6a00f3d135f870115daff0fabe9f22dcd1a3c7a16371a5
diff --git a/dev-python/braintree/braintree-4.21.0.ebuild b/dev-python/braintree/braintree-4.21.0.ebuild
new file mode 100644
index 000000000000..c50e26d97b9e
--- /dev/null
+++ b/dev-python/braintree/braintree-4.21.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+MY_P=braintree_python-${PV}
+DESCRIPTION="Braintree Python Library"
+HOMEPAGE="
+ https://developer.paypal.com/braintree/docs/reference/overview/
+ https://github.com/braintree/braintree_python/
+ https://pypi.org/project/braintree/
+"
+# no tests in sdist, as of 4.19.0
+SRC_URI="
+ https://github.com/braintree/braintree_python/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/requests-0.11.1[${PYTHON_USEDEP}]
+"
+
+DOCS=( README.md )
+
+distutils_enable_tests unittest
+
+python_test() {
+ eunittest tests/unit
+}