[csw-devel] SF.net SVN: gar:[18688] csw/mgar/pkg/lang-python

romeotheriault at users.sourceforge.net romeotheriault at users.sourceforge.net
Tue Jul 10 05:16:15 CEST 2012


Revision: 18688
          http://gar.svn.sourceforge.net/gar/?rev=18688&view=rev
Author:   romeotheriault
Date:     2012-07-10 03:16:12 +0000 (Tue, 10 Jul 2012)
Log Message:
-----------
lang-python/pyzmq/trunk: Initial commit of pyzmq. Builds successfully on Sol10 but not Sol9.

Added Paths:
-----------
    csw/mgar/pkg/lang-python/pyzmq/
    csw/mgar/pkg/lang-python/pyzmq/Makefile
    csw/mgar/pkg/lang-python/pyzmq/branches/
    csw/mgar/pkg/lang-python/pyzmq/tags/
    csw/mgar/pkg/lang-python/pyzmq/trunk/
    csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile
    csw/mgar/pkg/lang-python/pyzmq/trunk/checksums
    csw/mgar/pkg/lang-python/pyzmq/trunk/files/
    csw/mgar/pkg/lang-python/pyzmq/trunk/files/0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch

Added: csw/mgar/pkg/lang-python/pyzmq/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pyzmq/Makefile	2012-07-10 03:16:12 UTC (rev 18688)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/lang-python/pyzmq/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile	2012-07-10 03:16:12 UTC (rev 18688)
@@ -0,0 +1,32 @@
+NAME = pyzmq
+VERSION = 2.2.0
+GARTYPE = v2
+CATEGORIES = python
+
+DESCRIPTION = PyZMQ: Python bindings for 0MQ
+define BLURB
+  This package contains Python bindings for 0MQ. 0MQ is a lightweight and fast messaging implementation.
+endef
+
+MASTER_SITES = https://github.com/zeromq/pyzmq/downloads/
+DISTFILES  = $(DISTNAME).tar.gz
+
+PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
+
+CHECKPKG_OVERRIDES_CSWpy-pyzmq += pkginfo-opencsw-repository-uncommitted
+
+BUILD_DEP_PKGS += CSWlibzmq1-dev
+RUNTIME_DEP_PKGS_CSWpy-pyzmq += CSWlibpython2-6-1-0
+RUNTIME_DEP_PKGS_CSWpy-pyzmq += CSWlibzmq1
+
+PATCHFILES += 0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch
+
+#GARCOMPILER = GCC4
+
+CONFIGURE_ARGS += $(DIRPATHS)
+
+BUILD_ARGS += --zmq=/opt/csw
+
+TEST_SCRIPTS = 
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/lang-python/pyzmq/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/lang-python/pyzmq/trunk/checksums
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pyzmq/trunk/checksums	2012-07-10 03:16:12 UTC (rev 18688)
@@ -0,0 +1 @@
+100b73973d6fb235b8da6adea403566e  pyzmq-2.2.0.tar.gz

Added: csw/mgar/pkg/lang-python/pyzmq/trunk/files/0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch
===================================================================
--- csw/mgar/pkg/lang-python/pyzmq/trunk/files/0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/pyzmq/trunk/files/0001-These-flags-are-for-gnu-gcc-and-fail-on-suns-cc-comp.patch	2012-07-10 03:16:12 UTC (rev 18688)
@@ -0,0 +1,25 @@
+From e06184b1e803f0482a07fb77234417171fe3c9b6 Mon Sep 17 00:00:00 2001
+From: Romeo Theriault <romeotheriault at opencsw.org>
+Date: Tue, 10 Jul 2012 04:12:12 +0200
+Subject: [PATCH] These flags are for gnu gcc and fail on suns cc compiler.
+
+---
+ setup.py |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 7c04d83..14e0a3c 100755
+--- a/setup.py
++++ b/setup.py
+@@ -150,7 +150,7 @@ def settings_from_prefix(zmq=None):
+         for warning in ('unused-function', 'strict-aliasing'):
+             extra_flags.append('-Wno-'+warning)
+ 
+-    settings['extra_compile_args'] = extra_flags
++    settings['extra_compile_args'] = ""
+     
+     # include internal directories
+     settings['include_dirs'] += [pjoin('zmq', sub) for sub in ('utils','core','devices')]
+-- 
+1.7.10.3
+

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