2017-02-20 06:43:33 +01:00
|
|
|
# Template file for 'python-github3'
|
|
|
|
pkgname=python-github3
|
2017-03-09 08:27:55 +01:00
|
|
|
reverts="1.0.0a4_1"
|
|
|
|
version=0.9.6
|
2017-02-20 06:43:33 +01:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="github3.py-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
pycompile_module="github3"
|
|
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
2017-03-09 08:27:55 +01:00
|
|
|
depends="python-requests python-uritemplate"
|
2017-02-20 06:43:33 +01:00
|
|
|
short_desc="Wrapper for GitHub's API (Python2)"
|
|
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
|
|
homepage="https://github3py.readthedocs.org"
|
|
|
|
license="3-clause-BSD"
|
|
|
|
distfiles="${PYPI_SITE}/g/github3.py/github3.py-${version}.tar.gz"
|
2017-03-09 08:27:55 +01:00
|
|
|
checksum=b831db85d7ff4a99d6f4e8368918095afeea10f0ec50798f9a937c830ab41dc5
|
2017-02-20 06:43:33 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3-github3_package() {
|
|
|
|
noarch=yes
|
2017-03-09 08:27:55 +01:00
|
|
|
depends="python3-requests python3-uritemplate"
|
2017-02-20 06:43:33 +01:00
|
|
|
pycompile_module="github3"
|
|
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3*
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
}
|