Date: Saturday, May 8, 2021 @ 14:17:28 Author: felixonmars Revision: 928846
archrelease: copy trunk to community-any Added: python-braintree/repos/community-any/PKGBUILD (from rev 928845, python-braintree/trunk/PKGBUILD) Deleted: python-braintree/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-08 14:17:10 UTC (rev 928845) +++ PKGBUILD 2021-05-08 14:17:28 UTC (rev 928846) @@ -1,31 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-braintree -pkgver=4.8.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=('d3e2fb3a7f8189c71627f8e5fc41013a8df83554b481159bdafd10efc35608c4ee1ca58e65227c7d0c5590f132082a8e72afbd4e2a9691094f2ae77e74d42b25') - -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 928845, python-braintree/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-08 14:17:28 UTC (rev 928846) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-braintree +pkgver=4.9.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=('24b2fad39fbed1383793f7f5cb2601d98d924f25af2ac04002e6ef01c10a731416c11577ef776f5529eb39c22a20ad2c9121ea59fc78e3843b7e91e9b087b8f0') + +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 +}