David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-tpm2-pytss
Commits: 7645a471 by David Runge at 2026-08-16T12:08:01+02:00 Update maintainer info Signed-off-by: David Runge <[email protected]> - - - - - 9eb2a260 by David Runge at 2026-08-16T12:12:12+02:00 upgpkg: 3.0.0-1 Remove unneeded patch and cherry-picks - - - - - 5 changed files: - .SRCINFO - − LICENSES/BSD-2-Clause.txt - PKGBUILD - REUSE.toml - − adjust-tpm-pt-revision-to-fix-test.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-tpm2-pytss pkgdesc = Python bindings for tpm2-tss - pkgver = 2.3.0 - pkgrel = 4 + pkgver = 3.0.0 + pkgrel = 1 url = https://github.com/tpm2-software/tpm2-pytss arch = x86_64 license = BSD-2-Clause @@ -23,10 +23,8 @@ pkgbase = python-tpm2-pytss depends = python-cryptography depends = python-packaging depends = python-yaml - source = git+https://github.com/tpm2-software/tpm2-pytss.git#tag=2.3.0 - source = adjust-tpm-pt-revision-to-fix-test.patch - sha512sums = ca6013685b5f0e251a691086a48476f87fde6a74166bd499a12105d1bce8648b2b35e4a3c0f49f894b5b5a09b60ecc771b709c75a5bb806d20f4676911f13281 - sha512sums = 5be9f4944b080910ef082feb73f408ab3b3443a5aa7a84544016e20cbc5b3ee07276e770005d75d589a4177c34289996ef4d10757e5299af180d004846b49fec + source = git+https://github.com/tpm2-software/tpm2-pytss.git#tag=3.0.0 + sha512sums = 3f433c96bfcd0c3eaf8f5b1659b41d4bcacd46fecc87961580f02e084c2c22d833c1337b4d8825eefa63cb9ad2adec167aa7dd62c4746948c6d59ffc77d5ce55 pkgname = python-tpm2-pytss depends = glibc ===================================== LICENSES/BSD-2-Clause.txt deleted ===================================== @@ -1,9 +0,0 @@ -Copyright (c) <year> <owner> - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ===================================== PKGBUILD ===================================== @@ -1,8 +1,9 @@ -# Maintainer: +# Maintainer: David Runge <[email protected]> + pkgname=python-tpm2-pytss _name=${pkgname#python-} -pkgver=2.3.0 -pkgrel=4 +pkgver=3.0.0 +pkgrel=1 pkgdesc='Python bindings for tpm2-tss' arch=(x86_64) url='https://github.com/tpm2-software/tpm2-pytss' @@ -33,17 +34,8 @@ checkdepends=( ) source=( "git+$url.git#tag=$pkgver" - "adjust-tpm-pt-revision-to-fix-test.patch" ) -sha512sums=('ca6013685b5f0e251a691086a48476f87fde6a74166bd499a12105d1bce8648b2b35e4a3c0f49f894b5b5a09b60ecc771b709c75a5bb806d20f4676911f13281' - '5be9f4944b080910ef082feb73f408ab3b3443a5aa7a84544016e20cbc5b3ee07276e770005d75d589a4177c34289996ef4d10757e5299af180d004846b49fec') - -prepare() { - cd $_name - git cherry-pick -n 55d28b259f1a68f60c937ea8be7815685d32757f 61d00b4dcca131b3f03f674ceabf4260bdbd6a61 # Fix build with GCC 15 - git cherry-pick -n 6ab4c74e6fb3da7cd38e97c1f8e92532312f8439 # Fix tests with cyptography 45 - patch -Np1 -i ../adjust-tpm-pt-revision-to-fix-test.patch -} +sha512sums=('3f433c96bfcd0c3eaf8f5b1659b41d4bcacd46fecc87961580f02e084c2c22d833c1337b4d8825eefa63cb9ad2adec167aa7dd62c4746948c6d59ffc77d5ce55') build() { cd $_name ===================================== REUSE.toml ===================================== @@ -20,10 +20,3 @@ path = [ ] SPDX-FileCopyrightText = "Arch Linux contributors" SPDX-License-Identifier = "0BSD" - -[[annotations]] -path = [ - "adjust-tpm-pt-revision-to-fix-test.patch", -] -SPDX-FileCopyrightText = "python-tpm2-pytss contributors" -SPDX-License-Identifier = "BSD-2-Clause" ===================================== adjust-tpm-pt-revision-to-fix-test.patch deleted ===================================== @@ -1,13 +0,0 @@ -diff --git a/test/test_encoding.py b/test/test_encoding.py -index 8cf4b51..fe6e542 100644 ---- a/test/test_encoding.py -+++ b/test/test_encoding.py -@@ -1157,7 +1157,7 @@ class ToolsTest(TSS2_BaseTest): - self.assertEqual(fl[1].property, TPM2_PT.LEVEL) - self.assertEqual(fl[1].value, 0) - self.assertEqual(fl[2].property, TPM2_PT.REVISION) -- self.assertEqual(fl[2].value, 0xA4) -+ self.assertEqual(fl[2].value, 0xB7) - - varyml = self.run_tool("getcap", "properties-variable") - vl = from_yaml(varyml, TPML_TAGGED_TPM_PROPERTY()) View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tpm2-pytss/-/compare/25d7bde29deffd4bedb8e247d28d7c1d3e76c1b9...9eb2a2608d4d02579ba714864b45b62cc757500f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-tpm2-pytss/-/compare/25d7bde29deffd4bedb8e247d28d7c1d3e76c1b9...9eb2a2608d4d02579ba714864b45b62cc757500f You're receiving this email because of your account on gitlab.archlinux.org. Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications | Help: https://gitlab.archlinux.org/help
