Date: Sunday, August 7, 2022 @ 08:36:12 Author: felixonmars Revision: 1260495
archrelease: copy trunk to community-any Added: python-braintree/repos/community-any/PKGBUILD (from rev 1260494, python-braintree/trunk/PKGBUILD) Deleted: python-braintree/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-07 08:35:59 UTC (rev 1260494) +++ PKGBUILD 2022-08-07 08:36:12 UTC (rev 1260495) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-braintree -pkgver=4.15.2 -pkgrel=1 -pkgdesc="Braintree Python Library" -arch=('any') -url="https://www.braintreepayments.com/docs/python" -license=('MIT') -depends=('python-requests') -makedepends=('python-setuptools') -checkdepends=('python-nose') -source=("$pkgname-$pkgver.tar.gz::https://github.com/braintree/braintree_python/archive/$pkgver.tar.gz") -sha512sums=('324823a078bc4068577793b169dd6b3d67e05d77850cebfe09602c0f6c3626ef1098f612c0ddfb7cc72b4b734d7319944c30297658f77edaf906334d27393f13') - -build() { - cd braintree_python-$pkgver - python setup.py build -} - -check() { - cd braintree_python-$pkgver - nosetests3 tests/unit -} - -package() { - cd braintree_python-$pkgver - python setup.py install -O1 --root="$pkgdir" - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-braintree/repos/community-any/PKGBUILD (from rev 1260494, python-braintree/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-07 08:36:12 UTC (rev 1260495) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-braintree +pkgver=4.16.0 +pkgrel=1 +pkgdesc="Braintree Python Library" +arch=('any') +url="https://www.braintreepayments.com/docs/python" +license=('MIT') +depends=('python-requests') +makedepends=('python-setuptools') +checkdepends=('python-nose') +source=("$pkgname-$pkgver.tar.gz::https://github.com/braintree/braintree_python/archive/$pkgver.tar.gz") +sha512sums=('6eaed1dec96032f3522e59e66c64ab674324518b7086ed9aefd2cdd5ae70e2d3e114a2e422f3edcae47dd95a5f332182dd65800cacb20bcbdf7e01a1e96498bb') + +build() { + cd braintree_python-$pkgver + python setup.py build +} + +check() { + cd braintree_python-$pkgver + nosetests3 tests/unit +} + +package() { + cd braintree_python-$pkgver + python setup.py install -O1 --root="$pkgdir" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}