Looks like it's enough to $ git clone git://gitorious.org/python-markdown/mainline.git $ cd mainline $ svn co svn://svn.debian.org/python-modules/packages/python-markdown/trunk/debian
Bump the version (debian/changelog diff) and tweak the rules file: Index: debian/changelog =================================================================== --- debian/changelog (revision 9376) +++ debian/changelog (working copy) @@ -1,3 +1,9 @@ +python-markdown (2.0-0) unstable; urgency=low + + * local quick-port to upstream 2.0 + + -- Mark W. Eichin <eic...@thok.org> Wed, 19 Aug 2009 21:58:02 -0400 + python-markdown (1.7-3) UNRELEASED; urgency=low * Remove myself from Uploaders. Index: debian/rules =================================================================== --- debian/rules (revision 9376) +++ debian/rules (working copy) @@ -6,11 +6,8 @@ include /usr/share/cdbs/1/class/python-distutils.mk DEB_AUTO_CLEANUP_RCS := yes -DEB_INSTALL_CHANGELOGS_ALL := CHANGE_LOG.txt +DEB_INSTALL_CHANGELOGS_ALL := docs/CHANGE_LOG -install/python-markdown:: - chmod 0755 debian/python-markdown/usr/lib/`pyversions -d`/site-packages/markdown.py - clean:: find -name '*.pyo' -exec rm -f {} \; and the resulting package builds and is useful. This isn't enough, of course: * debian/watch is wrong, they're not using sourceforge anymore * "pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions" * I don't know if the changelog choice above is *right* * "dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file." (except that with cdbs, it's not *in* the rules file...) * "warning, `debian/python-markdown/DEBIAN/control' contains user-defined field `Python-Version'" (Not volunteering to co-maintain, I'm not responsive enough on my *own* packages, but I'm now using it enough to chip in from time to time :-) _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/python-modules-team