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

David Runge dvzrv at archlinux.org
Sun Mar 31 18:01:17 UTC 2019


    Date: Sunday, March 31, 2019 @ 18:01:17
  Author: dvzrv
Revision: 446881

archrelease: copy trunk to community-any

Added:
  python-pytest-rerunfailures/repos/community-any/PKGBUILD
    (from rev 446879, python-pytest-rerunfailures/trunk/PKGBUILD)
Deleted:
  python-pytest-rerunfailures/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++---------------------------------------
 1 file changed, 36 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-31 18:01:16 UTC (rev 446880)
+++ PKGBUILD	2019-03-31 18:01:17 UTC (rev 446881)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=pytest-rerunfailures
-pkgbase=python-pytest-rerunfailures
-pkgname=('python-pytest-rerunfailures' 'python2-pytest-rerunfailures')
-pkgver=6.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')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest' 'python2-mock')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('654a6afea01e5d7e0f516a6427eee5bd2947757a0c05ee177521f607d8cc7e472e614267e414ce014528c4bd5de99a4bfaf5381d6c5dbf5abd9e7170a4c3fbc8')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
-  # 
-  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py build
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py build
-}
-
-check() {
-  export PYTHONPATH="build/lib:$PYTHONPATH"
-  cd "${pkgname[0]}-${pkgver}"
-  py.test test_pytest_rerunfailures.py
-  cd ../"${pkgname[1]}-${pkgver}"
-  py.test2 test_pytest_rerunfailures.py
-}
-
-package_python-pytest-rerunfailures() {
-  depends=('python-pytest')
-  cd "${pkgname}-${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}
-}
-
-package_python2-pytest-rerunfailures() {
-  depends=('python2-pytest')
-  cd "${pkgname}-${pkgver}"
-  python2 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}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-rerunfailures/repos/community-any/PKGBUILD (from rev 446879, python-pytest-rerunfailures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-31 18:01:17 UTC (rev 446881)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=pytest-rerunfailures
+pkgname=python-pytest-rerunfailures
+pkgver=7.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-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('df26952f4c88c43a7df59cc9b41d794987e4d7c43cf4b656fb2e10734e16b0218ea0dfcc184943f96c39add800fe519ee6b8843b3a0f4d36e9feb59109199df3')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  export PYTHONPATH="build/lib:$PYTHONPATH"
+  py.test test_pytest_rerunfailures.py
+}
+
+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