void-packages/srcpkgs/python-github3/template

32 lines
857 B
Bash

# Template file for 'python-github3'
pkgname=python-github3
version=1.0.1
revision=1
wrksrc="github3.py-${version}"
build_style=python-module
pycompile_module="github3"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-requests python-uritemplate"
short_desc="Wrapper for GitHub's API (Python2)"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github3py.readthedocs.org"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/g/github3.py/github3.py-${version}.tar.gz"
checksum=f5e069a91d72b88c3cd968d0d61ef213ce119dbfe5c9d7ac67b0954abf9882de
noarch=yes
post_install() {
vlicense LICENSE
}
python3-github3_package() {
noarch=yes
depends="python3-requests python3-uritemplate"
pycompile_module="github3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}