[arch-commits] Commit in (4 files)

Lukas Fleischer lfleischer at archlinux.org
Mon Mar 23 22:38:47 UTC 2020


    Date: Monday, March 23, 2020 @ 22:38:47
  Author: lfleischer
Revision: 603770

Initial import of python-pytest-tap

Added:
  python-pytest-tap/
  python-pytest-tap/repos/
  python-pytest-tap/trunk/
  python-pytest-tap/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: python-pytest-tap/trunk/PKGBUILD
===================================================================
--- python-pytest-tap/trunk/PKGBUILD	                        (rev 0)
+++ python-pytest-tap/trunk/PKGBUILD	2020-03-23 22:38:47 UTC (rev 603770)
@@ -0,0 +1,29 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+
+pkgname=python-pytest-tap
+_pyname=${pkgname#python-}
+pkgver=3.0
+pkgrel=1
+pkgdesc="Test Anything Protocol (TAP) reporting plugin for pytest."
+arch=(any)
+url="https://github.com/python-tap/pytest-tap"
+license=('BSD')
+depends=('python-pytest' 'python-tappy')
+makedepends=('python-setuptools' 'python-tox')
+source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
+md5sums=('226fc056b83ab3578f64faa478abe459')
+
+build() {
+	cd "${srcdir}/${_pyname}-${pkgver}"
+	python setup.py build
+}
+
+check() {
+	cd "${srcdir}/${_pyname}-${pkgver}"
+	tox
+}
+
+package() {
+	cd "${srcdir}/${_pyname}-${pkgver}"
+	python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
+}



More information about the arch-commits mailing list