mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
36 lines
955 B
Text
36 lines
955 B
Text
# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
|
|
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
|
|
pkgname=py3-ffmpeg
|
|
_pkgname=ffmpeg-python
|
|
pkgver=0.2.0
|
|
pkgrel=4
|
|
pkgdesc="Python bindings for FFmpeg"
|
|
url="https://github.com/kkroening/ffmpeg-python"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="ffmpeg py3-future"
|
|
makedepends="py3-setuptools py3-gpep517"
|
|
options="!check" # test fails
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kkroening/ffmpeg-python/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
sed -e '/pytest-runner/d' -i setup.py
|
|
}
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
933ed958d61536bbbc0e0b08e19521c4b1f7df1cfe97de0b3d149a2748c5bd74915a3134861e8ecb1f92d5860315228b76aefcd087fcf07e188a56c651f5e301 py3-ffmpeg-0.2.0.tar.gz
|
|
"
|