Date: Monday, June 20, 2022 @ 10:37:32
  Author: eworm
Revision: 1238651

upgpkg: python-fido2 1.0.0-1: new upstream release

Modified:
  python-fido2/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-06-20 10:26:56 UTC (rev 1238650)
+++ PKGBUILD    2022-06-20 10:37:32 UTC (rev 1238651)
@@ -2,17 +2,18 @@
 # Contributor: Emil Lundberg <[email protected]> <[email protected]>
 
 pkgname=python-fido2
-pkgver=0.9.3
-pkgrel=3
+_tag='d363aefc2da174a361a772576467551135742b5a' # git rev-parse "${pkgver}"
+pkgver=1.0.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-setuptools')
+makedepends=('git' 'python-pip' 'python-poetry')
 _tarball_basename="fido2-${pkgver}"
 validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson 
<[email protected]>
-source=("git+https://github.com/Yubico/${pkgname}.git#tag=${pkgver}?signed";)
+source=("git+https://github.com/Yubico/${pkgname}.git#tag=${_tag}?signed";)
 sha256sums=('SKIP')
 
 # Tests don't currently work in release tarballs
@@ -21,10 +22,16 @@
 #   python setup.py test
 # }
 
+build() {
+  cd "${srcdir}/${pkgname}"
+
+  poetry build
+}
+
 package() {
   cd "${srcdir}/${pkgname}"
 
-  python setup.py install --root="${pkgdir}" --optimize=1
+  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" 
--ignore-installed --no-deps fido2
 
   install -D -m0644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }

Reply via email to