instaloader: update to 4.7.4.

Also:
- expand the $pkgname in distfiles
- remove license file and the special handling from the template
(now the tarball contains a license file).
-remove unneeded deps.
This commit is contained in:
mobinmob 2021-07-04 22:21:21 +03:00 committed by Érico Nogueira Rolim
parent 30b0e23540
commit ad8525eba6
1 changed files with 4 additions and 13 deletions

View File

@ -1,26 +1,17 @@
# Template file for 'instaloader' # Template file for 'instaloader'
pkgname=instaloader pkgname=instaloader
version=4.5.5 version=4.7.4
revision=1 revision=1
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-requests python3-urllib3 python3-idna python3-chardet depends="python3-requests"
python3-certifi"
checkdepends="${depends}" checkdepends="${depends}"
short_desc="Download pictures with metadata from Instagram" short_desc="Download pictures with metadata from Instagram"
maintainer="fosslinux <fosslinux@aussies.space>" maintainer="fosslinux <fosslinux@aussies.space>"
license="MIT" license="MIT"
homepage="https://instaloader.github.io" homepage="https://instaloader.github.io"
distfiles="${PYPI_SITE}/i/${pkgname}/${pkgname}-${version}.tar.gz distfiles="${PYPI_SITE}/i/instaloader/instaloader-${version}.tar.gz"
https://raw.githubusercontent.com/${pkgname}/${pkgname}/v${version}/LICENSE" checksum=75bd55c36b5df82ced90812dd1dbc3f1a66094671d8a083d3f415d93b39fb835
checksum="2ca70401c1a52f3955ba99cae0fb7183795260386e4ad897d6b0dec3e8a12a96
5505f0eaa928f29c3ba985724688429bb275490e89e4976d2ec7da124c2fc0cc"
skip_extraction="LICENSE"
# ship your licenses, people
post_extract() {
cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE" .
}
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE