[csw-devel] SF.net SVN: gar:[12497] csw/mgar/pkg/lang-python/python/branches/python-3.1 /Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Jan 11 11:49:08 CET 2011


Revision: 12497
          http://gar.svn.sourceforge.net/gar/?rev=12497&view=rev
Author:   wahwah
Date:     2011-01-11 10:49:08 +0000 (Tue, 11 Jan 2011)

Log Message:
-----------
python-3.1: Fixed file collisions with CSWpython

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile

Modified: csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile	2011-01-11 10:28:19 UTC (rev 12496)
+++ csw/mgar/pkg/lang-python/python/branches/python-3.1/Makefile	2011-01-11 10:49:08 UTC (rev 12497)
@@ -50,10 +50,6 @@
 # Test for sunaudiodev fails.
 SKIPTEST = 1
 
-# EXTRA_INC += $(prefix)/X11/include
-# EXTRA_LIB += $(prefix)/X11/lib
-# EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
-# EXTRA_SOS_LD_FLAGS = -L$(abspath $(prefix)/X11/lib/$(MM_LIBDIR))
 
 BASECFLAGS = $(CFLAGS)
 EXTRA_COMMON_EXPORTS = BASECFLAGS
@@ -70,7 +66,7 @@
 
 # This doesn't work here, as _PYCOMPILE_FILES is not the directory Python uses.
 # PYCOMPILE = 1
-EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
+EXTRA_MERGE_EXCLUDE_FILES += .*\.pyo .*\.pyc
 # use prototype filters to set the class 
 PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
@@ -149,6 +145,8 @@
 CHECKPKG_OVERRIDES_CSWidle$(CVER) += missing-dependency|CSWpython
 CHECKPKG_OVERRIDES_CSWidle$(CVER) += surplus-dependency|CSWpython$(CVER)
 CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += surplus-dependency|CSWpython$(CVER)
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-devel += missing-dependency|CSWpython
+CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk += missing-dependency|CSWpython
 
 LICENSE = LICENSE
 
@@ -165,4 +163,18 @@
 CHECKPKG_OVERRIDES_CSWpython$(CVER) += catalogname-does-not-start-with-py_
 CHECKPKG_OVERRIDES_CSWpython$(CVER)-tk += surplus-dependency|CSWpython$(CVER)
 
+# Checkpkg does not understand relocatable packages.
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += soname-not-found|libgdbm.so.3|is|needed|by|opt/csw/lib/$(PVER)/lib-dynload/gdbm.so
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += soname-not-found|libgdbm.so.3|is|needed|by|opt/csw/lib/$(PVER)/lib-dynload/_gdbm.so
+CHECKPKG_OVERRIDES_CSWpython$(CVER) += surplus-dependency|CSWgdbm
+
+
+# To avoid file collisions with CSWpython:
+EXTRA_PAX_ARGS += -s ',^\.$(bindir)/idle,$(bindir)/idle-$(VER),'
+EXTRA_PAX_ARGS += -s ',^\.$(bindir)/smtpd.py,$(bindir)/smtpd.py-$(VER),'
+EXTRA_PAX_ARGS += -s ',^\.$(bindir)/pydoc,$(bindir)/pydoc-$(VER),'
+EXTRA_PAX_ARGS += -s ',^\.$(bindir)/2to3,$(bindir)/2to3-$(VER),'
+EXTRA_PAX_ARGS += -s ',^\.$(bindir)/python-config,$(bindir)/python-config-$(VER),'
+EXTRA_MERGE_EXCLUDE_FILES += $(bindir)/python
+
 include gar/category.mk


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