mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
34 lines
872 B
Text
34 lines
872 B
Text
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-glad
|
|
pkgver=2.0.4
|
|
pkgrel=0
|
|
pkgdesc="Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs"
|
|
url="https://github.com/Dav1dde/glad"
|
|
arch="noarch"
|
|
license="MIT AND Apache-2.0"
|
|
depends="py3-jinja2 python3"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
checkdepends="py3-mock py3-nose"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/Dav1dde/glad/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/glad-$pkgver"
|
|
# only bigger integration tests
|
|
options="!check"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
328d0dbe33e69f846d1c54226c6675694404f41e53c4762e6013c7bfe76b0700f0b28f4117a2018a09c9c23ccb6ad94d7b20882fefc2513941a4515686c9b9e7 py3-glad-2.0.4.tar.gz
|
|
"
|