blob: 4fc82d5d8e9a5d9c81b641f28527f3abaca0d075 (
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
|
# Maintainer: GI_Jack <GI_Jack@hackermail.com>
pkgname=python-aiowinreg
_pkgname=aiowinreg
pkgver=0.0.12
pkgrel=1
pkgdesc="Windows registry file reader, written in python"
url="https://github.com/skelsec/aiowinreg"
arch=('any')
license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://github.com/skelsec/aiowinreg/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('c51a0a211e68a9eb410dd296b7d0956e5d814154ed15ef0fd837a155c91b5eca')
build() {
cd "${_pkgname}-${pkgver}"
rm -rf tests # conflicts with other packages
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|