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

Felix Yan felixonmars at archlinux.org
Thu Jul 6 15:43:26 UTC 2017


    Date: Thursday, July 6, 2017 @ 15:43:26
  Author: felixonmars
Revision: 242561

archrelease: copy trunk to community-any

Added:
  python-requests-toolbelt/repos/community-any/PKGBUILD
    (from rev 242560, 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-07-06 15:43:03 UTC (rev 242560)
+++ PKGBUILD	2017-07-06 15:43:26 UTC (rev 242561)
@@ -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.8.0
-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')
-checkdepends=('python-pytest' 'python2-pytest' 'python-betamax' 'python2-betamax'
-              'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/requests-toolbelt/archive/$pkgver.tar.gz")
-sha512sums=('902114a1e3a8d67d789ebf652bc68477b31d3b5f9e36b44bdbe9dc56f981a30083f53179f6539f68014e12962deb8599a86ee806a3c2d8f633725d4cbbfa61cd')
-
-prepare() {
-  cp -a requests-toolbelt-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/requests-toolbelt-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/requests-toolbelt-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/requests-toolbelt-$pkgver
-  py.test
-
-  cd "$srcdir"/requests-toolbelt-$pkgver-py2
-  py.test2
-}
-
-package_python-requests-toolbelt() {
-  depends=('python-requests')
-
-  cd requests-toolbelt-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-requests-toolbelt() {
-  depends=('python2-requests')
-
-  cd requests-toolbelt-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-requests-toolbelt/repos/community-any/PKGBUILD (from rev 242560, python-requests-toolbelt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-06 15:43:26 UTC (rev 242561)
@@ -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.8.0
+pkgrel=2
+pkgdesc="A toolbelt of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/requests/toolbelt"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
+checkdepends=('python-pytest' 'python2-pytest' 'python-betamax' 'python2-betamax'
+              'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz")
+sha512sums=('55bf93d386442f5deb81eabd85812ffd49e98ff88c0bb96e15271efd84deb7c5d854a2cdc81c989a7d74870e8a218fc968d080052d9ca7cd9733a2378ea9c2f5')
+
+prepare() {
+  cp -a toolbelt-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/toolbelt-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/toolbelt-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/toolbelt-$pkgver
+  py.test
+
+  cd "$srcdir"/toolbelt-$pkgver-py2
+  py.test2
+}
+
+package_python-requests-toolbelt() {
+  depends=('python-requests')
+
+  cd toolbelt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-requests-toolbelt() {
+  depends=('python2-requests')
+
+  cd toolbelt-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list