Opened 20 years ago

Closed 19 years ago

#2189 closed defect (invalid)

NEW: py-maki-20030512

Reported by: opendarwin.nospam@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: mww@…, markd@…
Port:

Description

py-maki-20030512

the portfile can be found here: INLINE

Description: webserving framework built on Python and XML

Homepage: http://maki.sourceforge.net/

Comments: -

================INLINE CONTENT================ # $Id: $ PortSystem 1.0 PortGroup python 1.0 name py-maki version 20030512 categories-append www platforms darwin maintainers opendarwin.nospam@… description webserving framework built on Python and XML long_description maki is a webserving framework built on Python and XML. \

It allows a web developer to send an XML input document \ through any number of steps, where each step is either a \ stylesheet transformation or a custom process. A processor \ that evaluates embedded Python code is included. The output \ of each step is passed as the input to the next step \ (similar to a Unix pipe). Additionally, the output of each \ processor step can be cached for a user-specified time \ period. All configuration is done in XML files that allow \ you to specify rules based on matching paths against \ Unix-style wildcard patterns or regular expressions.

homepage http://maki.sourceforge.net/ master_sites sourceforge:maki distname maki-${version} extract.suffix .tgz checksums md5 e1162da642d5cce32cb494d33e109370

depends_lib-append lib:XXX:py-xml \

lib:libxslt:libxslt

build {}

destroot.cmd ${python.bin} INSTALL.py destroot.target destroot.destdir

pre-destroot {

cd ${worksrcpath} reinplace "s|/usr/local/maki|${destroot}${prefix}/etc/${name}|g" INSTALL.py reinplace "s|/usr/local/apache/htdocs/maki|${destroot}${prefix}/share/doc/${name}|g" INSTALL.py reinplace "s|WEB_USER=\"nobody\"|WEB_USER=\"www\"|g" INSTALL.py reinplace "s|MODULE_DIR = dir|MODULE_DIR=os.path.normpath(\"${destroot}\"+dir)|g" INSTALL.py reinplace "s|= MAKI_DIR|= \"${prefix}/etc/${name}\"|" INSTALL.py reinplace "s|= DOC_DIR|= \"${prefix}/share/doc/${name}\"|" INSTALL.py reinplace "s|compile_dir(INSTALL_DIR|&,ddir=\"spb\"|" INSTALL.py

}

post-destroot {

cd ${worksrcpath} xinstall -m 0644 README TODO VERSION LICENSE FAQ CHANGELOG \

${destroot}${prefix}/share/doc/${name}

# add init.py as otherwise Webware wouldn't accept it as a valid context system "touch ${destroot}${prefix}/share/doc/${name}/init.py"

# install manual in html format cd ${worksrcpath}/manual_html xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/manual_html xinstall -m 0644 config.html index.html install.html intro.html logic.html \

${destroot}${prefix}/share/doc/${name}/manual_html

xinstall -m 0644 home.gif maki_icon.gif next.gif prev.gif up.gif \

${destroot}${prefix}/share/doc/${name}/manual_html

# create cache directory (make webserver the owner for write access) xinstall -d -m 0755 -o www -g www ${destroot}${prefix}/etc/${name}/cache system "touch ${destroot}${prefix}/etc/${name}/cache/.turd"

}

variant webware {

depends_lib-append lib:XXX:py-webware

# install plugin for use with Webware framework ( http://webware.sf.net ) post-destroot {

cd ${worksrcpath}/webware_plugin/maki xinstall -d -m 0755 ${destroot}${prefix}/py-webware/Maki xinstall -m 0644 Properties.py init.py \

${destroot}${prefix}/py-webware/Maki

xinstall -m 0644 Servlet.py ServletFactory.py \

${destroot}${prefix}/py-webware/Maki

}

post-install {

ui_msg "########################################################" ui_msg "# in order to get maki working with Webware" ui_msg "# you will most probably have to modify" ui_msg "# ${prefix}/py-webware/WebKit/Configs/Application.config" ui_msg "# in particular add '.xml' as the first element of 'ExtensionCascadeOrder':" ui_msg "# 'ExtensionCascadeOrder': \['.xml','.py','.psp','.html'\]" ui_msg "# and append '.xsl' to the 'ExtensionsToIgnore' list:" ui_msg "# 'ExtensionsToIgnore': \['.xsl','.pyc', '.pyo', '.py~','.psp~', '.html~','.bak','.tmpl'\]" ui_msg "########################################################"

}

}

Change History (4)

comment:1 Changed 20 years ago by olegb@…

Owner: changed from darwinports-bugs@… to mww@…

assigning to da master of python, mww@

comment:2 Changed 20 years ago by mww@…

please submit a patch instead of the massive reinplaces!

comment:3 Changed 19 years ago by markd@…

Cc: mww@… markd@… added

According toi the developer's website, Maki is no longer in active development and there will be no new releases. Therefore I think this bug has no value for anyone, won't be committed, and should be closed.

comment:4 Changed 19 years ago by mww@…

Resolution: invalid
Status: newclosed

(from http://maki.sourceforge.net/)

Just want to let people know that I am no longer actively developing or using Maki. For some time now I have been using Zope as my primary platform for web development.

this makes this port obsolete - also there hasn't been a comment from Frank in more than a year;

Note: See TracTickets for help on using tickets.