[arch-commits] Commit in python-pytest-responsemock/repos/community-any (2 files)
David Runge
dvzrv at gemini.archlinux.org
Fri Feb 4 21:33:39 UTC 2022
Date: Friday, February 4, 2022 @ 21:33:39
Author: dvzrv
Revision: 1126079
archrelease: copy trunk to community-any
Added:
python-pytest-responsemock/repos/community-any/PKGBUILD
(from rev 1126078, python-pytest-responsemock/trunk/PKGBUILD)
Deleted:
python-pytest-responsemock/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 35 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-04 21:33:31 UTC (rev 1126078)
+++ PKGBUILD 2022-02-04 21:33:39 UTC (rev 1126079)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-responsemock
-pkgname=python-pytest-responsemock
-pkgver=1.0.1
-pkgrel=3
-pkgdesc="Simplified requests calls mocking for pytest"
-arch=(any)
-url="https://github.com/idlesign/pytest-responsemock"
-license=(BSD)
-depends=(python-pytest python-responses)
-makedepends=(python-setuptools)
-checkdepends=(python-requests)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('4b04f5e1e7608640cf8310d33ce6ad53cdf416f0a05a087b86288abff53bd9ce2ecbfaf83320b1356e4aecfc7f3d7bf12dbfb30d1488aabf96e32f5e37612c8a')
-b2sums=('b62184c382b9110b5a0479c1fe5aaf24a7fc0342aa69f8d21559a870c937ec635a3e18bf803ff3544843af664ab0b3b996bbba2eb2c3796cf7a5b3a6f862c001')
-
-prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- # disable flaky tests
- pytest -v -k "not test_bypass"
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -vDm 644 {AUTHORS,CHANGELOG,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: python-pytest-responsemock/repos/community-any/PKGBUILD (from rev 1126078, python-pytest-responsemock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-04 21:33:39 UTC (rev 1126079)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-responsemock
+pkgname=python-pytest-responsemock
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Simplified requests calls mocking for pytest"
+arch=(any)
+url="https://github.com/idlesign/pytest-responsemock"
+license=(BSD)
+depends=(python-pytest python-responses)
+makedepends=(python-setuptools)
+checkdepends=(python-requests)
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('fd2eb1802a400d23ad9eead0a5706f8e2f6de969d994e22f7d7d75704f4b8392348f1cfd3270c1d93ad3bda886761086975e9a63486476ec73ffd6e08e4a593f')
+b2sums=('a503359e8dc7f35d213a6b87397255e091eff9f4178ee9cbb2fad92f6a0a20139f970eb0fe94daf717817e2d294b8649cb1ae1b5cedc418210a8385c30890ad2')
+
+build() {
+ cd "${_name}-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ # disable flaky tests
+ pytest -v -k "not test_bypass"
+}
+
+package() {
+ cd "${_name}-$pkgver"
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ install -vDm 644 {AUTHORS,CHANGELOG,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list