[arch-commits] Commit in python-pytest-regressions/repos/community-any (2 files)
Filipe Laíns
ffy00 at gemini.archlinux.org
Sat Sep 3 19:23:12 UTC 2022
Date: Saturday, September 3, 2022 @ 19:23:12
Author: ffy00
Revision: 1292714
archrelease: copy trunk to community-any
Added:
python-pytest-regressions/repos/community-any/PKGBUILD
(from rev 1292713, python-pytest-regressions/trunk/PKGBUILD)
Deleted:
python-pytest-regressions/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 19:23:08 UTC (rev 1292713)
+++ PKGBUILD 2022-09-03 19:23:12 UTC (rev 1292714)
@@ -1,30 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pytest-regressions
-pkgname=python-$_pkgname
-pkgver=2.2.0
-pkgrel=3
-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:
Copied: python-pytest-regressions/repos/community-any/PKGBUILD (from rev 1292713, python-pytest-regressions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-03 19:23:12 UTC (rev 1292714)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pytest-regressions
+pkgname=python-$_pkgname
+pkgver=2.3.1
+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-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('a10e1b678b817d273a63fc7bfadf373e0673940c4c57021eff58a75c82769f348bc3ab97182f5851ed262b178ac18af8814899454338f123264eaae0739a3525')
+
+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:
More information about the arch-commits
mailing list