Package: python-facebook
Severity: wishlist
Tags: patch

Hi,

The dpatch patch management system has been deprecated for some time. The
Lintian currently flags use of dpatch packages as an error. The new 3.0
packaging format is an improved version which, among other things, contains
patch management built-in. For more information, see:

    http://wiki.debian.org/Projects/DebSrc3.0

I had some free time; see attached patch to migrate to new package
format. Note that all files in debian/patches/* are canocalized to
*.patch.

Let me know if there is anything that needs adjusting or if it is ok
to upload this version in a NMU in case you are working on other
issues needing attention.

Thanks,
Jari

>From d4ec32f9d01e97dcb3774fcad781bdaa99a83286 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Tue, 24 Apr 2012 22:59:36 +0300
Subject: [PATCH] format-3.0
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debian/changelog      |   10 ++++++++++
 debian/compat         |    2 +-
 debian/control        |    4 ++--
 debian/copyright      |    6 +++---
 debian/patches/00list |    1 -
 debian/rules          |   11 +++++++----
 debian/source/format  |    1 +
 7 files changed, 24 insertions(+), 11 deletions(-)
 delete mode 100644 debian/patches/00list
 create mode 100644 debian/source/format

diff --git a/debian/changelog b/debian/changelog
index df595a7..067cbc5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+python-facebook (0.svn20100209-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove deprecated dpatch.make and upgrade to packaging format "3.0 quilt".
+  * Update to Standards-Version to 3.9.3 and debhelper to 9.
+  * Add build-arch and build-indep targets; use dh_prep in rules file.
+  * Fix copyright-with-old-dh-make-debian-copyright (Lintian).
+
+ -- Jari Aalto <jari.aa...@cante.net>  Tue, 24 Apr 2012 22:58:13 +0300
+
 python-facebook (0.svn20100209-3) unstable; urgency=low
 
   * Suggest python-simplejson, and conflict with python-json.  Python 2.6
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index d2e23b5..5d8edb7 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,8 @@ Source: python-facebook
 Section: python
 Priority: extra
 Maintainer: Ian Wienand <i...@debian.org>
-Build-Depends: debhelper (>= 5), dpatch, python-support (>= 0.4), python-all
-Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 9), python-support (>= 0.4), python-all
+Standards-Version: 3.9.3
 Homepage: http://github.com/sciyoshi/pyfacebook/
 
 Package: python-facebook
diff --git a/debian/copyright b/debian/copyright
index 38d0eb4..7d10fa5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,7 +7,7 @@ Upstream Author:
 
 Samuel Cormier-Iijima (sciyo...@gmail.com)
 
-Copyright: Copyright (c) 2008, Samuel Cormier-Iijima
+Copyright: Copyright (C) 2008 Samuel Cormier-Iijima
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -32,5 +32,5 @@ 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.
 
-The Debian packaging is (C) 2009, Ian Wienand <i...@debian.org> and is
-licensed under the same license.
\ No newline at end of file
+The Debian packaging is Copyright (C) 2009, Ian Wienand
+<i...@debian.org> and is licensed under the same license.
\ No newline at end of file
diff --git a/debian/patches/00list b/debian/patches/00list
deleted file mode 100644
index 262d6ac..0000000
--- a/debian/patches/00list
+++ /dev/null
@@ -1 +0,0 @@
-#nothing, yet
diff --git a/debian/rules b/debian/rules
index 2cbc604..e3ea6f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,17 +3,20 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/dpatch/dpatch.make
 
 PYVERS	= $(shell pyversions -rv)
 
+
+build-arch: build
+build-indep: build
+
 build: $(PYVERS:%=build-stamp-py%)
-build-stamp-py%: patch-stamp
+build-stamp-py%:
 	dh_testdir
 	python$* setup.py build
 	touch $@
 
-clean: unpatch
+clean:
 	dh_testdir
 	dh_testroot
 	rm -rf build build-stamp*
@@ -23,7 +26,7 @@ install: install-prereqs $(PYVERS:%=install-stamp-py%)
 install-prereqs:
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	dh_installdirs
 install-stamp-py%:
 	python$* setup.py install --root $(CURDIR)/debian/python-facebook
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)
-- 
1.7.10

Reply via email to