1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/py3-moviepy/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

29 lines
1,022 B
Text

# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-moviepy
pkgver=1.0.3
pkgrel=3
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"
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/"
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
24490b41fde6aacc202256254032e9993ef35cb2a5d09844509107ed31959bfed6105285a6c21196cdd63a3270d6f538d32305c1525dc769d07504a8178f66f9 py3-moviepy-1.0.3.tar.gz
d79b0a461e47d29af319b53601493466e82321121d30a951ad31d8d0431499e360b5ad33a903908555ad75dce3734a4cef9c2aed64c5769b484302d50bbd886e decorators.patch
"