[arch-commits] Commit in ecasound/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Dec 23 21:06:33 UTC 2019
Date: Monday, December 23, 2019 @ 21:06:33
Author: dvzrv
Revision: 539558
upgpkg: ecasound 2.9.2-3: Removing python2 support (pyecasound and ecamonitor), en route to purging python2.
Modified:
ecasound/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++---------------
1 file changed, 7 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-23 21:06:32 UTC (rev 539557)
+++ PKGBUILD 2019-12-23 21:06:33 UTC (rev 539558)
@@ -5,7 +5,7 @@
pkgname=ecasound
pkgver=2.9.2
-pkgrel=2
+pkgrel=3
pkgdesc="Command-line multitrack audio processor"
arch=('x86_64')
url="https://ecasound.seul.org/ecasound/"
@@ -13,9 +13,8 @@
groups=('pro-audio')
depends=('alsa-lib' 'glibc' 'gcc-libs' 'libjack.so' 'libaudiofile.so'
'liblo.so' 'liblilv-0.so' 'libreadline.so' 'libsndfile' 'libncursesw.so')
-makedepends=('lv2' 'python2' 'ruby')
-optdepends=('python2: ecamonitor, ECI API'
- 'ruby: ECI API'
+makedepends=('lv2' 'ruby')
+optdepends=('ruby: ECI API'
'mpg123: MP3 decoding'
'lame: MP3 encoding'
'vorbis-tools: Ogg Vorbis decoding/encoding'
@@ -36,14 +35,6 @@
# lv2core is deprecated in favor of lv2:
# https://sourceforge.net/p/ecasound/bugs/52/
sed -e 's/lv2core/lv2/g' -i configure.ac
-
- # fix python2 shebang:
- # https://sourceforge.net/p/ecasound/mailman/message/36698740/
- sed -e 's/env python/env python2/' \
- -i 'ecatools/ecamonitor' \
- -i "examples/"*.py \
- -i "pyecasound/"*.py
-
autoreconf -vfi
}
build() {
@@ -50,9 +41,8 @@
cd "$pkgname-$pkgver"
export PYTHONPATH="/usr/bin/python2"
./configure --prefix=/usr \
- --with-python-includes=/usr/include/python2.7 \
- --with-python-modules=/usr/lib/python2.7 \
- --enable-liboil=no
+ --disable-pyecasound \
+ --disable-python
make
}
@@ -62,6 +52,8 @@
# docs
install -vDm 644 {AUTHORS,BUGS,NEWS,README,RELNOTES,TODO} \
-t "${pkgdir}/usr/share/doc/${pkgname}/"
+ # ecamonitor is python2 only and not supported until upstream ports it
+ rm -v "${pkgdir}/usr/bin/ecamonitor"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list