From 768624e0471154b8163cb0b351d383c85940e7df Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Tue, 14 Aug 2018 21:17:39 +0200 Subject: [PATCH] Build is incompatible with Python 3.7+, use Python 2 instead Signed-off-by: Christopher Arndt --- .SRCINFO | 4 ++-- PKGBUILD | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bcdae656865..4258e01a09e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = lv2-git pkgdesc = A standard for plugins and matching host applications, mainly targeted at audio processing and generation. - pkgver = 1.15.3.r1077.728196c + pkgver = 1.15.3.r1087.4e8d3dc pkgrel = 1 url = http://lv2plug.in/ arch = i686 arch = x86_64 license = custom:ISC makedepends = git - makedepends = python + makedepends = python2 makedepends = libsndfile makedepends = gtk2 optdepends = libsndfile: example sampler plugin diff --git a/PKGBUILD b/PKGBUILD index 97a20500b25..18844df4507 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,13 +3,13 @@ _pkgname=lv2 pkgname="${_pkgname}-git" -pkgver=1.15.3.r1077.728196c +pkgver=1.15.3.r1087.4e8d3dc pkgrel=1 pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation." arch=('i686' 'x86_64') url="http://lv2plug.in/" license=('custom:ISC') -makedepends=('git' 'python' 'libsndfile' 'gtk2') +makedepends=('git' 'python2' 'libsndfile' 'gtk2') optdepends=('libsndfile: example sampler plugin' 'gtk2: example scope plugin' 'python: lv2specgen script') @@ -28,13 +28,13 @@ pkgver() { build() { cd "${srcdir}/${_pkgname}" - python waf configure --prefix=/usr - python waf build $MAKEFLAGS + python2 waf configure --prefix=/usr + python2 waf build $MAKEFLAGS } package() { cd "${srcdir}/${_pkgname}" - python waf install --destdir="$pkgdir" + python2 waf install --destdir="$pkgdir" install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }