From ca399a31cc6d47739c0f5c5f5506c02776824c45 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 1 Nov 2024 10:07:22 -0400 Subject: [PATCH] backports/py3-colored: bump pkgrel --- backports/py3-colored/APKBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/backports/py3-colored/APKBUILD b/backports/py3-colored/APKBUILD index d11a554..deb152a 100644 --- a/backports/py3-colored/APKBUILD +++ b/backports/py3-colored/APKBUILD @@ -2,13 +2,13 @@ pkgname=py3-colored _pyname=${pkgname/py3-/} pkgver=1.4.4 -pkgrel=2 +pkgrel=3 pkgdesc="Simple Python library for color and formatting in terminal" url="https://gitlab.com/dslackw/colored" arch="noarch" license="MIT" depends="python3" -makedepends="py3-setuptools" +makedepends="py3-setuptools py3-gpep517" checkdepends="py3-pytest" subpackages="$pkgname-pyc" source="https://gitlab.com/dslackw/colored/-/archive/$pkgver/colored-$pkgver.tar.gz" @@ -16,11 +16,14 @@ builddir="$srcdir/$_pyname-$pkgver" options="!check" # No testsuite build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + gpep517 install-wheel --destdir "$pkgdir" \ + .dist/*.whl } sha512sums="