Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 18:20:40 +0400
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perky@FreeBSD.org
Subject:   ports/82445: Add PYTWISTED dependence line to bsd.python.mk 
Message-ID:  <E1DkN8i-000HII-0k@spray.anyhost.ru>
Resent-Message-ID: <200506201430.j5KEULac039531@freefall.freebsd.org>

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

>Number:         82445
>Category:       ports
>Synopsis:       Add PYTWISTED dependence line to bsd.python.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 20 14:30:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
>Description:
Twisted is a framework that is used by number of python network applications.
So I think it would be useful to have comfortable way to include it. BTW,
devel/py-twisted is very old and I have an idea to upgrade it to TwistedSumo.
Also this patch contains description for USE_ZOPE option of bsd.python.mk.

>How-To-Repeat:
>Fix:

--- bsd.python.mk.orig	Mon Jun 20 17:24:59 2005
+++ bsd.python.mk	Mon Jun 20 18:09:35 2005
@@ -96,6 +96,9 @@
 #				is the last release that works with Python versions older
 #				than 1.6.
 #
+# PYTWISTED:		Dependency line for the Python event-driven networking 
+# 				framework twisted.
+#
 # PYXML:		Dependency line for the XML extension. As of Python-2.0,
 #				this extension is in the base distribution.
 #
@@ -115,6 +118,14 @@
 #
 # PYSETUP:		Name of the setup script used by the distutils package.
 #				default: setup.py
+#
+# USE_ZOPE:		Use Zope - an object-based web application platform, this
+# 				also sets up ZOPEBASEDIR - relative base directory of zope 
+# 				server, SZOPEBASEDIR - absolute base directory of zope that
+# 				is ${LOCALBASE}/${SZOPEBASEDIR} by default, 
+# 				ZOPEPRODUCTDIR - directory, where products for zope can be 
+# 				found. Note that USE_ZOPE require python2.3
+#
 
 _PYTHON_PORTBRANCH=		2.4
 _PYTHON_ALLBRANCHES=	2.4 2.3 2.2 2.1 2.5 # preferred first
@@ -299,6 +310,7 @@
 
 PYDISTUTILS=	${PYTHON_LIBDIR}/distutils/core.py:${PYTHON_PORTSDIR}
 PYNUMERIC=		${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
+PYTWISTED=		${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
 PYXML=			${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml
 
 .if defined(PYTHON_REL) && ${PYTHON_REL} < 232

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DkN8i-000HII-0k>