[arch-commits] Commit in python-pytest-rerunfailures/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Sep 17 21:14:22 UTC 2021
Date: Friday, September 17, 2021 @ 21:14:21
Author: dvzrv
Revision: 1016892
upgpkg: python-pytest-rerunfailures 10.2-1: Upgrade to 10.2.
Simplify installation in package() to adhere to python package guidelines.
Modified:
python-pytest-rerunfailures/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-17 21:09:58 UTC (rev 1016891)
+++ PKGBUILD 2021-09-17 21:14:21 UTC (rev 1016892)
@@ -2,7 +2,7 @@
_name=pytest-rerunfailures
pkgname=python-pytest-rerunfailures
-pkgver=10.1
+pkgver=10.2
pkgrel=1
pkgdesc="A plugin for py.test that re-runs failed tests to eliminate intermittent failures"
arch=('any')
@@ -12,8 +12,8 @@
makedepends=('python-setuptools')
checkdepends=('python-mock' 'python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('9aa825c7fb1fb36edb78f1cdfc4a5f705e1688d00be0cd311e5cdf542698a2e03eed15b526235e2a35262000ce24923ea1049f3efa449c9a3723a2a5c1316717')
-b2sums=('05b654128cbc94be803d15e038cdfcaa3879dbc43eb57dcf5cc3f5e52d0e4848a38b70048b32eb5afc99bcaec614abe6febfa95e4e8f7c7e07f6dc71dcdc3915')
+sha512sums=('8830610276e2cc172ee372ae4d8376bc6329138751ea2737a4def6af32d05c112c872a7a180ff554018058c05ed0d109927dbac61f748586257e40b0243f03c8')
+b2sums=('9f317f3a39ac234e145a14d532d2727bb9fb5fead65c05372cf95268e0f589f9de994cd3c47e75dcb354c996595698c43fccdea5134d2e1921429c8ea7b71451')
build() {
cd "${_name}-${pkgver}"
@@ -28,9 +28,7 @@
package() {
cd "${_name}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm 644 {CHANGES.rst,README.rst}
}
More information about the arch-commits
mailing list