Date: Saturday, September 3, 2022 @ 19:23:08
  Author: ffy00
Revision: 1292713

upgpkg: python-pytest-regressions 2.3.1-1

Modified:
  python-pytest-regressions/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-03 19:21:26 UTC (rev 1292712)
+++ PKGBUILD    2022-09-03 19:23:08 UTC (rev 1292713)
@@ -2,27 +2,27 @@
 
 _pkgname=pytest-regressions
 pkgname=python-$_pkgname
-pkgver=2.2.0
-pkgrel=3
+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-setuptools-scm')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('8fd1c53eea07f3e28c39d37119ed9e7f633487b20b67d9acff79e5920eb62624062eabe5569ddbfba08a93967f612b9adf52027cc508f6a33e1911c9e0bfa411')
+sha512sums=('a10e1b678b817d273a63fc7bfadf373e0673940c4c57021eff58a75c82769f348bc3ab97182f5851ed262b178ac18af8814899454338f123264eaae0739a3525')
 
 build() {
   cd $_pkgname-$pkgver
 
-  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python setup.py build
+  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build -nw
 }
 
 package() {
   cd $_pkgname-$pkgver
 
-  SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python setup.py install 
--root="$pkgdir" --optimize=1 --skip-build
+  python -m installer -d "$pkgdir" dist/*.whl
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

Reply via email to