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

Filipe Laíns ffy00 at archlinux.org
Sat Oct 31 15:17:19 UTC 2020


    Date: Saturday, October 31, 2020 @ 15:17:19
  Author: ffy00
Revision: 737810

archrelease: copy trunk to community-any

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

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

Copied: python-pytest-regressions/repos/community-any/PKGBUILD (from rev 737809, python-pytest-regressions/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-10-31 15:17:19 UTC (rev 737810)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pytest-regressions
+pkgname=python-$_pkgname
+pkgver=2.0.2
+pkgrel=1
+pkgdesc='Pytest plugin for regression testing'
+arch=('any')
+url='https://github.com/ESSS/pytest-regressions'
+license=('MIT')
+depends=('python-pytest' 'python-pytest-datadir' 'python-yaml')
+makedepends=('python-setuptools-scm')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('47d11cb55321a5d3173d750c90e6c524f0ea520fdfb20086390faf53afa6c8cf1f5fe1e4319864e7b8bd8c26ad3ab6b6469c5a4eacb61b9471d397b4a2ab6941')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list