testing/remind-caldav: build with gpep517

This commit is contained in:
ptrcnull 2024-08-30 23:31:26 +02:00
parent 962652eb6c
commit 2fa6198d53

View file

@ -2,23 +2,26 @@
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=remind-caldav
pkgver=0.8.0
pkgrel=3
pkgrel=4
pkgdesc="caldav client to sync with remind"
url="https://github.com/jspricke/remind-caldav"
arch="noarch"
license="GPL-3.0-only"
depends="python3 py3-remind py3-caldav py3-dateutil py3-vobject"
makedepends="py3-setuptools"
options="!check" # no tests
makedepends="py3-setuptools py3-gpep517"
options="!check" # no tests
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jspricke/remind-caldav/archive/v$pkgver.tar.gz"
build() {
python3 setup.py build
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="