Date: Monday, October 24, 2022 @ 08:36:05
Author: eworm
Revision: 1334517
upgpkg: python-fido2 1.0.0-2: try to get packaging right...
Modified:
python-fido2/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-24 08:29:50 UTC (rev 1334516)
+++ PKGBUILD 2022-10-24 08:36:05 UTC (rev 1334517)
@@ -4,13 +4,13 @@
pkgname=python-fido2
_tag='d363aefc2da174a361a772576467551135742b5a' # git rev-parse "${pkgver}"
pkgver=1.0.0
-pkgrel=1
+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-pip' 'python-poetry')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
_tarball_basename="fido2-${pkgver}"
validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson
<[email protected]>
source=("git+https://github.com/Yubico/${pkgname}.git#tag=${_tag}?signed")
@@ -25,13 +25,13 @@
build() {
cd "${srcdir}/${pkgname}"
- poetry build
+ python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}"
- PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}"
--ignore-installed --no-deps fido2
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -D -m0644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}