[Pkg-python-debian-commits] r62 trunk: m4 is overkill this simple substitution. Let's use sed instead.

John Wright john at movingsucks.org
Thu Jul 12 21:09:42 UTC 2007


------------------------------------------------------------
revno: 62
committer: John Wright <john at movingsucks.org>
branch nick: trunk
timestamp: Thu 2007-07-12 15:09:42 -0600
message:
  m4 is overkill this simple substitution.  Let's use sed instead.
modified:
  debian/changelog
  debian/control
  debian/rules
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2007-07-12 21:04:56 +0000
+++ b/debian/changelog	2007-07-12 21:09:42 +0000
@@ -29,7 +29,6 @@
       information from debian/changelog
     - No longer delete deb822 files
   * debian/control:
-    - The above generation depends on m4, so add that as a Build-Depends
     - Add myself as an uploader
     - Add Provides, Conflicts, and Replaces fields for python-deb822
     - When describing features, mention which modules they are implemented in

=== modified file 'debian/control'
--- a/debian/control	2007-07-01 22:15:45 +0000
+++ b/debian/control	2007-07-12 21:09:42 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian python-debian Maintainers <pkg-python-debian-maint at lists.alioth.debian.org>
 Uploaders: Adeodato Sim?? <dato at net.com.org.es>, Enrico Zini <enrico at debian.org>, James Westby <jw+debian at jameswestby.net>, Reinhard Tartler <siretart at tauware.de>, Stefano Zacchiroli <zack at debian.org>, John Wright <john at movingsucks.org>
-Build-Depends: debhelper (>= 5.0.37.2), python, m4
+Build-Depends: debhelper (>= 5.0.37.2), python
 Build-Depends-Indep: python-support (>= 0.3)
 Standards-Version: 3.7.2
 XS-Vcs-Bzr: http://bzr.debian.org/pkg-python-debian/trunk/

=== modified file 'debian/rules'
--- a/debian/rules	2007-07-01 22:15:45 +0000
+++ b/debian/rules	2007-07-12 21:09:42 +0000
@@ -7,7 +7,7 @@
 VERSION := $(shell dpkg-parsechangelog | grep '^Version: ' | awk '{print $$2}')
 
 %.py: %.py.in
-	m4 -D __CHANGELOG_VERSION__=$(VERSION) < $< > $@
+	sed -e 's/__CHANGELOG_VERSION__/$(VERSION)/' < $< > $@
 
 build: build-stamp
 build-stamp: setup.py



More information about the pkg-python-debian-commits mailing list