Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 21:35:19 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36420: New port: net/py-medusa
Message-ID:  <200203281235.g2SCZJQe071666@akaraka.yonsei.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         36420
>Category:       ports
>Synopsis:       New port: net/py-medusa
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 28 04:40:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu Mar 28 00:43:31 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
New port for Medusa, very famous asynchronous internet server framework

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-medusa
#	py-medusa/Makefile
#	py-medusa/distinfo
#	py-medusa/pkg-comment
#	py-medusa/pkg-descr
#	py-medusa/pkg-plist
#	py-medusa/files
#	py-medusa/files/patch-default_handler.py
#
echo c - py-medusa
mkdir -p py-medusa > /dev/null 2>&1
echo x - py-medusa/Makefile
sed 's/^X//' >py-medusa/Makefile << 'END-of-py-medusa/Makefile'
X# New ports collection makefile for:	py-medusa
X# Date created:		27 March 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	medusa
XPORTVERSION=	0.5.1
XCATEGORIES=	net devel python
XMASTER_SITES=	http://www.amk.ca/files/python/
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	perky@fallin.lv
X
XUSE_PYTHON=	yes
XPLIST_SUB=	DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}"
X
XDOCFILES=	CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
XEXAMPLEDIRS=	demo test thread
XDOCSDIR=	share/docs/py-medusa
XEXAMPLESDIR=	share/examples/py-medusa
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
X
Xdo-build:
X	${SETUP_CMD} build
X
Xdo-install:
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/${DOCSDIR}/docs
X	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${PREFIX}/${DOCSDIR}
X	cd ${WRKSRC}/docs && ${INSTALL_DATA} * ${PREFIX}/${DOCSDIR}/docs
X.for exdir in ${EXAMPLEDIRS}
X	${MKDIR} ${PREFIX}/${EXAMPLESDIR}/${exdir}
X	${INSTALL_DATA} ${WRKSRC}/${exdir}/* ${PREFIX}/${EXAMPLESDIR}/${exdir}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-py-medusa/Makefile
echo x - py-medusa/distinfo
sed 's/^X//' >py-medusa/distinfo << 'END-of-py-medusa/distinfo'
XMD5 (medusa-0.5.1.tar.gz) = c185b038f36065551d1e737ba46fae78
END-of-py-medusa/distinfo
echo x - py-medusa/pkg-comment
sed 's/^X//' >py-medusa/pkg-comment << 'END-of-py-medusa/pkg-comment'
XAsynchronous socket-based server framework for Python
END-of-py-medusa/pkg-comment
echo x - py-medusa/pkg-descr
sed 's/^X//' >py-medusa/pkg-descr << 'END-of-py-medusa/pkg-descr'
XMedusa is an architecture for building long-running, high-performance
Xnetwork servers in Python.  Medusa is in use now in several
Xmission-critical applications, ranging from custom web servers at
Xextremely high-traffic sites to distributed data processing systems.
XIt is an elegant and efficient solution to a difficult programming
Xproblem.
X
XWWW: http://www.amk.ca/python/code/medusa.html
END-of-py-medusa/pkg-descr
echo x - py-medusa/pkg-plist
sed 's/^X//' >py-medusa/pkg-plist << 'END-of-py-medusa/pkg-plist'
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/__init__.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/auth_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/auth_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/auth_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/chat_server.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/chat_server.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/chat_server.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/counter.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/counter.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/counter.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/default_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/default_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/default_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/event_loop.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/event_loop.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/event_loop.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/fifo.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/fifo.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/fifo.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/filesys.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/filesys.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/filesys.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/ftp_server.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/ftp_server.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/ftp_server.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_date.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_date.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_date.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_server.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_server.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/http_server.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/logger.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/logger.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/logger.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/m_syslog.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/m_syslog.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/m_syslog.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/medusa_gif.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/medusa_gif.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/medusa_gif.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client_win32.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client_win32.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/monitor_client_win32.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/producers.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/producers.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/producers.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/put_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/put_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/put_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/redirecting_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/redirecting_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/redirecting_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/resolver.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/resolver.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/resolver.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_client.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_client.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_client.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_server.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_server.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/rpc_server.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/script_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/script_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/script_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/status_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/status_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/status_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/unix_user_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/unix_user_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/unix_user_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/virtual_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/virtual_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/virtual_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/xmlrpc_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/xmlrpc_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/medusa/xmlrpc_handler.pyo
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/medusa
X%%PORTDOCS%%share/examples/py-medusa/demo/dual_server.py
X%%PORTDOCS%%share/examples/py-medusa/demo/publish.py
X%%PORTDOCS%%share/examples/py-medusa/demo/script_server.py
X%%PORTDOCS%%share/examples/py-medusa/demo/simple_anon_ftpd.py
X%%PORTDOCS%%share/examples/py-medusa/demo/simple_httpd.py
X%%PORTDOCS%%share/examples/py-medusa/demo/start_medusa.py
X%%PORTDOCS%%share/examples/py-medusa/test/asyn_http_bench.py
X%%PORTDOCS%%share/examples/py-medusa/test/bench.py
X%%PORTDOCS%%share/examples/py-medusa/test/max_sockets.py
X%%PORTDOCS%%share/examples/py-medusa/test/test_11.py
X%%PORTDOCS%%share/examples/py-medusa/test/test_lb.py
X%%PORTDOCS%%share/examples/py-medusa/test/test_medusa.py
X%%PORTDOCS%%share/examples/py-medusa/test/test_single_11.py
X%%PORTDOCS%%share/examples/py-medusa/test/tests.txt
X%%PORTDOCS%%share/examples/py-medusa/thread/pi_module.py
X%%PORTDOCS%%share/examples/py-medusa/thread/select_trigger.py
X%%PORTDOCS%%share/examples/py-medusa/thread/test_module.py
X%%PORTDOCS%%share/examples/py-medusa/thread/thread_channel.py
X%%PORTDOCS%%share/examples/py-medusa/thread/thread_handler.py
X%%PORTDOCS%%share/docs/py-medusa/CHANGES.txt
X%%PORTDOCS%%share/docs/py-medusa/INSTALL.txt
X%%PORTDOCS%%share/docs/py-medusa/LICENSE.txt
X%%PORTDOCS%%share/docs/py-medusa/README.txt
X%%PORTDOCS%%share/docs/py-medusa/TODO.txt
X%%PORTDOCS%%share/docs/py-medusa/docs/README.html
X%%PORTDOCS%%share/docs/py-medusa/docs/async_blurbs.txt
X%%PORTDOCS%%share/docs/py-medusa/docs/composing_producers.gif
X%%PORTDOCS%%share/docs/py-medusa/docs/data_flow.gif
X%%PORTDOCS%%share/docs/py-medusa/docs/data_flow.html
X%%PORTDOCS%%share/docs/py-medusa/docs/debugging.txt
X%%PORTDOCS%%share/docs/py-medusa/docs/producers.gif
X%%PORTDOCS%%share/docs/py-medusa/docs/proxy_notes.txt
X%%PORTDOCS%%share/docs/py-medusa/docs/threads.txt
X%%PORTDOCS%%share/docs/py-medusa/docs/tkinter.txt
X%%PORTDOCS%%@dirrm share/examples/py-medusa/thread
X%%PORTDOCS%%@dirrm share/examples/py-medusa/test
X%%PORTDOCS%%@dirrm share/examples/py-medusa/demo
X%%PORTDOCS%%@dirrm share/examples/py-medusa
X%%PORTDOCS%%@dirrm share/docs/py-medusa/docs
X%%PORTDOCS%%@dirrm share/docs/py-medusa
END-of-py-medusa/pkg-plist
echo c - py-medusa/files
mkdir -p py-medusa/files > /dev/null 2>&1
echo x - py-medusa/files/patch-default_handler.py
sed 's/^X//' >py-medusa/files/patch-default_handler.py << 'END-of-py-medusa/files/patch-default_handler.py'
X--- default_handler.py.orig	Thu Mar 28 20:46:08 2002
X+++ default_handler.py	Thu Mar 28 20:46:13 2002
X@@ -169,7 +169,7 @@
X 
X     def set_content_type (self, path, request):
X         ext = string.lower (get_extension (path))
X-        typ = mimelib.guess_type(path):
X+        typ = mimelib.guess_type(path)
X         if typ is not None:
X             request['Content-Type'] = typ
X         else:
END-of-py-medusa/files/patch-default_handler.py
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203281235.g2SCZJQe071666>