git » python-jeepney.git » commit e17b71c

Update to 0.8.0

author Antonio Rojas
2022-07-30 22:29:04 UTC
committer Antonio Rojas
2022-07-30 22:29:04 UTC
parent a3ccd5f31abfec9930fe39dae4501639be22d3af

Update to 0.8.0

PKGBUILD +6 -5

diff --git a/PKGBUILD b/PKGBUILD
index bc44c9c..40f10c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=python-jeepney
-pkgver=0.7.1
-pkgrel=3
+pkgver=0.8.0
+pkgrel=1
 pkgdesc="Low-level, pure Python DBus protocol wrapper"
 url="https://gitlab.com/takluyver/jeepney"
 license=('MIT')
@@ -10,12 +10,13 @@ arch=('any')
 depends=('python')
 checkdepends=('python-pytest' 'python-pytest-trio' 'python-pytest-asyncio' 'python-testpath'
               'python-trio' 'python-async-timeout')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
 source=("https://pypi.io/packages/source/j/jeepney/jeepney-$pkgver.tar.gz")
-sha512sums=('f0af5a18a669f1a6322925201cad83ee01bc5a1b91577565042fd8a18b506a3650ff67b0ba333c8fb3b179f43ef243d16b07a9a1f7a7e5baec825dda0e6b0571')
+sha512sums=('823675f262c2c9778ccf9c1083601d936cca534fc0d2d9309b52aa6beeb7f73d225a37c5f18f6b0683c4829a93b1299a2cb4f8f341e55b92bedf58c8dce0aa75')
 
 build() {
   cd jeepney-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -25,6 +26,6 @@ check() {
 
 package() {
   cd jeepney-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }