[Python-apps-commits] r2624 - in packages/scribes/trunk/debian (5 files)

pochu-guest at users.alioth.debian.org pochu-guest at users.alioth.debian.org
Mon Mar 16 00:26:51 UTC 2009


    Date: Monday, March 16, 2009 @ 00:26:50
  Author: pochu-guest
Revision: 2624

* Port to debhelper 7
* Switch to python-support.
* debian/manpages: install the manpage from here.

Added:
  packages/scribes/trunk/debian/manpages
Modified:
  packages/scribes/trunk/debian/changelog
  packages/scribes/trunk/debian/compat
  packages/scribes/trunk/debian/control
  packages/scribes/trunk/debian/rules

Modified: packages/scribes/trunk/debian/changelog
===================================================================
--- packages/scribes/trunk/debian/changelog	2009-03-16 00:22:30 UTC (rev 2623)
+++ packages/scribes/trunk/debian/changelog	2009-03-16 00:26:50 UTC (rev 2624)
@@ -8,6 +8,9 @@
   * debian/copyright:
     - Add "Copyright" to the packaging copyright note, and 2009 to the years.
     - Point to GPL-2 rather than GPL.
+  * Port to debhelper 7
+  * Switch to python-support.
+  * debian/manpages: install the manpage from here.
 
  -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Fri, 13 Feb 2009 14:25:50 +0100
 

Modified: packages/scribes/trunk/debian/compat
===================================================================
--- packages/scribes/trunk/debian/compat	2009-03-16 00:22:30 UTC (rev 2623)
+++ packages/scribes/trunk/debian/compat	2009-03-16 00:26:50 UTC (rev 2624)
@@ -1 +1 @@
-5
+7

Modified: packages/scribes/trunk/debian/control
===================================================================
--- packages/scribes/trunk/debian/control	2009-03-16 00:22:30 UTC (rev 2623)
+++ packages/scribes/trunk/debian/control	2009-03-16 00:26:50 UTC (rev 2624)
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: Emilio Pozuelo Monfort <pochu at ubuntu.com>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.51~), dpatch
+Build-Depends: debhelper (>= 7), dpatch
 Build-Depends-Indep: autotools-dev,
                      gconf2 (>= 2.10.1-2),
                      gnome-doc-utils (>= 0.3.2),
                      intltool,
                      python-dev (>= 2.5),
-                     python-central (>= 0.5.6),
+                     python-support,
                      python-dbus (>= 0.70),
                      python-gnome2-desktop-dev (>= 2.12),
                      python-gnome2-dev (>= 2.12),
@@ -19,7 +19,6 @@
                      yelp (>= 2.12)
 Standards-Version: 3.8.0
 Homepage: http://scribes.sourceforge.net/
-XS-Python-Version: >= 2.5
 Vcs-Svn: svn://svn.debian.org/python-apps/packages/scribes/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/scribes/trunk/
 
@@ -35,7 +34,6 @@
          python-gtk2 (>= 2.10),
          scrollkeeper,
          yelp (>= 2.12)
-XB-Python-Version: ${python:Versions}
 Description: simple, slim and sleek, yet powerful text editor for GNOME
  Scribes focuses on streamlining your workflow. It does so by ensuring
  that common and repetitive operations are intelligently automated and also

Added: packages/scribes/trunk/debian/manpages
===================================================================
--- packages/scribes/trunk/debian/manpages	                        (rev 0)
+++ packages/scribes/trunk/debian/manpages	2009-03-16 00:26:50 UTC (rev 2624)
@@ -0,0 +1 @@
+debian/scribes.1

Modified: packages/scribes/trunk/debian/rules
===================================================================
--- packages/scribes/trunk/debian/rules	2009-03-16 00:22:30 UTC (rev 2623)
+++ packages/scribes/trunk/debian/rules	2009-03-16 00:26:50 UTC (rev 2624)
@@ -1,81 +1,17 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 include /usr/share/dpatch/dpatch.make
 
-config.status: configure
-	dh_testdir
-	
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-	
-	# Add here commands to configure the package.
-	./configure --prefix=/usr --disable-scrollkeeper --with-gconf-schema-file-dir=$${prefix}/usr/share/gconf/schemas
+%:
+	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- --prefix=/usr --disable-scrollkeeper --with-gconf-schema-file-dir=$${prefix}/usr/share/gconf/schemas
 
-build: patch build-stamp
+override_dh_auto_test:
 
-build-stamp:  config.status
-	dh_testdir
+build: ${DPATCH_STAMPFN}
+	dh $@
 
-	# Add here commands to compile the package.
-	$(MAKE)
-	
-	touch $@
-
-clean:	unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
+clean: unpatch
+	dh $@
 	find . -name "*\.py[co]" -delete
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -f config.sub config.guess
-
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-
-	# Add here commands to install the package into debian/scribes.
-	$(MAKE) DESTDIR=$(CURDIR)/debian/scribes install
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installmenu
-	dh_installman debian/scribes.1
-	dh_install
-	dh_desktop
-	dh_icons
-	dh_scrollkeeper
-	dh_gconf
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_pycentral
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 




More information about the Python-apps-commits mailing list