Skip to content
Snippets Groups Projects
Commit 69643415 authored by Thomas Moulard's avatar Thomas Moulard
Browse files

Move python-simpleparse to robotpkg, adapt robot-viewer dependency.

parent 00992d57
No related branches found
No related tags found
No related merge requests found
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
# 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}
# 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:+=}
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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment