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

romeotheriault at users.sourceforge.net romeotheriault at users.sourceforge.net
Sat Aug 25 05:13:49 CEST 2012


Revision: 19090
          http://gar.svn.sourceforge.net/gar/?rev=19090&view=rev
Author:   romeotheriault
Date:     2012-08-25 03:13:49 +0000 (Sat, 25 Aug 2012)
Log Message:
-----------
lang-python/msgpack-python/trunk: Initial commit of msgpack-python

Added Paths:
-----------
    csw/mgar/pkg/lang-python/msgpack-python/
    csw/mgar/pkg/lang-python/msgpack-python/Makefile
    csw/mgar/pkg/lang-python/msgpack-python/branches/
    csw/mgar/pkg/lang-python/msgpack-python/tags/
    csw/mgar/pkg/lang-python/msgpack-python/trunk/
    csw/mgar/pkg/lang-python/msgpack-python/trunk/Makefile
    csw/mgar/pkg/lang-python/msgpack-python/trunk/checksums
    csw/mgar/pkg/lang-python/msgpack-python/trunk/files/
    csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0001-dont-use-stdbool-and-use-inttypes-on-solaris9.patch
    csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0002-Dont-use-case-range.patch

Added: csw/mgar/pkg/lang-python/msgpack-python/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/msgpack-python/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lang-python/msgpack-python/Makefile	2012-08-25 03:13:49 UTC (rev 19090)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


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


Added: csw/mgar/pkg/lang-python/msgpack-python/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/msgpack-python/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/lang-python/msgpack-python/trunk/Makefile	2012-08-25 03:13:49 UTC (rev 19090)
@@ -0,0 +1,25 @@
+NAME = msgpack-python
+VERSION = 0.2.1
+GARTYPE = v2
+CATEGORIES = python
+
+DESCRIPTION = MessagePack (de)serializer for Python.
+define BLURB
+	MessagePack is a binary-based efficient data interchange format that is
+	focused on high performance. It is like JSON, but very fast and small.
+endef
+
+MASTER_SITES = http://pypi.python.org/packages/source/m/msgpack-python/
+DISTFILES  = $(DISTNAME).tar.gz
+
+VENDOR_URL = http://pypi.python.org/pypi/msgpack-python/
+
+RUNTIME_DEP_PKGS_CSWpy-msgpack-python += CSWlibpython2-6-1-0
+#CHECKPKG_OVERRIDES_CSWpy-msgpack-python += pkginfo-opencsw-repository-uncommitted
+
+PATCHFILES += 0001-dont-use-stdbool-and-use-inttypes-on-solaris9.patch
+PATCHFILES += 0002-Dont-use-case-range.patch
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk


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

Added: csw/mgar/pkg/lang-python/msgpack-python/trunk/checksums
===================================================================
--- csw/mgar/pkg/lang-python/msgpack-python/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/lang-python/msgpack-python/trunk/checksums	2012-08-25 03:13:49 UTC (rev 19090)
@@ -0,0 +1 @@
+dbaf026487da6c5302c51a715e36a4e0  msgpack-python-0.2.1.tar.gz

Added: csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0001-dont-use-stdbool-and-use-inttypes-on-solaris9.patch
===================================================================
--- csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0001-dont-use-stdbool-and-use-inttypes-on-solaris9.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0001-dont-use-stdbool-and-use-inttypes-on-solaris9.patch	2012-08-25 03:13:49 UTC (rev 19090)
@@ -0,0 +1,35 @@
+From e51c67de7f6e4005226ee0586b3f7df733953cdc Mon Sep 17 00:00:00 2001
+From: Romeo Theriault <romeotheriault at opencsw.org>
+Date: Sat, 25 Aug 2012 05:00:20 +0200
+Subject: [PATCH] dont use stdbool and use inttypes on solaris9
+
+---
+ msgpack/sysdep.h | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/msgpack/sysdep.h b/msgpack/sysdep.h
+index 4fedbd8..73ba45d 100644
+--- a/msgpack/sysdep.h
++++ b/msgpack/sysdep.h
+@@ -32,8 +32,17 @@ typedef unsigned __int64 uint64_t;
+ #elif defined(_MSC_VER)  // && _MSC_VER >= 1600
+ #include <stdint.h>
+ #else
++#ifdef HAVE_STDINT_H
+ #include <stdint.h>
+-#include <stdbool.h>
++#else
++#ifdef HAVE_INTTYPES_H
++#include <inttypes.h>
++#endif
++#endif
++/* #include <stdbool.h> */
++#define bool int
++#define false 0
++#define true 1
+ #endif
+ 
+ #ifdef _WIN32
+-- 
+1.7.11.3
+

Added: csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0002-Dont-use-case-range.patch
===================================================================
--- csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0002-Dont-use-case-range.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/msgpack-python/trunk/files/0002-Dont-use-case-range.patch	2012-08-25 03:13:49 UTC (rev 19090)
@@ -0,0 +1,28 @@
+From dbf9d0c63719b114bd938e5d34dd08f08c0c20d4 Mon Sep 17 00:00:00 2001
+From: Romeo Theriault <romeotheriault at opencsw.org>
+Date: Fri, 24 Aug 2012 09:42:20 +0200
+Subject: [PATCH] Dont use case range
+
+---
+ msgpack/unpack_template.h | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/msgpack/unpack_template.h b/msgpack/unpack_template.h
+index b844a24..1add413 100644
+--- a/msgpack/unpack_template.h
++++ b/msgpack/unpack_template.h
+@@ -40,11 +40,6 @@
+ #error msgpack_unpack_user type is not defined
+ #endif
+ 
+-#ifndef USE_CASE_RANGE
+-#if !defined(_MSC_VER)
+-#define USE_CASE_RANGE
+-#endif
+-#endif
+ 
+ msgpack_unpack_struct_decl(_stack) {
+ 	msgpack_unpack_object obj;
+-- 
+1.7.11.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