[csw-devel] SF.net SVN: gar:[8559] csw/mgar/pkg/python/branches/python-2.6.4+patch7242/ Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Feb 15 15:28:12 CET 2010


Revision: 8559
          http://gar.svn.sourceforge.net/gar/?rev=8559&view=rev
Author:   dmichelsen
Date:     2010-02-15 14:28:12 +0000 (Mon, 15 Feb 2010)

Log Message:
-----------
python 2.6.4+patch7242: Fix pycompile

Modified Paths:
--------------
    csw/mgar/pkg/python/branches/python-2.6.4+patch7242/Makefile

Modified: csw/mgar/pkg/python/branches/python-2.6.4+patch7242/Makefile
===================================================================
--- csw/mgar/pkg/python/branches/python-2.6.4+patch7242/Makefile	2010-02-15 13:34:50 UTC (rev 8558)
+++ csw/mgar/pkg/python/branches/python-2.6.4+patch7242/Makefile	2010-02-15 14:28:12 UTC (rev 8559)
@@ -9,7 +9,6 @@
 #   - http://forums.sun.com/thread.jspa?threadID=5148204
 
 SPKG_SOURCEURL = http://python.org/download/releases/$(GARVERSION)
-SPKG_CLASSES = none cswpycompile
 
 DESCRIPTION = A high-level scripting language.
 define BLURB
@@ -66,7 +65,11 @@
 CONFIGURE_ARGS += --with-fpectl
 CONFIGURE_ARGS += --with-system-ffi
 
-PYCOMPILE = 1
+# This doesn't work here, as _PYCOMPILE_FILES is not the directory Python uses.
+# PYCOMPILE = 1
+EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
+# use prototype filters to set the class 
+PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
 PACKAGES  = CSWidle
 PACKAGES += CSWpython


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list