summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2013-09-19 14:07:20 +0200
committerAndrew Shadura <andrew@shadura.me>2015-08-20 15:58:26 +0200
commit9728f304866670b7460bca275aef563070efe666 (patch)
tree740fabd379f718164e0dd6e256664af98d074287
parentff1408420159488a106492ccd11dd234967029b6 (diff)
Imported Debian patch 0.1.29-1
-rw-r--r--debian/changelog5
l---------debian/changelog.in1
-rw-r--r--debian/compat2
-rw-r--r--debian/control66
-rw-r--r--[l---------]debian/copyright31
-rw-r--r--debian/patches/01-sphinx-config.patch11
-rw-r--r--debian/patches/series1
-rw-r--r--debian/postinst2
-rw-r--r--debian/prerm3
-rw-r--r--debian/python-reconfigure-doc.docs1
-rw-r--r--debian/python-reconfigure.install1
-rw-r--r--debian/pyversions1
-rwxr-xr-xdebian/rules21
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
15 files changed, 126 insertions, 23 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1b9da7c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-reconfigure (0.1.29-1) experimental; urgency=low
+
+ * Initial release.
+
+ -- Andrew Shadura <andrewsh@debian.org> Thu, 19 Sep 2013 14:07:20 +0200
diff --git a/debian/changelog.in b/debian/changelog.in
deleted file mode 120000
index 1af8df1..0000000
--- a/debian/changelog.in
+++ /dev/null
@@ -1 +0,0 @@
-../docs/CHANGELOG \ No newline at end of file
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index f13d970..b9327f7 100644
--- a/debian/control
+++ b/debian/control
@@ -1,14 +1,64 @@
Source: python-reconfigure
Section: python
Priority: optional
-Maintainer: Eugeny Pankov <e@ajenti.org>
-Build-Depends: debhelper (>=8.0.0), python-support (>= 0.6), cdbs (>= 0.4.49)
-XS-Python-Version: >=2.6
-Standards-Version: 3.9.1
+Maintainer: Andrew Shadura <andrewsh@debian.org>
+Build-Depends:
+ python-setuptools (>= 0.6.24),
+ python-all (>= 2.6.6-3),
+ python-sphinx,
+ python-chardet,
+ python-nose,
+ debhelper (>= 9)
+Standards-Version: 3.9.4
+Homepage: http://eugeny.github.io/reconfigure
Package: python-reconfigure
Architecture: all
-Homepage: http://eugeny.github.com/reconfigure
-XB-Python-Version: ${python:Versions}
-Depends: ${misc:Depends}, ${python:Depends}, python-chardet
-Description: Simple config file management library
+Depends: ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: simple config file management library
+ python-reconfigure provides easy and uniform access to various
+ kinds of configuration files, easily extendable with custom
+ parsers.
+ .
+ Supported configuration files:
+ * Ajenti (ajenti)
+ * BIND9 DNS (bind9)
+ * Crontabs (crontab)
+ * Samba CTDB (ctdb)
+ * ISC DHCPD / uDHCPD (dhcpd)
+ * NFS /etc/exports (exports)
+ * /etc/fstab (fstab)
+ * /etc/group (group)
+ * /etc/hosts (hosts)
+ * iptables-save dump (iptables)
+ * Netatalk afp.conf (netatalk)
+ * NSD DNS (nsd)
+ * /etc/passwd (passwd)
+ * /etc/resolv.conf (resolv)
+ * Samba (samba)
+ * Squid 3 (squid)
+ * Supervisord (supervisor)
+ .
+ Included parsers:
+ * BIND9 config (bind9)
+ * Crontab (crontab)
+ * NFS Exports (exports)
+ * .ini (ini)
+ * iptables-save (iptables)
+ * nginx-like (nginx)
+ * squid (squid)
+ * nsd (nsd)
+ * CSV-like space-separated values (ssv)
+ * JSON (jsonparser)
+
+Package: python-reconfigure-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: simple config file management library (documentation)
+ python-reconfigure provides easy and uniform access to various
+ kinds of configuration files, easily extendable with custom
+ parsers.
+ .
+ This package provides documentation to python-reconfigure.
diff --git a/debian/copyright b/debian/copyright
index 7c36994..28774f6 120000..100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1 +1,30 @@
-../docs/COPYRIGHT \ No newline at end of file
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: reconfigure
+Upstream-Contact: Eugeny Pankov <john.pankov@gmail.com>
+Source: http://eugeny.github.io/reconfigure/
+License: LGPL-3
+Copyright:
+ (c) 2012-2013 The Ajenti Team
+ Eugeny Pankov <john.pankov@gmail.com> & contributors
+
+Files: debian/*
+Copyright: 2013, Andrew Shadura <andrewsh@debian.org>
+License: LGPL-3
+
+License: LGPL-3
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 3 of the License.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+ Public License can be found in /usr/share/common-licenses/LGPL-3
diff --git a/debian/patches/01-sphinx-config.patch b/debian/patches/01-sphinx-config.patch
new file mode 100644
index 0000000..e007a79
--- /dev/null
+++ b/debian/patches/01-sphinx-config.patch
@@ -0,0 +1,11 @@
+--- a/docs/source/conf.py
++++ b/docs/source/conf.py
+@@ -30,7 +30,7 @@
+
+
+ # -- Options for HTML output ---------------------------------------------------
+-html_theme = 'air'
++#html_theme = 'air'
+ #html_theme_options = {}
+ html_theme_path = ['../../../sphinx-themes']
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..88f8645
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-sphinx-config.patch
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index bd4ec77..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-#DEBHELPER#
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100644
index c35303b..0000000
--- a/debian/prerm
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-#DEBHELPER#
-
diff --git a/debian/python-reconfigure-doc.docs b/debian/python-reconfigure-doc.docs
new file mode 100644
index 0000000..a213c54
--- /dev/null
+++ b/debian/python-reconfigure-doc.docs
@@ -0,0 +1 @@
+docs/build/html
diff --git a/debian/python-reconfigure.install b/debian/python-reconfigure.install
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/python-reconfigure.install
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/pyversions b/debian/pyversions
deleted file mode 100644
index 0c043f1..0000000
--- a/debian/pyversions
+++ /dev/null
@@ -1 +0,0 @@
-2.6-
diff --git a/debian/rules b/debian/rules
index fb55c26..956298c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,20 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-DEB_PYTHON_SYSTEM := pysupport
+%:
+ dh $@ --with python2,sphinxdoc
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+override_dh_auto_build:
+ dh_auto_build
+ $(MAKE) doc
-clean::
+override_dh_auto_install:
+ dh_auto_install -- COMPILE=--install-layout=deb
+
+override_dh_installchangelogs:
+ dh_installchangelogs -X docs
+
+override_dh_auto_clean:
rm -rf build build-stamp configure-stamp build/ MANIFEST
- dh_clean
+ dh_auto_clean || true
+
+.PHONY: override_dh_auto_build override_dh_auto_install override_dh_installchangelogs override_dh_auto_clean
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
index 9e7c0da..dc38551 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1 +1,3 @@
version=3
+
+opts=filenamemangle=s/.*\/(.*)$/python-reconfigure-$1/ https://github.com/Eugeny/reconfigure/tags /Eugeny/reconfigure/archive/(\d.*).tar.gz