ht2html stable port information

Package: ht2html
Version: 2.0
Revision: 1
Maintainer: None
Homepage: http://ht2html.sourceforge.net/
License: OSI-Approved
Depends: python
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 925d359f7db48c44ed0bc3044cebd3f0
Patch: %n.patch
PatchScript: <<
sed -e "s|/mypath/|%p/|g" < %n > %n.tmp
mv -f %n.tmp %n
<<
CompileScript: %p/bin/python -c "from compileall import compile_dir; compile_dir('.')"
InstallScript: <<
install -d -m 755 %i/bin %i/lib/%n
install -m 644 *.{py,pyc} %i/lib/%n
install -m 755 %n %i/bin
<<
DocFiles: README doc/{*.html,*.png}
Description: Python-based web page template processor
DescDetail: <<
ht2html is a simple web page templating system that defines a format
and provides a set of Python scripts for creating a simple, but
consistent web site. All pages include a left corner logo, a site wide
site links top bar, and a directory-specific sidebar.

ht2html is also the www.python.org web site generator.
<<
DescPackaging: Formerly maintained by Jason R. Mastaler

ht2html stable port .patch

diff -ruN ht2html-2.0/ht2html ht2html-2.0-patched/ht2html
--- ht2html-2.0/ht2html 1969-12-31 17:00:00.000000000 -0700
+++ ht2html-2.0-patched/ht2html 2004-02-03 19:54:01.000000000 -0700
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Change this to your ht2html directory; defaults to /mypath/lib/ht2html
+HT2HTMLPATH="/mypath/lib/ht2html"
+
+PYTHONPATH="${HT2HTMLPATH}:${PYTHONPATH}"
+export PYTHONPATH
+
+PYTHON=/mypath/bin/python
+
+exec "$PYTHON" ${HT2HTMLPATH}/ht2html.py $@

ht2html _unstable_ port information

Package: ht2html
Version: 2.0
Revision: 1
Maintainer: None
Homepage: http://ht2html.sourceforge.net/
License: OSI-Approved
Depends: python
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 925d359f7db48c44ed0bc3044cebd3f0
Patch: %n.patch
PatchScript: <<
sed -e "s|/mypath/|%p/|g" < %n > %n.tmp
mv -f %n.tmp %n
<<
CompileScript: %p/bin/python -c "from compileall import compile_dir; compile_dir('.')"
InstallScript: <<
install -d -m 755 %i/bin %i/lib/%n
install -m 644 *.{py,pyc} %i/lib/%n
install -m 755 %n %i/bin
<<
DocFiles: README doc/{*.html,*.png}
Description: Python-based web page template processor
DescDetail: <<
ht2html is a simple web page templating system that defines a format
and provides a set of Python scripts for creating a simple, but
consistent web site. All pages include a left corner logo, a site wide
site links top bar, and a directory-specific sidebar.

ht2html is also the www.python.org web site generator.
<<
DescPackaging: Formerly maintained by Jason R. Mastaler

ht2html _unstable_ port .patch

diff -ruN ht2html-2.0/ht2html ht2html-2.0-patched/ht2html
--- ht2html-2.0/ht2html 1969-12-31 17:00:00.000000000 -0700
+++ ht2html-2.0-patched/ht2html 2004-02-03 19:54:01.000000000 -0700
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Change this to your ht2html directory; defaults to /mypath/lib/ht2html
+HT2HTMLPATH="/mypath/lib/ht2html"
+
+PYTHONPATH="${HT2HTMLPATH}:${PYTHONPATH}"
+export PYTHONPATH
+
+PYTHON=/mypath/bin/python
+
+exec "$PYTHON" ${HT2HTMLPATH}/ht2html.py $@