Date: Monday, November 14, 2022 @ 14:35:19 Author: eworm Revision: 1347517
archrelease: copy trunk to community-any Added: python-fido2/repos/community-any/PKGBUILD (from rev 1347516, python-fido2/trunk/PKGBUILD) python-fido2/repos/community-any/keys/ Deleted: python-fido2/repos/community-any/PKGBUILD python-fido2/repos/community-any/keys/ ----------+ PKGBUILD | 75 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-11-14 14:35:16 UTC (rev 1347516) +++ PKGBUILD 2022-11-14 14:35:19 UTC (rev 1347517) @@ -1,37 +0,0 @@ -# Maintainer: Christian Hesse <m...@eworm.de> -# Contributor: Emil Lundberg <e...@emlun.se> <e...@yubico.com> - -pkgname=python-fido2 -_tag='45e27d4196ccb6383334bd469fd0d570973d295b' # git rev-parse "${pkgver}" -pkgver=1.1.0 -pkgrel=1 -pkgdesc='Library for FIDO 2.0, including communication with a device over USBA' -url='https://github.com/Yubico/python-fido2' -license=('custom:BSD-2-clause') -arch=('any') -depends=('python') -makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core') -_tarball_basename="fido2-${pkgver}" -validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson <d...@yubico.com> -source=("git+https://github.com/Yubico/${pkgname}.git#tag=${_tag}?signed") -sha256sums=('SKIP') - -# Tests don't currently work in release tarballs -# check() { -# cd "${srcdir}/${pkgname}" -# python setup.py test -# } - -build() { - cd "${srcdir}/${pkgname}" - - python -m build --wheel --no-isolation -} - -package() { - cd "${srcdir}/${pkgname}" - - python -m installer --destdir="$pkgdir" dist/*.whl - - install -D -m0644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" -} Copied: python-fido2/repos/community-any/PKGBUILD (from rev 1347516, python-fido2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-11-14 14:35:19 UTC (rev 1347517) @@ -0,0 +1,38 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Emil Lundberg <e...@emlun.se> <e...@yubico.com> + +pkgname=python-fido2 +_tag='45e27d4196ccb6383334bd469fd0d570973d295b' # git rev-parse "${pkgver}" +pkgver=1.1.0 +pkgrel=2 +pkgdesc='Library for FIDO 2.0, including communication with a device over USBA' +url='https://github.com/Yubico/python-fido2' +license=('custom:BSD-2-clause') +arch=('any') +depends=('python') +makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core') +checkdepends=('python-cryptography') +_tarball_basename="fido2-${pkgver}" +validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson <d...@yubico.com> +source=("git+https://github.com/Yubico/${pkgname}.git#tag=${_tag}?signed") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + + python -m build --wheel --no-isolation +} + +check() { + cd "${srcdir}/${pkgname}" + + python -m unittest discover -vs . +} + +package() { + cd "${srcdir}/${pkgname}" + + python -m installer --destdir="$pkgdir" dist/*.whl + + install -D -m0644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +}