diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-07-16 00:16:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-18 07:34:23 +0000 |
commit | 34b1e5db1dfc179a61f44530b0df3f689863f23b (patch) | |
tree | 36bf686dd471ec504c493964da6adeeede8bdee9 /main/py-requests | |
parent | 98b512f6e553ffacbffa590d19f3d4fb5cbdad5e (diff) | |
download | aports-34b1e5db1dfc179a61f44530b0df3f689863f23b.tar.bz2 aports-34b1e5db1dfc179a61f44530b0df3f689863f23b.tar.xz |
main/py-requests: add dependencies
setup.py:
requires = [
'chardet>=3.0.2,<3.1.0',
'idna>=2.5,<2.6',
'urllib3>=1.21.1,<1.22',
'certifi>=2017.4.17'
]
Diffstat (limited to 'main/py-requests')
-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 } |