git » python-jeepney.git » commit 3037d6a

upgpkg: 0.6.0-1

author Felix Yan
2020-11-24 16:11:55 UTC
committer Felix Yan
2020-11-24 16:11:55 UTC
parent 014f6b220567596edac91fc42f0daa4f2c6bc596

upgpkg: 0.6.0-1

PKGBUILD +10 -3

diff --git a/PKGBUILD b/PKGBUILD
index c178e29..49fd2f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,28 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=python-jeepney
-pkgver=0.4.3
-pkgrel=3
+pkgver=0.6.0
+pkgrel=1
 pkgdesc="Low-level, pure Python DBus protocol wrapper"
 url="https://gitlab.com/takluyver/jeepney"
 license=('MIT')
 arch=('any')
 depends=('python')
+checkdepends=('python-pytest' 'python-pytest-trio' 'python-pytest-asyncio' 'python-testpath'
+              'python-trio')
 source=("https://pypi.io/packages/source/j/jeepney/jeepney-$pkgver.tar.gz")
-sha512sums=('bfb12c9259a57324759f8be44d1faf2c0535762e72db5f1370e64cb144c0fc537c9bc9cfb9b075932fb3a20e3ef4e0c990c10905cc5a69e3fb088e8de4193689')
+sha512sums=('140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5')
 
 build() {
   cd jeepney-$pkgver
   python setup.py build
 }
 
+check() {
+  cd jeepney-$pkgver
+  pytest
+}
+
 package() {
   cd jeepney-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1