mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-06 23:14:24 +02:00
testing/py3-moviepy: build with gpep517
This commit is contained in:
parent
20668dced2
commit
00a4be406a
1 changed files with 7 additions and 4 deletions
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
||||
pkgname=py3-moviepy
|
||||
pkgver=1.0.3
|
||||
pkgrel=5
|
||||
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"
|
||||
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"
|
||||
|
@ -17,11 +17,14 @@ options="!check" # No tests, require network connection
|
|||
build() {
|
||||
# Remove tests
|
||||
rm -rfv "tests/"
|
||||
python3 setup.py build
|
||||
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="
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue