[arch-commits] Commit in in-toto/repos (community-any community-any/PKGBUILD)

Santiago Torres-Arias sangy at archlinux.org
Tue Jun 11 23:04:45 UTC 2019


    Date: Tuesday, June 11, 2019 @ 23:04:44
  Author: sangy
Revision: 480565

archrelease: copy trunk to community-any

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

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

Copied: in-toto/repos/community-any/PKGBUILD (from rev 480564, in-toto/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-06-11 23:04:44 UTC (rev 480565)
@@ -0,0 +1,44 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=('in-toto')
+pkgver=0.3.0
+pkgrel=2
+pkgdesc="A framework to secure your software supply chain"
+arch=('any')
+license=('Apache')
+url="https://in-toto.io"
+depends=('python-cryptography'
+    'python-securesystemslib>=0.11.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}")
+
+sha256sums=('SKIP')
+
+validpgpkeys=("903BAB73640EB6D65533EFF3468F122CE8162295"
+    # Santiago Torres-Arias (upstream co-maintainer)
+    "8BA69B87D43BE294F23E812089A2AD3C07D962E8"
+    # Lukas Puehringher (upstream maintainer)
+    )
+
+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