testing/vidcutter: build with gpep517

This commit is contained in:
ptrcnull 2024-09-02 22:31:13 +02:00
parent 99f2815bcf
commit 10a7fbcf26

View file

@ -2,15 +2,16 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=vidcutter
pkgver=6.0.5.2
pkgrel=0
pkgrel=1
pkgdesc="A modern, simple to use, constantly evolving and hella fast MEDIA CUTTER"
url="https://vidcutter.ozmartians.com"
arch="all !armhf" # Blocked by py3-qt5 -> qt5-qtdeclarative
license="GPL-3.0-or-later"
depends="python3 ffmpeg mediainfo py3-qt5 py3-opengl"
subpackages="$pkgname-doc $pkgname-pyc"
makedepends="cython mpv-dev python3-dev py3-setuptools"
makedepends="cython mpv-dev python3-dev py3-setuptools py3-gpep517"
source="$pkgname-$pkgver.tar.gz::https://github.com/ozmartian/vidcutter/archive/$pkgver.tar.gz"
options="!check" # no tests
prepare() {
default_prepare
@ -19,15 +20,14 @@ prepare() {
}
build() {
python3 setup.py build
}
check() {
python3 setup.py check
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="