blob: 30af1ac5d4a05bb8dea4dfeaed31359816838b1a (
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
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Specter119 <specter119@gmail.com>
pkgname=python-lottie
_name=${pkgname//python-}
pkgver=0.7.0
pkgrel=2
pkgdesc='A Python framework to work with Lottie files and Telegram animated stickers.'
arch=(any)
url=https://pypi.org/project/lottie
license=(AGPL)
groups=(efb)
depends=(python)
makedepends=(python-setuptools)
optdepends=(
python-pillow
python-glaxnimate
python-numpy
python-cairosvg
python-fonttools
python-opencv
python-grapheme
python-qscintilla-qt5
python-coverage
)
replaces=(python-tgs)
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-$pkgver.tar.gz)
sha512sums=('dbf032bafe64512a5ce932d0d980e4f9f305573600df8b54f1876f800012ff44d6895b023b6db2e354282900e3456b54df49472d278bae3bd21b549274dceb54')
build() {
cd $srcdir/${_name}-$pkgver
python setup.py build
}
package() {
cd $srcdir/${_name}-$pkgver
python setup.py install --root $pkgdir --skip-build --optimize=1
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:
|