Date: Tuesday, June 11, 2019 @ 23:01:15 Author: sangy Revision: 480562
addpkg: python-securesystemslib 0.11.2-3 Added: python-securesystemslib/ python-securesystemslib/repos/ python-securesystemslib/trunk/ python-securesystemslib/trunk/PKGBUILD ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Added: python-securesystemslib/trunk/PKGBUILD =================================================================== --- python-securesystemslib/trunk/PKGBUILD (rev 0) +++ python-securesystemslib/trunk/PKGBUILD 2019-06-11 23:01:15 UTC (rev 480562) @@ -0,0 +1,37 @@ +# Maintainer: Santiago Torres-Arias <[email protected]> + +pkgname=python-securesystemslib +pkgver=0.11.3 +pkgrel=3 +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') +makedepends=('python-setuptools' 'git') +source=("git+https://github.com/secure-systems-lab/securesystemslib.git?signed#tag=sslibv${pkgver}") + +sha512sums=('SKIP') + +validpgpkeys=("3E87BB339378BC7B3DD0E5B25DEE9B97B0E2289A" + # Vladimir Diaz (upstream maintainer) + "C2FB9C910758B6827BC43233BC0C6DEDD5E5CC03" + # Sebastien Awwad (upstream co-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 +}
