[arch-commits] Commit in in-toto/trunk (PKGBUILD)

Leonidas Spyropoulos artafinde at gemini.archlinux.org
Tue Dec 7 09:22:17 UTC 2021


    Date: Tuesday, December 7, 2021 @ 09:22:17
  Author: artafinde
Revision: 1065496

Python 3.10 compatibility

Modified:
  in-toto/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-07 08:50:55 UTC (rev 1065495)
+++ PKGBUILD	2021-12-07 09:22:17 UTC (rev 1065496)
@@ -2,7 +2,7 @@
 
 pkgname=('in-toto')
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A framework to secure your software supply chain"
 arch=('any')
 license=('Apache')
@@ -17,9 +17,11 @@
 optdepends=("gnupg: pgp signing/verification")
 makedepends=('python' 'python-setuptools' 'git')
 checkdepends=('python-mock')
-source=("git+https://github.com/${pkgname}/${pkgname}.git?signed#tag=v${pkgver}")
+source=("git+https://github.com/${pkgname}/${pkgname}.git?signed#tag=v${pkgver}"
+        "py310.patch::https://github.com/in-toto/in-toto/commit/92c8dde6677f7e82582077ad790f730606a253a5.patch")
 
-sha256sums=('SKIP')
+sha256sums=('SKIP'
+            '08f71105fadba06c95d847199e28167b409208317f2866e20b8ecb5b193f490b')
 
 validpgpkeys=("903BAB73640EB6D65533EFF3468F122CE8162295"
     # Santiago Torres-Arias (upstream co-maintainer)
@@ -29,6 +31,11 @@
     # Aditya Saky (Upstream maintainer)
     )
 
+prepare() {
+    cd "${srcdir}/${pkgname}"
+    patch -Np1 -i "${srcdir}/py310.patch"
+}
+
 build() {
     cd "${srcdir}/${pkgname}"
 



More information about the arch-commits mailing list