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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:55:20 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:55:20
  Author: foutrelis
Revision: 753688

archrelease: copy trunk to community-staging-any

Added:
  reprotest/repos/community-staging-any/
  reprotest/repos/community-staging-any/PKGBUILD
    (from rev 753686, reprotest/trunk/PKGBUILD)

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

Copied: reprotest/repos/community-staging-any/PKGBUILD (from rev 753686, reprotest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:55:20 UTC (rev 753688)
@@ -0,0 +1,42 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: kpcyrd <git at rxv.cc>
+
+pkgname=('reprotest')
+pkgver=0.7.13
+pkgrel=2
+pkgdesc="Run a process twice and check the output for reproducibility"
+arch=('any')
+license=('GPL3')
+url="https://salsa.debian.org/reproducible-builds/reprotest"
+depends=('python-setuptools' 'python' 'python-rstr' 'diffoscope' 'fakeroot' 'python-distro' 'libfaketime')
+makedepends=('help2man' 'python-docutils' 'git')
+checkdepends=('python-pytest' 'disorderfs')
+optdepends=(
+    'disorderfs: to enable the shuffle-dirents option'
+    'python-progressbar: to show a progress bar during diffoscope')
+source=("git+https://salsa.debian.org/reproducible-builds/reprotest.git?signed#tag=${pkgver}")
+sha512sums=('SKIP')
+
+validpgpkeys=("A405E58AB3725B396ED1B85C1318EFAC5FBBDBCE" # Ximin Luo
+              "66AE2B4AFCCF3F52DA184D184B043FCDB9444540" # Mattia Rizzolo
+              "8B7868786C33E5C64C4D0A480816B9E18C762BAD" # Mattia Rizzolo
+              "B8BF54137B09D35CF026FE9D091AB856069AAA1C") # Holger Levsen
+
+build() {
+  cd "$srcdir/${pkgname}"
+  python setup.py build
+
+  make -C doc
+}
+
+check() {
+  cd "$srcdir/${pkgname}"
+  # real reprotest tests don't run in a chroot.
+  PYTHONPATH=".:${PYTHONPATH}" py.test tests/test_shell.py tests/test_mdiffconf.py
+}
+
+package() {
+  cd "$srcdir/${pkgname}"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644  doc/reprotest.1 "${pkgdir}/usr/share/man/man1/reprotest.1"
+}



More information about the arch-commits mailing list