1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-cron-descriptor/APKBUILD
2025-05-08 21:44:09 +00:00

35 lines
1 KiB
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-cron-descriptor
_pyname="cron-descriptor"
# doesn't always tag releases
_gittag=a79706e867c52bfe0c039195926eeab8e5faf0e7
pkgver=1.4.5
pkgrel=0
arch="noarch"
pkgdesc="A Python library that converts cron expressions into human readable strings."
url="https://pypi.python.org/project/cron-descriptor"
license="MIT"
makedepends="
py3-setuptools
py3-gpep517
py3-wheel
"
source="$pkgname-$_gittag.tar.gz::https://github.com/Salamek/cron-descriptor/archive/$_gittag.tar.gz"
builddir="$srcdir"/$_pyname-$_gittag
subpackages="$pkgname-pyc"
options="!check" # No testsuite
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer --destdir="$pkgdir" .dist/*.whl
}
sha512sums="
d1faec3c8e0dffd54e8005bd1fce51aea45a3560491bafd3e2e96801674030f9b6a849ecdc6e277b2f612027ebce168269f78de34fe9a63a94cdae8a941c77a4 py3-cron-descriptor-a79706e867c52bfe0c039195926eeab8e5faf0e7.tar.gz
"