From b5cbf617f9084f40022908f4930b095f7176eb43 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Thu, 19 Jan 2023 22:01:25 +0100 Subject: community/py3-confuse: upgrade to 2.0.0 --- community/py3-confuse/APKBUILD | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/community/py3-confuse/APKBUILD b/community/py3-confuse/APKBUILD index dcc2abdedf5..7263d0656f0 100644 --- a/community/py3-confuse/APKBUILD +++ b/community/py3-confuse/APKBUILD @@ -1,21 +1,22 @@ # Contributor: Marvin Preuss # Maintainer: Marvin Preuss pkgname=py3-confuse -_pyname=confuse -pkgver=1.7.0 -pkgrel=1 +pkgver=2.0.0 +pkgrel=0 pkgdesc="Painless YAML config files for Python" url="https://github.com/beetbox/confuse" arch="noarch" license="MIT" depends="python3 py3-yaml" -makedepends="py3-setuptools" +makedepends="py3-gpep517 py3-flit-core py3-installer" checkdepends="py3-nose" -source="confuse-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz" -builddir="$srcdir/$_pyname-$pkgver" +source="confuse-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/c/confuse/confuse-$pkgver.tar.gz" +builddir="$srcdir/confuse-$pkgver" build() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -23,9 +24,10 @@ check() { } package() { - python3 setup.py install --skip-build --root="$pkgdir" + python3 -m installer -d "$pkgdir" \ + dist/confuse*.whl } sha512sums=" -c48cf13a7e3f8287ee1255f3d7f6d65e709532a8ae87a1ba937d0032556e45b97a154c59f71436fd1776c136b9e5c5ccac7e1795f288efece540acc926da5b1f confuse-1.7.0.tar.gz +1faf4f1ec5c7429d9e3e88157bfd1e4fac5d3b449ceaedbe909f382f4bd1d049518ca526dbfcd0b8bc2311de1a1941821ba26c1cce84cd412fb3ae007f9d8f1b confuse-2.0.0.tar.gz " -- cgit v1.2.3