diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,15 +1,16 @@ # Maintainer: Jonas Witschel <diabonas@archlinux.org> # Contributor: Iwan Timmer <irtimmer@gmail.com> pkgname=tpm2-pkcs11-git -pkgver=1.7.0.r14.862bdb8 +pkgver=1.7.0.r54.bedf83a 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=('git' 'autoconf-archive' '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=('git' 'autoconf-archive' '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') source=("git+$url.git") @@ -31,7 +32,7 @@ build() { ./configure --prefix=/usr --enable-unit $( ((CHECKFUNC)) && echo --enable-integration) make cd tools - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -44,5 +45,5 @@ package() { 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 } |