[arch-commits] Commit in in-toto/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Dec 7 09:27:08 UTC 2021


    Date: Tuesday, December 7, 2021 @ 09:27:08
  Author: felixonmars
Revision: 1065498

archrelease: copy trunk to community-staging-any

Added:
  in-toto/repos/community-staging-any/
  in-toto/repos/community-staging-any/PKGBUILD
    (from rev 1065497, in-toto/trunk/PKGBUILD)

----------+
 PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

Copied: in-toto/repos/community-staging-any/PKGBUILD (from rev 1065497, in-toto/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-07 09:27:08 UTC (rev 1065498)
@@ -0,0 +1,54 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=('in-toto')
+pkgver=1.1.1
+pkgrel=3
+pkgdesc="A framework to secure your software supply chain"
+arch=('any')
+license=('Apache')
+url="https://in-toto.io"
+depends=('python-cryptography'
+    'python-securesystemslib>=0.12.0'
+    'python-iso8601'
+    'python-attrs'
+    'python-dateutil'
+    'python-six'
+    'python-pathspec')
+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}"
+        "py310.patch::https://github.com/in-toto/in-toto/commit/92c8dde6677f7e82582077ad790f730606a253a5.patch")
+
+sha256sums=('SKIP'
+            '08f71105fadba06c95d847199e28167b409208317f2866e20b8ecb5b193f490b')
+
+validpgpkeys=("903BAB73640EB6D65533EFF3468F122CE8162295"
+    # Santiago Torres-Arias (upstream co-maintainer)
+    "8BA69B87D43BE294F23E812089A2AD3C07D962E8"
+    # Lukas Puehringher (upstream maintainer)
+    "E32941299CB8C0D93DCF27ACB83110D012545604"
+    # Aditya Saky (Upstream maintainer)
+    )
+
+prepare() {
+    cd "${srcdir}/${pkgname}"
+    patch -Np1 -i "${srcdir}/py310.patch"
+}
+
+build() {
+    cd "${srcdir}/${pkgname}"
+
+    python setup.py build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}"
+    python setup.py install --root="$pkgdir" --optimize=1
+    install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+}
+
+check() {
+    cd "${srcdir}/${pkgname}"
+    python tests/runtests.py
+}



More information about the arch-commits mailing list