summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-requests/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-01 18:22:19 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-01 18:22:19 (GMT)
commit52d8517cf54914022afb3e169157a442aec08dd3 (patch)
tree21a70750fb8558e5f26aa18cc03cd406504f5184 /abs/core/python_modules/python-requests/PKGBUILD
parent26a9985b610823ee5dd7f9b89a776598e5ab04b9 (diff)
downloadlinhes_pkgbuild-52d8517cf54914022afb3e169157a442aec08dd3.zip
linhes_pkgbuild-52d8517cf54914022afb3e169157a442aec08dd3.tar.gz
linhes_pkgbuild-52d8517cf54914022afb3e169157a442aec08dd3.tar.bz2
python-requests: update to 2.18.4
Diffstat (limited to 'abs/core/python_modules/python-requests/PKGBUILD')
-rw-r--r--abs/core/python_modules/python-requests/PKGBUILD25
1 files changed, 13 insertions, 12 deletions
diff --git a/abs/core/python_modules/python-requests/PKGBUILD b/abs/core/python_modules/python-requests/PKGBUILD
index d5e1fb4..e791c7b 100644
--- a/abs/core/python_modules/python-requests/PKGBUILD
+++ b/abs/core/python_modules/python-requests/PKGBUILD
@@ -3,25 +3,26 @@
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgbase=python-requests
-pkgname=('python2-requests')
-pkgver=2.18.1
+pkgname=('python-requests' 'python2-requests')
+pkgver=2.18.4
pkgrel=1
pkgdesc="Python HTTP for Humans"
arch=('any')
url="http://python-requests.org"
license=('Apache')
-makedepends=('python2-setuptools' 'python2-chardet'
- 'python2-urllib3' 'python2-idna')
-checkdepends=('python2-pytest-httpbin'
- 'python2-pytest-mock' 'python2-pysocks')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet'
+ 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock'
+ 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz"
certs.patch)
-sha512sums=('a80e0487b4b729e69522817bc2eec2a9c5f1df34df385581b3e937c2409e0fcb4e1f9b4794b198c8b8a57fc05b1bc513fc70d41b324ae251de0fa9bc7c9e6947'
+sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7'
'424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3')
prepare() {
cd "$srcdir"/requests-$pkgver
- sed -i '/certifi/d' setup.py
+ sed -e '/certifi/d' \
+ -i setup.py
patch -p1 -i "$srcdir"/certs.patch
cd "$srcdir"
@@ -30,16 +31,16 @@ prepare() {
}
build() {
-# cd "$srcdir"/requests-$pkgver
-# python setup.py build
+ cd "$srcdir"/requests-$pkgver
+ python setup.py build
cd "$srcdir"/requests-$pkgver-py2
python2 setup.py build
}
check() {
-# cd "$srcdir"/requests-$pkgver
-# py.test tests
+ cd "$srcdir"/requests-$pkgver
+ py.test tests
cd "$srcdir"/requests-$pkgver-py2
py.test2 tests