summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Franke2019-04-16 11:49:24 +0200
committerBjoern Franke2019-04-16 11:49:24 +0200
commite2726cc53205864d6246a35d4577147c26dfbf26 (patch)
tree75accf3d58ce1bdf159f8c5dd3d09d532147f22d
parent8a07cd07daedcdc6dcafb04dd4d312e060c3bba3 (diff)
downloadaur-e2726cc53205864d6246a35d4577147c26dfbf26.tar.gz
switch to Python 3
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4eebb6f2bc5..e8e8a710a98 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = pywws
pkgdesc = Python software for USB Wireless WeatherStations
pkgver = 19.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/jim-easterbrook/pywws
arch = any
license = GPL
- makedepends = python2-pip
- depends = python2-tzlocal
+ makedepends = python-pip
+ depends = python-tzlocal
+ depends = python-libusb
options = !emptydirs
source = https://pypi.io/packages/source/p/pywws/pywws-19.4.0.tar.gz
source = service
diff --git a/PKGBUILD b/PKGBUILD
index 089088790b5..f04c75913e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
# Maintainer: Bjoern Franke <bjo@nord-west.org>
pkgname=pywws
pkgver=19.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Python software for USB Wireless WeatherStations"
arch=('any')
url="https://github.com/jim-easterbrook/pywws"
license=('GPL')
-makedepends=('python2-pip')
-depends=('python2-tzlocal')
+makedepends=('python-pip')
+depends=('python-tzlocal' 'python-libusb')
options=(!emptydirs)
source=(https://pypi.io/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz
'service')
@@ -17,7 +17,7 @@ md5sums=('3cc88cecf1fb601d0a0922f99c0f7c8c'
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py install --root="$pkgdir/" --optimize=1
install -Dm644 "${srcdir}"/service \
"${pkgdir}"/usr/lib/systemd/system/pywws-livelog.service