blob: b5ef674d43b8a0e1954ef57180199a2186750932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Generated by pypi2aur from pypi package py-nvfan
# Date 2025-06-07 07:14:18
#
pkgname=py-nvfan
_origpkgname=py_nvfan
pkgver=0.1.22
pkgrel=1
pkgdesc="Automatic Fan Control for NVIDIA Graphics Cards Based on Temperature."
arch=("x86_64")
url='https://pypi.org/project/py-nvfan/'
license=("MIT")
depends=(
"python-pynvml"
"python-rich"
"confz"
)
makedepends=(
"python-build"
"python-installer"
"python-wheel"
"python-setuptools"
"python-hatchling"
)
source=("https://files.pythonhosted.org/packages/bf/ec/1b263043a86b54ab971fa90ee7cd1d6a67c3ac7fac49c3d5155713d63b66/py_nvfan-0.1.22.tar.gz")
sha256sums=("f20e8906f69991c89f5368dd15c91376220ed765a5b749429da1e792823a037e")
package() {
cd "${_origpkgname}-${pkgver}" || exit
python -m build --wheel --no-isolation
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|