ports/68059: [patch] fixes to allow Zope to be packaged
Phil Oleson
oz at nixil.net
Thu Jun 17 20:01:27 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list