upgpkg: python-cron-descriptor 1.2.32-1

This commit is contained in:
George Rawlinson 2022-11-23 20:40:07 +13:00
parent 26345702da
commit 84b2f60c2e
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -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