[arch-commits] Commit in python-pytest-rerunfailures/repos/community-any (2 files)
David Runge
dvzrv at archlinux.org
Tue Sep 29 09:08:51 UTC 2020
Date: Tuesday, September 29, 2020 @ 09:08:50
Author: dvzrv
Revision: 713709
archrelease: copy trunk to community-any
Added:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
(from rev 713708, python-pytest-rerunfailures/trunk/PKGBUILD)
Deleted:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-29 09:08:02 UTC (rev 713708)
+++ PKGBUILD 2020-09-29 09:08:50 UTC (rev 713709)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-rerunfailures
-pkgname=python-pytest-rerunfailures
-pkgver=9.1
-pkgrel=1
-pkgdesc="A plugin for py.test that re-runs failed tests to eliminate intermittent failures"
-arch=('any')
-url="https://github.com/pytest-dev/pytest-rerunfailures/"
-license=('MPL2')
-depends=('python-pytest')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('780d4589e9f0f1d7e944cf7b15ee9b20cc2aa642da8231341474ed4bac7b6f1069a8b515afcc479b451c03266271568774cc67174010dcd168e893c804805efb')
-b2sums=('d8d7b62233cb5abdd97f703eed74a0aa02a29f0cbe2078b79dcc1bda053f5e1d4f79f73362b0c25c88088a1570bb3c14e00994cd72971459396e18747894034c')
-
-build() {
- cd "${_name}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${_name}-${pkgver}"
- export PYTHONPATH="build/lib:$PYTHONPATH"
- pytest -v
-}
-
-package() {
- cd "${_name}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {CHANGES.rst,README.rst}
-}
Copied: python-pytest-rerunfailures/repos/community-any/PKGBUILD (from rev 713708, python-pytest-rerunfailures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-29 09:08:50 UTC (rev 713709)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-rerunfailures
+pkgname=python-pytest-rerunfailures
+pkgver=9.1.1
+pkgrel=1
+pkgdesc="A plugin for py.test that re-runs failed tests to eliminate intermittent failures"
+arch=('any')
+url="https://github.com/pytest-dev/pytest-rerunfailures/"
+license=('MPL2')
+depends=('python-pytest')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('875591306ab010494ccbb865ea6445ab37422fce9105260d9495215af44057210564aca4fed3b4765b5a30c1cbef120de716d15d10a6db91dcb7d9f5b4f3b102')
+b2sums=('b2118fe9460ebb750c72b05762d70cf53703e4c9982c6343ef02ebcec6630598ac98998ff994268b9108bd6850e71fd5b9cde1d0abb727d33fad238e9b26fa61')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ export PYTHONPATH="build/lib:$PYTHONPATH"
+ pytest -v
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 {CHANGES.rst,README.rst}
+}
More information about the arch-commits
mailing list