mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 0.8.4.h
- Remove USE_PYDISTUTILS=yes - Remove files/patch-_spe-Child.py
This commit is contained in:
parent
e001236097
commit
5549077c3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216235
@ -6,32 +6,49 @@
|
||||
#
|
||||
|
||||
PORTNAME= SPE
|
||||
PORTVERSION= 0.8.3.c
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.8.4.h
|
||||
#PORTREVISION= 0
|
||||
CATEGORIES= editors devel python
|
||||
MASTER_SITES= ${MASTER_SITE_BERLIOS}
|
||||
MASTER_SITE_SUBDIR= python
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-wx2.6.1.0
|
||||
DISTNAME= ${PORTNAME:L}-${PORTVERSION}-wx2.6.1.0
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Stani's Python Editor
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_WX= 2.6
|
||||
WANT_UNICODE= yes
|
||||
WX_COMPS= python
|
||||
|
||||
OPTIONS= ENCRYPTED_DEBUG "Enable encrypted debug in SPE" off
|
||||
|
||||
SPEDOCS= ${PYTHON_SITELIBDIR}/_${PORTNAME:L}/doc
|
||||
SPEXAMPLES= ${PYTHON_SITELIBDIR}/_${PORTNAME:L}/examples
|
||||
WINSCRIPT= spe_wininst.py
|
||||
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
|
||||
|
||||
LN_OPTS= -sf
|
||||
RM_OPTS= -R
|
||||
|
||||
post-install:
|
||||
DESKTOP_ENTRIES= "SPE (Stani's Python Editor)" \
|
||||
"Integrated Python Development Environment" \
|
||||
"${DATADIR}/_spe/images/spe.png" \
|
||||
"spe" \
|
||||
"Development;IDE;Debugger;GUIDesigner;" \
|
||||
true
|
||||
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
|
||||
|
||||
# documentation
|
||||
.if !defined (NOPORTDOCS)
|
||||
@${MV} ${SPEDOCS} ${DOCSDIR} && \
|
||||
@ -40,10 +57,16 @@ post-install:
|
||||
@${RM} ${RM_OPTS} ${SPEDOCS}
|
||||
.endif
|
||||
# examples
|
||||
.if !defined (NOPORTEXAMPLES)
|
||||
@${MV} ${SPEXAMPLES} ${EXAMPLESDIR} && \
|
||||
${LN} ${LN_OPTS} ${EXAMPLESDIR} ${SPEXAMPLES}
|
||||
# rm Windows script
|
||||
@${RM} ${PREFIX}/bin/${WINSCRIPT}
|
||||
.else
|
||||
@${RM} ${RM_OPTS} ${SPEXAMPLES}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@cd ${DATADIR}/_spe && \
|
||||
${CHMOD} ${BINMODE} ${SPESCRIPTS}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (SPE-0.8.3.c-wx2.6.1.0.tar.gz) = 40683a8d8c00beabf41973bc6fb846d4
|
||||
SHA256 (SPE-0.8.3.c-wx2.6.1.0.tar.gz) = 82e193eb778e04008eb32c0ac4de36ad5cd2718b9a11b0fb0163a8d074d9b14e
|
||||
SIZE (SPE-0.8.3.c-wx2.6.1.0.tar.gz) = 870359
|
||||
MD5 (spe-0.8.4.h-wx2.6.1.0.tar.gz) = 55230b8b643b273912a1d6c3163cca27
|
||||
SHA256 (spe-0.8.4.h-wx2.6.1.0.tar.gz) = e43d42c42d0f716fa7e6e4430295471786611873e47b39dfe2593f8aa2dc1576
|
||||
SIZE (spe-0.8.4.h-wx2.6.1.0.tar.gz) = 1210145
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- _spe/Child.py Thu Jan 26 04:58:19 2006
|
||||
+++ _spe/Child.py.port Thu Jan 11 22:50:43 2007
|
||||
@@ -526,14 +526,14 @@
|
||||
elif os.path.isfile('/usr/bin/gnome-terminal'):
|
||||
os.system('/usr/bin/gnome-terminal --title SPE --working-directory="%(path)s" &')
|
||||
else:
|
||||
- os.system('cd %(path)s;xterm &')
|
||||
+ os.system('cd %s;xterm &' %(path))
|
||||
else:
|
||||
os.system(terminal%params)
|
||||
|
||||
def run(self):
|
||||
if not self.confirmSave():
|
||||
return
|
||||
- from _spe.dialogs.runTerminalDialog import RunTerminalDialog
|
||||
+ from _spe.dialogs.RunTerminalDialog import RunTerminalDialog
|
||||
runTerminalDialog = RunTerminalDialog(self.fileName,
|
||||
self.argumentsPrevious,
|
||||
self.inspectPrevious,
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user