# Template file for 'python-github3' pkgname=python-github3 version=1.3.0 revision=2 archs=noarch 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 " license="BSD-3-Clause" homepage="https://github3py.readthedocs.org" changelog="https://raw.githubusercontent.com/sigmavirus24/github3.py/master/docs/source/release-notes/${version}.rst" distfiles="${PYPI_SITE}/g/github3.py/github3.py-${version}.tar.gz" checksum=15a115c18f7bfcf934dfef7ab103844eb9f620c586bad65967708926da47cbda post_install() { vlicense LICENSE } python3-github3_package() { archs=noarch depends="python3-requests python3-uritemplate" pycompile_module="github3" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE } }