diff options
author | Lorenzo Gaifas | 2023-01-23 15:04:38 +0100 |
---|---|---|
committer | Lorenzo Gaifas | 2023-01-23 15:04:38 +0100 |
commit | 063ff9001078d521b503eaf7a302a8e4945d3f0e (patch) | |
tree | 40961a6a2c4cc54156e3b91d8938511d6b0513d2 /PKGBUILD | |
parent | b77e2a4c0a20a951fedf281ad7f8a414f681afab (diff) | |
download | aur-063ff9001078d521b503eaf7a302a8e4945d3f0e.tar.gz |
v0.1.6-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,12 +4,14 @@ _name='napari-svg' _author='napari' pkgname="${_name}" pkgver=0.1.6 -pkgrel=1 +pkgrel=2 pkgdesc='A plugin for writing svg files from napari.' arch=('any') url="https://github.com/${_author}/${_name}" license=('BSD') makedepends=( + 'python-build' + 'python-installer' 'python-setuptools-scm' ) depends=( @@ -25,12 +27,12 @@ provides=("python-${_name}") build() { cd "${srcdir}/${_name}-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_name}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" |