[Python-apps-commits] r817 - in packages/planet-venus/trunk/debian (2 files)
nslater-guest at users.alioth.debian.org
nslater-guest at users.alioth.debian.org
Fri Mar 21 00:01:02 UTC 2008
Date: Friday, March 21, 2008 @ 00:00:57
Author: nslater-guest
Revision: 817
made --version dynamic and emoved old theme rules
Modified:
packages/planet-venus/trunk/debian/patches/command-improvement.patch
packages/planet-venus/trunk/debian/rules
Modified: packages/planet-venus/trunk/debian/patches/command-improvement.patch
===================================================================
--- packages/planet-venus/trunk/debian/patches/command-improvement.patch 2008-03-20 23:55:49 UTC (rev 816)
+++ packages/planet-venus/trunk/debian/patches/command-improvement.patch 2008-03-21 00:00:57 UTC (rev 817)
@@ -1,7 +1,7 @@
diff -Nur planet-venus_0~bzr86.orig/planet.py planet-venus_0~bzr86.orig.new/planet.py
---- planet-venus_0~bzr86.orig/planet.py 2008-03-20 23:21:05.000000000 +0000
-+++ planet-venus_0~bzr86.orig.new/planet.py 2008-03-20 23:30:36.000000000 +0000
-@@ -13,30 +13,89 @@
+--- planet-venus_0~bzr86.orig/planet.py 2008-03-20 23:39:53.000000000 +0000
++++ planet-venus_0~bzr86.orig.new/planet.py 2008-03-20 23:47:41.000000000 +0000
+@@ -13,30 +13,90 @@
"Jeff Waugh <jdub at perkypants.org>" ]
__license__ = "Python"
@@ -77,7 +77,8 @@
+Report bugs using the `reportbug' command."""
+ sys.exit(0)
+ elif arg == "-V" or arg == "--version":
-+ print """planet - Planet Venus 20080213
++ print """planet - Planet Venus @version@
++
+Copyright (C) 2007, 2008 Sam Ruby <rubys at intertwingly.net>
+
+Licenced under the Python Software Foundation License Version 2.
@@ -102,7 +103,7 @@
elif arg == "-o" or arg == "--offline":
offline = 1
elif arg == "-n" or arg == "--only-if-new":
-@@ -44,17 +103,27 @@
+@@ -44,17 +104,27 @@
elif arg == "-x" or arg == "--expunge":
expunge = 1
elif arg.startswith("-"):
Modified: packages/planet-venus/trunk/debian/rules
===================================================================
--- packages/planet-venus/trunk/debian/rules 2008-03-20 23:55:49 UTC (rev 816)
+++ packages/planet-venus/trunk/debian/rules 2008-03-21 00:00:57 UTC (rev 817)
@@ -24,22 +24,25 @@
PACKAGE_FILENAME=$(PACKAGE_NAME)_0~bzr$(PACKAGE_VERSION).orig.tar.gz
clean::
- rm -rf diveintomark_20080214
- rm -rf diveintomark_20080214.tar.gz
+ rm -f planet.sed.py
# XXX: The bundled feedparser.py is a pre-release version so we can't depend on
# XXX: the standard packaged version. The other three bundled modules might be
# XXX: nice as external packages, one day.
common-install-prehook-impl::
+ DEBIAN_VERSION=$(shell dpkg-parsechangelog | grep Version | sed "s/\w*: //"); \
+ sed "s/@version@/$${DEBIAN_VERSION}/" planet.py > planet.sed.py
+ chmod 755 planet.sed.py
+ help2man -N -n "Planet Venus aggregate feed generator" ./planet.sed.py > planet.1
cp -R docs debian/planet-venus/usr/share/doc/planet-venus/html
cp -R examples debian/planet-venus/usr/share/planet-venus/example
chmod 755 debian/planet-venus/usr/share/planet-venus/example/filters/guess-language/guess-language.py
chmod 755 debian/planet-venus/usr/share/planet-venus/example/filters/guess-language/trigram.py
cp -R filters debian/planet-venus/usr/share/planet-venus/filter
- cp -R planet.py debian/planet-venus/usr/bin/planet
- rm -f themes/diveintomark/LICENCE
+ cp -R planet.sed.py debian/planet-venus/usr/bin/planet
cp -R themes debian/planet-venus/usr/share/planet-venus/theme
+ rm -f debian/planet-venus/usr/share/planet-venus/theme/diveintomark/LICENCE
cp -R planet debian/planet-venus/usr/share/python-support/planet-venus
rm -fr debian/planet-venus/usr/share/python-support/planet-venus/planet/vendor/htmltmpl.py
rm -fr debian/planet-venus/usr/share/python-support/planet-venus/planet/vendor/html5lib
@@ -47,7 +50,6 @@
cp -R debian/planet.ini debian/planet-venus/usr/share/planet-venus/example/debian.ini
cp debian/binary.lintian-overrides debian/planet-venus/usr/share/lintian/overrides/planet-venus
cp debian/linda-overrides debian/planet-venus/usr/share/linda/overrides/planet-venus
- help2man -N -n "Planet Venus aggregate feed generator" ./planet.py > planet.1
binary-install/planet-venus::
dh_pysupport -pplanet-venus -X example -X filter
More information about the Python-apps-commits
mailing list