[arch-commits] Commit in (4 files)
Jelle van der Waa
jelle at archlinux.org
Wed Dec 12 17:03:07 UTC 2018
Date: Wednesday, December 12, 2018 @ 17:03:06
Author: jelle
Revision: 415670
Add reprotest, sangy's package
Added:
reprotest/
reprotest/repos/
reprotest/trunk/
reprotest/trunk/PKGBUILD
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Added: reprotest/trunk/PKGBUILD
===================================================================
--- reprotest/trunk/PKGBUILD (rev 0)
+++ reprotest/trunk/PKGBUILD 2018-12-12 17:03:06 UTC (rev 415670)
@@ -0,0 +1,42 @@
+# Maintainer: Santiago Torres-Arias <santiago at archlinux.org>
+# Contributor: kpcyrd <git at rxv.cc>
+
+pkgname=('reprotest')
+pkgver=0.7.8
+pkgrel=3
+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')
+checkdepends=('python-pytest' 'disorderfs')
+optdepends=(
+ 'disorderfs: to enable the shuffle-dirents option'
+ 'python-progressbar: to show a progress bar during diffoscope')
+source=(https://salsa.debian.org/reproducible-builds/reproducible-lfs/raw/master/releases/${pkgname}/${pkgname}_${pkgver}.tar.xz{,.asc})
+sha512sums=('2f3f6c609c18f184b5c1eacd820f439e10432b2bc31f275838b297ce4b90e2657d1d900486412847b5b7fb7ec1c85eb67c3b8f68518d2da9bfb78a53b08bfccc'
+ 'SKIP')
+
+validpgpkeys=("A405E58AB3725B396ED1B85C1318EFAC5FBBDBCE" # Ximin Luo
+ "66AE2B4AFCCF3F52DA184D184B043FCDB9444540" # Mattia Rizzolo
+ "8B7868786C33E5C64C4D0A480816B9E18C762BAD") # Mattia Rizzolo
+
+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