aports/testing/py3-moviepy/APKBUILD
2024-08-05 22:44:47 +02:00

33 lines
1.1 KiB
Text

# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-moviepy
pkgver=1.0.3
pkgrel=6
pkgdesc="Video editing with Python"
url="https://zulko.github.io/moviepy/"
arch="noarch !s390x !ppc64le" # blocked by py3-imageio
license="MIT"
depends="py3-requests py3-proglog py3-imageio py3-imageio-ffmpeg py3-decorator py3-tqdm"
makedepends="py3-setuptools py3-gpep517"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Zulko/moviepy/archive/v$pkgver.tar.gz
decorators.patch"
builddir="$srcdir/moviepy-$pkgver"
options="!check" # No tests, require network connection
build() {
# Remove tests
rm -rfv "tests/"
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
24490b41fde6aacc202256254032e9993ef35cb2a5d09844509107ed31959bfed6105285a6c21196cdd63a3270d6f538d32305c1525dc769d07504a8178f66f9 py3-moviepy-1.0.3.tar.gz
d79b0a461e47d29af319b53601493466e82321121d30a951ad31d8d0431499e360b5ad33a903908555ad75dce3734a4cef9c2aed64c5769b484302d50bbd886e decorators.patch
"