dev-python/braintree: Bump to 4.31.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-10-30 04:31:58 +01:00
parent 51f823b564
commit 024dc37cca
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST braintree_python-4.30.0.gh.tar.gz 230547 BLAKE2B b789ee0ff9fe925c1db5dc005aae78efca7736e3047c9151329f957862d4c6b145e9d152882c89bfe9240205de38283c40873db087f053bf55c9edaae666d848 SHA512 89fced2e4b69e71b56cac68b694e65f55574dbd84953000f0c8e82743869d72481570f836f721375f91766c1b0963bfec51a2657f732df1f8a4fd2130ce27c60
DIST braintree_python-4.31.0.gh.tar.gz 239483 BLAKE2B 959f039fa98a6acefb9b114bf8c7fef6d9b848f0a9c2e36dac86704df2e228604b316092022bfa2624c6d5688011e2ad85db6b2270736522497b67bfdbd8a2ff SHA512 5a29ab736f3c535c1e54f9210a148059833d1b56d073a0190407f103b65719cfdd02b3dd77ec61298127017dcc8bc4be0478aba2b386358169f5aaba264f19ea

View File

@@ -0,0 +1,39 @@
# Copyright 2020-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} )
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.0[${PYTHON_USEDEP}]
"
DOCS=( README.md )
distutils_enable_tests unittest
python_test() {
eunittest tests/unit
}