1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 17:55:15 +03:00
aports/community/py3-aspectlib/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

29 lines
844 B
Text

# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer:
pkgname=py3-aspectlib
pkgver=2.0.0
pkgrel=1
pkgdesc="aspect-oriented programming, monkey-patch and decorators library"
options="!check" # Missing process-tests
url="https://github.com/ionelmc/python-aspectlib"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
source="https://files.pythonhosted.org/packages/source/a/aspectlib/aspectlib-$pkgver.tar.gz"
builddir="$srcdir/aspectlib-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/aspectlib*.whl
}
sha512sums="
3611d3f887febae8a60df6ad5567437adaa2105e6622a7d9b543c02f593c9dee43002cd91b89f5d005fc70a8b197b5c568eefa3a0fdb6fc05665f4a1c5107316 aspectlib-2.0.0.tar.gz
"