1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/py3-jaraco.packaging/APKBUILD

31 lines
930 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-jaraco.packaging
_pkgreal=${pkgname#"py3-"}
pkgver=9.1.2
pkgrel=1
pkgdesc="tools to supplement packaging Python releases"
url="https://github.com/jaraco/jaraco.packaging"
arch="noarch"
license="MIT"
# archive has no tests
options="!check"
depends="python3 py3-setuptools"
makedepends="py3-gpep517 py3-installer py3-setuptools_scm py3-wheel"
source="https://files.pythonhosted.org/packages/source/j/jaraco.packaging/jaraco.packaging-$pkgver.tar.gz"
builddir="$srcdir/jaraco.packaging-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
159c1d1e01d911bfc9b3392fdde7108ac54baabfda5caaa7620f51b6cb750350a5a4d09d56a3e6b79de0434793fd8445fc95191340728a53af670c9610e7018f jaraco.packaging-9.1.2.tar.gz
"