diff options
-rw-r--r-- | main/py-requests/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/py-requests/APKBUILD b/main/py-requests/APKBUILD index 539d5828e7..b92af03783 100644 --- a/main/py-requests/APKBUILD +++ b/main/py-requests/APKBUILD @@ -3,14 +3,14 @@ pkgname=py-requests _pkgname=requests pkgver=2.18.1 -pkgrel=0 +pkgrel=1 pkgdesc="A HTTP request library for Python" url="http://www.python-requests.org/" arch="noarch" license="ASL 2.0" # Requirements for tests are not available in main options="!check" -depends="" +depends="py-chardet py-idna py-certifi py-urllib3" makedepends="python2-dev py-setuptools python3-dev" subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -38,10 +38,12 @@ _py() { _py2() { replaces="$pkgname" + depends="${depends//py-/py2-}" _py python2 } _py3() { + depends="${depends//py-/py3-}" _py python3 } |