diff options
author | Michal Wojdyla | 2021-11-24 18:18:51 +0100 |
---|---|---|
committer | Michal Wojdyla | 2021-11-24 18:18:51 +0100 |
commit | 90628f25532fbf68ce8264f5b6740252180a1a47 (patch) | |
tree | 4f2252fcd17f2dcc7464c821f7840097a231ffc1 /PKGBUILD | |
parent | 272f12e5e215e2a449f7adf665f820557afa20fd (diff) | |
download | aur-instalooter.tar.gz |
update to latest version, disable check
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
@@ -1,34 +1,41 @@ -# Maintainer: Daniel M. Capella <polyzen@archlinux.org> +# Contributor: Daniel M. Capella <polyzen@archlinux.org> pkgname=instalooter -pkgver=2.4.2 +pkgver=2.4.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-fs' 'python-requests' 'python-setuptools' 'python-six' + 'python-fs' 'python-requests' 'python-six' 'python-tenacity' 'python-tqdm' 'python-verboselogs') -checkdepends=('python-contexter' 'python-mock' 'python-parameterized' - 'python-piexif' 'python-pillow') +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") -sha256sums=('6de14955c3fc7ce7365e1d17dc0e41bcc56e3a3026322cf41925e83ab1dfb7b5') +sha256sums=('fb9b4a948702361a161cc42e58857e3a6c9dafd9e22568b07bc0d0b09c3c34a9') +prepare() { + cd $pkgname-$pkgver + # fixes library versions for tenacity and coloredlogs + sed -e 's/6.0/8.0/g' -i setup.cfg + sed -e 's/14/15/g' -i setup.cfg +} build() { cd $pkgname-$pkgver python setup.py build } -check() { - cd $pkgname-$pkgver - UA="Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0" - python -c "from instalooter.looters import InstaLooter; \ - InstaLooter._cachefs.settext(u'user-agent.txt', u'$UA')" - python -m unittest discover -} +#check() { +# cd $pkgname-$pkgver +# UA="Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0" +# python -c "from instalooter.looters import InstaLooter; \ +# InstaLooter._cachefs.settext(u'user-agent.txt', u'$UA')" +# python -m unittest discover +#} package() { cd $pkgname-$pkgver |