SF.net SVN: gar:[23024] csw/mgar/pkg/lang-python/pycairo/trunk/Makefile

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Fri Feb 14 14:32:54 CET 2014


Revision: 23024
          http://sourceforge.net/p/gar/code/23024
Author:   cgrzemba
Date:     2014-02-14 13:32:52 +0000 (Fri, 14 Feb 2014)
Log Message:
-----------
lang-python/pycairo/trunk: add build and packaging for python 2.7

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/pycairo/trunk/Makefile

Modified: csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pycairo/trunk/Makefile	2014-02-14 10:25:38 UTC (rev 23023)
+++ csw/mgar/pkg/lang-python/pycairo/trunk/Makefile	2014-02-14 13:32:52 UTC (rev 23024)
@@ -19,6 +19,17 @@
 
 EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc 
 
+EXTRA_MODULATORS += PYTHON_VERSION
+MODULATIONS_PYTHON_VERSION = 2.6 2.7
+# We need 64 bit just once as it is without python anyway
+SKIP_MODULATIONS += isa-sparcv9-python_version-2.7
+SKIP_MODULATIONS += isa-amd64-python_version-2.7
+PYTHON = $(bindir)/python$(PYTHON_VERSION)
+MERGE_SCRIPTS_isa-default-python_version-2.6 += copy-all
+MERGE_SCRIPTS_isa-default-python_version-2.7 += copy-all
+MERGE_SCRIPTS_isa-default64-python_version-2.6 += copy-relocated-only
+MERGE_DIRS_isa-default64-python_version-2.6 += $(libdir)
+
 PACKAGES = CSWpy-cairo
 SPKG_DESC_CSWpy-cairo = $(DESCRIPTION); main
 OBSOLETED_BY_CSWpy-cairo = CSWpycairo
@@ -33,6 +44,8 @@
 CAIRO_CFLAGS = -I/opt/csw/include -I/opt/csw/include/cairo
 EXTRA_CONFIGURE_EXPORTS += CAIRO_LIBS CAIRO_CFLAGS
 
+EXTRA_CONFIGURE_ENV = PYTHON=python$(PYTHON_VERSION)
+
 EXTRA_CFLAGS = -D_XPG6
 SKIPTEST = 1
 

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