summaryrefslogtreecommitdiff
path: root/www/py-HTMLgen
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-02-05 19:44:53 +0000
committerdrochner <drochner@pkgsrc.org>2002-02-05 19:44:53 +0000
commit9049ac45bbbef28ef98f6b1bb8abbb8f518bf8a6 (patch)
tree19910f61d4b6af9bd8180027b49a20a5520471f5 /www/py-HTMLgen
parented168d2c1c1a38ac2f24e6cd9f76dd719bfe0751 (diff)
downloadpkgsrc-9049ac45bbbef28ef98f6b1bb8abbb8f518bf8a6.tar.gz
initial import of py-HTMLgen-2.2.2, a class library for the generation of
HTML documents such a pkg was submitted in PR pkg/13042, but the URL it refers to is invalid
Diffstat (limited to 'www/py-HTMLgen')
-rw-r--r--www/py-HTMLgen/DESCR9
-rw-r--r--www/py-HTMLgen/Makefile20
-rw-r--r--www/py-HTMLgen/PLIST31
-rw-r--r--www/py-HTMLgen/distinfo6
-rw-r--r--www/py-HTMLgen/patches/patch-aa17
-rw-r--r--www/py-HTMLgen/patches/patch-ab13
6 files changed, 96 insertions, 0 deletions
diff --git a/www/py-HTMLgen/DESCR b/www/py-HTMLgen/DESCR
new file mode 100644
index 00000000000..7018c9dc1e7
--- /dev/null
+++ b/www/py-HTMLgen/DESCR
@@ -0,0 +1,9 @@
+HTMLgen is a class library for the generation of HTML documents with Python
+scripts. It's used when you want to create HTML pages containing information
+which changes from time to time. For example, you might want to have a page
+which provides an overall system summary of data collected nightly. Or maybe
+you have a catalog of data and images that you would like formed into a spiffy
+set of web pages for the world to browse. Python is a great scripting language
+for these tasks and with HTMLgen it's very straightforward to construct objects
+which are rendered out into consistently structured web pages. Of course, CGI
+scripts written in Python can take advantage of these classes as well.
diff --git a/www/py-HTMLgen/Makefile b/www/py-HTMLgen/Makefile
new file mode 100644
index 00000000000..32ace61571c
--- /dev/null
+++ b/www/py-HTMLgen/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+#
+
+DISTNAME= HTMLgen
+PKGNAME= ${PYPKGPREFIX}-HTMLgen-2.2.2
+CATEGORIES= www
+MASTER_SITES= http://starship.python.net/crew/friedrich/
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= py-HTMLgen-2.2.2
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://starship.python.net/crew/friedrich/HTMLgen/html/main.html
+COMMENT= class library for the generation of HTML documents
+
+NO_BUILD= yes
+MAKE_ENV+= PYTHONBIN=${PYTHONBIN}
+PY_PATCHPLIST= yes
+
+.include "../../lang/python/extension.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-HTMLgen/PLIST b/www/py-HTMLgen/PLIST
new file mode 100644
index 00000000000..78b5beacaab
--- /dev/null
+++ b/www/py-HTMLgen/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+${PYSITELIB}/Formtools.py
+${PYSITELIB}/Formtools.pyc
+${PYSITELIB}/GifImagePluginH.py
+${PYSITELIB}/GifImagePluginH.pyc
+${PYSITELIB}/HTMLcalendar.py
+${PYSITELIB}/HTMLcalendar.pyc
+${PYSITELIB}/HTMLcolors.py
+${PYSITELIB}/HTMLcolors.pyc
+${PYSITELIB}/HTMLgen.py
+${PYSITELIB}/HTMLgen.pyc
+${PYSITELIB}/HTMLutil.py
+${PYSITELIB}/HTMLutil.pyc
+${PYSITELIB}/ImageFileH.py
+${PYSITELIB}/ImageFileH.pyc
+${PYSITELIB}/ImageH.py
+${PYSITELIB}/ImageH.pyc
+${PYSITELIB}/ImagePaletteH.py
+${PYSITELIB}/ImagePaletteH.pyc
+${PYSITELIB}/JpegImagePluginH.py
+${PYSITELIB}/JpegImagePluginH.pyc
+${PYSITELIB}/NavLinks.py
+${PYSITELIB}/NavLinks.pyc
+${PYSITELIB}/PngImagePluginH.py
+${PYSITELIB}/PngImagePluginH.pyc
+${PYSITELIB}/barchart.py
+${PYSITELIB}/barchart.pyc
+${PYSITELIB}/colorcube.py
+${PYSITELIB}/colorcube.pyc
+${PYSITELIB}/imgsize.py
+${PYSITELIB}/imgsize.pyc
diff --git a/www/py-HTMLgen/distinfo b/www/py-HTMLgen/distinfo
new file mode 100644
index 00000000000..85632504d22
--- /dev/null
+++ b/www/py-HTMLgen/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+
+SHA1 (py-HTMLgen-2.2.2/HTMLgen.tgz) = a34b9c1f9cf5536a548c66522213ac9fee1b43cd
+Size (py-HTMLgen-2.2.2/HTMLgen.tgz) = 316415 bytes
+SHA1 (patch-aa) = 506d0aa49b875a02441006bc8a59adde14e2be9c
+SHA1 (patch-ab) = 92fc6aa41c590fafd75ab36b4d55f1fd952100fa
diff --git a/www/py-HTMLgen/patches/patch-aa b/www/py-HTMLgen/patches/patch-aa
new file mode 100644
index 00000000000..be8c421fa24
--- /dev/null
+++ b/www/py-HTMLgen/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+
+--- Makefile.orig Tue Feb 5 19:25:20 2002
++++ Makefile Tue Feb 5 19:40:08 2002
+@@ -56,10 +56,10 @@
+ python HTMLutil.py -s
+
+ compileall:
+- python -c "import compileall; compileall.compile_dir('.',0)"
++ ${PYTHONBIN} -c "import compileall; compileall.compile_dir('.',0)"
+
+ install: compileall
+- python installp.py -f $(MODULES) $(MODULESC) $(PIL) $(PILC)
++ ${PYTHONBIN} installp.py -f $(MODULES) $(MODULESC) $(PIL) $(PILC)
+ @echo Installation of $(PACKAGE) done.
+
+ checkin:
diff --git a/www/py-HTMLgen/patches/patch-ab b/www/py-HTMLgen/patches/patch-ab
new file mode 100644
index 00000000000..f1c45ba5614
--- /dev/null
+++ b/www/py-HTMLgen/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/02/05 19:44:53 drochner Exp $
+
+--- installp.py.orig Tue Feb 5 20:19:55 2002
++++ installp.py Tue Feb 5 20:20:11 2002
+@@ -15,7 +15,7 @@
+ print "Usage: %s [-f] pymodule [npymodule...]" % sys.argv[0]
+ sys.exit(1)
+ for opt in opts:
+- if opt == '-f': FORCE = 1
++ if opt[0] == '-f': FORCE = 1
+
+ v = sys.version[:3]
+