Date: Saturday, February 27, 2021 @ 19:35:41 Author: jelle Revision: 875378
archrelease: copy trunk to community-x86_64 Added: diffoscope/repos/community-x86_64/PKGBUILD (from rev 875377, diffoscope/trunk/PKGBUILD) Deleted: diffoscope/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 202 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 101 insertions(+), 101 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-27 19:35:32 UTC (rev 875377) +++ PKGBUILD 2021-02-27 19:35:41 UTC (rev 875378) @@ -1,101 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=diffoscope -pkgver=167 -pkgrel=1 -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' 'python-distro' 'python-defusedxml' - 'python-tlsh') -optdepends=( - 'acl: access control list utilities support' - 'binutils: binary utilities support' - 'binwalk: binwalk support' - 'bzip2: bzip2 utilities support' - 'cdrtools: ISO utilities support' - 'colord: ICC profiles support' - 'cpio: cpio archive support' - 'diffutils: diff utilities support' - 'docx2txt: docx comparing support' - 'dtc: device tree comparing support' - 'e2fsprogs: Ext2/3/4 filesystem utilities support' - 'enjarify: Android dex file support' - 'hdf5: Hierarchical Data Format support' - 'imagemagick: ImageMagick identify support' - 'fpc: Free Pascal utilities support' - 'java-environment: java utilities support' - 'libcaca: image compare support' - 'llvm: LLVM bitcode files support' - 'lz4: lz4 compression support' - 'odt2txt: odt comparing support' - 'fontforge: bitmap font utilities support' - 'gettext: GNU internationalization utilities support' - 'ghc: haskell utilities support' - 'giflib: gifbuild utilities support' - 'gnupg: GNU privacy guard support' - 'gnumeric: GNOME Spreadsheet support' - 'mono: mono support' - 'openssh: OpenSSH key comparing support' - 'openssl: .p7c and .p7b certificates. support' - 'poppler: PDF utilities support' - 'r: R language support' - 'radare2: decompiler for executables' - 'sqlite: SQLite support' - 'squashfs-tools: squashfs filesystem support' - #'python-guestfs: guestfs filesystem support' - 'python-argcomplete: completion support' - 'python-jsbeautifier: javascript beautifier support' - 'python-progressbar: show progressbar support' - 'tcpdump: pcap matching support' - 'uboot-tools: FIT image support' - 'unzip: zip utilities support' - 'gzip: gzip utilities support' - 'tar: tar utilities support' -# 'wabt: webassembly support' unittest fails - 'xxd: xxd utilities support' - 'xz: XZ and LZMA utilities support' - 'zstd: zst compression' -) -makedepends=('help2man' 'python-docutils' 'git') -checkdepends=( - 'python-pytest' 'python-jsbeautifier' 'python-h5py' 'acl' 'binutils' 'bzip2' 'cdrtools' 'cpio' 'diffutils' 'e2fsprogs' 'enjarify' - 'hdf5' 'imagemagick' 'java-environment=11' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' - 'lz4' 'unzip' 'gzip' 'tar' 'tcpdump' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh' 'openssl' 'odt2txt' 'docx2txt' 'r' 'dtc' 'giflib' - 'gnumeric' 'python-progressbar' 'binwalk' 'python-argcomplete' 'zstd' 'uboot-tools') -source=(https://diffoscope.org/archive/diffoscope-${pkgver}.tar.bz2{,.asc}) -sha512sums=('8120e886b9d8dcc7828cf7f9894d2f9d5f844764ffeaf8885822360fe64700894f59e1220ef4761c3ba9cb461eef058c6fb10f1fac1b523edc259dfd580975ee' - 'SKIP') -b2sums=('93e9514e20c8679c48265ec38bd7732cf68dcaae934b304bc1c3c72480814e3772902bd64e2ae88d0d4c781d54bbd404c415db11a5946c75246fbd5090847f54' - 'SKIP') -validpgpkeys=("C2FE4BD271C139B86C533E461E953E27D4311E58") # "Chris Lamb <ch...@chris-lamb.co.uk>" - - -prepare() { - cd ${pkgname}-${pkgver} - sed '/python-magic/d' -i setup.py -} - -build() { - cd ${pkgname}-${pkgver} - python setup.py build - make -C doc -} - -check() { - cd ${pkgname}-${pkgver} - PYTHONPATH=".:${PYTHONPATH}" PYTHONDONTWRITEBYTECODE=1 py.test \ - -k 'not test_ppu and not test_superblock and not test_wasm' # unsquashfs output differs from fixture. - # ppu bug https://salsa.debian.org/reproducible-builds/diffoscope/issues/9 -} - -package() { - cd ${pkgname}-${pkgver} - export PYTHONHASHSEED=0 - python setup.py install --skip-build -O1 --root="${pkgdir}" - 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: Copied: diffoscope/repos/community-x86_64/PKGBUILD (from rev 875377, diffoscope/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-27 19:35:41 UTC (rev 875378) @@ -0,0 +1,101 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=diffoscope +pkgver=168 +pkgrel=1 +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' 'python-distro' 'python-defusedxml' + 'python-tlsh') +optdepends=( + 'acl: access control list utilities support' + 'binutils: binary utilities support' + 'binwalk: binwalk support' + 'bzip2: bzip2 utilities support' + 'cdrtools: ISO utilities support' + 'colord: ICC profiles support' + 'cpio: cpio archive support' + 'diffutils: diff utilities support' + 'docx2txt: docx comparing support' + 'dtc: device tree comparing support' + 'e2fsprogs: Ext2/3/4 filesystem utilities support' + 'enjarify: Android dex file support' + 'hdf5: Hierarchical Data Format support' + 'imagemagick: ImageMagick identify support' + 'fpc: Free Pascal utilities support' + 'java-environment: java utilities support' + 'libcaca: image compare support' + 'llvm: LLVM bitcode files support' + 'lz4: lz4 compression support' + 'odt2txt: odt comparing support' + 'fontforge: bitmap font utilities support' + 'gettext: GNU internationalization utilities support' + 'ghc: haskell utilities support' + 'giflib: gifbuild utilities support' + 'gnupg: GNU privacy guard support' + 'gnumeric: GNOME Spreadsheet support' + 'mono: mono support' + 'openssh: OpenSSH key comparing support' + 'openssl: .p7c and .p7b certificates. support' + 'poppler: PDF utilities support' + 'r: R language support' + 'radare2: decompiler for executables' + 'sqlite: SQLite support' + 'squashfs-tools: squashfs filesystem support' + #'python-guestfs: guestfs filesystem support' + 'python-argcomplete: completion support' + 'python-jsbeautifier: javascript beautifier support' + 'python-progressbar: show progressbar support' + 'tcpdump: pcap matching support' + 'uboot-tools: FIT image support' + 'unzip: zip utilities support' + 'gzip: gzip utilities support' + 'tar: tar utilities support' +# 'wabt: webassembly support' unittest fails + 'xxd: xxd utilities support' + 'xz: XZ and LZMA utilities support' + 'zstd: zst compression' +) +makedepends=('help2man' 'python-docutils' 'git') +checkdepends=( + 'python-pytest' 'python-jsbeautifier' 'python-h5py' 'acl' 'binutils' 'bzip2' 'cdrtools' 'cpio' 'diffutils' 'e2fsprogs' 'enjarify' + 'hdf5' 'imagemagick' 'java-environment=11' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' + 'lz4' 'unzip' 'gzip' 'tar' 'tcpdump' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh' 'openssl' 'odt2txt' 'docx2txt' 'r' 'dtc' 'giflib' + 'gnumeric' 'python-progressbar' 'binwalk' 'python-argcomplete' 'zstd' 'uboot-tools') +source=(https://diffoscope.org/archive/diffoscope-${pkgver}.tar.bz2{,.asc}) +sha512sums=('4159260cca3b45016ac33ad5c7f91820fd17a58277d4127a3a2fa6626d923eb387ea63e382786325d4bd5b17923d343c1380144d7f24b731e0452d7225743489' + 'SKIP') +b2sums=('11964b4f6b8717b41bc50ba2cd0117a53e1172acd567e129c8270e3159e1a8c2d8a1de85906b321f0f3482643cf7ad2d19a9de1553a6f27ec34675644eeaaefa' + 'SKIP') +validpgpkeys=("C2FE4BD271C139B86C533E461E953E27D4311E58") # "Chris Lamb <ch...@chris-lamb.co.uk>" + + +prepare() { + cd ${pkgname}-${pkgver} + sed '/python-magic/d' -i setup.py +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build + make -C doc +} + +check() { + cd ${pkgname}-${pkgver} + PYTHONPATH=".:${PYTHONPATH}" PYTHONDONTWRITEBYTECODE=1 py.test \ + -k 'not test_ppu and not test_superblock and not test_wasm' # unsquashfs output differs from fixture. + # ppu bug https://salsa.debian.org/reproducible-builds/diffoscope/issues/9 +} + +package() { + cd ${pkgname}-${pkgver} + export PYTHONHASHSEED=0 + python setup.py install --skip-build -O1 --root="${pkgdir}" + 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: