From 128e5231c30edc64c4247f78cf2055def1d4da72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9verin=20Lemaignan?= <severin.lemaignan@laas.fr>
Date: Tue, 25 Jan 2011 19:27:42 +0100
Subject: [PATCH] [wip/pypoco] Created package for pypoco, the Python bindings
 for tclServ

---
 pypoco/DESCR     |  1 +
 pypoco/Makefile  | 37 +++++++++++++++++++++++++++++++++++++
 pypoco/PLIST     |  1 +
 pypoco/depend.mk | 37 +++++++++++++++++++++++++++++++++++++
 pypoco/distinfo  |  3 +++
 5 files changed, 79 insertions(+)
 create mode 100644 pypoco/DESCR
 create mode 100644 pypoco/Makefile
 create mode 100644 pypoco/PLIST
 create mode 100644 pypoco/depend.mk
 create mode 100644 pypoco/distinfo

diff --git a/pypoco/DESCR b/pypoco/DESCR
new file mode 100644
index 00000000..51466ea5
--- /dev/null
+++ b/pypoco/DESCR
@@ -0,0 +1 @@
+pypoco is a Python binding for the LAAS tclServ protocol used to control Pocolibs-based modules.
diff --git a/pypoco/Makefile b/pypoco/Makefile
new file mode 100644
index 00000000..2d93fe34
--- /dev/null
+++ b/pypoco/Makefile
@@ -0,0 +1,37 @@
+#
+# Copyright (c) 2010 CNRS/LAAS
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+#                                          Severin Lemaignan on Tue, 25 Jan 2011
+
+
+DISTNAME=	    	pypoco-${PKGVERSION}
+PKGVERSION=	    	1.2
+
+MASTER_SITES=		${MASTER_SITE_OPENROBOTS:=pypoco/}
+MASTER_REPOSITORY=	git http://trac.laas.fr/git/robots/pypoco.git
+
+CATEGORIES=	wip
+LICENSE=	isc
+MAINTAINER=	openrobots@laas.fr
+COMMENT=	Python bindings for tclServ protocol
+
+USE_LANGUAGES+=		python
+PYTHON_REQUIRED=	>=2.5<3
+
+PYDISTUTILSPKG=		yes
+
+include ../../mk/sysdep/py-setuptools.mk
+include ../../mk/robotpkg.mk
+
diff --git a/pypoco/PLIST b/pypoco/PLIST
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/pypoco/PLIST
@@ -0,0 +1 @@
+
diff --git a/pypoco/depend.mk b/pypoco/depend.mk
new file mode 100644
index 00000000..6bd55ee7
--- /dev/null
+++ b/pypoco/depend.mk
@@ -0,0 +1,37 @@
+# Copyright (c) 2010 LAAS/CNRS
+# All rights reserved.
+#
+# Redistribution  and  use in source   and binary forms,  with or without
+# modification, are permitted provided that  the following conditions are
+# met:
+#
+#   1. Redistributions  of  source code must  retain  the above copyright
+#      notice, this list of conditions and the following disclaimer.
+#   2. Redistributions in binary form must  reproduce the above copyright
+#      notice,  this list of  conditions and  the following disclaimer in
+#      the  documentation   and/or  other  materials   provided with  the
+#      distribution.
+#
+#                                        Severin Lemaignan on 25 Jan 2011
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH}+
+PYPOCO_DEPEND_MK:=	${PYPOCO_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=		pypoco
+endif
+
+ifeq (+,$(PYPOCO_DEPEND_MK)) # -----------------------------------------------
+
+PREFER.pypoco?=		robotpkg
+
+DEPEND_USE+=		pypoco
+DEPEND_ABI.pypoco?=	pypoco>=1.2
+DEPEND_DIR.pypoco?=	../../wip/pypoco
+
+SYSTEM_SEARCH.pypoco=\
+	lib/python2.6/{site|dist}-packages/pypoco.py
+
+endif # PYPOCO_DEPEND_MK -----------------------------------------------------
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/pypoco/distinfo b/pypoco/distinfo
new file mode 100644
index 00000000..ae80821b
--- /dev/null
+++ b/pypoco/distinfo
@@ -0,0 +1,3 @@
+SHA1 (pypoco-1.2.tar.gz) = f9a4b4fbb00f8600f60f71eb85c04c06fea4fa42
+RMD160 (pypoco-1.2.tar.gz) = 0b551054b1ff1c244b2ca12a75953eb4fe0afca5
+Size (pypoco-1.2.tar.gz) = 7359 bytes
-- 
GitLab