blob: 5789590e6c15b2ed22415ac0338548cda979544a (
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
|
# Maintainer: atomicfs <https://aur.archlinux.org/account/atomicfs>
pkgname=python-blkinfo
pkgver=0.2.0
pkgrel=4
pkgdesc="A python library to list information about all available or the specified block devices"
arch=('any')
url="https://github.com/grinrag/blkinfo"
license=('GPL-3.0-only')
depends=(
'python'
'util-linux'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-wheel'
)
source=("${pkgname}::git+${url}#tag=${pkgver}")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|