python-gogs-client: update to 1.0.6

This commit is contained in:
Alessio Sergi 2017-07-28 12:37:19 +02:00
parent a01675d04e
commit 08985d1a32

View File

@ -1,29 +1,27 @@
# Template file for 'python-gogs-client' # Template file for 'python-gogs-client'
pkgname=python-gogs-client pkgname=python-gogs-client
version=1.0.5 version=1.0.6
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="gogs_client-${version}" wrksrc="gogs_client-${version}"
build_style=python-module 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 python-attrs"
short_desc="Python2 library for interacting with a gogs server" 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"
distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz" distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz"
checksum=73c2859f9a2e98686d5bf06ce288547f5916d85073311709383aebc3706c4483 checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f
post_install() { post_install() {
# 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 vlicense LICENSE.txt
} }
python3-gogs-client_package() { python3-gogs-client_package() {
noarch=yes noarch=yes
depends="python3-future python3-requests" depends="python3-future python3-requests python3-attrs"
pycompile_module="gogs_client" pycompile_module="gogs_client"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {