← Back to team overview

duplicity-team team mailing list archive

[Merge] lp:~mterry/duplicity/debian-dir into lp:duplicity

 

Michael Terry has proposed merging lp:~mterry/duplicity/debian-dir into lp:duplicity with lp:~mterry/duplicity/code-nits as a prerequisite.

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~mterry/duplicity/debian-dir/+merge/239681

Add a debian/ directory, to make it easier to manage the PPAs for duplicity.
-- 
https://code.launchpad.net/~mterry/duplicity/debian-dir/+merge/239681
Your team duplicity-team is requested to review the proposed merge of lp:~mterry/duplicity/debian-dir into lp:duplicity.
=== added directory 'debian'
=== added file 'debian/changelog'
--- debian/changelog	1970-01-01 00:00:00 +0000
+++ debian/changelog	2014-10-27 03:20:19 +0000
@@ -0,0 +1,5 @@
+duplicity (0) UNRELEASED; urgency=low
+
+  * Testing (just a dummy changelog, will be replaced by daily build scripts)
+
+ -- Michael Terry <mterry@xxxxxxxxxx>  Fri, 15 Nov 2013 21:55:21 -0500

=== added file 'debian/compat'
--- debian/compat	1970-01-01 00:00:00 +0000
+++ debian/compat	2014-10-27 03:20:19 +0000
@@ -0,0 +1,1 @@
+7

=== added file 'debian/control'
--- debian/control	1970-01-01 00:00:00 +0000
+++ debian/control	2014-10-27 03:20:19 +0000
@@ -0,0 +1,40 @@
+Source: duplicity
+Section: utils
+Priority: optional
+Maintainer: Duplicity Team <duplicity-team@xxxxxxxxxxxxxxxxxxx>
+Build-Depends: debhelper (>= 7),
+               dh-python,
+               gnupg,
+               librsync-dev (>= 0.9.6),
+               par2,
+               pep8,
+               pylint,
+               python-dev (>= 2.6.6-3~),
+               python-lockfile,
+               python-mock,
+               python-pexpect,
+               rename,
+               rdiff,
+               rsync,
+Homepage: https://launchpad.net/duplicity
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+
+Package: duplicity
+Architecture: any
+Depends: ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends},
+         gnupg,
+         python-lockfile,
+         python-pexpect,
+Suggests: ncftp,
+          python-boto,
+          python-paramiko,
+Description: encrypted bandwidth-efficient backup
+ Duplicity backs directories by producing encrypted tar-format volumes
+ and uploading them to a remote or local file server. Because duplicity
+ uses librsync, the incremental archives are space efficient and only
+ record the parts of files that have changed since the last backup.
+ Because duplicity uses GnuPG to encrypt and/or sign these archives, they
+ will be safe from spying and/or modification by the server.

=== added file 'debian/copyright'
--- debian/copyright	1970-01-01 00:00:00 +0000
+++ debian/copyright	2014-10-27 03:20:19 +0000
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Duplicity
+Upstream-Contact: Duplicity Team <duplicity-team@xxxxxxxxxxxxxxxxxxx>
+Source: https://launchpad.net/duplicity/+download
+
+Files: *
+Copyright: 2002–2006 Ben Escoto <bescoto@xxxxxxxxxxxx>
+           2005–2006 Jiri Tyr <jiri.tyr@xxxxxxxxxxxxxxxxxxx>
+           2006 intrigeri <intrigeri@xxxxxxxx>
+           2006 Mathias Wagner <mathias.wagner@xxxxxxxxxxxxxxxxxxxxxx>
+           2006 Joey Hess <joeyh@xxxxxxxxxx>
+           2007–2014 Kenneth Loafman <kenneth@xxxxxxxxxxx>
+           2009–2014 Michael Terry <mike@xxxxxxxxxxx>
+           2010–2014 Edward Solden <>
+Comment: For specific author information, see the bzr logs
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 2 can be found in the file /usr/share/common-licenses/GPL-2.

=== added file 'debian/rules'
--- debian/rules	1970-01-01 00:00:00 +0000
+++ debian/rules	2014-10-27 03:20:19 +0000
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- Mode:Makefile; indent-tabs-mode:t; tab-width:4 -*-
+
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog -SVersion | cut -d- -f1)
+
+%:
+	dh $@ --with python2
+
+override_dh_auto_test:
+	./setup.py test
+
+override_dh_auto_install:
+	dh_auto_install
+	
+	# Debian installs docs itself in /usr/share/doc/duplicity/
+	rm -r debian/duplicity/usr/share/doc/duplicity-*
+	
+	# Modify upstream's version string into the right version
+	find debian/duplicity -name "*\$$version*" | xargs rename "s/\\\$$version/$(UPSTREAM_VERSION)/g"
+	find debian/duplicity -name "*_version*" | xargs rename "s/_version/$(UPSTREAM_VERSION)/g"
+	grep -Rl "\$$version" debian/duplicity | xargs sed -i "s/\$$version/$(UPSTREAM_VERSION)/g"
+
+override_dh_installdocs:
+	dh_installdocs README README-LOG

=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format	1970-01-01 00:00:00 +0000
+++ debian/source/format	2014-10-27 03:20:19 +0000
@@ -0,0 +1,1 @@
+3.0 (native)


Follow ups