summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-07 20:07:30 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-07 20:22:42 +0100
commit2f862038e244270f8db538e610a24028d35bd71a (patch)
tree8cf35a95315b303a43fd78fdcc852da8e95dc913 /dev-python
parentdev-python/pbr: Bump to 6.0.0 (diff)
downloadgentoo-2f862038e244270f8db538e610a24028d35bd71a.tar.gz
gentoo-2f862038e244270f8db538e610a24028d35bd71a.tar.bz2
gentoo-2f862038e244270f8db538e610a24028d35bd71a.zip
dev-python/braintree: Bump to 4.24.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/braintree/Manifest1
-rw-r--r--dev-python/braintree/braintree-4.24.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/braintree/Manifest b/dev-python/braintree/Manifest
index 1d28a3a23c77..a15039d1daec 100644
--- a/dev-python/braintree/Manifest
+++ b/dev-python/braintree/Manifest
@@ -1 +1,2 @@
DIST braintree_python-4.23.0.gh.tar.gz 220576 BLAKE2B 23d158c0216a63ce7746a521c339663dc4f1fcc355f3cf65d526c19f7b6a29e49da6a8905059a1410bcf0390c7d44bc267963d68e44e5f4ddc0de57b2500c06f SHA512 e5be83985a6605e68317eafa7533e826d3965707e691791a045f1cbeddded718b21d62e5156c402142228742b13de9859e586b4236865ea675c5c57a3410ffb3
+DIST braintree_python-4.24.0.gh.tar.gz 223640 BLAKE2B ac3c7b1dbf7f781f9e9a08366b28bbb1306a8e5b48c9c57a8bdf9dce2b57f974009b6ba2d351e0f81c9967e6fea12316f254684b7a0753bb3f548284cd51a3e8 SHA512 6620903ce50c613a5cdfab8dac96f37ccbf36ef1cc74c217ca4a00f86c840bc2f0525942d2deebf3ca20a3346b010a9e6d4a81fa75e1536b9d13ea46e6f38009
diff --git a/dev-python/braintree/braintree-4.24.0.ebuild b/dev-python/braintree/braintree-4.24.0.ebuild
new file mode 100644
index 000000000000..8b60825aff84
--- /dev/null
+++ b/dev-python/braintree/braintree-4.24.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..12} )
+
+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
+}