[arch-commits] Commit in in-toto/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 05:02:18 UTC 2019
Date: Monday, November 4, 2019 @ 05:02:17
Author: felixonmars
Revision: 523158
archrelease: copy trunk to community-staging-any
Added:
in-toto/repos/community-staging-any/
in-toto/repos/community-staging-any/PKGBUILD
(from rev 523157, in-toto/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: in-toto/repos/community-staging-any/PKGBUILD (from rev 523157, in-toto/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 05:02:17 UTC (rev 523158)
@@ -0,0 +1,44 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=('in-toto')
+pkgver=0.4.1
+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.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}")
+
+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