debian/0000755000000000000000000000000012222005761007163 5ustar debian/source/0000755000000000000000000000000012222005761010463 5ustar debian/source/format0000644000000000000000000000001412213107336011672 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000342512213107336011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: BinaryOrNot Upstream-Contact: Audrey Roy Source: https://github.com/audreyr/binaryornot Files: * Copyright: 2013 Audrey Roy License: BSD-3-clause Files: debian/* Copyright: 2013 Vincent Bernat 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. debian/rules0000755000000000000000000000044612222001573010244 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- export PYBUILD_DESTDIR_python2=debian/python-binaryornot/ export PYBUILD_DESTDIR_python3=debian/python3-binaryornot/ %: dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_test: # Unfortunately, currently no tests debian/compat0000644000000000000000000000000212213107336010362 0ustar 7 debian/watch0000644000000000000000000000023012213107336010210 0ustar 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 debian/changelog0000644000000000000000000000054112222000426011026 0ustar binaryornot (0.2.0-1) unstable; urgency=low * New upstream release. + Codebase has been improved. Closes: #722502. -- Vincent Bernat Sun, 29 Sep 2013 12:29:42 +0200 binaryornot (0.1.1-1) unstable; urgency=low * Initial release. Closes: #722156. -- Vincent Bernat Sun, 08 Sep 2013 16:41:15 +0200 debian/control0000644000000000000000000000262712213107336010576 0ustar Source: binaryornot Section: python Priority: optional Maintainer: Vincent Bernat Uploaders: Debian Python Modules Team Build-Depends: debhelper (>= 7.0.50~), dh-python, python-all, python3-all, python-setuptools, python3-setuptools Standards-Version: 3.9.4 Homepage: https://github.com/audreyr/binaryornot Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/binaryornot/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/binaryornot/trunk/ 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.