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

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Wed Feb 12 16:41:20 CET 2014


Revision: 23000
          http://sourceforge.net/p/gar/code/23000
Author:   cgrzemba
Date:     2014-02-12 15:41:20 +0000 (Wed, 12 Feb 2014)
Log Message:
-----------
lang-python/pygobject/trunk: attemt to build python2.7 package also

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

Modified: csw/mgar/pkg/lang-python/pygobject/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pygobject/trunk/Makefile	2014-02-12 14:16:46 UTC (rev 22999)
+++ csw/mgar/pkg/lang-python/pygobject/trunk/Makefile	2014-02-12 15:41:20 UTC (rev 23000)
@@ -3,6 +3,7 @@
 NAME = pygobject
 VERSION = 2.28.6
 RELVER = $(shell echo $(VERSION) | gsed -e 's/\.[0-9]\+$$//')
+# keep the 'configure; make; make install'-mantra
 # CATEGORIES = python
 
 DESCRIPTION = Python bindings for the GObject library
@@ -19,8 +20,19 @@
 GARCOMPILER = GCC4
 
 PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
 BUILD_DEP_PKGS = CSWlibffi-dev
 
+# add this because we do not use the pyton category
+_MERGE_EXCLUDE_CATEGORY += .*/$(NAME)/test
+_MERGE_EXCLUDE_CATEGORY += .*/$(NAME)/test/.*
+PYCOMPILE = 1
+_CATEGORY_MODULATORS ?= PYTHON_VERSION
+MODULATIONS_PYTHON_VERSION ?= 2_6 2_7
+MERGE_SCRIPTS_isa-default-python_version-2_6 ?= copy-all
+MERGE_SCRIPTS_isa-default-python_version-2_7 ?= copy-all
+MERGE_SCRIPTS_isa-default-python_version-3_3 ?= copy-all
+
 PACKAGES += CSWlibpyglib2-0python0
 CATALOGNAME_CSWlibpyglib2-0python0 = libpyglib2_0python0
 PKGFILES_CSWlibpyglib2-0python0 += $(call baseisadirs,$(libdir),libpyglib-2\.0-python\.so\.0\.0\.0)
@@ -75,7 +87,6 @@
 RUNTIME_DEP_PKGS_CSWpy-gobject_sparc += CSWlibgmodule2-0-0
 RUNTIME_DEP_PKGS_CSWpy-gobject += $(RUNTIME_DEP_PKGS_CSWpy-gobject_$(GARCH))
 
-PYCOMPILE = 1
 STRIP_LIBTOOL = 1
 
 EXTRA_CFLAGS = -std=c99 -D_XPG6 -D__EXTENSIONS__

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