20 lines
737 B
Bash
20 lines
737 B
Bash
# Template file for 'python3-gogs-client'
|
|
pkgname=python3-gogs-client
|
|
version=1.0.6
|
|
revision=6
|
|
wrksrc="gogs_client-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-future python3-requests python3-attrs"
|
|
short_desc="Python3 library for interacting with a gogs server"
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
license="MIT"
|
|
homepage="https://github.com/unfoldingWord-dev/python-gogs-client"
|
|
distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz"
|
|
checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
# remove tests directory polluting site-packages
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
}
|