diff --git a/srcpkgs/python-bitbucket-api/template b/srcpkgs/python-bitbucket-api/template new file mode 100644 index 0000000000..1b882eaf41 --- /dev/null +++ b/srcpkgs/python-bitbucket-api/template @@ -0,0 +1,31 @@ +# Template file for 'python-bitbucket-api' +pkgname=python-bitbucket-api +version=0.5.0 +revision=1 +noarch=yes +wrksrc="bitbucket-api-${version}" +build_style=python-module +pycompile_module="bitbucket" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-sh python-oauthlib" +short_desc="Wrapper for BitBucket's REST API (Python2)" +maintainer="Joseph LaFreniere " +homepage="https://github.com/Sheeprider/BitBucket-api" +license="ISC" +distfiles="${PYPI_SITE}/b/bitbucket-api/bitbucket-api-${version}.tar.gz" +checksum=b541d9d7f234074a74214505aff1846eb21e5dd6d3915139e817d4675d34f4e3 + +post_install() { + vlicense LICENSE +} + +python3-bitbucket-api_package() { + noarch=yes + depends="python3-requests python3-sh python3-oauthlib" + pycompile_module="bitbucket" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vlicense LICENSE + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-bitbucket-api b/srcpkgs/python3-bitbucket-api new file mode 120000 index 0000000000..e8c63bc463 --- /dev/null +++ b/srcpkgs/python3-bitbucket-api @@ -0,0 +1 @@ +python-bitbucket-api \ No newline at end of file