From 84b2f60c2ee523ecc6ab1169624fdf03314173b9 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Wed, 23 Nov 2022 20:40:07 +1300 Subject: [PATCH] upgpkg: python-cron-descriptor 1.2.32-1 --- python-cron-descriptor/PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/python-cron-descriptor/PKGBUILD b/python-cron-descriptor/PKGBUILD index bc0c1a5..e79cbc9 100644 --- a/python-cron-descriptor/PKGBUILD +++ b/python-cron-descriptor/PKGBUILD @@ -2,15 +2,21 @@ pkgname=python-cron-descriptor _pkgname="${pkgname#python-}" -pkgver=1.2.31 +pkgver=1.2.32 pkgrel=1 pkgdesc='A Python library that converts cron expressions into human readable strings' arch=('any') url='https://github.com/Salamek/cron-descriptor' license=('MIT') depends=('python') -makedepends=('git' 'python-setuptools') -_commit='690ab61c49cb74c2faf8093354a70f0d0cd29956' +makedepends=( + 'git' + 'python-build' + 'python-installer' + 'python-wheel' + 'python-setuptools' +) +_commit='2fbbff864afb86aeec378834a508d58e46a7da98' source=("$pkgname::git+$url#commit=$_commit") b2sums=('SKIP') @@ -23,7 +29,7 @@ pkgver() { build() { cd "$pkgname" - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -35,7 +41,7 @@ check() { package() { cd "$pkgname" - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl # documentation install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md