summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog5
-rw-r--r--debian/control27
-rw-r--r--debian/copyright32
-rwxr-xr-xdebian/rules16
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
6 files changed, 84 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6b861fc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+identify (1.4.13-1) sid; urgency=medium
+
+ * Initial upload to sid (Closes: #954896).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 25 Mar 2020 00:09:14 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3351d44
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: identify
+Section: python
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 12),
+ dh-python,
+ python3-all,
+ python3-setuptools,
+ help2man,
+Standards-Version: 4.5.0
+Homepage: https://github.com/chriskuehl/identify
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/identify
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/identify
+
+Package: python3-identify
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: File identification library for Python
+ Identify is a Python module to get information about files, such as:
+ .
+ * File type (file, symlink, directory)
+ * Mode (is it executable?)
+ * File name (mostly based on extension)
+ * If executable, the shebang is read and the interpreter interpreted
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5ebf74d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: identify
+Upstream-Contact: Chris Kuehl <ckuehl@ocf.berkeley.edu>
+Source: https://github.com/chriskuehl/identify
+
+Files: *
+Copyright: 2017-2020 Chris Kuehl <ckuehl@ocf.berkeley.edu>
+ 2017-2020 Anthony Sottile <asottile@umich.edu>
+License: MIT
+
+Files: debian/*
+Copyright: 2020 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4964128
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=identify
+
+%:
+ dh ${@} --buildsystem=pybuild --with python3
+
+execute_after_dh_auto_install:
+ # manpage
+ mkdir -p debian/python3-identify/usr/share/man/man1
+
+ PYTHONPATH=debian/python3-identify/usr/lib/$$(py3versions -d)/dist-packages \
+ help2man --no-discard-stderr --name 'File identification tool' \
+ debian/python3-identify/usr/bin/identify-cli > debian/python3-identify/usr/share/man/man1/identify-cli.1
+
+
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..cf2d8ac
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/identify-$1\.tar\.gz/ \
+https://github.com/chriskuehl/identify/releases .*/v?(\d\S+)\.tar\.gz