Date: Wednesday, October 3, 2018 @ 19:29:41 Author: anthraxx Revision: 389287
archrelease: copy trunk to community-x86_64 Added: diffoscope/repos/community-x86_64/PKGBUILD (from rev 389286, diffoscope/trunk/PKGBUILD) Deleted: diffoscope/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 175 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 88 insertions(+), 87 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-03 19:29:35 UTC (rev 389286) +++ PKGBUILD 2018-10-03 19:29:41 UTC (rev 389287) @@ -1,87 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=diffoscope -pkgver=102 -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' - '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' - '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>=8' 'fontforge' 'gettext' 'ghc' 'gnupg' 'mono' 'mono-tools' 'poppler' 'sqlite' 'squashfs-tools' - '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=('4d003041d6b5cebfa02820dd0cf38c2b8ca52ec2adc57024ea09c67d4e7ec6aab0d185f80a0f7db491d4c653f2aff94597ed248e11a4cbacc4bcb2536b0c76c5') - -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_gnumeric and not test_ppu' -} - -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 389286, diffoscope/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-03 19:29:41 UTC (rev 389287) @@ -0,0 +1,88 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=diffoscope +pkgver=103 +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' + '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>=8' '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=('1cc5fb7b8d162cbc8a3aed211c8fc95f1c894f9eccd0e5535c13934253f6a7395ea92cd9c8dad066390d130cbd961f5e1ea7f302de3be8f4b833068f4c6d758e') + +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' +} + +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: