- Update to version 3.11.4
PR: 188865 Submitted by: Ports Fury
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= drpython
|
||||
PORTVERSION= 3.11.3
|
||||
PORTREVISION= 4
|
||||
PORTVERSION= 3.11.4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
|
||||
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
|
||||
@@ -14,26 +13,43 @@ COMMENT= Highly customizable cross-platform ide to aid programming in Python
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/DrPython
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
|
||||
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
||||
|
||||
NO_ARCH= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
USES= zip
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= easy_install
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
PYDISTUTILS_PKGNAME= DrPython
|
||||
USE_WX= 2.6+
|
||||
USE_WX= 2.8
|
||||
WX_COMPS= python:lib
|
||||
|
||||
DESKTOP_ENTRIES= "DrPython" "Python editor and IDE" \
|
||||
"${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \
|
||||
"drpython" "Development;IDE;" "false"
|
||||
|
||||
PLIST_FILES= bin/drpython
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
DESKTOP_ENTRIES="DrPython" "Python editor and IDE" \
|
||||
"${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \
|
||||
"drpython" "Development;IDE;" ""
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/postinst.py/d' ${WRKSRC}/setup.py
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|firefox|xdg-open|' ${WRKSRC}/drPreferences.py
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html)
|
||||
@(cd ${WRKSRC}/docsrc/_build/html && ${CP} -f *.html *.js \
|
||||
${WRKSRC}/documentation)
|
||||
|
||||
post-build:
|
||||
@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
|
||||
@${ECHO_CMD} 'exec ${PYTHON_CMD} -m drpython.drpython' >> ${WRKDIR}/drpython.sh
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython
|
||||
|
||||
post-install:
|
||||
(cd ${WRKDIR} && ${INSTALL_SCRIPT} drpython.sh \
|
||||
${STAGEDIR}${PREFIX}/bin/drpython)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (DrPython_3.11.3.zip) = 62672a0a25a60f8efa976b2329108e129c7b1977b1e4975b46607dd61cf80f48
|
||||
SIZE (DrPython_3.11.3.zip) = 636799
|
||||
SHA256 (DrPython_3.11.4.zip) = 37a2e4873fb6accd1145f89518db101458c2f43fbc3ea7cf3e2de446bf353f42
|
||||
SIZE (DrPython_3.11.4.zip) = 824982
|
||||
|
||||
11
devel/drpython/files/patch-drToolBarDialog.py
Normal file
11
devel/drpython/files/patch-drToolBarDialog.py
Normal file
@@ -0,0 +1,11 @@
|
||||
--- drToolBarDialog.py.orig
|
||||
+++ drToolBarDialog.py
|
||||
@@ -36,7 +36,7 @@
|
||||
text = f.read()
|
||||
f.close()
|
||||
except:
|
||||
- drScrolledMessageDialog.ShowMessage(frame, "File error with: '" + filename + "".", "ERROR")
|
||||
+ drScrolledMessageDialog.ShowMessage(frame, "File error with: '" + filename + "'.", "ERROR")
|
||||
return []
|
||||
|
||||
# modified 22/10/2006 Jean-Pierre MANDON
|
||||
@@ -1,10 +0,0 @@
|
||||
--- setup.py.orig 2008-02-25 16:48:04.000000000 +0900
|
||||
+++ setup.py 2008-06-13 02:15:11.000000000 +0900
|
||||
@@ -93,6 +93,5 @@
|
||||
license = 'GPL',
|
||||
packages=[ MY_NAME ],
|
||||
package_dir={ MY_NAME : '.' },
|
||||
- package_data={ MY_NAME : DATA },
|
||||
- scripts=['postinst.py'],
|
||||
+ package_data={ MY_NAME : DATA }
|
||||
)
|
||||
@@ -1,5 +1,5 @@
|
||||
DrPython is a highly customizable, extensible editor/environment for developing
|
||||
programs written in the Python programming Language. It is implemented in
|
||||
wxPython.
|
||||
DrPython is a highly customizable, extensible editor/environment for
|
||||
developing programs written in the Python programming Language. It is
|
||||
implemented in wxPython.
|
||||
|
||||
WWW: http://drpython.sourceforge.net/
|
||||
|
||||
Reference in New Issue
Block a user