[arch-commits] Commit in python-braintree/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Oct 9 17:27:16 UTC 2018
Date: Tuesday, October 9, 2018 @ 17:27:16
Author: felixonmars
Revision: 391676
archrelease: copy trunk to community-any
Added:
python-braintree/repos/community-any/PKGBUILD
(from rev 391675, python-braintree/trunk/PKGBUILD)
Deleted:
python-braintree/repos/community-any/PKGBUILD
----------+
PKGBUILD | 105 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-09 17:27:03 UTC (rev 391675)
+++ PKGBUILD 2018-10-09 17:27:16 UTC (rev 391676)
@@ -1,53 +0,0 @@
-# $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
-}
Copied: python-braintree/repos/community-any/PKGBUILD (from rev 391675, python-braintree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-09 17:27:16 UTC (rev 391676)
@@ -0,0 +1,52 @@
+# 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
+}
More information about the arch-commits
mailing list