Date: Friday, April 7, 2023 @ 04:30:39
Author: felixonmars
Revision: 1440526
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 1440524, python-pytest-regressions/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-pytest-regressions/repos/community-staging-any/PKGBUILD (from
rev 1440524, python-pytest-regressions/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 04:30:39 UTC (rev 1440526)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe LaĆns (FFY00) <[email protected]>
+
+_pkgname=pytest-regressions
+pkgname=python-$_pkgname
+pkgver=2.4.1
+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-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('391ddeeeb7a245a86fed72b47bc05804e6d7cd3d0f58bb0653913c59c3f043176560b6b413369c5989a09a3e905177debbbc814ebed9fcb57f2a7eca40334120')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build -nw
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python -m installer -d "$pkgdir" dist/*.whl
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: