Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diffoscope #3282

Merged
merged 4 commits into from
Aug 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions recipes/diffoscope/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
export PYTHONHASHSEED=0

python setup.py install --single-version-externally-managed --record record.txt
53 changes: 53 additions & 0 deletions recipes/diffoscope/meta.yaml
Original file line number Diff line number Diff line change
@@ -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