[arch-commits] Commit in python-pytest-rerunfailures/repos/community-any (2 files)
David Runge
dvzrv at archlinux.org
Fri Mar 9 23:22:15 UTC 2018
Date: Friday, March 9, 2018 @ 23:22:14
Author: dvzrv
Revision: 305614
archrelease: copy trunk to community-any
Added:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
(from rev 305613, python-pytest-rerunfailures/trunk/PKGBUILD)
Deleted:
python-pytest-rerunfailures/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 51 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-09 23:22:06 UTC (rev 305613)
+++ PKGBUILD 2018-03-09 23:22:14 UTC (rev 305614)
@@ -1,60 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=pytest-rerunfailures
-pkgbase=python-pytest-rerunfailures
-pkgname=('python-pytest-rerunfailures' 'python2-pytest-rerunfailures')
-pkgver=4.0
-pkgrel=1
-pkgdesc="A py.test plugin that re-runs failed tests up to -n times to eliminate flakey failures"
-arch=('any')
-url="https://github.com/pytest-dev/pytest-rerunfailures/"
-license=('MPL2')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-ipdb' 'python-mock' 'python-pytest' 'python2-ipdb' 'python2-mock' 'python2-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('6692662ae721e7e42d5459cea6eb0d4b2640e4c98879fe512cb8af0b1e44fc5ecf1c749ff3f60a3803f492f5bbcc602a46a3534abce92c94c5a45a2e4be4c65c')
-
-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() {
-# cd "${pkgname[0]}-${pkgver}"
-# py.test
-#
-# cd ../"${pkgname[1]}-${pkgver}"
-# py.test2
-#}
-
-package_python-pytest-rerunfailures() {
- depends=('python-pytest')
- cd "${pkgname[0]}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \
- -vDm644 {CHANGES.rst,README.rst}
-}
-
-package_python2-pytest-rerunfailures() {
- depends=('python2-pytest')
- cd "${pkgname[1]}-${pkgver}"
- python2 setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \
- -vDm644 {CHANGES.rst,README.rst}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-rerunfailures/repos/community-any/PKGBUILD (from rev 305613, python-pytest-rerunfailures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-09 23:22:14 UTC (rev 305614)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=pytest-rerunfailures
+pkgbase=python-pytest-rerunfailures
+pkgname=('python-pytest-rerunfailures' 'python2-pytest-rerunfailures')
+pkgver=4.0
+pkgrel=2
+pkgdesc="A py.test plugin that re-runs failed tests up to -n times to eliminate flakey failures"
+arch=('any')
+url="https://github.com/pytest-dev/pytest-rerunfailures/"
+license=('MPL2')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('6692662ae721e7e42d5459cea6eb0d4b2640e4c98879fe512cb8af0b1e44fc5ecf1c749ff3f60a3803f492f5bbcc602a46a3534abce92c94c5a45a2e4be4c65c')
+
+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
+}
+
+package_python-pytest-rerunfailures() {
+ depends=('python-pytest')
+ cd "${pkgname[0]}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \
+ -vDm644 {CHANGES.rst,README.rst}
+}
+
+package_python2-pytest-rerunfailures() {
+ depends=('python2-pytest')
+ cd "${pkgname[1]}-${pkgver}"
+ python2 setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \
+ -vDm644 {CHANGES.rst,README.rst}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list