From 20889185ee8b909eaebea8f9a19611b235d564e4 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 11 Aug 2019 09:16:00 -0400 Subject: Packaging (setuptools and Debian) --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 22 ++++++++++++++++++++++ debian/copyright | 20 ++++++++++++++++++++ debian/rules | 6 ++++++ debian/source/format | 1 + 6 files changed, 55 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5ccd561 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +zc (1.0) unstable; urgency=low + + * Add Debian packaging. + + -- Rob Austein Sun, 11 Aug 2019 08:32:15 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c8111db --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: zc +Maintainer: Rob Austein +Section: python +Priority: optional +Build-Depends: dh-python, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9) +Standards-Version: 3.9.6 +Homepage: https://git.hactrn.net/sra/zc + +Package: python-zc +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-dnspython, python-git +Description: A DNS zone compiler + This is a small tool for generating DNS zones from relatively + simple text files, with some automation to handle complex or + repetitive tasks and to automate generation of reverse zone data. + . + `zc` can be used either as a straightforward command line tool or as a + pair of `pre-receive` and `post-receive` hooks in a bare git + repository. In the latter mode, `zc` pulls its input data and + configuration directly from commits pushed to the master branch in the + git repository. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0cfb754 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,20 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: zc +Source: https://git.hactrn.net/sra/zc + +Files: * +Copyright: 2017-2019 Grunchweather Associates +License: ISC + +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..72c4fa7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=zc +%: + dh $@ --with python2 --buildsystem=pybuild + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3