summaryrefslogtreecommitdiff
path: root/testing/py3-moviepy/APKBUILD
blob: 8c01a1921873f3a1c7f633ca967e52e5d2d58ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-moviepy
pkgver=1.0.3
pkgrel=4
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"
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/"
	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
"