diff options
author | Andrej Radović | 2023-05-24 09:25:29 +0200 |
---|---|---|
committer | Andrej Radović | 2023-05-24 09:25:29 +0200 |
commit | a6ed7131af8a33f470b916f8db50024d278efc42 (patch) | |
tree | c259028fdf56afe5668ec0c8013d571ee5df95b0 | |
parent | 658869bb3de54e8b58caff0f6e1f9227b8dc7aa6 (diff) | |
download | aur-a6ed7131af8a33f470b916f8db50024d278efc42.tar.gz |
Updated to 0.11.2; switched to python -m build
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 9 deletions
@@ -1,14 +1,16 @@ pkgbase = python-inventree pkgdesc = Python interface for InvenTree inventory management system - pkgver = 0.10.0 + pkgver = 0.11.2 pkgrel = 1 url = https://github.com/inventree/inventree-python/ arch = any license = GPL3 - makedepends = python-setuptools + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python depends = python-requests - source = https://files.pythonhosted.org/packages/source/i/inventree/inventree-0.10.0.tar.gz - sha256sums = cbd099b254168cb38eed5d614626d592d427fba43ffca1cc8e7bfcfadbb6f418 + source = https://files.pythonhosted.org/packages/source/i/inventree/inventree-0.11.2.tar.gz + sha256sums = fd4eeb03b871b10da578c092cf1e5acb30d60afeb9390885def1c38c0cc109a0 pkgname = python-inventree @@ -1,7 +1,7 @@ # Maintainer: Andrej Radović <r.andrej@gmail.com> pkgname=python-inventree _name=${pkgname#python-} -pkgver=0.10.0 +pkgver=0.11.2 pkgrel=1 pkgdesc="Python interface for InvenTree inventory management system" url="https://github.com/inventree/inventree-python/" @@ -9,20 +9,20 @@ depends=( 'python' 'python-requests' ) -makedepends=('python-setuptools') +makedepends=(python-build python-installer python-wheel) license=('GPL3') arch=('any') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") -sha256sums=('cbd099b254168cb38eed5d614626d592d427fba43ffca1cc8e7bfcfadbb6f418') +sha256sums=('fd4eeb03b871b10da578c092cf1e5acb30d60afeb9390885def1c38c0cc109a0') 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 + python -m installer --destdir="$pkgdir" dist/*.whl cd $pkgdir/usr/lib/python3*/site-packages/ rm -rf scripts test } |