Skip to content

Commit

Permalink
update to new python-build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgillij committed May 3, 2023
1 parent 3e76503 commit 745c4ec
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 139 deletions.
10 changes: 5 additions & 5 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

pkgname=py3status-amdfan
pkgdesc="Py3status module for monitoring fan and temp of amdgpu video cards"
pkgver=0.1.8
pkgver=0.1.9
pkgrel=1
arch=('any')
license=('MIT')
depends=('python' 'py3status' 'amdfan')
makedepends=('python-setuptools')
makedepends=('python-installer' 'python-build' 'python' 'py3status' 'python-poetry')
url="https://github.com/mcgillij/py3status-amdfan"
source=("https://github.com/mcgillij/py3status-amdfan/releases/download/$pkgver/py3status_amdfan-$pkgver.tar.gz")
md5sums=('ecca7ebb9186ee80c7306cfe42cca694')
md5sums=('3c51afa5f238f1955d88b10d12d40d22')

build() {
cd "$srcdir/py3status_amdfan-$pkgver"
python setup.py build
python -m build --wheel --no-isolation
}

package() {
cd "$srcdir/py3status_amdfan-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir"
python -m installer --destdir="$pkgdir" dist/*.whl
}
2 changes: 1 addition & 1 deletion build_in_chroot
Original file line number Diff line number Diff line change
@@ -1 +1 @@
makechrootpkg -c -r $HOME/chroot -I amdfan-0.1.22-1-any.pkg.tar.zst
makechrootpkg -c -r $HOME/chroot -I amdfan-0.1.24-1-any.pkg.tar.zst
Loading

0 comments on commit 745c4ec

Please sign in to comment.