diff options
-rw-r--r-- | testing/py3-fido2/APKBUILD | 9 | ||||
-rw-r--r-- | testing/py3-fido2/broken-check.patch | 23 |
2 files changed, 29 insertions, 3 deletions
diff --git a/testing/py3-fido2/APKBUILD b/testing/py3-fido2/APKBUILD index 487f741218..8deb40725d 100644 --- a/testing/py3-fido2/APKBUILD +++ b/testing/py3-fido2/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Daniel Everett <deverett@gmail.com> pkgname=py3-fido2 _pkgname=${pkgname#py3-} -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=0 pkgdesc="Provides library functionality for FIDO 2.0, including communication with a device over USB" url="https://developers.yubico.com/python-fido2/" @@ -11,7 +11,9 @@ license="BSD-2-Clause AND Apache-2.0 AND MPL-2.0" depends="py3-cryptography py3-six" makedepends="py3-setuptools" checkdepends="py3-cparser py3-mock" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz + broken-check.patch + " builddir="$srcdir"/$_pkgname-$pkgver build() { @@ -28,4 +30,5 @@ check() { python3 setup.py test } -sha512sums="07024a4076d88bd9ec5d5dbfd924c88e314906668444d96aa9177c373309e90e33c18fd5313943fd83eb28b6d40f0c16a8f64c5d9a2aa50f2fc5115c1967ae3a fido2-0.7.1.tar.gz" +sha512sums="dbd163f0700e57c3692da3817a79af616cab0a47f984cede8c098a8a81b31aa49e96c6087fb438fee62c251139af8a434b39175d87530fdc005047b2afdef3b1 fido2-0.7.2.tar.gz +2c2a3d2423cd9e7178e5423a08f118054d70c717b31bcab4ac71ddc5cf73031973454ce2c67a1d1f19bbf81a3401d6359a1b9f2f3028ab11e28815ac2b7a261b broken-check.patch" diff --git a/testing/py3-fido2/broken-check.patch b/testing/py3-fido2/broken-check.patch new file mode 100644 index 0000000000..f65dd22ff9 --- /dev/null +++ b/testing/py3-fido2/broken-check.patch @@ -0,0 +1,23 @@ +diff --git a/setup.py b/setup.py +index fa723fc..2298bac 100755 +--- a/setup.py ++++ b/setup.py +@@ -25,17 +25,10 @@ + # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + # POSSIBILITY OF SUCH DAMAGE. + +-from distutils.version import StrictVersion + from setuptools import setup, find_packages, __version__ + import re + import sys + +-if StrictVersion(__version__) < StrictVersion("20.2"): +- sys.exit( +- "Your setuptools version does not support PEP 508.\n" +- "Please install setuptools 20.2 or later." +- ) +- + + def get_version(): + with open("fido2/__init__.py", "r") as f: + |