Date: Wednesday, October 30, 2019 @ 20:23:32 Author: sangy Revision: 521001
archrelease: copy trunk to community-x86_64 Added: diffoscope/repos/community-x86_64/PKGBUILD (from rev 521000, diffoscope/trunk/PKGBUILD) Deleted: diffoscope/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 186 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 93 insertions(+), 93 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-30 20:22:29 UTC (rev 521000) +++ PKGBUILD 2019-10-30 20:23:32 UTC (rev 521001) @@ -1,93 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=diffoscope -pkgver=127 -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') -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' - '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' - 'poppler: PDF utilities support' - 'r: R language support' - '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' - 'python-tlsh: fuzzy matching supprt' - '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' -) -makedepends=('help2man' 'python-docutils') -checkdepends=( - 'python-pytest' 'python-jsbeautifier' 'acl' 'binutils' 'bzip2' 'cdrtools' 'cpio' 'diffutils' 'e2fsprogs' 'enjarify' 'imagemagick' - 'java-environment=10' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' - 'java-environment>=8' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' - 'java-environment<=10' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' - 'python-tlsh' 'unzip' 'gzip' 'tar' 'tcpdump' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh' 'odt2txt' 'docx2txt' 'r' 'dtc' 'giflib' - 'gnumeric' 'python-progressbar' 'binwalk' 'python-argcomplete') -source=(${pkgname}-${pkgver}.tar.bz2::https://salsa.debian.org/reproducible-builds/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2) -sha512sums=('53b6d976b6458857347b9e60f67a94b389615ca88fe1211c52f4f90dd285be570edac0e1ab604583c8f84fb11affaad84aa276f7b5af31d672a4ae030d5bb236') - - -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}" py.test \ - -k 'not test_ppu and not test_superblock' # 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 521000, diffoscope/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-30 20:23:32 UTC (rev 521001) @@ -0,0 +1,93 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=diffoscope +pkgver=129 +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') +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' + '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' + 'poppler: PDF utilities support' + 'r: R language support' + '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' + 'python-tlsh: fuzzy matching supprt' + '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' +) +makedepends=('help2man' 'python-docutils') +checkdepends=( + 'python-pytest' 'python-jsbeautifier' 'acl' 'binutils' 'bzip2' 'cdrtools' 'cpio' 'diffutils' 'e2fsprogs' 'enjarify' 'imagemagick' + 'java-environment=10' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' + 'java-environment>=8' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' + 'java-environment<=10' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' 'lz4' + 'python-tlsh' 'unzip' 'gzip' 'tar' 'tcpdump' 'vim' 'xz' 'llvm' 'colord' 'fpc' 'openssh' 'odt2txt' 'docx2txt' 'r' 'dtc' 'giflib' + 'gnumeric' 'python-progressbar' 'binwalk' 'python-argcomplete') +source=(${pkgname}-${pkgver}.tar.bz2::https://salsa.debian.org/reproducible-builds/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +sha512sums=('cdb0b1599d57cb80441104d0159a88ecbfba49869e028d318cd4108e1724f17e45ec417068fcce620b1dd8fd0cf641a9ba451577ea97b016f5017e998cf1106d') + + +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}" py.test \ + -k 'not test_ppu and not test_superblock' # 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: