From 51343592148eb58233e26892789a5e2bba2f93ae Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sun, 4 Jul 2021 22:21:21 +0300 Subject: [PATCH] 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). --- srcpkgs/instaloader/template | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/srcpkgs/instaloader/template b/srcpkgs/instaloader/template index 33a6f82baf74..3071a548e09a 100644 --- a/srcpkgs/instaloader/template +++ b/srcpkgs/instaloader/template @@ -1,6 +1,6 @@ # Template file for 'instaloader' pkgname=instaloader -version=4.5.5 +version=4.7.4 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" @@ -11,16 +11,8 @@ short_desc="Download pictures with metadata from Instagram" maintainer="fosslinux " license="MIT" homepage="https://instaloader.github.io" -distfiles="${PYPI_SITE}/i/${pkgname}/${pkgname}-${version}.tar.gz - https://raw.githubusercontent.com/${pkgname}/${pkgname}/v${version}/LICENSE" -checksum="2ca70401c1a52f3955ba99cae0fb7183795260386e4ad897d6b0dec3e8a12a96 - 5505f0eaa928f29c3ba985724688429bb275490e89e4976d2ec7da124c2fc0cc" -skip_extraction="LICENSE" - -# ship your licenses, people -post_extract() { - cp "${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE" . -} +distfiles="${PYPI_SITE}/i/instaloader/instaloader-${version}.tar.gz" +checksum=75bd55c36b5df82ced90812dd1dbc3f1a66094671d8a083d3f415d93b39fb835 post_install() { vlicense LICENSE