Merge pull request #5907 from lafrenierejm/python-bitbucket-api

New package: python-bitbucket-api-0.5.0
This commit is contained in:
Toyam Cox 2017-03-06 17:05:12 -05:00 committed by GitHub
commit d78513be61
2 changed files with 32 additions and 0 deletions

View File

@ -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 <joseph@lafreniere.xyz>"
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*
}
}

View File

@ -0,0 +1 @@
python-bitbucket-api