Date: Saturday, November 19, 2022 @ 10:39:53
  Author: dvzrv
Revision: 1349656

upgpkg: python-docker 6.0.1-3: Rebuild to remove python-pip makedepends (switch 
to PEP517).

Modified:
  python-docker/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-19 10:20:24 UTC (rev 1349655)
+++ PKGBUILD    2022-11-19 10:39:53 UTC (rev 1349656)
@@ -7,16 +7,16 @@
 
 pkgname=python-docker
 pkgver=6.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A Python library for the Docker Engine API"
 arch=('any')
 url="https://github.com/docker/docker-py";
 license=("Apache")
-depends=('python-requests' 'python-six' 'python-websocket-client' 
'python-docker-pycreds' 'python-paramiko')
-makedepends=('python-pip' 'python-requests' 'python-six' 
'python-websocket-client'
-             'python-docker-pycreds' 'python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytest-timeout'
-              'python-coverage' 'flake8')
+depends=('python-packaging' 'python-requests' 'python-urllib3' 
'python-websocket-client')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-setuptools-scm' 'python-wheel')
+checkdepends=('flake8' 'python-coverage' 'python-paramiko' 'python-pytest'
+'python-pytest-cov' 'python-pytest-timeout')
+optdepends=('python-paramiko: for connections using the SSH protocol')
 provides=('python-docker-py')
 conflicts=('python-docker-py')
 replaces=('python-docker-py')
@@ -30,7 +30,7 @@
 build() {
   cd docker-py-"$pkgver"
   export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -40,5 +40,5 @@
 
 package() {
   cd docker-py-"$pkgver"
-  python setup.py install -O1 --root="$pkgdir"
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }

Reply via email to