Package Details: python-speech-features 0.6.1-3

Git Clone URL: https://aur.archlinux.org/python-speech-features.git (read-only, click to copy)
Package Base: python-speech-features
Description: Python Speech Feature extraction
Upstream URL: https://github.com/jameslyons/python_speech_features
Licenses: MIT
Submitter: jochembr
Maintainer: jochembr
Last Packager: jochembr
Votes: 1
Popularity: 0.012337
First Submitted: 2020-10-23 18:31 (UTC)
Last Updated: 2024-11-17 14:53 (UTC)

Latest Comments

AUR-user commented on 2024-11-17 14:04 (UTC)

The package cannot be build because of missing distutils.

Switching to PEP 517 helps:

diff --git a/PKGBUILD b/PKGBUILD
index 4f5176b..d7e2e63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,18 +10,18 @@ url="https://github.com/jameslyons/${_pkgname}"

 depends=("python-scipy"
          "python-numpy")
-
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
 source=("https://github.com/jameslyons/${_pkgname}/archive/${pkgver}.zip")
 sha256sums=("30ed2034fb26bc83b2b4a527a4fc45323c5a7674be0ac304f22559acfdb84e37")

 build() {
     cd $srcdir/$_pkgname-$pkgver
-    python setup.py build
+    python -m build --wheel --no-isolation
 }

 package() {
     cd $srcdir/$_pkgname-$pkgver
-    python setup.py install --root=$pkgdir --optimize=1 --skip-build
+    python -m installer --destdir="$pkgdir" dist/*.whl

     # License
     install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"