[arch-commits] Commit in python-braintree/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Jan 15 02:56:06 UTC 2016
Date: Friday, January 15, 2016 @ 03:56:05
Author: fyan
Revision: 156470
archrelease: copy trunk to community-any
Added:
python-braintree/repos/community-any/PKGBUILD
(from rev 156469, python-braintree/trunk/PKGBUILD)
Deleted:
python-braintree/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-15 02:55:44 UTC (rev 156469)
+++ PKGBUILD 2016-01-15 02:56:05 UTC (rev 156470)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-braintree
-pkgname=(python-braintree python2-braintree)
-_pkgname=braintree
-pkgver=3.23.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.tar.gz::https://github.com/braintree/braintree_python/archive/${pkgver}.tar.gz")
-sha512sums=('774c8d576c248509dced0fc289d87ce25f5cc0c51a5134ddd7af5d9677093bea3af6af8f528f5d001424777e48fe3f60daa4450d92ee4c4f1bd78be0f91eabda')
-
-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 156469, python-braintree/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-15 02:56:05 UTC (rev 156470)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-braintree
+pkgname=(python-braintree python2-braintree)
+_pkgname=braintree
+pkgver=3.24.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.tar.gz::https://github.com/braintree/braintree_python/archive/${pkgver}.tar.gz")
+sha512sums=('2feebd92bb865fd4b622ffb18ba30d4c05c396ec09df92a8456450594c59e5d024175779783e3c57ac256df2a2488090c8ef926a81f00bd41d24a03b3b087507')
+
+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