python-gogs-client: update to 1.0.4

This commit is contained in:
Alessio Sergi 2017-04-21 15:28:44 +02:00
parent d020b73e7a
commit c0c1cf4e4a

View file

@ -1,6 +1,6 @@
# Template file for 'python-gogs-client' # Template file for 'python-gogs-client'
pkgname=python-gogs-client pkgname=python-gogs-client
version=1.0.3 version=1.0.4
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="gogs_client-${version}" wrksrc="gogs_client-${version}"
@ -8,20 +8,17 @@ build_style=python-module
pycompile_module="gogs_client" pycompile_module="gogs_client"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-future python-requests" 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 <joseph@lafreniere.xyz>" maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github.com/unfoldingWord-dev/python-gogs-client" homepage="https://github.com/unfoldingWord-dev/python-gogs-client"
license="MIT" 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"
distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz checksum=4e76ac6193e662efe6f4c09777880569bd31e0f9b62088765b669a684452bcd2
https://raw.githubusercontent.com/unfoldingWord-dev/python-gogs-client/aec61c5e27044c9b2542de6a7700b386b594d2ab/LICENSE.txt
"
checksum="bcc164e554d30d8048e7c87ff2841fc027852f6b9da056fe4371829c42c95d9a
59daafc62a061a847015d645814ebe5fbefbab50cea063c56aa3f1bf99be7f3e"
skip_extraction=LICENSE.txt
post_install() { 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() { python3-gogs-client_package() {
@ -31,6 +28,6 @@ python3-gogs-client_package() {
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*
vlicense ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/LICENSE.txt vlicense LICENSE.txt
} }
} }