[arch-commits] Commit in python-requests-mock/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 3 13:03:24 UTC 2022
Date: Saturday, September 3, 2022 @ 13:03:24
Author: felixonmars
Revision: 1292384
archrelease: copy trunk to community-any
Added:
python-requests-mock/repos/community-any/PKGBUILD
(from rev 1292383, python-requests-mock/trunk/PKGBUILD)
Deleted:
python-requests-mock/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 13:03:09 UTC (rev 1292383)
+++ PKGBUILD 2022-09-03 13:03:24 UTC (rev 1292384)
@@ -1,32 +0,0 @@
-# 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
-}
Copied: python-requests-mock/repos/community-any/PKGBUILD (from rev 1292383, python-requests-mock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 13:03:24 UTC (rev 1292384)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-requests-mock
+pkgver=1.10.0
+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-requests-futures'
+ 'python-testrepository')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jamielennox/requests-mock/archive/$pkgver.tar.gz")
+sha512sums=('24e34407651a14d89ce24b4fcd32556d7a522c02a3855466c6523c45e88dbc751d560478cc9af1eafc903dc8fdfc8715e1effedd116e33dee96063c980050560')
+
+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