1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/community/py3-editables/APKBUILD

30 lines
830 B
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-editables
pkgver=0.3
pkgrel=2
pkgdesc="library for creating editable wheels"
url="https://github.com/pfmoore/editables"
arch="noarch"
license="MIT"
# archive has no tests
options="!check"
depends="python3"
makedepends="py3-gpep517 py3-installer py3-setuptools py3-wheel"
source="https://files.pythonhosted.org/packages/source/e/editables/editables-$pkgver.tar.gz"
builddir="$srcdir/editables-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
4bdd1f43100cb1f9d46135f422ebe512d6fd61b47ab30c7a2ddb34515f3032cf1a6a28900c866b1b4b7b1bb267aadbe93efe2f41163a82666251b9e9f5cb1210 editables-0.3.tar.gz
"