Date: Sunday, January 8, 2023 @ 06:54:56
Author: grawlinson
Revision: 1381936
archrelease: copy trunk to community-any
Added:
python-minio/repos/community-any/PKGBUILD
(from rev 1381935, python-minio/trunk/PKGBUILD)
Deleted:
python-minio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 117 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 60 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-08 06:52:01 UTC (rev 1381935)
+++ PKGBUILD 2023-01-08 06:54:56 UTC (rev 1381936)
@@ -1,57 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=python-minio
-pkgver=7.1.12
-pkgrel=2
-pkgdesc='MinIO Python Library for Amazon S3 Compatible Cloud Storage'
-arch=('any')
-url='https://github.com/minio/minio-py'
-license=('Apache')
-depends=(
- 'python'
- 'python-certifi'
- 'python-urllib3'
-)
-makedepends=(
- 'git'
- 'python-setuptools'
-)
-checkdepends=(
- 'minio'
- 'python-pytest'
-)
-_commit='f764d45fbcb6ac97882851961e5d58afe86655d8'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags
-}
-
-prepare() {
- cd "$pkgname"
-
- ln -sf /usr/bin/minio tests/functional/minio
-}
-
-build() {
- cd "$pkgname"
-
- python setup.py build
-}
-
-check() {
- cd "$pkgname"
-
- python -m pytest
-
- ./run_functional_tests.sh
-}
-
-package() {
- cd "$pkgname"
-
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-minio/repos/community-any/PKGBUILD (from rev 1381935,
python-minio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-08 06:54:56 UTC (rev 1381936)
@@ -0,0 +1,60 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-minio
+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'
+license=('Apache')
+depends=(
+ 'python'
+ 'python-certifi'
+ 'python-urllib3'
+)
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-wheel'
+ 'python-setuptools'
+)
+checkdepends=(
+ 'minio'
+ 'python-pytest'
+)
+_commit='3d5f32606b6500af1c2ede7dbf217e87cbc76bc7'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags
+}
+
+prepare() {
+ cd "$pkgname"
+
+ ln -sf /usr/bin/minio tests/functional/minio
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ python -m pytest
+
+ ./run_functional_tests.sh
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}