[arch-commits] Commit in aubio/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Aug 26 18:58:25 UTC 2019


    Date: Monday, August 26, 2019 @ 18:58:25
  Author: dvzrv
Revision: 502157

archrelease: copy trunk to community-x86_64

Added:
  aubio/repos/community-x86_64/PKGBUILD
    (from rev 502156, aubio/trunk/PKGBUILD)
Deleted:
  aubio/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  202 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 104 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 18:58:20 UTC (rev 502156)
+++ PKGBUILD	2019-08-26 18:58:25 UTC (rev 502157)
@@ -1,98 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
-
-pkgbase=aubio
-pkgname=('aubio' 'python-aubio' 'python2-aubio')
-pkgver=0.4.9
-pkgrel=3
-pkgdesc="A tool for extracting annotations from audio signals"
-arch=('x86_64')
-url="https://aubio.org/"
-license=('GPL3')
-makedepends=('doxygen' 'ffmpeg' 'fftw' 'jack' 'python-numpy'
-'python-setuptools' 'python-sphinx' 'python2-numpy' 'python2-setuptools'
-'txt2man')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://${pkgbase}.org/pub/${pkgbase}-${pkgver}.tar.bz2")
-sha512sums=('0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130')
-
-prepare() {
-  cp -av "${pkgbase}-${pkgver}" "${pkgname[2]}-${pkgver}"
-  cd "${pkgname[2]}-${pkgver}"
-  # python2 shebang
-  sed -e '1s/python/&2/' \
-    -i "python/lib/${pkgbase}/"{__init__,cmd,cut}.py \
-    -i "python/tests/"*.py
-  # console_scripts names
-  sed -e 's/aubio =/aubio2 =/g' \
-      -e 's/aubiocut/&2/' \
-      -i setup.py
-}
-
-build() {
-  cd "${pkgbase}-${pkgver}"
-  python waf configure --prefix=/usr \
-    --alltests \
-    --enable-fftw3 \
-    --libdir=/usr/lib
-  python waf build
-  python setup.py build
-  cd ../"${pkgname[2]}-${pkgver}"
-  python2 setup.py build
-}
-
-check() {
-  local _py3_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
-  local _py2_ver=$(python2 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
-  local PYTHON2_PATH="${srcdir}/${pkgname[2]}-${pkgver}/build/lib.linux-$CARCH-${_py2_ver}/:${PYTHONPATH}"
-  local PYTHON3_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-$CARCH-${_py3_ver}/:${PYTHONPATH}"
-  cd "${pkgbase}-${pkgver}"
-  PYTHONPATH="${PYTHON3_PATH}" \
-  LD_LIBRARY_PATH="${PWD}/build/src" \
-  py.test python/tests
-
-  cd ../"${pkgname[2]}-${pkgver}"
-  PYTHONPATH="${PYTHON2_PATH}" \
-  LD_LIBRARY_PATH="${PWD}/build/src" \
-  py.test2 python/tests
-}
-
-package_aubio() {
-  pkgdesc="A tool for extracting annotations from audio signals"
-  depends=('ffmpeg' 'fftw')
-  optdepends=('python2-aubio: Python 2.x interface'
-              'python-aubio: Python 3.x interface')
-  groups=('pro-audio')
-  cd "${pkgname}-${pkgver}"
-  python waf --destdir="${pkgdir}" install
-  # move doc, as waf configure doesn't honor the htmldir and docdir settings
-  mv -v "${pkgdir}/usr/share/doc/lib${pkgname}-doc" \
-    "${pkgdir}/usr/share/doc/${pkgname}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
-    -vDm 644 {AUTHORS,ChangeLog,README.md}
-}
-
-package_python-aubio() {
-  pkgdesc="Python 3.x bindings for aubio."
-  depends=('aubio' 'python-numpy' 'python-setuptools')
-  cd "${pkgbase}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
-    -vDm 644 {AUTHORS,ChangeLog,README.md}
-}
-
-package_python2-aubio() {
-  pkgdesc="Python 2.x bindings for aubio."
-  depends=('aubio' 'python2-numpy' 'python2-setuptools')
-  cd "${pkgname}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
-    -vDm 644 {AUTHORS,ChangeLog,README.md}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: aubio/repos/community-x86_64/PKGBUILD (from rev 502156, aubio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 18:58:25 UTC (rev 502157)
@@ -0,0 +1,104 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Tobias Kieslich tobias [funnychar] archlinux org
+
+pkgbase=aubio
+pkgname=('aubio' 'python-aubio' 'python2-aubio')
+pkgver=0.4.9
+pkgrel=4
+pkgdesc="A tool for extracting annotations from audio signals"
+arch=('x86_64')
+url="https://aubio.org/"
+license=('GPL3')
+makedepends=('doxygen' 'ffmpeg' 'fftw' 'jack' 'python-numpy'
+'python-setuptools' 'python-sphinx' 'python2-numpy' 'python2-setuptools'
+'txt2man' 'waf')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("https://${pkgbase}.org/pub/${pkgbase}-${pkgver}.tar.bz2")
+sha512sums=('0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130')
+
+prepare() {
+  cp -av "${pkgbase}-${pkgver}" "${pkgname[2]}-${pkgver}"
+  (
+    cd "${pkgname}-${pkgver}"
+    rm -rv waflib
+  )
+  (
+    cd "${pkgname[2]}-${pkgver}"
+    # python2 shebang
+    sed -e '1s/python/&2/' \
+      -i "python/lib/${pkgbase}/"{__init__,cmd,cut}.py \
+      -i "python/tests/"*.py
+    # console_scripts names
+    sed -e 's/aubio =/aubio2 =/g' \
+        -e 's/aubiocut/&2/' \
+        -i setup.py
+  )
+}
+
+build() {
+  cd "${pkgbase}-${pkgver}"
+  waf configure --prefix=/usr \
+    --alltests \
+    --enable-fftw3 \
+    --libdir=/usr/lib
+  waf build
+  python setup.py build
+  cd ../"${pkgname[2]}-${pkgver}"
+  python2 setup.py build
+}
+
+check() {
+  local _py3_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
+  local _py2_ver=$(python2 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
+  local PYTHON2_PATH="${srcdir}/${pkgname[2]}-${pkgver}/build/lib.linux-$CARCH-${_py2_ver}/:${PYTHONPATH}"
+  local PYTHON3_PATH="${srcdir}/${pkgbase}-${pkgver}/build/lib.linux-$CARCH-${_py3_ver}/:${PYTHONPATH}"
+  cd "${pkgbase}-${pkgver}"
+  PYTHONPATH="${PYTHON3_PATH}" \
+  LD_LIBRARY_PATH="${PWD}/build/src" \
+  py.test python/tests
+
+  cd ../"${pkgname[2]}-${pkgver}"
+  PYTHONPATH="${PYTHON2_PATH}" \
+  LD_LIBRARY_PATH="${PWD}/build/src" \
+  py.test2 python/tests
+}
+
+package_aubio() {
+  pkgdesc="A tool for extracting annotations from audio signals"
+  depends=('ffmpeg' 'fftw')
+  optdepends=('python2-aubio: Python 2.x interface'
+              'python-aubio: Python 3.x interface')
+  groups=('pro-audio')
+  cd "${pkgname}-${pkgver}"
+  waf --destdir="${pkgdir}" install
+  # move doc, as waf configure doesn't honor the htmldir and docdir settings
+  mv -v "${pkgdir}/usr/share/doc/lib${pkgname}-doc" \
+    "${pkgdir}/usr/share/doc/${pkgname}"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
+}
+
+package_python-aubio() {
+  pkgdesc="Python 3.x bindings for aubio."
+  depends=('aubio' 'python-numpy' 'python-setuptools')
+  cd "${pkgbase}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --root="${pkgdir}"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
+}
+
+package_python2-aubio() {
+  pkgdesc="Python 2.x bindings for aubio."
+  depends=('aubio' 'python2-numpy' 'python2-setuptools')
+  cd "${pkgname}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --root="${pkgdir}"
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,README.md}
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list