[arch-commits] Commit in python-pytest-rerunfailures/repos/community-any (2 files)
David Runge
dvzrv at gemini.archlinux.org
Fri Sep 17 21:14:29 UTC 2021
Date: Friday, September 17, 2021 @ 21:14:29
Author: dvzrv
Revision: 1016893
archrelease: copy trunk to community-any
Added:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
(from rev 1016892, python-pytest-rerunfailures/trunk/PKGBUILD)
Deleted:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 34 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-17 21:14:21 UTC (rev 1016892)
+++ PKGBUILD 2021-09-17 21:14:29 UTC (rev 1016893)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-rerunfailures
-pkgname=python-pytest-rerunfailures
-pkgver=10.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=('9aa825c7fb1fb36edb78f1cdfc4a5f705e1688d00be0cd311e5cdf542698a2e03eed15b526235e2a35262000ce24923ea1049f3efa449c9a3723a2a5c1316717')
-b2sums=('05b654128cbc94be803d15e038cdfcaa3879dbc43eb57dcf5cc3f5e52d0e4848a38b70048b32eb5afc99bcaec614abe6febfa95e4e8f7c7e07f6dc71dcdc3915')
-
-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 \
- --root="${pkgdir}"
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {CHANGES.rst,README.rst}
-}
Copied: python-pytest-rerunfailures/repos/community-any/PKGBUILD (from rev 1016892, python-pytest-rerunfailures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-17 21:14:29 UTC (rev 1016893)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pytest-rerunfailures
+pkgname=python-pytest-rerunfailures
+pkgver=10.2
+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=('8830610276e2cc172ee372ae4d8376bc6329138751ea2737a4def6af32d05c112c872a7a180ff554018058c05ed0d109927dbac61f748586257e40b0243f03c8')
+b2sums=('9f317f3a39ac234e145a14d532d2727bb9fb5fead65c05372cf95268e0f589f9de994cd3c47e75dcb354c996595698c43fccdea5134d2e1921429c8ea7b71451')
+
+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 --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