diff options
author | Fabian Hafner | 2023-10-09 17:34:41 +0200 |
---|---|---|
committer | Fabian Hafner | 2023-10-09 17:34:41 +0200 |
commit | 027d77157b81e627735a848a37f43a0226bfa761 (patch) | |
tree | 7dc2b39913c73cf5165ebb73234b1f1e46de5cc1 | |
parent | 8360f79a242420188c734088657d4d6dd34e50bb (diff) | |
download | aur-027d77157b81e627735a848a37f43a0226bfa761.tar.gz |
pep517 and makedepends
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -6,6 +6,10 @@ pkgbase = dr14_t.meter-git arch = any license = GPL3 makedepends = git + makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python depends = flac depends = lame @@ -8,7 +8,7 @@ url="https://github.com/simon-r/dr14_t.meter" license=('GPL3') depends=('python' 'flac' 'lame' 'faad2' 'ffmpeg' 'vorbis-tools' 'python-numpy' 'python-mutagen') optdepends=('python-matplotlib: plot support for python' 'python-scipy: dyn compression') -makedepends=('git') +makedepends=('git' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}" "dr14_tmeter") source=('dr14_t.meter::git+https://github.com/simon-r/dr14_t.meter.git#branch=master') @@ -22,10 +22,10 @@ pkgver() { build() { cd "$srcdir/${pkgname%-git}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$srcdir/${pkgname%-git}" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } |