[arch-commits] Commit in faust/trunk (PKGBUILD python2-fix.patch)
David Runge
dvzrv at archlinux.org
Mon Feb 12 00:48:00 UTC 2018
Date: Monday, February 12, 2018 @ 00:47:59
Author: dvzrv
Revision: 292596
upgpkg: faust 2.5.21-1
Upgrading to 2.5.21. Moving python2 and ruby to optdepends.
Removing python2 patch and replacing it with sed search/replace.
Modified:
faust/trunk/PKGBUILD
Deleted:
faust/trunk/python2-fix.patch
-------------------+
PKGBUILD | 19 ++++++++++---------
python2-fix.patch | 20 --------------------
2 files changed, 10 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-12 00:42:20 UTC (rev 292595)
+++ PKGBUILD 2018-02-12 00:47:59 UTC (rev 292596)
@@ -4,26 +4,27 @@
# Contributor: bjoern lindig (bjoern _dot_ lindig _at_ google.com)
pkgname=faust
-pkgver=2.5.17
-pkgrel=3
+pkgver=2.5.21
+pkgrel=1
pkgdesc="A functional programming language for realtime audio signal processing."
arch=('x86_64')
url="https://faust.grame.fr/"
license=('GPL2')
-depends=('bash' 'llvm-libs' 'libsndfile' 'libmicrohttpd' 'python2' 'ruby')
+depends=('llvm-libs' 'libsndfile' 'libmicrohttpd')
makedepends=('llvm' 'xxd')
optdepends=('clang: needed for sound2reader'
- 'java-environment=8: needed for faust2android')
+ 'java-environment=8: needed for faust2android'
+ 'python2: needed for faust2md and faust2atomsnippets'
+ 'ruby: needed for faust2sc and scbuilder')
options=('staticlibs')
-source=("https://github.com/grame-cncm/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- 'python2-fix.patch')
-sha512sums=('84d7d8d9f6e7e351525870b4c2ba96a013d81e920ae4c2a514bb196c5f2207699c4a615fd19945e6564ad09a062787c03cb95ad75b9b3065012c5e2e8812555a'
- 'aefee8c8bfe1115f8b2a576e6021bd0da3eeced9403878dc124fe7fbcb819d3910f1f119662ae09c52e60dff6ebfc76f0f63e07df3705e0849149fa540104482')
+source=("https://github.com/grame-cncm/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('4005dc9d49f265e790cf08978a0bfb397741f6963227dd7da70e085e6d9155adc400961da48266b4b65fbec58af0da6e3782498e5411e7fafa168fa016669dea')
prepare() {
cd "${pkgname}-${pkgver}"
# fix scripts requiring python2
- patch -Np1 < "${srcdir}/python2-fix.patch"
+ sed -e '1s/python/&2/' \
+ -i "tools/${pkgname}2appls/${pkgname}2"{md,atomsnippets}
}
build() {
Deleted: python2-fix.patch
===================================================================
--- python2-fix.patch 2018-02-12 00:42:20 UTC (rev 292595)
+++ python2-fix.patch 2018-02-12 00:47:59 UTC (rev 292596)
@@ -1,20 +0,0 @@
-diff --git a/tools/faust2appls/faust2md b/tools/faust2appls/faust2md
-index 2e460fcb9..5831a86a9 100755
---- a/tools/faust2appls/faust2md
-+++ b/tools/faust2appls/faust2md
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python2
-
- #---------------------- faust2md -----------------------
- # Usage: `faust2md [-t 4] [-c] [-f] foo.dsp > foo.md`
-diff --git a/tools/faust2appls/faust2atomsnippets b/tools/faust2appls/faust2atomsnippets
-index 183436022..989618a30 100755
---- a/tools/faust2appls/faust2atomsnippets
-+++ b/tools/faust2appls/faust2atomsnippets
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python2
-
- #---------------------- faust2atomsnippets -----------------------
- # Usage: `faust2atomsnippets *.lib > faust-library.cson`
More information about the arch-commits
mailing list