upgpkg: python-cron-descriptor 1.2.32-1
This commit is contained in:
parent
26345702da
commit
84b2f60c2e
1 changed files with 11 additions and 5 deletions
|
@ -2,15 +2,21 @@
|
||||||
|
|
||||||
pkgname=python-cron-descriptor
|
pkgname=python-cron-descriptor
|
||||||
_pkgname="${pkgname#python-}"
|
_pkgname="${pkgname#python-}"
|
||||||
pkgver=1.2.31
|
pkgver=1.2.32
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A Python library that converts cron expressions into human readable strings'
|
pkgdesc='A Python library that converts cron expressions into human readable strings'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://github.com/Salamek/cron-descriptor'
|
url='https://github.com/Salamek/cron-descriptor'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('python')
|
depends=('python')
|
||||||
makedepends=('git' 'python-setuptools')
|
makedepends=(
|
||||||
_commit='690ab61c49cb74c2faf8093354a70f0d0cd29956'
|
'git'
|
||||||
|
'python-build'
|
||||||
|
'python-installer'
|
||||||
|
'python-wheel'
|
||||||
|
'python-setuptools'
|
||||||
|
)
|
||||||
|
_commit='2fbbff864afb86aeec378834a508d58e46a7da98'
|
||||||
source=("$pkgname::git+$url#commit=$_commit")
|
source=("$pkgname::git+$url#commit=$_commit")
|
||||||
b2sums=('SKIP')
|
b2sums=('SKIP')
|
||||||
|
|
||||||
|
@ -23,7 +29,7 @@ pkgver() {
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
|
||||||
python setup.py build
|
python -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
@ -35,7 +41,7 @@ check() {
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
|
||||||
python setup.py install --root="$pkgdir" --optimize=1
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
|
|
||||||
# documentation
|
# documentation
|
||||||
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
|
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
|
||||||
|
|
Loading…
Reference in a new issue