From c0c1cf4e4ab8ff0378b727a6cebfbd4fe63ce2d7 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 21 Apr 2017 15:28:44 +0200 Subject: [PATCH] python-gogs-client: update to 1.0.4 --- srcpkgs/python-gogs-client/template | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python-gogs-client/template b/srcpkgs/python-gogs-client/template index 3a60800178..ee4047c98e 100644 --- a/srcpkgs/python-gogs-client/template +++ b/srcpkgs/python-gogs-client/template @@ -1,6 +1,6 @@ # Template file for 'python-gogs-client' pkgname=python-gogs-client -version=1.0.3 +version=1.0.4 revision=1 noarch=yes wrksrc="gogs_client-${version}" @@ -8,20 +8,17 @@ build_style=python-module pycompile_module="gogs_client" hostmakedepends="python-setuptools python3-setuptools" depends="python-future python-requests" -short_desc="Library for interacting with a gogs server (Python2)" +short_desc="Python2 library for interacting with a gogs server" maintainer="Joseph LaFreniere " homepage="https://github.com/unfoldingWord-dev/python-gogs-client" license="MIT" -# License not currently in PyPi: https://github.com/unfoldingWord-dev/python-gogs-client/issues/5 -distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz - https://raw.githubusercontent.com/unfoldingWord-dev/python-gogs-client/aec61c5e27044c9b2542de6a7700b386b594d2ab/LICENSE.txt -" -checksum="bcc164e554d30d8048e7c87ff2841fc027852f6b9da056fe4371829c42c95d9a - 59daafc62a061a847015d645814ebe5fbefbab50cea063c56aa3f1bf99be7f3e" -skip_extraction=LICENSE.txt +distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz" +checksum=4e76ac6193e662efe6f4c09777880569bd31e0f9b62088765b669a684452bcd2 post_install() { - vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.txt + # License not currently in PyPI: https://github.com/unfoldingWord-dev/python-gogs-client/issues/5 + $XBPS_FETCH_CMD https://raw.githubusercontent.com/unfoldingWord-dev/python-gogs-client/master/LICENSE.txt + vlicense LICENSE.txt } python3-gogs-client_package() { @@ -31,6 +28,6 @@ python3-gogs-client_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* - vlicense ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/LICENSE.txt + vlicense LICENSE.txt } }