mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Automatically generated by apkbuild-pypi, template 4
|
|
# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
|
|
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
|
|
pkgname=py3-cython-test-exception-raiser
|
|
pkgver=1.0.2
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
|
_pkgreal=cython-test-exception-raiser
|
|
pkgdesc="A trivial extension that just raises an exception."
|
|
url="https://github.com/twisted/cython-test-exception-raiser"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="cython"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel python3-dev"
|
|
subpackages="$pkgname-pyc"
|
|
source="$_pkgreal-$pkgver.tar.gz::https://github.com/twisted/cython-test-exception-raiser/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
options="!check" # No test suite
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
ad245eb87fe2d4d93d244b125d80f17fe6deeac86ae9a9129d211d9ff1738da39dc30d49a80f33d50a6fa52029403018c87a8637db9c21098ef8b0e3afe20ea7 cython-test-exception-raiser-1.0.2.tar.gz
|
|
"
|