[arch-commits] Commit in python-betamax/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Apr 13 05:32:21 UTC 2016
Date: Wednesday, April 13, 2016 @ 07:32:20
Author: fyan
Revision: 170807
archrelease: copy trunk to community-any
Added:
python-betamax/repos/community-any/PKGBUILD
(from rev 170806, python-betamax/trunk/PKGBUILD)
Deleted:
python-betamax/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-04-13 05:31:59 UTC (rev 170806)
+++ PKGBUILD 2016-04-13 05:32:20 UTC (rev 170807)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-betamax
-pkgname=('python-betamax' 'python2-betamax')
-pkgver=0.5.1
-pkgrel=1
-pkgdesc="A VCR imitation for python-requests"
-arch=('any')
-license=('GPL')
-url='https://github.com/sigmavirus24/betamax'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock')
-source=("git+https://github.com/sigmavirus24/betamax.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a betamax{,-py2}
-}
-
-check() {
- # Failure about isinstance urllib3.response.HTTPResponse affects only tests.
- # We need to investigate it more.
-
- cd "$srcdir/betamax"
- python setup.py ptr || warning "Tests failed"
-
- cd "$srcdir/betamax-py2"
- python2 setup.py ptr || warning "Tests failed"
-}
-
-package_python-betamax() {
- depends=('python-requests')
-
- cd "${srcdir}/betamax"
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-betamax() {
- depends=('python2-requests')
-
- cd "${srcdir}/betamax-py2"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-betamax/repos/community-any/PKGBUILD (from rev 170806, python-betamax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-04-13 05:32:20 UTC (rev 170807)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-betamax
+pkgname=('python-betamax' 'python2-betamax')
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="A VCR imitation for python-requests"
+arch=('any')
+license=('GPL')
+url='https://github.com/sigmavirus24/betamax'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock')
+source=("git+https://github.com/sigmavirus24/betamax.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a betamax{,-py2}
+}
+
+check() {
+ # Failure about isinstance urllib3.response.HTTPResponse affects only tests.
+ # We need to investigate it more.
+
+ cd "$srcdir"/betamax
+ python setup.py ptr || warning "Tests failed"
+
+ cd "$srcdir"/betamax-py2
+ python2 setup.py ptr || warning "Tests failed"
+}
+
+package_python-betamax() {
+ depends=('python-requests')
+
+ cd betamax
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-betamax() {
+ depends=('python2-requests')
+
+ cd betamax-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list