[arch-commits] Commit in python-requests-toolbelt/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue Feb 14 03:40:35 UTC 2017


    Date: Tuesday, February 14, 2017 @ 03:40:35
  Author: felixonmars
Revision: 212215

archrelease: copy trunk to community-any

Added:
  python-requests-toolbelt/repos/community-any/PKGBUILD
    (from rev 212214, python-requests-toolbelt/trunk/PKGBUILD)
Deleted:
  python-requests-toolbelt/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-14 03:40:00 UTC (rev 212214)
+++ PKGBUILD	2017-02-14 03:40:35 UTC (rev 212215)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-
-pkgbase=python-requests-toolbelt
-pkgname=('python-requests-toolbelt' 'python2-requests-toolbelt')
-pkgver=0.7.0
-pkgrel=2
-pkgdesc="A toolbelt of useful classes and functions to be used with python-requests."
-arch=('any')
-url="https://github.com/sigmavirus24/requests-toolbelt"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-betamax' 'python2-betamax'
-              'python-mock' 'python2-mock')
-source=("git+https://github.com/sigmavirus24/requests-toolbelt.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a requests-toolbelt{,-py2}
-}
-
-build() {
-  cd "$srcdir"/requests-toolbelt
-  python setup.py build
-
-  cd "$srcdir"/requests-toolbelt-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/requests-toolbelt
-  py.test
-
-  cd "$srcdir"/requests-toolbelt-py2
-  py.test2
-}
-
-package_python-requests-toolbelt() {
-  depends=('python-requests')
-
-  cd requests-toolbelt
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-requests-toolbelt() {
-  depends=('python2-requests')
-
-  cd requests-toolbelt-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-requests-toolbelt/repos/community-any/PKGBUILD (from rev 212214, python-requests-toolbelt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-14 03:40:35 UTC (rev 212215)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+pkgbase=python-requests-toolbelt
+pkgname=('python-requests-toolbelt' 'python2-requests-toolbelt')
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="A toolbelt of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/sigmavirus24/requests-toolbelt"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git')
+checkdepends=('python-pytest' 'python2-pytest' 'python-betamax' 'python2-betamax'
+              'python-mock' 'python2-mock')
+source=("git+https://github.com/sigmavirus24/requests-toolbelt.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a requests-toolbelt{,-py2}
+}
+
+build() {
+  cd "$srcdir"/requests-toolbelt
+  python setup.py build
+
+  cd "$srcdir"/requests-toolbelt-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/requests-toolbelt
+  py.test
+
+  cd "$srcdir"/requests-toolbelt-py2
+  py.test2
+}
+
+package_python-requests-toolbelt() {
+  depends=('python-requests')
+
+  cd requests-toolbelt
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-requests-toolbelt() {
+  depends=('python2-requests')
+
+  cd requests-toolbelt-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list