mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
33 lines
872 B
Text
33 lines
872 B
Text
# Contributor: Joshua Murphy <joshuamurphy@posteo.net>
|
|
maintainer="Joshua Murphy <joshuamurphy@posteo.net>"
|
|
pkgname=py3-ioctl-opt
|
|
pkgver=1.3
|
|
pkgrel=0
|
|
pkgdesc="Pythonified linux asm-generic/ioctl.h"
|
|
url="https://github.com/vpelletier/python-ioctl-opt"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/vpelletier/python-ioctl-opt/archive/$pkgver.tar.gz"
|
|
subpackages="$pkgname-pyc"
|
|
builddir="$srcdir/python-ioctl-opt-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
db0ea9c94449f8c3ba3233dbb9aef7c6aba71b07a03870586d31a8a19d739dfa4f26754314f2fd7d9ddf84e644057b0b14f7e4b9571138a11ee9abda391bf513 py3-ioctl-opt-1.3.tar.gz
|
|
"
|