Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 13:57:23 -0600 (MDT)
From:      Phil Oleson <oz@nixil.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68059: [patch] fixes to allow Zope to be packaged
Message-ID:  <200406171957.i5HJvNJH087910@nixil.net>
Resent-Message-ID: <200406172000.i5HK0rx0052204@freefall.freebsd.org>

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

>Number:         68059
>Category:       ports
>Synopsis:       [patch] fixes to allow Zope to be packaged
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 17 20:00:53 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Phil Oleson
>Release:        FreeBSD 4.7-RELEASE-p22 i386
>Organization:
N/A
>Environment:
System: FreeBSD nixil.net 4.7-RELEASE-p22 FreeBSD 4.7-RELEASE-p22 #29: Tue Mar 2 15:58:41 MST 2004

	
>Description:
	The compile and install work fine, but if you try the 'package' make target
	then it fails to build the tarball because 2 tests failed to compile into
        .pyc files.
>How-To-Repeat:
	package Zope.
>Fix:

	add the following patches.

--- zope-patch begins here ---
diff -rcN zope.orig/files/patch-lib-python-products-siteaccess-tests-testvirtualhostmonster.py zope/files/patch-lib-python-products-siteaccess-tests-testvirtualhostmonster.py
*** zope.orig/files/patch-lib-python-products-siteaccess-tests-testvirtualhostmonster.py	Wed Dec 31 17:00:00 1969
--- zope/files/patch-lib-python-products-siteaccess-tests-testvirtualhostmonster.py	Thu Jun 17 13:39:01 2004
***************
*** 0 ****
--- 1,10 ----
+ --- lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py.orig	Thu Jun 17 13:38:08 2004
+ +++ lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py	Thu Jun 17 13:38:24 2004
+ @@ -12,6 +12,7 @@
+  
+  from Testing.makerequest import makerequest
+  
+ +from __future__ import generators
+  import Zope
+  Zope.startup()
+  
diff -rcN zope.orig/files/patch-lib-python-restrictedpython-tests-verify.py zope/files/patch-lib-python-restrictedpython-tests-verify.py
*** zope.orig/files/patch-lib-python-restrictedpython-tests-verify.py	Wed Dec 31 17:00:00 1969
--- zope/files/patch-lib-python-restrictedpython-tests-verify.py	Thu Jun 17 13:40:08 2004
***************
*** 0 ****
--- 1,10 ----
+ --- lib/python/RestrictedPython/tests/verify.py.orig	Thu Jun 17 13:39:24 2004
+ +++ lib/python/RestrictedPython/tests/verify.py	Thu Jun 17 13:39:41 2004
+ @@ -21,6 +21,7 @@
+  function.
+  """
+  
+ +from __future__ import generators
+  import dis
+  import types
+  
--- zope-patch ends here ---


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



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