mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-helper: build with gpep517
This commit is contained in:
parent
301ff8662f
commit
6559417d2a
@ -3,25 +3,30 @@
|
||||
pkgname=py3-helper
|
||||
_pkgname=helper
|
||||
pkgver=2.5.0
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="A Python library for quickly writing configurable applications and daemons"
|
||||
url="https://helper.readthedocs.org/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
replaces="py-helper" # for backwards compatibility
|
||||
provides="py-helper=$pkgver-r$pkgrel" # for backwards compatibility
|
||||
depends="python3 py3-yaml"
|
||||
makedepends="python3-dev py3-setuptools"
|
||||
makedepends="python3-dev py3-setuptools py3-gpep517"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pkgname-$pkgver
|
||||
options="!check" # no tests provided
|
||||
|
||||
replaces="py-helper" # for backwards compatibility
|
||||
provides="py-helper=$pkgver-r$pkgrel" # for backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user