[arch-commits] Commit in python-braintree/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 30 16:13:18 UTC 2018


    Date: Thursday, August 30, 2018 @ 16:13:17
  Author: felixonmars
Revision: 375494

archrelease: copy trunk to community-any

Added:
  python-braintree/repos/community-any/PKGBUILD
    (from rev 375493, python-braintree/trunk/PKGBUILD)
Deleted:
  python-braintree/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-30 16:13:02 UTC (rev 375493)
+++ PKGBUILD	2018-08-30 16:13:17 UTC (rev 375494)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-braintree
-pkgname=(python-braintree python2-braintree)
-pkgver=3.47.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=('13758cbef063ea09d0eb19bf6d6db34002da890859dcd6a4d9df4af3c4dfff33a03e3a393c0ae586a348e42b450f3460258d53fdca3b465696bbd7c5782de1cb')
-
-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 375493, python-braintree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-30 16:13:17 UTC (rev 375494)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-braintree
+pkgname=(python-braintree python2-braintree)
+pkgver=3.48.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=('a0fa77c3ceedf184f9b9f587059af5637a4682ab7e75eebf591b66ab2184a410b432cdf9eb7f6add64eb40e2e62202d95c308d1b7e439b7dccdbd6dcdb7e3a6e')
+
+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