[arch-commits] Commit in python-zita-audiotools/repos/community-x86_64 (2 files)

David Runge dvzrv at gemini.archlinux.org
Fri Apr 22 14:31:19 UTC 2022


    Date: Friday, April 22, 2022 @ 14:31:19
  Author: dvzrv
Revision: 1187332

archrelease: copy trunk to community-x86_64

Added:
  python-zita-audiotools/repos/community-x86_64/PKGBUILD
    (from rev 1187331, python-zita-audiotools/trunk/PKGBUILD)
Deleted:
  python-zita-audiotools/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 28 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-22 14:31:08 UTC (rev 1187331)
+++ PKGBUILD	2022-04-22 14:31:19 UTC (rev 1187332)
@@ -1,33 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=zita-audiotools
-pkgname=python-zita-audiotools
-pkgver=1.0.0
-pkgrel=10
-pkgdesc="Tools for audio processing"
-arch=('x86_64')
-url="https://kokkinizita.linuxaudio.org/linuxaudio"
-license=('GPL2' 'GPL3')
-depends=('gcc-libs' 'glibc' 'python-numpy')
-makedepends=('libsndfile' 'python-setuptools' 'zita-resampler')
-source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${_name}-${pkgver}.tar.bz2")
-sha512sums=('c3ebd4c7bb5cb878066ec3de345cd8505c2606754a3ccd584f9ba8fe7e4492546cfa4fac3c4b1d508382952d4066d82d677adbfff4c990c59c0f04dc1d661cf6')
-b2sums=('2415afc311c5e8c721467c1be8c79eb8be6abdd5310fef0ef656b42ef593775dbd8238f03203e7a5bb5d1b7103a0b932c337076e28c29ad5ef78b9446093e17d')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-package() {
-  depends+=('libsndfile.so' 'libzita-resampler.so')
-
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --root="${pkgdir}"
-}

Copied: python-zita-audiotools/repos/community-x86_64/PKGBUILD (from rev 1187331, python-zita-audiotools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-22 14:31:19 UTC (rev 1187332)
@@ -0,0 +1,28 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=zita-audiotools
+pkgname=python-zita-audiotools
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Tools for audio processing"
+arch=(x86_64)
+url="https://kokkinizita.linuxaudio.org/linuxaudio"
+license=(GPL2 GPL3)
+depends=(gcc-libs glibc python-numpy)
+makedepends=(libsndfile python-build python-installer python-setuptools python-wheel zita-resampler)
+options=(debug)
+source=(https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$_name-$pkgver.tar.bz2)
+sha512sums=('de4be5421bb2d24405ce10aaecdca631c47cd553a944518e638960360194331ebbc52b47c7e5cf271c561295e692b9896045a51a5bb75e8a6e0385e01c6a8993')
+b2sums=('8f3364e19f622b00c524bb90fa7a63b8e6e0904dde2cb3e0d67048e626c5b524d999fe46842973bb5745da05fd1521e7f64964f5a13be3e26f2e195e6b0fcd69')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  depends+=(libsndfile.so libzita-resampler.so)
+
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list