diff options
author | Vinicius Moreira | 2024-01-16 07:37:05 -0300 |
---|---|---|
committer | Vinicius Moreira | 2024-01-16 07:37:05 -0300 |
commit | 93f083bb43e89953066aff641863aab850b165de (patch) | |
tree | 0e7423c1c1f3c21d4328c9cfcb32572b58a9ebd3 | |
parent | 08f8617d36a3802e363685e62407d44e1cedd795 (diff) | |
download | aur-93f083bb43e89953066aff641863aab850b165de.tar.gz |
1.3.4-1
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 15 insertions, 11 deletions
@@ -1,12 +1,13 @@ pkgbase = guapow pkgdesc = On-demand and auto performance optimizer for Linux applications - pkgver = 1.3.3 + pkgver = 1.3.4 pkgrel = 1 url = https://github.com/vinifmor/guapow arch = any license = zlib/libpng - makedepends = git - makedepends = python + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools depends = python depends = python-aiofiles @@ -15,7 +16,7 @@ pkgbase = guapow depends = systemd optdepends = inxi: required for guessing the window compositor, optdepends = unclutter: required for hiding the mouse cursor - source = https://github.com/vinifmor/guapow/archive/1.3.3.tar.gz - sha512sums = 5c1f6806531e9c971fe1f651314093655ddbf356398399ab3e41944f257f24c52072e11ff606c73bced7056d69d01b616f27563d57cda2be427c32391af25663 + source = https://github.com/vinifmor/guapow/archive/1.3.4.tar.gz + sha512sums = 8a75f15fe30c5eb0d03e086a612742f27b8483bf62cb2ce8e54f569815e4fd1ff2f5d31b9715a6b1b915fe7b68a014a787571e1300e1054cf5e4f53a78ee4a12 pkgname = guapow @@ -1,7 +1,7 @@ # Maintainer: VinÃcius Moreira <vinicius_fmoreira@hotmail.com> pkgname=guapow -pkgver=1.3.3 +pkgver=1.3.4 pkgrel=1 pkgdesc="On-demand and auto performance optimizer for Linux applications" arch=('any') @@ -10,19 +10,22 @@ license=('zlib/libpng') depends=('python' 'python-aiofiles' 'python-aiohttp' 'python-pycryptodome' 'systemd') optdepends=('inxi: required for guessing the window compositor', 'unclutter: required for hiding the mouse cursor') -makedepends=('git' 'python' 'python-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools') source=("${url}/archive/${pkgver}.tar.gz") -sha512sums=('5c1f6806531e9c971fe1f651314093655ddbf356398399ab3e41944f257f24c52072e11ff606c73bced7056d69d01b616f27563d57cda2be427c32391af25663') +sha512sums=('8a75f15fe30c5eb0d03e086a612742f27b8483bf62cb2ce8e54f569815e4fd1ff2f5d31b9715a6b1b915fe7b68a014a787571e1300e1054cf5e4f53a78ee4a12') build() { cd "${srcdir}/${pkgname}-${pkgver}" - python3 setup.py build - python3 setup.py test || return 1 + + # removing outdated setup files + rm setup.cfg setup.py requirements.txt + + python -m build --wheel --no-isolation } package() { cd "${srcdir}/${pkgname}-${pkgver}" - python3 setup.py install --root="$pkgdir" --optimize=1 || return 1 + python -m installer --destdir="$pkgdir" dist/*.whl mkdir -p $pkgdir/etc/$pkgname cp $pkgname/dist/daemon/opt.conf $pkgdir/etc/$pkgname/opt.conf.example |