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

Felix Yan felixonmars at archlinux.org
Fri Aug 5 07:24:31 UTC 2016


    Date: Friday, August 5, 2016 @ 07:24:31
  Author: felixonmars
Revision: 185188

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-05 07:22:16 UTC (rev 185187)
+++ PKGBUILD	2016-08-05 07:24:31 UTC (rev 185188)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-betamax
-pkgname=('python-betamax' 'python2-betamax')
-pkgver=0.7.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 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
-}

Copied: python-betamax/repos/community-any/PKGBUILD (from rev 185187, python-betamax/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-08-05 07:24:31 UTC (rev 185188)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-betamax
+pkgname=('python-betamax' 'python2-betamax')
+pkgver=0.7.2
+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