From 492e98d435846d4618e79a4ae45a29d2f7f11c24 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 15 Jul 2017 14:03:05 -0500 Subject: [PATCH 1/4] add diffoscope --- recipes/diffoscope/meta.yaml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 recipes/diffoscope/meta.yaml diff --git a/recipes/diffoscope/meta.yaml b/recipes/diffoscope/meta.yaml new file mode 100644 index 0000000000000..dea79d1107bb5 --- /dev/null +++ b/recipes/diffoscope/meta.yaml @@ -0,0 +1,44 @@ +{% 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 + script: python setup.py install --single-version-externally-managed --record record.txt + skip: true # [win or py2k] + +requirements: + build: + - python + - python-magic + - setuptools + run: + - libarchive-c + - python + - python-magic + - setuptools + +test: + imports: + - diffoscope + commands: + - diffoscope --help + - diffoscope --list-tools + +about: + home: https://diffoscope.org + license: GPL-3.0 + summary: in-depth comparison of files, archives, and directories + +extra: + recipe-maintainers: + - bollwyvl From b942df75c699c628e5be61b2d47814c05f8fe856 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 24 Jul 2017 23:31:48 -0400 Subject: [PATCH 2/4] change dependency from libarchive-c to python-libarchive-c --- recipes/diffoscope/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/diffoscope/meta.yaml b/recipes/diffoscope/meta.yaml index dea79d1107bb5..157ed3e90a91d 100644 --- a/recipes/diffoscope/meta.yaml +++ b/recipes/diffoscope/meta.yaml @@ -22,8 +22,8 @@ requirements: - python-magic - setuptools run: - - libarchive-c - python + - python-libarchive-c - python-magic - setuptools From 26ec059f560a36ed436c3a3ff6c1bbe8e774925f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 27 Jul 2017 10:05:40 -0400 Subject: [PATCH 3/4] add some more metadata to trigger a build with python-libarchive-c --- recipes/diffoscope/build.sh | 4 ++++ recipes/diffoscope/meta.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 recipes/diffoscope/build.sh 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 index 157ed3e90a91d..10db304aea359 100644 --- a/recipes/diffoscope/meta.yaml +++ b/recipes/diffoscope/meta.yaml @@ -33,11 +33,21 @@ test: 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: From 6a15cbac484e5be6759484b498b958a86b089ef2 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 30 Jul 2017 20:47:04 -0400 Subject: [PATCH 4/4] removing build script in meta.yaml --- recipes/diffoscope/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/diffoscope/meta.yaml b/recipes/diffoscope/meta.yaml index 10db304aea359..8f3b5e1e47220 100644 --- a/recipes/diffoscope/meta.yaml +++ b/recipes/diffoscope/meta.yaml @@ -13,7 +13,6 @@ source: build: number: 0 - script: python setup.py install --single-version-externally-managed --record record.txt skip: true # [win or py2k] requirements: