aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-httplib2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-httplib2/APKBUILD')
-rw-r--r--community/py3-httplib2/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/py3-httplib2/APKBUILD b/community/py3-httplib2/APKBUILD
index 66b4f46941..986f170fa6 100644
--- a/community/py3-httplib2/APKBUILD
+++ b/community/py3-httplib2/APKBUILD
@@ -2,8 +2,8 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-httplib2
_pkgname=httplib2
-pkgver=0.18.1
-pkgrel=0
+pkgver=0.19.0
+pkgrel=1
pkgdesc="Python3 HTTP client library"
url="https://github.com/httplib2/httplib2"
arch="noarch"
@@ -11,12 +11,18 @@ license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov py3-pytest-timeout py3-mock"
-source="https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-$pkgver.tar.gz"
+source="https://files.pythonhosted.org/packages/source/h/httplib2/httplib2-$pkgver.tar.gz
+ fix-test-inject-space-after-bpo-43882.patch
+ "
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-httplib2" # Backwards compatibility
provides="py-httplib2=$pkgver-r$pkgrel" # Backwards compatibility
+# secfixes:
+# 0.19.0-r0:
+# - CVE-2021-21240
+
build() {
python3 setup.py build
}
@@ -29,4 +35,7 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="a1bb527279bdc92fb75bffebc317ff549bb6efb678580cbe40d187921b7ace66b1a5bc1d98bdf065ec5667fe69632da086b0eb201ff911497324fd817bfe1b7a httplib2-0.18.1.tar.gz"
+sha512sums="
+9193a0e8e9a58a3f0e9b27fdf827932482a47b88af297af6e5f004164ca0b72feeff513b8191bf7c48d6714070a1390ae54eb8a2c6840f54f2580889c7837c7f httplib2-0.19.0.tar.gz
+88a9106f1005b2a2234c4fe20c3e271122732d25dce08e9f4f355701854fbfb176ad638a4cfee807bbc4cb063bd6913775a0d6b6c6724cb7948d430f985ae4c7 fix-test-inject-space-after-bpo-43882.patch
+"