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

Felix Yan felixonmars at archlinux.org
Mon Dec 26 09:38:54 UTC 2016


    Date: Monday, December 26, 2016 @ 09:38:53
  Author: felixonmars
Revision: 202633

archrelease: copy trunk to community-staging-x86_64

Added:
  diffoscope/repos/community-staging-x86_64/
  diffoscope/repos/community-staging-x86_64/PKGBUILD
    (from rev 202632, diffoscope/trunk/PKGBUILD)

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

Copied: diffoscope/repos/community-staging-x86_64/PKGBUILD (from rev 202632, diffoscope/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-12-26 09:38:53 UTC (rev 202633)
@@ -0,0 +1,73 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=diffoscope
+pkgver=66
+pkgrel=2
+pkgdesc='Tool for in-depth comparison of files, archives, and directories'
+url='https://diffoscope.org/'
+arch=('x86_64')
+license=('GPL3')
+depends=('python-magic' 'python-libarchive-c' 'python-setuptools')
+# TODO: python-argcomplete
+optdepends=(
+  'acl: access control list utilities support'
+  'binutils: binary utilities support'
+  'bzip2: bzip2 utilities support'
+  'cdrkit: ISO utilities support'
+  'colord: ICC profiles support'
+  'cpio: cpio archive support'
+  'diffutils: diff utilities support'
+  'e2fsprogs: Ext2/3/4 filesystem utilities support'
+  'enjarify: Android dex file support'
+  'fpc: Free Pascal utilities support'
+  'java-environment: java utilities support'
+  #'libcaca: image compare support'
+  'llvm: LLVM bitcode files support'
+  'fontforge: bitmap font utilities support'
+  'gettext: GNU internationalization utilities support'
+  'ghc: haskell utilities support'
+  'gnupg: GNU privacy guard support'
+  'mono: mono support'
+  'mono-tools: mono utilities support'
+  'openssh: OpenSSH key comparing support'
+  'poppler: PDF utilities support'
+  'sqlite: SQLite support'
+  'squashfs-tools: squashfs filesystem support'
+  #'python-guestfs: guestfs filesystem support'
+  'tlsh: fuzzy matching supprt'
+  'unzip: zip utilities support'
+  'gzip: gzip utilities support'
+  'tar: tar utilities support'
+  'vim: Vi IMproved (xxd) utilities support'
+  'xz: XZ and LZMA utilities support'
+)
+checkdepends=(
+  'python-pytest' 'acl' 'binutils' 'bzip2' 'cdrkit' 'cpio' 'diffutils' 'e2fsprogs' 'enjarify' 'java-environment>=8' 'fontforge' 'gettext' 'ghc' 'gnupg'
+  'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'tlsh' 'unzip' 'gzip' 'tar' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh')
+source=(${pkgname}-${pkgver}.tar.xz::https://anonscm.debian.org/cgit/reproducible/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.xz)
+sha512sums=('e74b0a3110935974abc26d8ffeebe661fe7fb22304d9fa70a1dcde5de15921786e932ad19244f2b318f6ee6cbec4ce1b337562b27b1a990d998a7291f0fca9c7')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed '/python-magic/d' -i setup.py
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  # TODO: readd fpc
+  # TODO: colord test fails with lcms2 >= 2.8
+  PYTHONPATH=".:${PYTHONPATH}" py.test -k 'not test_icc and not test_ppu'
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install --skip-build -O1 --root="${pkgdir}"
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list