blob: 02323c49ef39093d0e96fec0447ee6b51e8b1692 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=python-hwdata
pkgver=2.4.2
pkgrel=1
pkgdesc="Python bindings to hwdata"
arch=('any')
url="https://github.com/xsuchy/python-hwdata"
license=('GPL-2.0-or-later')
depends=(
'hwdata'
'python'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("https://github.com/xsuchy/python-hwdata/archive/refs/tags/$pkgname-$pkgver-1.tar.gz")
sha256sums=('f17daaf2b7d13645e43d0bcaa7ab7ecda819f3a70e347cfd6ff9130609f9d9de')
build() {
cd "$pkgname-$pkgname-$pkgver-1"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgname-$pkgver-1"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|