Skip to content

Commit

Permalink
main/py3-idna: security upgrade to 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
omni committed Apr 14, 2024
1 parent 87a6d5f commit 233c10d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions main/py3-idna/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <[email protected]>
pkgname=py3-idna
_pkgname=idna
pkgver=3.6
pkgver=3.7
pkgrel=0
pkgdesc="IDNA 2008 and UTS #46 for Python3"
url="https://github.com/kjd/idna"
Expand All @@ -23,14 +23,20 @@ builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-idna" # Backwards compatibility
provides="py-idna=$pkgver-r$pkgrel" # Backwards compatibility

# secfixes:
# 3.7-r0:
# - CVE-2024-3651

build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}

check() {
pytest
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl
.testenv/bin/python3 -m pytest
}

package() {
Expand All @@ -39,5 +45,5 @@ package() {
}

sha512sums="
4ffadae74aa69529cd37a6d361564b2a11450af6aa15f6691ba668139f4efe2893361c0fe7bf8e0d8ebcba1dc8937d50a3dfb3782905f1e1983d01455dced1ff idna-3.6.tar.gz
f753f37ae58fdb7b776c37757f7827c874eb13535db6427bc2a724e7ff1e28c2e3eb287a13eb97c37ee588d2c5217fe592f64ec305b122726ef5576c5317a34b idna-3.7.tar.gz
"

0 comments on commit 233c10d

Please sign in to comment.