[arch-commits] Commit in diffoscope/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Jan 25 22:45:45 UTC 2018


    Date: Thursday, January 25, 2018 @ 22:45:42
  Author: anthraxx
Revision: 286976

upgpkg: diffoscope 90-1 (+distribute manpages)

Modified:
  diffoscope/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-25 22:44:44 UTC (rev 286975)
+++ PKGBUILD	2018-01-25 22:45:42 UTC (rev 286976)
@@ -1,7 +1,7 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=diffoscope
-pkgver=88
+pkgver=90
 pkgrel=1
 pkgdesc='Tool for in-depth comparison of files, archives, and directories'
 url='https://diffoscope.org/'
@@ -56,7 +56,7 @@
   'tlsh' 'unzip' 'gzip' 'tar' 'tcpdump' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh' 'odt2txt' 'docx2txt' 'r' 'dtc' 'giflib'
   'python-progressbar' 'binwalk' 'python-argcomplete')
 source=(${pkgname}-${pkgver}.tar.xz::https://anonscm.debian.org/cgit/reproducible/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.xz)
-sha512sums=('26802936350f1d3acf60b192228533e03faf5d9bc1dddf7a12c7eb5250ac3d25137bc478b13c4adaab05c9881322a9d31808d9ca7cbc796f263c5905543b5714')
+sha512sums=('189123539db21c68cd3ed4100ece7aff55e8824c51fbc5632e23641c7bb025f406c8bb207f364c34900162a60959f649dceae0037f1487c98958ff6fdb511c75')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -66,18 +66,20 @@
 build() {
   cd ${pkgname}-${pkgver}
   python setup.py build
+  make -C doc
 }
 
 check() {
   cd ${pkgname}-${pkgver}
   PYTHONPATH=".:${PYTHONPATH}" py.test \
-    -k 'not test_rlib and not test_progress and not test_ppu and not test_elf'
+    -k 'not test_rlib and not test_progress and not test_ppu and not test_elf and not test_icc'
 }
 
 package() {
   cd ${pkgname}-${pkgver}
   python setup.py install --skip-build -O1 --root="${pkgdir}"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/diffoscope.1 -t "${pkgdir}/usr/share/man/man1"
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list