Date: Monday, November 15, 2021 @ 00:05:38 Author: felixonmars Revision: 1047610
archrelease: copy trunk to community-any Added: python-braintree/repos/community-any/PKGBUILD (from rev 1047609, python-braintree/trunk/PKGBUILD) Deleted: python-braintree/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-15 00:05:28 UTC (rev 1047609) +++ PKGBUILD 2021-11-15 00:05:38 UTC (rev 1047610) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-braintree -pkgver=4.12.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=('4e539b691274cb02f7a761018c11b7a2f981e2aded813f2013aa2200f7ee78cf63ba4c876c0cd670850d3fab3b9e94a5af2a370bdd1db1221d454ed5714ad161') - -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 1047609, python-braintree/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-15 00:05:38 UTC (rev 1047610) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-braintree +pkgver=4.13.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=('123af689669695dab7709d17e620b98376a61d99893a233ab2005eee47bf225daacefa97059e75d927008592e36aad4a0a026e3d800012a0840544e95e6ceca3') + +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 +}