2013-03-26 08:28:58 +01:00
|
|
|
# Created by: Nicola Vitale <nivit@email.it>
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= SPE
|
2008-07-03 15:29:46 +02:00
|
|
|
PORTVERSION= 0.8.4.h
|
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #14669: Fixed extraction of CC from gmp.h.
- Fixed case of intermediate zero real or imaginary part in mpc_fma,
found by hydra with GMP_CHECK_RANDOMIZE=1346362345.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
- Removed compatibility with K&R compilers, which was untestable due
to lack of such compilers.
- New functions
. mpc_log10
. mpc_mul_2si, mpc_div_2si
- Speed-ups
. mpc_fma
- Bug fixes
. mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions.
. mpc_mul, mpc_sqr and mpc_norm now return correct results even if
there are over- or underflows during the computation.
. mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected.
. mpc_fr_sub: Wrong return value for imaginary part is corrected.
Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.
Bump PORTREVISIONS of all dependent ports.
PR: 183141
Approved by: portmgr (bdrewery)
2013-10-26 02:52:33 +02:00
|
|
|
PORTREVISION= 5
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
CATEGORIES= editors devel python
|
2006-08-07 14:53:51 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
|
|
|
MASTER_SITE_SUBDIR= python
|
2008-07-03 15:29:46 +02:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}-wx2.6.1.0
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
|
2006-12-10 02:21:51 +01:00
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
COMMENT= Stani's Python Editor
|
|
|
|
|
2008-07-03 15:29:46 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
USE_PYTHON= yes
|
2006-12-01 08:39:02 +01:00
|
|
|
USE_WX= 2.6
|
2007-01-12 23:29:06 +01:00
|
|
|
WANT_UNICODE= yes
|
2006-12-01 08:39:02 +01:00
|
|
|
WX_COMPS= python
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
|
2013-03-26 08:28:58 +01:00
|
|
|
OPTIONS_DEFINE= ENCRYPTED_DEBUG DOCS EXAMPLES
|
|
|
|
ENCRYPTED_DEBUG_DESC= Enable encrypted debug in SPE
|
2005-12-05 19:28:40 +01:00
|
|
|
|
2008-07-03 15:29:46 +02:00
|
|
|
REINPLACE_ARGS= -i.bak -E -e "1s,^(\#!.* )python$$,\1 -S PYTHONPATH=${DATADIR} ${PYTHON_CMD},1"
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME:L}-${PORTVERSION}
|
|
|
|
SPEDOCS= ${DATADIR}/_spe/doc
|
|
|
|
SPEXAMPLES= ${DATADIR}/_spe/examples
|
|
|
|
SPESCRIPTS= spe SPE.py SPE_DEBUG.py
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
|
|
|
|
LN_OPTS= -sf
|
|
|
|
RM_OPTS= -R
|
|
|
|
|
2008-07-03 15:29:46 +02:00
|
|
|
DESKTOP_ENTRIES= "SPE (Stani's Python Editor)" \
|
|
|
|
"Integrated Python Development Environment" \
|
|
|
|
"${DATADIR}/_spe/images/spe.png" \
|
|
|
|
"spe" \
|
|
|
|
"Development;IDE;Debugger;GUIDesigner;" \
|
|
|
|
true
|
2013-03-26 08:28:58 +01:00
|
|
|
|
2013-09-20 18:36:23 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-26 08:28:58 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MENCRYPTED_DEBUG}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
|
|
|
|
.endif
|
|
|
|
|
2008-07-03 15:29:46 +02:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}/_spe && ${REINPLACE_CMD} ${SPESCRIPTS} && ${RM} ${RM_OPTS} *.bak
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} _spe ${DATADIR} && \
|
|
|
|
${LN} ${LN_OPTS} ${DATADIR}/_spe/spe ${PREFIX}/bin/spe
|
|
|
|
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
# documentation
|
2013-03-26 08:28:58 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
@${MV} ${SPEDOCS} ${DOCSDIR} && \
|
|
|
|
${LN} ${LN_OPTS} ${DOCSDIR} ${SPEDOCS}
|
|
|
|
.else
|
|
|
|
@${RM} ${RM_OPTS} ${SPEDOCS}
|
|
|
|
.endif
|
|
|
|
# examples
|
2013-03-26 11:03:49 +01:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
@${MV} ${SPEXAMPLES} ${EXAMPLESDIR} && \
|
|
|
|
${LN} ${LN_OPTS} ${EXAMPLESDIR} ${SPEXAMPLES}
|
2008-07-03 15:29:46 +02:00
|
|
|
.else
|
|
|
|
@${RM} ${RM_OPTS} ${SPEXAMPLES}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${DATADIR}/_spe && \
|
|
|
|
${CHMOD} ${BINMODE} ${SPESCRIPTS}
|
[NEW PORT] devel/SPE: Stani's Python Editor
Spe is a free python IDE with auto indentation & completion,
call tips, syntax coloring & highlighting, UML diagrams,
class explorer, source index, auto todo list, sticky notes,
pycrust shell, file browsers, drag&drop, context help,
Blender support, ... Spe ships with Python debugger (remote
& encrypted), wxGlade (gui designer), PyChecker (source
code doctor) and Kiki (regex console)
Author: Stani Michiels
WWW: http://www.stani.be/python/spe/blog/
PR: ports/87337
Submitted by: nivit@email.it (Nicola Vitale)
2005-11-24 01:11:05 +01:00
|
|
|
|
2013-03-26 08:28:58 +01:00
|
|
|
.include <bsd.port.mk>
|