[arch-commits] Commit in python-pytest-rerunfailures/repos/community-any (2 files)

David Runge dvzrv at archlinux.org
Wed Sep 2 18:36:54 UTC 2020


    Date: Wednesday, September 2, 2020 @ 18:36:53
  Author: dvzrv
Revision: 696783

archrelease: copy trunk to community-any

Added:
  python-pytest-rerunfailures/repos/community-any/PKGBUILD
    (from rev 696782, 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-02 18:36:41 UTC (rev 696782)
+++ PKGBUILD	2020-09-02 18:36:53 UTC (rev 696783)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pytest-rerunfailures
-pkgname=python-pytest-rerunfailures
-pkgver=9.0
-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=('c5ac12dda4b8411627be2950baa3c910cdb9b7111d792adcfa55d053912090ab6a221de481938d8722c346d34b07fe7f629be7e853d209ea41c4d7efb1781c0c')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  export PYTHONPATH="build/lib:$PYTHONPATH"
-  pytest -v
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  local py_ver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-  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 696782, python-pytest-rerunfailures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-02 18:36:53 UTC (rev 696783)
@@ -0,0 +1,38 @@
+# 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}
+}



More information about the arch-commits mailing list