diff options
author | Kirill Pshenichnyi | 2023-10-30 15:01:54 +0300 |
---|---|---|
committer | Kirill Pshenichnyi | 2023-10-30 15:01:54 +0300 |
commit | d75aea6e5eca83097fb34d83537a11a3938ef622 (patch) | |
tree | 5c1d44b77720bbcda4ac19664f060906b7ceb485 | |
parent | 017d7e65e37b19dcd546899cf21785b28793b484 (diff) | |
download | aur-python-nicos-pyctl.tar.gz |
makedepends='python-setuptools'
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 6 deletions
@@ -7,6 +7,7 @@ pkgbase = python-nicos-pyctl arch = armv7h groups = nicos license = GPL3 + makedepends = python-setuptools depends = python provides = nicos-pyctl conflicts = nicos-pyctl-git @@ -11,6 +11,7 @@ arch=('x86_64' 'armv7h') url="https://nicos-controls.org/" license=('GPL3') depends=('python') +makedepends=('python-setuptools') conflicts=('nicos-pyctl-git') provides=('nicos-pyctl') source=("https://github.com/mlz-ictrl/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz") @@ -19,15 +20,11 @@ sha256sums=('e7ecf7eb187bc3c04c2f6fe8812838c3450cddc6b91de3174b56b571f67c1987') build() { cd "$_pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } -#check() { -# cd "$_pkgname-$pkgver" -# python setup.py check -mr -#} package() { cd "$_pkgname-$pkgver" - python setup.py install --root=$pkgdir/ + python -m installer --destdir="$pkgdir" dist/*.whl } |