python-bitbucket-api: More encompassing dependency
Features from python-requests-oauthlib are used in the library, so that package needs to be a dependency. python-requests-oauthlib depends on both python-oauthlib and python-requests, so the latter two can safely be removed from the dependency list without fear of any lost functionality.
This commit is contained in:
parent
3db4981d17
commit
3c4c4a8bc4
1 changed files with 3 additions and 3 deletions
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python-bitbucket-api'
|
# Template file for 'python-bitbucket-api'
|
||||||
pkgname=python-bitbucket-api
|
pkgname=python-bitbucket-api
|
||||||
version=0.5.0
|
version=0.5.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="bitbucket-api-${version}"
|
wrksrc="bitbucket-api-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="bitbucket"
|
pycompile_module="bitbucket"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-requests python-sh python-oauthlib"
|
depends="python-requests-oauthlib python-sh"
|
||||||
short_desc="Wrapper for BitBucket's REST API (Python2)"
|
short_desc="Wrapper for BitBucket's REST API (Python2)"
|
||||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||||
homepage="https://github.com/Sheeprider/BitBucket-api"
|
homepage="https://github.com/Sheeprider/BitBucket-api"
|
||||||
|
@ -21,7 +21,7 @@ post_install() {
|
||||||
|
|
||||||
python3-bitbucket-api_package() {
|
python3-bitbucket-api_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3-requests python3-sh python3-oauthlib"
|
depends="python3-requests-oauthlib python3-sh"
|
||||||
pycompile_module="bitbucket"
|
pycompile_module="bitbucket"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue