blob: d04cf0256399991ab3a112a41427e8678239c2ae (
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
|
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
pkgname=instalooter
pkgver=2.3.4
pkgrel=1
pkgdesc='Another API-less Instagram pictures and videos downloader'
arch=('any')
url=https://github.com/althonos/InstaLooter
license=('GPL3')
depends=('python-coloredlogs' 'python-dateutil' 'python-docopt'
'python-fake-useragent' 'python-fs' 'python-requests' 'python-six'
'python-tenacity' 'python-tqdm' 'python-verboselogs')
makedepends=('python-setuptools')
checkdepends=('python-contexter' 'python-mock' 'python-parameterized'
'python-piexif' 'python-pillow')
optdepends=('python-piexif: to add EXIF metadata to downloaded pictures'
'python-pillow: to add EXIF metadata to downloaded pictures')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha512sums=('ce9b47cbe0d8c182c26ca5943a5312b5401e20a664a3af0f2b5d564cbfb15c9645f915c55aee1d18f260a6ab35895759bebf4e397a529d758c83caa2b58856db')
build() {
cd $pkgname-$pkgver
python setup.py build
}
check() {
cd $pkgname-$pkgver
python -m unittest discover
}
package() {
cd $pkgname-$pkgver
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
# vim:set ts=2 sw=2 et:
|