mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Component supports for WebKit.Page class.
http://wiki.w4py.org/component.html PR: ports/79417 Submitted by: "Choe, Cheng-Dae" <whitekid@gmail.com>
This commit is contained in:
parent
494ceff970
commit
585665a9b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133067
5 changed files with 60 additions and 0 deletions
|
@ -642,6 +642,7 @@
|
||||||
SUBDIR += py-scgi
|
SUBDIR += py-scgi
|
||||||
SUBDIR += py-websvcs
|
SUBDIR += py-websvcs
|
||||||
SUBDIR += py-webware
|
SUBDIR += py-webware
|
||||||
|
SUBDIR += py-webware-component
|
||||||
SUBDIR += pyphany
|
SUBDIR += pyphany
|
||||||
SUBDIR += pyweblib
|
SUBDIR += pyweblib
|
||||||
SUBDIR += qdecoder
|
SUBDIR += qdecoder
|
||||||
|
|
33
www/py-webware-component/Makefile
Normal file
33
www/py-webware-component/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# New ports collection makefile for: py-webware-component
|
||||||
|
# Date created: 2005-03-25
|
||||||
|
# Whom: Choe, Cheng-Dae
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= Component
|
||||||
|
PORTVERSION= 0.1
|
||||||
|
CATEGORIES= www python
|
||||||
|
MASTER_SITES= http://www.webwareforpython.org/downloads/
|
||||||
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}webware-
|
||||||
|
|
||||||
|
MAINTAINER= whitekid@gmail.com
|
||||||
|
COMMENT= Webware servlet component extension
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/share/webware/__init__.py:${PORTSDIR}/www/py-webware
|
||||||
|
|
||||||
|
USE_PYTHON= yes
|
||||||
|
|
||||||
|
do-build:
|
||||||
|
@${ECHO_MSG} -n ">> Compiling ..."
|
||||||
|
@${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${WRKSRC}')"
|
||||||
|
@${ECHO_MSG} " [ DONE ]"
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
@${ECHO_CMD} -n ">> Installing ..."
|
||||||
|
@cd ${WRKSRC} && \
|
||||||
|
${FIND} . -type d -exec ${MKDIR} "${PREFIX}/share/webware/${PORTNAME}/{}" \; && \
|
||||||
|
${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/webware/${PORTNAME}/{}" \;
|
||||||
|
@${ECHO_MSG} " [ DONE ]"
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
www/py-webware-component/distinfo
Normal file
2
www/py-webware-component/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (Component-0.1.tar.gz) = 4511d6ff605994a739e0079902fa6cf8
|
||||||
|
SIZE (Component-0.1.tar.gz) = 10392
|
9
www/py-webware-component/pkg-descr
Normal file
9
www/py-webware-component/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
From document:
|
||||||
|
|
||||||
|
Components are useful if you have code that should know about the
|
||||||
|
request and response, and possible intercept it. If the code doesn't need to
|
||||||
|
know about the request at all, you should just create a normal Python library,
|
||||||
|
and call into it explicitly. Components can also be a convenient way to add new
|
||||||
|
convenience methods to your servlet.
|
||||||
|
|
||||||
|
WWW: http://wiki.w4py.org/component.html
|
15
www/py-webware-component/pkg-plist
Normal file
15
www/py-webware-component/pkg-plist
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
share/webware/Component/Docs/default.css
|
||||||
|
share/webware/Component/Docs/index.html
|
||||||
|
share/webware/Component/Docs/index.txt
|
||||||
|
share/webware/Component/Properties.py
|
||||||
|
share/webware/Component/Properties.pyc
|
||||||
|
share/webware/Component/__init__.py
|
||||||
|
share/webware/Component/__init__.pyc
|
||||||
|
share/webware/Component/component.py
|
||||||
|
share/webware/Component/component.pyc
|
||||||
|
share/webware/Component/cpage.py
|
||||||
|
share/webware/Component/cpage.pyc
|
||||||
|
share/webware/Component/notify.py
|
||||||
|
share/webware/Component/notify.pyc
|
||||||
|
@dirrm share/webware/Component/Docs
|
||||||
|
@dirrm share/webware/Component
|
Loading…
Add table
Reference in a new issue