diff options
author | Vincent Bernat <bernat@debian.org> | 2015-11-15 15:05:18 -0700 |
---|---|---|
committer | Vincent Bernat <bernat@debian.org> | 2015-11-15 15:05:18 -0700 |
commit | 2fa26d30121d8fdcc7757ae65d4bf766ce76596f (patch) | |
tree | 27d2144f43a5d4a72c41a567cfffa7fe4cecd353 | |
parent | 1d3685ee633c5a43ebb5de3ebea5179d707e7f93 (diff) | |
parent | 92f110229e01babdf8b7477bed0ffd0144f2ec70 (diff) |
binaryornot (0.4.0-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version.
* Use PYBUILD_NAME in d/rules.
* Add missing Build-Depends on python-{chardet,hypothesis}.
[dgit import unpatched binaryornot 0.4.0-1]
-rw-r--r-- | debian/.git-dpm | 11 | ||||
-rw-r--r-- | debian/changelog | 29 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 36 | ||||
-rw-r--r-- | debian/copyright | 43 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 131 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm new file mode 100644 index 0000000..c7ed46a --- /dev/null +++ b/debian/.git-dpm @@ -0,0 +1,11 @@ +# see git-dpm(1) from git-dpm package +85c8dab392bee2f68f8cf95d17efcc52b289099f +85c8dab392bee2f68f8cf95d17efcc52b289099f +85c8dab392bee2f68f8cf95d17efcc52b289099f +85c8dab392bee2f68f8cf95d17efcc52b289099f +binaryornot_0.4.0.orig.tar.gz +1e0c2f6fc351bd271b4dc3d12d3942703c7d4b31 +371339 +debianTag="debian/%e%v" +patchedTag="patched/%e%v" +upstreamTag="upstream/%e%u" diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a6a6f4b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,29 @@ +binaryornot (0.4.0-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version. + * Use PYBUILD_NAME in d/rules. + * Add missing Build-Depends on python-{chardet,hypothesis}. + + -- Vincent Bernat <bernat@debian.org> Sun, 15 Nov 2015 23:05:18 +0100 + +binaryornot (0.3.0-1) unstable; urgency=medium + + * New upstream release. + * Bump Standards-Version. + * Run unit tests. + + -- Vincent Bernat <bernat@debian.org> Mon, 26 May 2014 16:30:25 +0200 + +binaryornot (0.2.0-1) unstable; urgency=low + + * New upstream release. + + Codebase has been improved. Closes: #722502. + + -- Vincent Bernat <bernat@debian.org> Sun, 29 Sep 2013 12:29:42 +0200 + +binaryornot (0.1.1-1) unstable; urgency=low + + * Initial release. Closes: #722156. + + -- Vincent Bernat <bernat@debian.org> Sun, 08 Sep 2013 16:41:15 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d7fc234 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: binaryornot +Section: python +Priority: optional +Maintainer: Vincent Bernat <bernat@debian.org> +Uploaders: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> +Build-Depends: debhelper (>= 7.0.50~), dh-python, + python-all, python3-all, + python-setuptools, python3-setuptools, + python-chardet, python3-chardet, + python-hypothesis, python3-hypothesis +Standards-Version: 3.9.6 +Homepage: https://github.com/audreyr/binaryornot +Vcs-Git: git://anonscm.debian.org/python-modules/packages/binaryornot.git +Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/binaryornot.git + +Package: python-binaryornot +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: check if a file is binary or text (Python 2 module) + This Python package provides a function to check if a file is a text + file or a binary file. It uses the same heuristic as file(1) by + looking at the first 1024 bytes of the file and checks that all + characters are printable. + . + This package contains the Python 2 module. + +Package: python3-binaryornot +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Description: check if a file is binary or text (Python 3 module) + This Python package provides a function to check if a file is a text + file or a binary file. It uses the same heuristic as file(1) by + looking at the first 1024 bytes of the file and checks that all + characters are printable. + . + This package contains the Python 3 module. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fcbb586 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: BinaryOrNot +Upstream-Contact: Audrey Roy <audreyr@gmail.com> +Source: https://github.com/audreyr/binaryornot + +Files: * +Copyright: 2013 Audrey Roy +License: BSD-3-clause + +Files: debian/* +Copyright: 2013 Vincent Bernat <bernat@debian.org> +License: BSD-3-clause + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + . + * Neither the name of border nor the names of its contributors + may be used to endorse or promote products derived from this + software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED + AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f5c11ce --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +export PYBUILD_NAME = binaryornot + +%: + dh $@ --with python2,python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0ff548b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/binaryornot-$1.tar.gz/ \ + https://github.com/audreyr/binaryornot/releases .*/v?(\d\S*)\.tar\.gz |