upgpkg: python-cron-descriptor 1.2.32-1

primary
George Rawlinson 2 weeks ago
parent 26345702da
commit 84b2f60c2e
Signed by: grawlinson
GPG Key ID: E0959FEA8B550539
  1. 16
      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

Loading…
Cancel
Save