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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:48:26 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:48:26
  Author: felixonmars
Revision: 1059329

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pytest-regressions/repos/community-staging-any/PKGBUILD (from rev 1059327, python-pytest-regressions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:48:26 UTC (rev 1059329)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pytest-regressions
+pkgname=python-$_pkgname
+pkgver=2.2.0
+pkgrel=2
+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=('8fd1c53eea07f3e28c39d37119ed9e7f633487b20b67d9acff79e5920eb62624062eabe5569ddbfba08a93967f612b9adf52027cc508f6a33e1911c9e0bfa411')
+
+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