openbsd-ports/www/pyblosxom/patches/patch-setup_py
djm 2de6803ff8 import pybloxsom-1.3.2:
> Pyblosxom is a weblog engine that uses standard text files located
> on your filesystem as a database of weblog entries. The concept is
> simple, managing content is as easy as editing a text file with your
> favourite text editor. It also supports publishing a blog as a set of
> static HTML and RSS files, without the need for online executables
> (CGIs, etc).
2006-07-26 10:25:56 +00:00

30 lines
1.2 KiB
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2006/07/26 10:25:56 djm Exp $
--- setup.py.orig Thu Dec 22 17:16:06 2005
+++ setup.py Tue Apr 25 09:33:56 2006
@@ -58,10 +58,12 @@ pydf = []
# first we put the flavour files in the right place with the rest
# of the PyBlosxom package
-for mem in flavour_files:
- f = os.listdir(mem)
- f = [os.path.join(mem, m) for m in f if os.path.isfile(os.path.join(mem, m))]
- pydf.append( (os.path.join(get_python_lib(), mem), f) )
+#for mem in flavour_files:
+# f = os.listdir(mem)
+# f = [os.path.join(mem, m) for m in f if os.path.isfile(os.path.join(mem, m))]
+# print f
+# print (os.path.join(get_python_lib(), mem), f)
+# pydf.append( (os.path.join(get_python_lib(), mem), f) )
# now we deal with the web scripts.
@@ -72,7 +74,7 @@ elif platform == "nix":
# we want to move the web script files as well, so we sneak them
# in here.
- pydf.append( [os.path.join('share', PVER, 'web'),
+ pydf.append( [os.path.join('share', 'examples', 'pyblosxom'),
[os.path.normpath("web/pyblosxom.cgi"),
os.path.normpath("web/pyblosxom.tac"),
os.path.normpath("web/wsgi_app.py"),