[arch-commits] Commit in python-braintree/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Sep 3 02:37:58 UTC 2015
Date: Thursday, September 3, 2015 @ 04:37:58
Author: fyan
Revision: 139120
archrelease: copy trunk to community-any
Added:
python-braintree/repos/community-any/PKGBUILD
(from rev 139119, python-braintree/trunk/PKGBUILD)
Deleted:
python-braintree/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-03 02:37:38 UTC (rev 139119)
+++ PKGBUILD 2015-09-03 02:37:58 UTC (rev 139120)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-braintree
-pkgname=(python-braintree python2-braintree)
-_pkgname=braintree
-pkgver=3.19.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')
-source=("$pkgbase-$pkgver::https://github.com/braintree/braintree_python/archive/${pkgver}.tar.gz")
-sha512sums=('c0379855cd4f49c06f91a2bfe33b2f0f3f03a95a9cacaa9c4f337172763fdbf4672ac27ad4963e1128945d0df4d7f2a49bb65a97025af34af785181030036461')
-
-prepare() {
- cp -a ${_pkgname}_python-$pkgver{,-py2}
-}
-
-build() {
- cd ${_pkgname}_python-$pkgver
- python setup.py build
-
- cd ../${_pkgname}_python-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd ${_pkgname}_python-$pkgver
- nosetests3 tests/unit
-
- cd ../${_pkgname}_python-$pkgver-py2
- nosetests2 tests/unit
-}
-
-package_python-braintree() {
- depends=('python-requests')
-
- cd ${_pkgname}_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 ${_pkgname}_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 139119, python-braintree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-03 02:37:58 UTC (rev 139120)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-braintree
+pkgname=(python-braintree python2-braintree)
+_pkgname=braintree
+pkgver=3.20.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')
+source=("$pkgbase-$pkgver::https://github.com/braintree/braintree_python/archive/${pkgver}.tar.gz")
+sha512sums=('b87e014ebc065a38f7a9cf419452a70a8241b4861a1e8404f6c7a1d9a93e165b73d99fb51c2d8be87e9f205d10d169ac6816dddabc9af396cc625906767d359a')
+
+prepare() {
+ cp -a ${_pkgname}_python-$pkgver{,-py2}
+}
+
+build() {
+ cd ${_pkgname}_python-$pkgver
+ python setup.py build
+
+ cd ../${_pkgname}_python-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd ${_pkgname}_python-$pkgver
+ nosetests3 tests/unit
+
+ cd ../${_pkgname}_python-$pkgver-py2
+ nosetests2 tests/unit
+}
+
+package_python-braintree() {
+ depends=('python-requests')
+
+ cd ${_pkgname}_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 ${_pkgname}_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