[arch-commits] Commit in python-jaraco.test/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Jul 27 20:44:36 UTC 2022


    Date: Wednesday, July 27, 2022 @ 20:44:36
  Author: arojas
Revision: 1258943

upgpkg: python-jaraco.test 5.1.0-1: Update to 5.1.0

Modified:
  python-jaraco.test/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-27 20:41:00 UTC (rev 1258942)
+++ PKGBUILD	2022-07-27 20:44:36 UTC (rev 1258943)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-jaraco.test
-pkgver=5.0.0
-pkgrel=4
+pkgver=5.1.0
+pkgrel=1
 pkgdesc="Testing support by jaraco"
 url="https://github.com/jaraco/jaraco.test"
 license=('MIT')
@@ -9,18 +9,18 @@
 arch=('any')
 depends=('python-jaraco.collections' 'python-jaraco.context' 'python-jaraco.functools' 'python-toml'
          'python-more-itertools')
-makedepends=('python-setuptools-scm')
+makedepends=('python-setuptools-scm' 'python-wheel' 'python-build' 'python-installer')
 checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
               'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy'
               'python-pip')
 source=("https://github.com/jaraco/jaraco.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5a5c3268b570269f5d18166c9c90973e18acbd14f382c08a8576f8612fc477d739d1e8714aa9cbdf0cb2da9551a0a19da33976ed443449007eb6b300a055f987')
+sha512sums=('6cd810b8075e622b7a631b3bcca953c6210f2f427ea35f9958f98110fcfb5ef9bd7046ad2909355451208983aa2a25abee29fec829cc18dc94ad491d319e1361')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
 build() {
   cd jaraco.test-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -30,7 +30,7 @@
 
 package() {
   cd jaraco.test-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list