[arch-commits] Commit in python-braintree/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Dec 13 18:53:22 UTC 2018
Date: Thursday, December 13, 2018 @ 18:53:21
Author: felixonmars
Revision: 416053
archrelease: copy trunk to community-any
Added:
python-braintree/repos/community-any/PKGBUILD
(from rev 416052, python-braintree/trunk/PKGBUILD)
Deleted:
python-braintree/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-13 18:53:10 UTC (rev 416052)
+++ PKGBUILD 2018-12-13 18:53:21 UTC (rev 416053)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-braintree
-pkgname=(python-braintree python2-braintree)
-pkgver=3.49.0
-pkgrel=1
-pkgdesc="Braintree Python Library"
-arch=('any')
-url="https://www.braintreepayments.com/docs/python"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
-checkdepends=('python-nose' 'python2-nose' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/braintree/braintree_python/archive/$pkgver.tar.gz")
-sha512sums=('6d6a65c71bced3067662b31ab49b56f91dc033e33844bdb27e856d9c6635c3fa29b431e396eacafe1c1f18bc74cd3f25ca2c3a01a94ca8135710ac6f2468ff30')
-
-prepare() {
- cp -a braintree_python-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/braintree_python-$pkgver
- python setup.py build
-
- cd "$srcdir"/braintree_python-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/braintree_python-$pkgver
- nosetests3 tests/unit
-
- cd "$srcdir"/braintree_python-$pkgver-py2
- nosetests2 tests/unit
-}
-
-package_python-braintree() {
- depends=('python-requests')
-
- cd braintree_python-$pkgver
- python setup.py install -O1 --root="$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-braintree() {
- depends=('python2-requests')
-
- cd braintree_python-$pkgver-py2
- python2 setup.py install -O1 --root="$pkgdir"
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-braintree/repos/community-any/PKGBUILD (from rev 416052, python-braintree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-13 18:53:21 UTC (rev 416053)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-braintree
+pkgname=(python-braintree python2-braintree)
+pkgver=3.50.0
+pkgrel=1
+pkgdesc="Braintree Python Library"
+arch=('any')
+url="https://www.braintreepayments.com/docs/python"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
+checkdepends=('python-nose' 'python2-nose' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/braintree/braintree_python/archive/$pkgver.tar.gz")
+sha512sums=('c7762119ece6388a90d59bc2f4b2678d4e5024da9ed9752c4784d170072bcbcf58f1806e85be8ee45b2b55bd9213387a712169b549e2d504e628daab2ade99ef')
+
+prepare() {
+ cp -a braintree_python-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/braintree_python-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/braintree_python-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/braintree_python-$pkgver
+ nosetests3 tests/unit
+
+ cd "$srcdir"/braintree_python-$pkgver-py2
+ nosetests2 tests/unit
+}
+
+package_python-braintree() {
+ depends=('python-requests')
+
+ cd braintree_python-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-braintree() {
+ depends=('python2-requests')
+
+ cd braintree_python-$pkgver-py2
+ python2 setup.py install -O1 --root="$pkgdir"
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list