python3-fido2: update to 1.1.2.
This commit is contained in:
parent
40e2e5a6e8
commit
98f60cb8cf
11
srcpkgs/python3-fido2/patches/system-psl.patch
Normal file
11
srcpkgs/python3-fido2/patches/system-psl.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/fido2/rpid.py
|
||||||
|
+++ b/fido2/rpid.py
|
||||||
|
@@ -41,7 +41,7 @@ import os
|
||||||
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
|
|
||||||
|
-tld_fname = os.path.join(os.path.dirname(__file__), "public_suffix_list.dat")
|
||||||
|
+tld_fname = '/usr/share/publicsuffix/public_suffix_list.dat'
|
||||||
|
with open(tld_fname, "rb") as f:
|
||||||
|
suffixes = [
|
||||||
|
entry
|
@ -1,19 +1,23 @@
|
|||||||
# Template file for 'python3-fido2'
|
# Template file for 'python3-fido2'
|
||||||
pkgname=python3-fido2
|
pkgname=python3-fido2
|
||||||
_pkgname=fido2
|
_pkgname=fido2
|
||||||
version=1.1.1
|
version=1.1.2
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-poetry-core"
|
hostmakedepends="python3-poetry-core"
|
||||||
depends="python3-six python3-cryptography python3-pyscard"
|
depends="python3-six python3-cryptography python3-pyscard"
|
||||||
# Missing fakefs will be pulled from pypi
|
|
||||||
checkdepends="$depends python3-mock python3-pytest"
|
checkdepends="$depends python3-mock python3-pytest"
|
||||||
short_desc="Library for FIDO2 functionality"
|
short_desc="Library for FIDO2 functionality"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause, Apache-2.0"
|
||||||
homepage="https://github.com/Yubico/python-fido2"
|
homepage="https://github.com/Yubico/python-fido2"
|
||||||
distfiles="${PYPI_SITE}/f/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/f/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
||||||
checksum=5dc495ca8c59c1c337383b4b8c314d46b92d5c6fc650e71984c6d7f954079fc3
|
checksum=6110d913106f76199201b32d262b2857562cc46ba1d0b9c51fbce30dc936c573
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
rm -f fido2/public_suffix_list.dat
|
||||||
|
rm -f COPYING.*
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user