mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
main/py-oauth2client: fix dependencies
For example for the Python 3 sub-package before this change there was a dependency upon `py3six`, which is not an Alpine Linux package. After this change the dependency is upon `py3-six`. Fixes #8686
This commit is contained in:
parent
7b0c2b77d7
commit
655efc7f52
@ -2,7 +2,7 @@
|
||||
pkgname=py-oauth2client
|
||||
_pkgname=oauth2client
|
||||
pkgver=4.1.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A client library for OAuth 2.0"
|
||||
url="https://github.com/google/oauth2client"
|
||||
arch="noarch"
|
||||
@ -25,12 +25,12 @@ package() {
|
||||
|
||||
_py2() {
|
||||
replaces="$pkgname"
|
||||
depends="${depends//py-/py2}"
|
||||
depends="${depends//py-/py2-}"
|
||||
_py python2
|
||||
}
|
||||
|
||||
_py3() {
|
||||
depends="${depends//py-/py3}"
|
||||
depends="${depends//py-/py3-}"
|
||||
_py python3
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user