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

Santiago Torres-Arias sangy at archlinux.org
Mon Dec 21 21:46:08 UTC 2020


    Date: Monday, December 21, 2020 @ 21:46:08
  Author: sangy
Revision: 781634

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 21:45:49 UTC (rev 781633)
+++ PKGBUILD	2020-12-21 21:46:08 UTC (rev 781634)
@@ -1,44 +0,0 @@
-# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
-
-pkgname=('in-toto')
-pkgver=0.5.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.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
-}

Copied: in-toto/repos/community-any/PKGBUILD (from rev 781633, in-toto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-21 21:46:08 UTC (rev 781634)
@@ -0,0 +1,46 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+
+pkgname=('in-toto')
+pkgver=1.0.0
+pkgrel=1
+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}"
+
+    export PYTHONHASHSEED=0
+    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