[arch-commits] Commit in python-requests-mock/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 15:03:46 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:03:46
Author: foutrelis
Revision: 750822
archrelease: copy trunk to community-staging-any
Added:
python-requests-mock/repos/community-staging-any/PKGBUILD
(from rev 750821, 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 2020-11-11 15:03:43 UTC (rev 750821)
+++ PKGBUILD 2020-11-11 15:03:46 UTC (rev 750822)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-requests-mock
-pkgver=1.8.0
-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=('bdcca2b751a77ae05922a6e8949494365cffd2dd3b3dc26258a87c77eb9fe956439fbd6259c133b0a847b1666d4b17db9641dcb9e1ddc9647d760b9e2f9e5ebf')
-
-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 750821, python-requests-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:03:46 UTC (rev 750822)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requests-mock
+pkgver=1.8.0
+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=('bdcca2b751a77ae05922a6e8949494365cffd2dd3b3dc26258a87c77eb9fe956439fbd6259c133b0a847b1666d4b17db9641dcb9e1ddc9647d760b9e2f9e5ebf')
+
+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