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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 12:01:50 UTC 2021


    Date: Thursday, December 2, 2021 @ 12:01:50
  Author: foutrelis
Revision: 1061727

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 12:01:49 UTC (rev 1061726)
+++ PKGBUILD	2021-12-02 12:01:50 UTC (rev 1061727)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requests-mock
-pkgver=1.9.3
-pkgrel=2
-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=('98b43739055b192606eb7f1823b610adaaa6573719c5e5cf01ce07e83e04e22d1109e1c124f3f8d8595cf2ee79de9725e6f9a2f6c663aa22c872fb65821c46d9')
-
-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-staging-any/PKGBUILD (from rev 1061724, python-requests-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 12:01:50 UTC (rev 1061727)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requests-mock
+pkgver=1.9.3
+pkgrel=3
+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=('98b43739055b192606eb7f1823b610adaaa6573719c5e5cf01ce07e83e04e22d1109e1c124f3f8d8595cf2ee79de9725e6f9a2f6c663aa22c872fb65821c46d9')
+
+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