[arch-commits] Commit in python-pytest-tap/repos (2 files)

Lukas Fleischer lfleischer at archlinux.org
Wed Mar 25 01:45:39 UTC 2020


    Date: Wednesday, March 25, 2020 @ 01:45:38
  Author: lfleischer
Revision: 603967

archrelease: copy trunk to community-any

Added:
  python-pytest-tap/repos/community-any/
  python-pytest-tap/repos/community-any/PKGBUILD
    (from rev 603966, python-pytest-tap/trunk/PKGBUILD)

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

Copied: python-pytest-tap/repos/community-any/PKGBUILD (from rev 603966, python-pytest-tap/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-25 01:45:38 UTC (rev 603967)
@@ -0,0 +1,29 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+
+pkgname=python-pytest-tap
+_pyname=${pkgname#python-}
+pkgver=3.1
+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=('bab3a774f4a4564c2196f6b40e5a81db')
+
+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