From 69643415f2e5c55dc4dbc43f03ec7bfc4d331ae3 Mon Sep 17 00:00:00 2001
From: Thomas Moulard <thomas.moulard@gmail.com>
Date: Wed, 8 Sep 2010 18:57:28 +0200
Subject: [PATCH] Move python-simpleparse to robotpkg, adapt robot-viewer
 dependency.

---
 python-simpleparse/DESCR     |  4 ----
 python-simpleparse/Makefile  | 45 ------------------------------------
 python-simpleparse/PLIST     |  0
 python-simpleparse/depend.mk | 43 ----------------------------------
 python-simpleparse/distinfo  |  3 ---
 robot-viewer/Makefile        |  2 +-
 6 files changed, 1 insertion(+), 96 deletions(-)
 delete mode 100644 python-simpleparse/DESCR
 delete mode 100644 python-simpleparse/Makefile
 delete mode 100644 python-simpleparse/PLIST
 delete mode 100644 python-simpleparse/depend.mk
 delete mode 100644 python-simpleparse/distinfo

diff --git a/python-simpleparse/DESCR b/python-simpleparse/DESCR
deleted file mode 100644
index 3d7a0aa0..00000000
--- a/python-simpleparse/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-SimpleParse is a BSD-licensed Python package providing a simple and
-fast parser generator using a modified version of the mxTextTools
-text-tagging engine. SimpleParse allows you to generate parsers
-directly from your EBNF grammar.
\ No newline at end of file
diff --git a/python-simpleparse/Makefile b/python-simpleparse/Makefile
deleted file mode 100644
index 1e2cae93..00000000
--- a/python-simpleparse/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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 and this list of conditions.
-#   2. Redistributions in binary form must  reproduce the above copyright
-#      notice  and this list of  conditions in the documentation   and/or
-#      other materials provided with the distribution.
-#
-#                                      Thomas Moulard on Mon Jun 07 2010
-#
-
-PKGNAME=		python-simpleparse-${VERSION}
-DISTNAME=		SimpleParse-${VERSION}
-VERSION=		2.1.1a2
-
-CATEGORIES=		scripts
-MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=simpleparse/simpleparse/${VERSION}/}
-MASTER_REPOSITORY=
-
-MAINTAINER=		mcfletch@vrplumber.com
-
-COMMENT= SimpleParse allows you to generate parsers directly from your	\
-EBNF grammar.
-
-USE_LANGUAGES=		c Python
-
-GNU_CONFIGURE=		no
-NO_CONFIGURE= 		yes
-
-include ../../mk/robotpkg.mk
-
-# Generate empty Makefile with targets RobotPkg expects.
-generate-dummmy-makefile:
-	echo -e "all install:\n\ttrue" > ${WRKSRC}/Makefile
-
-pre-build: generate-dummmy-makefile
-	cd ${WRKSRC} && python setup.py build
-
-pre-install:
-	cd ${WRKSRC} && python setup.py install --prefix ${PREFIX}
diff --git a/python-simpleparse/PLIST b/python-simpleparse/PLIST
deleted file mode 100644
index e69de29b..00000000
diff --git a/python-simpleparse/depend.mk b/python-simpleparse/depend.mk
deleted file mode 100644
index 4abd2874..00000000
--- a/python-simpleparse/depend.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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 and this list of conditions.
-#   2. Redistributions in binary form must reproduce the above copyright
-#      notice and  this list of  conditions in the  documentation and/or
-#      other materials provided with the distribution.
-#
-#                                      Thomas Moulard on Mon Jun 07 2010
-#
-
-DEPEND_DEPTH:=			${DEPEND_DEPTH}+
-PYTHON_SIMPLEPARSE_DEPEND_MK:=	${PYTHON_SIMPLEPARSE_DEPEND_MK}+
-
-ifeq (+,$(DEPEND_DEPTH))
-DEPEND_PKG+=		python-simpleparse
-endif
-
-ifeq (+,$(PYTHON_SIMPLEPARSE_DEPEND_MK)) # --------------------------------------
-
-PREFER.python-simpleparse?=	robotpkg
-
-DEPEND_USE+=			python-simpleparse
-
-DEPEND_ABI.python-simpleparse?=	python-simpleparse>=2.1.1
-DEPEND_DIR.python-simpleparse?=	../../wip/python-simpleparse
-
-#SYSTEM_PKG.Linux-fedora.libpng=
-SYSTEM_PKG.Linux-ubuntu.libpng=	python-simpleparse
-#SYSTEM_PKG.Linux-debian.libpng=
-#SYSTEM_PKG.NetBSD.libpng=
-
-SYSTEM_SEARCH.python-simpleparse=		\
-	'lib/python*/site-packages/SimpleParse-*.egg/simpleparse/__init__.py'
-
-endif # PYTHON_SIMPLEPARSE_DEPEND_MK --------------------------------------------
-
-DEPEND_DEPTH:=		${DEPEND_DEPTH:+=}
diff --git a/python-simpleparse/distinfo b/python-simpleparse/distinfo
deleted file mode 100644
index 9b9c8556..00000000
--- a/python-simpleparse/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-SHA1 (SimpleParse-2.1.1a2.tar.gz) = d5c53e57eb90cfa32be30799b52857b4ae3f158f
-RMD160 (SimpleParse-2.1.1a2.tar.gz) = 3edea7ddf714d77549785b4f64f94001eac1ce45
-Size (SimpleParse-2.1.1a2.tar.gz) = 207821 bytes
diff --git a/robot-viewer/Makefile b/robot-viewer/Makefile
index d795f7d9..ac5a8e99 100644
--- a/robot-viewer/Makefile
+++ b/robot-viewer/Makefile
@@ -30,7 +30,7 @@ USE_LANGUAGES=		Python
 GNU_CONFIGURE=		no
 NO_CONFIGURE= 		yes
 
-include ../../wip/python-simpleparse/depend.mk
+include ../../devel/python-simpleparse/depend.mk
 include ../../wip/mk/sysdep/pyopengl.mk
 include ../../wip/mk/sysdep/python-sphinx.mk
 include ../../mk/robotpkg.mk
-- 
GitLab