-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main/py3-idna: security upgrade to 3.7
- Loading branch information
omni
committed
Apr 14, 2024
1 parent
87a6d5f
commit 233c10d
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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() { | ||
|
@@ -39,5 +45,5 @@ package() { | |
} | ||
|
||
sha512sums=" | ||
4ffadae74aa69529cd37a6d361564b2a11450af6aa15f6691ba668139f4efe2893361c0fe7bf8e0d8ebcba1dc8937d50a3dfb3782905f1e1983d01455dced1ff idna-3.6.tar.gz | ||
f753f37ae58fdb7b776c37757f7827c874eb13535db6427bc2a724e7ff1e28c2e3eb287a13eb97c37ee588d2c5217fe592f64ec305b122726ef5576c5317a34b idna-3.7.tar.gz | ||
" |