Date: Sunday, January 8, 2023 @ 06:52:01
  Author: grawlinson
Revision: 1381935

upgpkg: python-minio 7.1.13-1; new upstream release

Modified:
  python-minio/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-08 05:14:03 UTC (rev 1381934)
+++ PKGBUILD    2023-01-08 06:52:01 UTC (rev 1381935)
@@ -1,8 +1,8 @@
 # Maintainer: George Rawlinson <[email protected]>
 
 pkgname=python-minio
-pkgver=7.1.12
-pkgrel=2
+pkgver=7.1.13
+pkgrel=1
 pkgdesc='MinIO Python Library for Amazon S3 Compatible Cloud Storage'
 arch=('any')
 url='https://github.com/minio/minio-py'
@@ -14,6 +14,9 @@
 )
 makedepends=(
   'git'
+  'python-build'
+  'python-installer'
+  'python-wheel'
   'python-setuptools'
 )
 checkdepends=(
@@ -20,7 +23,7 @@
   'minio'
   'python-pytest'
 )
-_commit='f764d45fbcb6ac97882851961e5d58afe86655d8'
+_commit='3d5f32606b6500af1c2ede7dbf217e87cbc76bc7'
 source=("$pkgname::git+$url.git#commit=$_commit")
 b2sums=('SKIP')
 
@@ -39,7 +42,7 @@
 build() {
   cd "$pkgname"
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -53,5 +56,5 @@
 package() {
   cd "$pkgname"
 
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }

Reply via email to