From 34cab74359d46ac0c706bb01e14e045f3addccc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Magimel?= <francois.magimel@laas.fr>
Date: Mon, 14 Sep 2015 10:54:54 +0200
Subject: [PATCH] [wip/hhsimulator] Import hhsimulator

hhsimulator is a python package for the HyperHolo project, with a
simulator and other visualization tools.
---
 hhsimulator/DESCR     |  1 +
 hhsimulator/Makefile  | 27 ++++++++++++++++++++++++++
 hhsimulator/PLIST     | 45 +++++++++++++++++++++++++++++++++++++++++++
 hhsimulator/depend.mk | 27 ++++++++++++++++++++++++++
 hhsimulator/distinfo  |  3 +++
 5 files changed, 103 insertions(+)
 create mode 100644 hhsimulator/DESCR
 create mode 100644 hhsimulator/Makefile
 create mode 100644 hhsimulator/PLIST
 create mode 100644 hhsimulator/depend.mk
 create mode 100644 hhsimulator/distinfo

diff --git a/hhsimulator/DESCR b/hhsimulator/DESCR
new file mode 100644
index 00000000..bc20548e
--- /dev/null
+++ b/hhsimulator/DESCR
@@ -0,0 +1 @@
+hhsimulator is a simple simulateur for the HyperHolo project.
diff --git a/hhsimulator/Makefile b/hhsimulator/Makefile
new file mode 100644
index 00000000..051e8b17
--- /dev/null
+++ b/hhsimulator/Makefile
@@ -0,0 +1,27 @@
+# robotpkg Makefile for:	wip/hhsimulator
+# Created:			François Magimel on Thur, 16 Jul 2015
+
+VERSION=		0.7
+DISTNAME=		hhsimulator-${VERSION}
+MASTER_SITES=		https://redmine.laas.fr/attachments/download/149/
+MASTER_REPOSITORY=	git git://redmine.laas.fr/laas/users/simon/hyperholo/hhsimulateur.git
+
+CATEGORIES=		image simulation
+MAINTAINER=		openrobots@laas.fr
+HOMEPAGE=		https://redmine.laas.fr/projects/hhsimulateur
+COMMENT=		A simulateur for HyperHolo
+LICENSE=		2-clause-bsd
+
+PYDISTUTILSPKG=	yes
+NO_CONFIGURE=	yes
+
+DEPEND_ABI.opencv+=	opencv>=2.4
+DEPEND_ABI.python+=	python<3
+
+include ../../image/opencv/depend.mk
+include ../../mk/sysdep/py-matplotlib.mk
+include ../../mk/sysdep/py-numpy.mk
+include ../sysdep/py-scipy.mk
+#include ../../mk/sysdep/py-sphinx.mk
+include ../../mk/sysdep/python.mk
+include ../../mk/robotpkg.mk
diff --git a/hhsimulator/PLIST b/hhsimulator/PLIST
new file mode 100644
index 00000000..0a56a362
--- /dev/null
+++ b/hhsimulator/PLIST
@@ -0,0 +1,45 @@
+@comment Fri Sep 4 11:55:20 CEST 2015
+bin/hh_cubeUI.py
+bin/hh_maskUI.py
+bin/hh_simu.py
+${PYTHON_SITELIB}/${PKGNAME}-py${PYTHON_VERSION}.egg-info
+${PYTHON_SITELIB}/hhsimulator/__init__.py
+${PYTHON_SITELIB}/hhsimulator/cube.py
+${PYTHON_SITELIB}/hhsimulator/cubeUI.py
+${PYTHON_SITELIB}/hhsimulator/curseui.py
+${PYTHON_SITELIB}/hhsimulator/gene_cube.py
+${PYTHON_SITELIB}/hhsimulator/gene_mask.py
+${PYTHON_SITELIB}/hhsimulator/generator.py
+${PYTHON_SITELIB}/hhsimulator/imgconvert.py
+${PYTHON_SITELIB}/hhsimulator/main.py
+${PYTHON_SITELIB}/hhsimulator/mask.py
+${PYTHON_SITELIB}/hhsimulator/matlab2img.py
+${PYTHON_SITELIB}/hhsimulator/simu.py
+${PYTHON_SITELIB}/hhsimulator/test_interp.py
+${PYTHON_SITELIB}/hhsimulator/tools.py
+share/doc/hhsimulator/LICENSE
+share/doc/hhsimulator/Makefile
+share/doc/hhsimulator/README
+share/doc/hhsimulator/generate_module_doc.sh
+share/doc/hhsimulator/sample/letterF.m
+share/doc/hhsimulator/sample/letterF_big_white.m
+share/doc/hhsimulator/sample/letterF_color.m
+share/doc/hhsimulator/sample/letterF_dirac.m
+share/doc/hhsimulator/sample/rvb.m
+share/doc/hhsimulator/sample/simulator.ini
+share/doc/hhsimulator/source/cubeUI.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.cube.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.cubeUI.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.curseui.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.imgconvert.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.main.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.mask.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.matlab2img.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.simu.rst
+share/doc/hhsimulator/source/hhsimulator/hhsimulator.tools.rst
+share/doc/hhsimulator/source/hhsimulator/modules.rst
+share/doc/hhsimulator/source/index.rst
+share/doc/hhsimulator/source/maskUI.rst
+share/doc/hhsimulator/source/simulator.rst
+share/doc/hhsimulator/source/userguide.rst
diff --git a/hhsimulator/depend.mk b/hhsimulator/depend.mk
new file mode 100644
index 00000000..a7e20417
--- /dev/null
+++ b/hhsimulator/depend.mk
@@ -0,0 +1,27 @@
+# robotpkg depend.mk for:	wip/hhsimulator
+# Created:			François Magimel on Thur, 16 Jul 2015
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH}+
+HHSIMULATOR_DEPEND_MK:=	${HHSIMULATOR_DEPEND_MK}+
+
+ifeq (+,$(DEPEND_DEPTH))
+DEPEND_PKG+=		hhsimulator
+endif
+
+ifeq (+,$(HHSIMULATOR_DEPEND_MK)) # ----------------------------------------
+
+PREFER.hhsimulator?=	robotpkg
+
+DEPEND_USE+=		hhsimulator
+#DEPEND_ABI.py-hhsimulator?=	${PKGTAG.python}-hhsimulator>=1.0
+DEPEND_ABI.hhsimulator?=	hhsimulator
+DEPEND_DIR.hhsimulator?=	../../wip/hhsimulator
+
+SYSTEM_SEARCH.hhsimulator=\
+	'${PYTHON_SYSLIBSEARCH}/hhsimulator/__init__.py:/__version__/s/[^0-9.]//gp'
+
+include ../../mk/sysdep/python.mk
+
+endif # HHSIMULATOR_DEPEND_MK ----------------------------------------------
+
+DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/hhsimulator/distinfo b/hhsimulator/distinfo
new file mode 100644
index 00000000..39a99f2a
--- /dev/null
+++ b/hhsimulator/distinfo
@@ -0,0 +1,3 @@
+SHA1 (hhsimulator-0.7.tar.gz) = 41125b951ecac9133ea6905399e4d0fb0156c8c4
+RMD160 (hhsimulator-0.7.tar.gz) = f0c7b8cef2f6cbb86dfba69638784283b6ba68a1
+Size (hhsimulator-0.7.tar.gz) = 28556 bytes
-- 
GitLab