Date: Friday, July 8, 2022 @ 20:54:53 Author: jelle Revision: 1248859
archrelease: copy trunk to community-x86_64 Added: diffoscope/repos/community-x86_64/PKGBUILD (from rev 1248858, diffoscope/trunk/PKGBUILD) Deleted: diffoscope/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 210 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 105 insertions(+), 105 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-08 20:54:44 UTC (rev 1248858) +++ PKGBUILD 2022-07-08 20:54:53 UTC (rev 1248859) @@ -1,105 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=diffoscope -pkgver=217 -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-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' - 'libxmlb: binary XML blobs 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' - 'pgpdump: PGP files 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' 'pgpdump' 'poppler' 'sqlite' 'squashfs-tools' - 'libxmlb' '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=('fba33c1b3e9851ee1f926f342ae8d4181fea998a732383f217306304f375554ad644d942fb121334adc1cdf9f50f884addd35928cda9db1ea1c32c34ba9ab862' - 'SKIP') -b2sums=('ee22a4c4d64c0b44d6f79db2655b80b0744f7af0eee5d7c57453abbe852c6867b0f4275118709bd3479c25b1a82d882cf12bba4a568288a078d2d7d46a52f0e5' - '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 and not test_text_proper_indentation and not test_different and not test_equal' - # file upstream bug, see 2cd654b450ce82fb86f55223cc01ba1abdac58a8 in diffoscope.git - # bug introduced by revert in https://bugs.archlinux.org/task/70261 - # unsquashfs output differs from fixture. - # ppu bug https://salsa.debian.org/reproducible-builds/diffoscope/issues/9 -} - -package() { - cd ${pkgname}-${pkgver} - 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 1248858, diffoscope/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-08 20:54:53 UTC (rev 1248859) @@ -0,0 +1,105 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=diffoscope +pkgver=218 +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-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' + 'libxmlb: binary XML blobs 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' + 'pgpdump: PGP files 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' 'pgpdump' 'poppler' 'sqlite' 'squashfs-tools' + 'libxmlb' '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=('f2abf8b4eb56fb371f7e867f828248959a30ffc5014987298b8315d6d1491e3e0115a81d9bb2251bd1d4d1b9e8540e6ab65f263544deb6f27496da1a2ac95ea5' + 'SKIP') +b2sums=('3d9b6593acc6c77016f3b94b8060c4c2b1014eeea5338ca9a8321f87d758ad18853dcd3a35f509588a79d5bdc7e80b0b847a9192752d5cbf5b2bd8920ef9309d' + '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 and not test_text_proper_indentation and not test_different and not test_equal' + # file upstream bug, see 2cd654b450ce82fb86f55223cc01ba1abdac58a8 in diffoscope.git + # bug introduced by revert in https://bugs.archlinux.org/task/70261 + # unsquashfs output differs from fixture. + # ppu bug https://salsa.debian.org/reproducible-builds/diffoscope/issues/9 +} + +package() { + cd ${pkgname}-${pkgver} + 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: