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

Felix Yan felixonmars at archlinux.org
Wed Dec 6 02:38:58 UTC 2017


    Date: Wednesday, December 6, 2017 @ 02:38:56
  Author: felixonmars
Revision: 272355

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 02:38:24 UTC (rev 272354)
+++ PKGBUILD	2017-12-06 02:38:56 UTC (rev 272355)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-requests-mock
-pkgname=('python-requests-mock' 'python2-requests-mock')
-pkgver=1.3.0
-pkgrel=1
-pkgdesc="A mock of useful classes and functions to be used with python-requests."
-arch=('any')
-url="https://github.com/openstack/requests-mock"
-license=('Apache')
-makedepends=('python-pbr' 'python2-pbr' 'python-requests' 'python2-requests'
-             'python-six' 'python2-six' 'git')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock')
-source=("git+https://github.com/openstack/requests-mock.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a requests-mock{,-py2}
-}
-
-build() {
-  cd "$srcdir"/requests-mock
-  python setup.py build
-
-  cd "$srcdir"/requests-mock-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/requests-mock
-  python setup.py testr
-
-  cd "$srcdir"/requests-mock-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-package_python-requests-mock() {
-  depends=('python-requests' 'python-six')
-
-  cd requests-mock
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-requests-mock() {
-  depends=('python2-requests' 'python2-six')
-
-  cd requests-mock-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-requests-mock/repos/community-any/PKGBUILD (from rev 272354, python-requests-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-06 02:38:56 UTC (rev 272355)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-requests-mock
+pkgname=('python-requests-mock' 'python2-requests-mock')
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="A mock of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/openstack/requests-mock"
+license=('Apache')
+makedepends=('python-pbr' 'python2-pbr' 'python-requests' 'python2-requests'
+             'python-six' 'python2-six' 'git')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock')
+source=("git+https://github.com/openstack/requests-mock.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a requests-mock{,-py2}
+}
+
+build() {
+  cd "$srcdir"/requests-mock
+  python setup.py build
+
+  cd "$srcdir"/requests-mock-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/requests-mock
+  python setup.py testr
+
+  cd "$srcdir"/requests-mock-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+package_python-requests-mock() {
+  depends=('python-requests' 'python-six')
+
+  cd requests-mock
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-requests-mock() {
+  depends=('python2-requests' 'python2-six')
+
+  cd requests-mock-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list