Bug 63265 - New port: www/zope27 Zope V2.7
Summary: New port: www/zope27 Zope V2.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: nbm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 14:40 UTC by Gerhard Schmidt
Modified: 2004-04-02 01:01 UTC (History)
0 users

See Also:


Attachments
zope27.tar.bz2 (22.00 KB, text/plain)
2004-02-23 14:40 UTC, Gerhard Schmidt
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Schmidt 2004-02-23 14:40:21 UTC

    
Comment 1 Hye-Shik Chang freebsd_committer freebsd_triage 2004-02-23 15:00:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nbm

Crowds on python@ agreed to replace www/zope with Zope 2.7. 
Over to www/zope maintainer.
Comment 2 HAYASHI Yasushi 2004-03-20 05:22:36 UTC
Hello,

If this www/zope27 PR is commited, it is needed to modify bsd.python.mk.
Something like below.

# Why does original bsd.python.mk's RUN_DEPENDS contain '${PYTHONBASE}'?

--- begining of patch ---
diff -urN bsd.python.mk.orig bsd.python.mk                      
--- bsd.python.mk.orig  Sat Mar 20 13:51:38 2004                         
+++ bsd.python.mk       Sat Mar 20 14:00:20 2004                         
@@ -116,7 +116,7 @@                                                      
 _PYTHON_ALLBRANCHES=   2.3 2.2 2.1 2.0 1.5 2.4 # preferred first        
                                                                         
 .if defined(USE_ZOPE)                                                   
-PYTHON_VERSION=                python2.1                                
+PYTHON_VERSION=                python2.3                                
 .endif                                                                  
                                                                         
 .if defined(PYTHON_VERSION)                                             
@@ -332,7 +332,8 @@                                                      
 .endif         # ${PYTHON_NO_DEPENDS} == "NO"                           
                                                                         
 .if defined(USE_ZOPE)                                                   
-RUN_DEPENDS+=  ${PYTHONBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope 
+#RUN_DEPENDS+= ${PYTHONBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope 
+RUN_DEPENDS+=  ${ZOPEBASEDIR}/skel/bin/zopectl.in:${PORTSDIR}/www/zope  
 .endif                                                                  
                                                                         
 # set $PREFIX as Python's one                                           
--- end of patch --


And, there is a patch for lib/python/zdaemon/zdctlpy .
(See http://zope.org/Collectors/Zope/1235 and 
 http://zope.org/Collectors/Zope/1235/zdctl.diff/view )

> freebsd# cat files/patch-lib-python-zdaemon-zdctl.py                   
> --- lib/python/zdaemon/zdctl.py Sat Oct 25 06:32:59 2003         
> +++ lib/python/zdaemon/patched_zdctl.py Wed Mar 17 22:44:35 2004 
> @@ -208,9 +208,9 @@                                              
>              args += self._get_override("-z", "directory")       
>              args.extend(self.options.program)                   
>              if self.options.daemon:                             
> -                flag = os.P_WAIT                                
> -            else:                                               
>                  flag = os.P_NOWAIT                              
> +            else:                                               
> +                flag = os.P_WAIT                                
>              os.spawnvp(flag, args[0], args)                     
>          elif not self.zd_pid:                                   
>              self.send_action("start")                           


Thanks.

--
Yasushi Hayashi  <yasi@yasi.to>
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-04-02 01:01:08 UTC
State Changed
From-To: open->closed

Committed, thanks! (Note that nbm gave up maintaining this port 
some time ago.)