diff options
author | xiota | 2023-06-18 16:07:12 -0700 |
---|---|---|
committer | xiota | 2023-06-18 16:07:12 -0700 |
commit | 711201090d7dc8f24aeeff1a6baa98369fbe42a5 (patch) | |
tree | 2126a247cb01ee62b346d1265e3d718faf159683 | |
parent | 746f7ae4eb4a8f7a21296c04fc54030c8faacc99 (diff) | |
download | aur-python-ffmpeg.tar.gz |
metapackage
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 59 |
2 files changed, 11 insertions, 70 deletions
@@ -1,22 +1,10 @@ pkgbase = python-ffmpeg - pkgdesc = Python bindings for FFmpeg - with complex filtering support + pkgdesc = Meta package to switch to python-ffmpeg-python pkgver = 0.2.0 - pkgrel = 5 - url = https://github.com/kkroening/ffmpeg-python + pkgrel = 6 + url = https://aur.archlinux.org/packages/python-ffmpeg-python arch = any - license = Apache - checkdepends = python-pytest - checkdepends = python-pytest-mock - makedepends = python-build - makedepends = python-installer - makedepends = python-pytest-runner - makedepends = python-setuptools - makedepends = python-wheel - depends = ffmpeg - depends = python-future - depends = python-graphviz - options = !emptydirs - source = ffmpeg-python-0.2.0.tar.gz::https://github.com/kkroening/ffmpeg-python/archive/0.2.0.tar.gz - sha256sums = 01b6b7640f00585a404194a358358bdf7f4050cedcd99f41416ac8b27222c9f1 + license = LGPL + depends = python-ffmpeg-python pkgname = python-ffmpeg @@ -1,56 +1,9 @@ -# Maintainer: -# Contributor: xiretza <xiretza+aur@gmail.com> -# Contributor: getzze <getzze at gmail dot com> - pkgname='python-ffmpeg' -_pkgname='ffmpeg-python' +_newpkg='python-ffmpeg-python' pkgver=0.2.0 -pkgrel=5 -pkgdesc="Python bindings for FFmpeg - with complex filtering support" +pkgrel=6 +pkgdesc="Meta package to switch to $_newpkg" arch=(any) -url="https://github.com/kkroening/ffmpeg-python" -license=('Apache') -options=(!emptydirs) -depends=( - 'ffmpeg' - 'python-future' - 'python-graphviz' -) -makedepends=( - 'python-build' - 'python-installer' - 'python-pytest-runner' - 'python-setuptools' - 'python-wheel' -) -checkdepends=( - 'python-pytest' - 'python-pytest-mock' -) - -source=( - "$_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz" -) -sha256sums=( - '01b6b7640f00585a404194a358358bdf7f4050cedcd99f41416ac8b27222c9f1' -) - -prepare() { - cd "$srcdir/$_pkgname-$pkgver" - sed -i -e 's/collections.Iterable/collections.abc.Iterable/g' ffmpeg/_run.py -} - -build() { - cd "$srcdir/$_pkgname-$pkgver" - python -m build --no-isolation --wheel -} - -check(){ - cd "$srcdir/$_pkgname-$pkgver" - pytest || true -} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - python -m installer --destdir="$pkgdir" dist/*.whl -} +url="https://aur.archlinux.org/packages/$_newpkg" +license=('LGPL') +depends=("$_newpkg") |