blob: 99f01b76e75e3d96f9caa1f02eb09fdfe177a627 (
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
|
gitname=moviepy
pkgname=python-${gitname}-git
pkgver=1072.8eaf3f02
pkgrel=1
pkgdesc="Script-based movie editing with python (git version)"
arch=('any')
url="http://zulko.github.io/moviepy/"
license=("MIT")
makedepends=('git' 'python-setuptools')
depends=('python' 'ffmpeg' 'opencv'
'python-decorator' 'python-numpy' 'python-pillow' 'python-tqdm' 'python-imageio' 'python-proglog' 'python-imageio-ffmpeg')
optdepends=('python-scikit-image' 'python-scipy' 'imagemagick')
provides=('python-moviepy')
conflicts=('python-moviepy')
source=("git+https://github.com/Zulko/${gitname}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${gitname}"
local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
printf "%s" "${ver//-/.}"
}
package() {
cd "${srcdir}/${gitname}"
python setup.py install --root="${pkgdir}" --optimize=1
}
|