summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsekret2020-12-13 19:46:30 +0100
committersekret2020-12-13 19:46:30 +0100
commite9e72fe3cbdc8de198c8d4d43b32e5f5a8e6c847 (patch)
tree992d65690fd9246c96e3ef73811ce23ddbb48f38
parente64950486cd86209be8ad7b1064e61f805a4cd00 (diff)
downloadaur-e9e72fe3cbdc8de198c8d4d43b32e5f5a8e6c847.tar.gz
update to python 3.9
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3439a0dd8b8..46d2c4b6d74 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
pkgbase = plotbitrate-git
pkgdesc = a script for plotting the bitrate of an audio or video stream over time
- pkgver = 1.0.7.1.r0.gfd9b5b7
+ pkgver = 1.0.7.1.r1.g5a5665b
pkgrel = 1
url = https://github.com/zeroepoch/plotbitrate
arch = any
license = BSD
makedepends = git
+ makedepends = python-setuptools
depends = python-matplotlib
+ depends = python-pyqt5
depends = ffmpeg
provides = plotbitrate
conflicts = plotbitrate
diff --git a/PKGBUILD b/PKGBUILD
index f7a40da5b8a..28d073b67d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
_pkgname=plotbitrate
pkgname=$_pkgname-git
-pkgver=1.0.7.1.r0.gfd9b5b7
+pkgver=1.0.7.1.r1.g5a5665b
pkgrel=1
pkgdesc="a script for plotting the bitrate of an audio or video stream over time"
arch=('any')
url="https://github.com/zeroepoch/plotbitrate"
license=('BSD')
-depends=('python-matplotlib' 'ffmpeg')
-makedepends=('git')
+depends=('python-matplotlib' 'python-pyqt5' 'ffmpeg')
+makedepends=('git' 'python-setuptools')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
@@ -23,7 +23,7 @@ pkgver() {
package() {
cd "$_pkgname"
install -Dm755 "$_pkgname.py" "$pkgdir/usr/bin/$_pkgname"
- mkdir -p "$pkgdir/usr/lib/python3.8/site-packages/"
+ mkdir -p "$pkgdir/usr/lib/python$(python3 -V | awk -F. -v OFS=. '{print $1, $2}' | awk '{print $2}')/site-packages/"
mv frame "$pkgdir/usr/lib/python$(python3 -V | awk -F. -v OFS=. '{print $1, $2}' | awk '{print $2}')/site-packages/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}