mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/remind-caldav: build with gpep517
This commit is contained in:
parent
962652eb6c
commit
2fa6198d53
@ -2,23 +2,26 @@
|
|||||||
# Maintainer: Galen Abell <galen@galenabell.com>
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
||||||
pkgname=remind-caldav
|
pkgname=remind-caldav
|
||||||
pkgver=0.8.0
|
pkgver=0.8.0
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="caldav client to sync with remind"
|
pkgdesc="caldav client to sync with remind"
|
||||||
url="https://github.com/jspricke/remind-caldav"
|
url="https://github.com/jspricke/remind-caldav"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
depends="python3 py3-remind py3-caldav py3-dateutil py3-vobject"
|
depends="python3 py3-remind py3-caldav py3-dateutil py3-vobject"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
options="!check" # no tests
|
options="!check" # no tests
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/jspricke/remind-caldav/archive/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/jspricke/remind-caldav/archive/v$pkgver.tar.gz"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
gpep517 install-wheel --destdir "$pkgdir" \
|
||||||
|
.dist/*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
Loading…
Reference in New Issue
Block a user