diff --git a/srcpkgs/python-github3/template b/srcpkgs/python-github3/template new file mode 100644 index 00000000000..61770e80eba --- /dev/null +++ b/srcpkgs/python-github3/template @@ -0,0 +1,31 @@ +# Template file for 'python-github3' +pkgname=python-github3 +version=1.0.0a4 +revision=1 +noarch=yes +wrksrc="github3.py-${version}" +build_style=python-module +pycompile_module="github3" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-uritemplate python-openssl python-ndg_httpsclient python-pyasn1" +short_desc="Wrapper for GitHub's API (Python2)" +maintainer="Joseph LaFreniere " +homepage="https://github3py.readthedocs.org" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/g/github3.py/github3.py-${version}.tar.gz" +checksum=570e776e2ab1318533b1555ee2f2f784142883b49cb4090582c0307c16cc1666 + +post_install() { + vlicense LICENSE +} + +python3-github3_package() { + noarch=yes + depends="python3-requests python3-uritemplate python3-openssl python3-ndg_httpsclient python3-pyasn1" + pycompile_module="github3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-github3 b/srcpkgs/python3-github3 new file mode 120000 index 00000000000..7a5d11df803 --- /dev/null +++ b/srcpkgs/python3-github3 @@ -0,0 +1 @@ +python-github3 \ No newline at end of file