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

Felix Yan felixonmars at archlinux.org
Sun May 2 20:45:50 UTC 2021


    Date: Sunday, May 2, 2021 @ 20:45:50
  Author: felixonmars
Revision: 926208

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-02 20:45:35 UTC (rev 926207)
+++ PKGBUILD	2021-05-02 20:45:50 UTC (rev 926208)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requests-mock
-pkgver=1.9.1
-pkgrel=1
-pkgdesc="A mock of useful classes and functions to be used with python-requests."
-arch=('any')
-url="https://github.com/jamielennox/requests-mock"
-license=('Apache')
-depends=('python-requests' 'python-six')
-makedepends=('python-pbr')
-checkdepends=('python-mock' 'python-purl' 'python-pytest' 'python-testrepository')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jamielennox/requests-mock/archive/$pkgver.tar.gz")
-sha512sums=('5377962ff78b770fc5290abbd9b189d0247f3cd2c31d657c4e6d823e5fde503d9690200ba3955cf10ba1ec9f12ac688a4954c9885a5fc6f3ce23269373fd7f35')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd requests-mock-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd requests-mock-$pkgver
-  python -m pytest tests/pytest
-  python setup.py testr
-}
-
-package() {
-  cd requests-mock-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-requests-mock/repos/community-any/PKGBUILD (from rev 926207, python-requests-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-02 20:45:50 UTC (rev 926208)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requests-mock
+pkgver=1.9.2
+pkgrel=1
+pkgdesc="A mock of useful classes and functions to be used with python-requests."
+arch=('any')
+url="https://github.com/jamielennox/requests-mock"
+license=('Apache')
+depends=('python-requests' 'python-six')
+makedepends=('python-pbr')
+checkdepends=('python-mock' 'python-purl' 'python-pytest' 'python-testrepository')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jamielennox/requests-mock/archive/$pkgver.tar.gz")
+sha512sums=('a59df54c86d59749dbb5eac5c5021823ff1d0a6ca8298d0af55a5bc88e4d9a7c0893a79177ce7df098f2557aeb1d60b88ac2e2bdfd544d66d5e44f007931ca58')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd requests-mock-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd requests-mock-$pkgver
+  python -m pytest tests/pytest
+  python setup.py testr
+}
+
+package() {
+  cd requests-mock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list