diff options
author | Daniel Vrátil | 2022-12-15 09:03:29 +0100 |
---|---|---|
committer | Daniel Vrátil | 2022-12-15 09:03:29 +0100 |
commit | 9ce250f4c2f01ee878553fdc6b52af87cb31112a (patch) | |
tree | dd5b0015e96723db1e15d4e79482915bb0304035 | |
parent | 774c49e81d47359b8c1f26be82cfe63a1b968fb8 (diff) | |
download | aur-9ce250f4c2f01ee878553fdc6b52af87cb31112a.tar.gz |
Update to aqtinstall 3.1.0
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -2,7 +2,7 @@ _name=aqtinstall pkgname=python-aqtinstall -pkgver=2.1.0 +pkgver=3.1.0 pkgrel=1 pkgdesc="Another unofficial Qt installer" arch=(any) @@ -11,26 +11,23 @@ license=('MIT') depends=(python python-defusedxml python-requests python-beautifulsoup4 python-semantic-version python-texttable python-patch python-py7zr) -makedepends=('git' 'python-setuptools-scm') +makedepends=('python-twine' 'python-build' 'python-installer' 'python-wheel') checkdepends=('python-pytest' 'python-pytest-socket') source=($pkgname::git+${url}.git#tag=v${pkgver}) sha512sums=('SKIP') build() { cd ${pkgname} - python setup.py build + python -m build --wheel --no-isolation } check() { cd ${pkgname} - mkdir -p temp - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --root=temp --optimize=1 --skip-build - PYTHONPATH="$PWD/temp/$site_packages" pytest + python -m twine check dist/* } package() { cd ${pkgname} - python setup.py install -O1 --root="${pkgdir}" --skip-build + python -m installer --destdir="${pkgdir}" dist/*.whl install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |