diff options
author | Martino Pilia | 2019-11-23 19:49:05 +0200 |
---|---|---|
committer | Martino Pilia | 2019-11-23 19:49:05 +0200 |
commit | 6c406edc2a3a829a2f6cdbf576ffabe7a59ce186 (patch) | |
tree | c69b20f3fd99490e0eafde5348bcbb2e9fe67a00 | |
parent | 6a9bd77e51db36b94b2f6c07f177b7893f93a505 (diff) | |
download | aur-6c406edc2a3a829a2f6cdbf576ffabe7a59ce186.tar.gz |
Python 3.8
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-aiocoap-git pkgdesc = Python implementation of CoAP - pkgver = 0.4b1.r0.g79feb4c - pkgrel = 2 + pkgver = 0.4b1.r12.gb4540f9 + pkgrel = 1 url = https://github.com/chrysn/aiocoap arch = any license = MIT @@ -1,8 +1,8 @@ # Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com> _pkgname=aiocoap pkgname=python-${_pkgname}-git -pkgver=0.4b1.r0.g79feb4c -pkgrel=2 +pkgver=0.4b1.r12.gb4540f9 +pkgrel=1 pkgdesc="Python implementation of CoAP" arch=('any') url="https://github.com/chrysn/aiocoap" @@ -24,5 +24,6 @@ package() { python setup.py install --optimize=1 --root="$pkgdir" # Do not install tests, to not conflict with other packages - rm -rf "$pkgdir/usr/lib/python3.7/site-packages/tests" + _py_version=$(python --version | grep -o '[0-9]\.[0-9]\+') + rm -rf "$pkgdir/usr/lib/python${_py_version}/site-packages/tests" } |