summaryrefslogtreecommitdiff
path: root/user/py3-requests/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-16 22:58:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-16 22:58:24 +0000
commit0e77a48a9f1b6e9ec21ded3a5d231b871e6f682c (patch)
tree1f177711e75992a00a576bde13c2660c5fac0206 /user/py3-requests/APKBUILD
parent5971c960c3f560e3af732f5a26265a2f540b14d4 (diff)
downloadpackages-0e77a48a9f1b6e9ec21ded3a5d231b871e6f682c.tar.gz
packages-0e77a48a9f1b6e9ec21ded3a5d231b871e6f682c.tar.bz2
packages-0e77a48a9f1b6e9ec21ded3a5d231b871e6f682c.tar.xz
packages-0e77a48a9f1b6e9ec21ded3a5d231b871e6f682c.zip
user/py3-requests: bump to 2.22.0, fix URL
Diffstat (limited to 'user/py3-requests/APKBUILD')
-rw-r--r--user/py3-requests/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/user/py3-requests/APKBUILD b/user/py3-requests/APKBUILD
index 1746a8256..3b4bf0dd6 100644
--- a/user/py3-requests/APKBUILD
+++ b/user/py3-requests/APKBUILD
@@ -3,10 +3,10 @@
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-requests
_pkgname=${pkgname#py3-}
-pkgver=2.21.0
+pkgver=2.22.0
pkgrel=0
pkgdesc="A HTTP request library for Python"
-url="http://www.python-requests.org/"
+url="https://2.python-requests.org/"
arch="noarch"
license="Apache-2.0"
options="!check" # tests connect to remote sites
@@ -17,14 +17,12 @@ source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname
builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$builddir"
python3 setup.py build
}
package() {
mkdir -p "$pkgdir"
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="385e1d80993a21c09e7c4682500ca8c24155962ba41ecd8e73612722b2ff6618b736e827fc48ad1683b0d2bc7a420cfe680f5107860aca52656ef777f1d60104 requests-2.21.0.tar.gz"
+sha512sums="8b8e9da8a0c816fb4ff39be89ac7e1a9d5a99503ed93e44a0d78b28818f1c0eb253b151972a144151a616ba1b4bc5595245458a8268c5161391db54f740ac9a5 requests-2.22.0.tar.gz"