[arch-commits] Commit in tpm2-pkcs11/trunk (PKGBUILD)
Jonas Witschel
diabonas at gemini.archlinux.org
Mon Mar 21 17:04:27 UTC 2022
Date: Monday, March 21, 2022 @ 17:04:27
Author: diabonas
Revision: 1167345
upgpkg: tpm2-pkcs11 1.8.0-1: upstream release, use PEP 517, enable debug symbols
Modified:
tpm2-pkcs11/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-21 17:04:20 UTC (rev 1167344)
+++ PKGBUILD 2022-03-21 17:04:27 UTC (rev 1167345)
@@ -1,18 +1,20 @@
# Maintainer: Jonas Witschel <diabonas at archlinux.org>
pkgname=tpm2-pkcs11
-pkgver=1.7.0
-pkgrel=3
+pkgver=1.8.0
+pkgrel=1
pkgdesc='PKCS#11 interface for Trusted Platform Module 2.0 hardware'
arch=('x86_64')
url='https://github.com/tpm2-software/tpm2-pkcs11'
license=('BSD')
-depends=('libyaml' 'openssl' 'python' 'python-bcrypt' 'python-cryptography' 'python-pyasn1-modules' 'python-yaml' 'sqlite'
- 'tpm2-tools' 'tpm2-tss' 'libtss2-esys.so' 'libtss2-fapi.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-tctildr.so')
-makedepends=('cmocka' 'python-setuptools')
+depends=('libyaml' 'openssl' 'python' 'python-bcrypt' 'python-cryptography' 'python-pyasn1-modules'
+ 'python-tpm2-pytss' 'python-yaml' 'sqlite' 'tpm2-tools' 'tpm2-tss'
+ 'libtss2-esys.so' 'libtss2-fapi.so' 'libtss2-mu.so' 'libtss2-rc.so' 'libtss2-tctildr.so')
+makedepends=('cmocka' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
checkdepends=('expect' 'iproute2' 'java-hamcrest' 'junit' 'libp11' 'opensc' 'openssh'
'python-python-pkcs11' 'swtpm' 'tpm2-abrmd' 'tpm2-tss-engine' 'wget' 'xxd')
+options=('debug')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"{,.asc})
-sha512sums=('eb2736a7ef00fefa91bb70cc96d94d1c7b6ce3701ab12301658b7b076d8fca93bc590c7cdba5a84934b6bd09dad252b13670804c686e76a65b03c7ef6d96427d'
+sha512sums=('599feb4d888c25a3359927b1d408f9ce85ba69d8a0e7af7ae9f3736e8940ec8d5f58b3094bef3b6515c0b1810249ea98cd73dbce592cb63de3b45ff976adda80'
'SKIP')
validpgpkeys=('5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1') # William Roberts (Bill Roberts) <william.c.roberts at intel.com>
@@ -22,7 +24,7 @@
./configure --prefix=/usr --enable-unit $( ((CHECKFUNC)) && echo --enable-integration)
make
cd tools
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -35,5 +37,5 @@
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
cd tools
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list