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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 05:36:05 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:36:05
  Author: foutrelis
Revision: 520143

archrelease: copy trunk to community-staging-any

Added:
  python-securesystemslib/repos/community-staging-any/
  python-securesystemslib/repos/community-staging-any/PKGBUILD
    (from rev 520142, python-securesystemslib/trunk/PKGBUILD)

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

Copied: python-securesystemslib/repos/community-staging-any/PKGBUILD (from rev 520142, python-securesystemslib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 05:36:05 UTC (rev 520143)
@@ -0,0 +1,38 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=python-securesystemslib
+pkgver=0.12.0
+pkgrel=2
+pkgdesc="Cryptographic and general-purpose routines for Secure Systems Lab projects at NYU"
+arch=('any')
+license=('MIT')
+url="https://github.com/secure-systems-lab/securesystemslib"
+depends=('python-cryptography' 'python-pynacl' 'python-colorama' 'python-six' 'python-dateutil')
+makedepends=('python-setuptools' 'git')
+source=("git+https://github.com/secure-systems-lab/securesystemslib.git?signed#tag=v${pkgver}")
+
+sha512sums=('SKIP')
+
+validpgpkeys=(
+    "C2FB9C910758B6827BC43233BC0C6DEDD5E5CC03"
+    # Sebastien Awwad (upstream co-maintainer)
+    "8BA69B87D43BE294F23E812089A2AD3C07D962E8"
+    # Lukas Puehringher (upstream maintainer)
+    )
+
+build() { 
+    cd "${srcdir}/securesystemslib"
+    python setup.py build
+}
+
+package_python-securesystemslib() {
+
+    cd "securesystemslib"
+    python setup.py install --root="${pkgdir}/" --optimize=1
+    install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+check() {
+    cd "securesystemslib/tests/"
+    PYTHONPATH=.. python aggregate_tests.py
+}



More information about the arch-commits mailing list