diff --git a/recipes/diffoscope/build.sh b/recipes/diffoscope/build.sh new file mode 100644 index 0000000000000..e6a401cbd5225 --- /dev/null +++ b/recipes/diffoscope/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash +export PYTHONHASHSEED=0 + +python setup.py install --single-version-externally-managed --record record.txt diff --git a/recipes/diffoscope/meta.yaml b/recipes/diffoscope/meta.yaml new file mode 100644 index 0000000000000..8f3b5e1e47220 --- /dev/null +++ b/recipes/diffoscope/meta.yaml @@ -0,0 +1,53 @@ +{% set name = "diffoscope" %} +{% set version = "84" %} +{% set sha256 = "7a8e6a2bd3562fa650cad90f4c9a3ec9b070d5a2e55d437f5f28a8a07aecd53f" %} + +package: + name: {{ name }} + version: {{ version }} + +source: + fn: {{ name }}-{{ version }}.tar.gz + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz + sha256: {{ sha256 }} + +build: + number: 0 + skip: true # [win or py2k] + +requirements: + build: + - python + - python-magic + - setuptools + run: + - python + - python-libarchive-c + - python-magic + - setuptools + +test: + imports: + - diffoscope + commands: + - diffoscope --help + - diffoscope --list-tools + - diffoscope --version + +about: + home: https://diffoscope.org + license: GPL-3.0 + summary: in-depth comparison of files, archives, and directories + license_family: GPL + license_file: COPYING + dev_url: https://anonscm.debian.org/cgit/reproducible/diffoscope.git + description: > + diffoscope will try to get to the bottom of what makes files or + directories different. It will recursively unpack archives of many kinds + and transform various binary formats into more human readable form to + compare them. It can compare two tarballs, ISO images, or PDF just as + easily. + +extra: + recipe-maintainers: + - bollwyvl