View | Details | Raw Unified | Return to bug 188865
Collapse All | Expand All

(-)devel/drpython/Makefile (-11 / +27 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/devel/drpython/Makefile 347809 2014-03-10 20:55:20Z gerald $
2
# $FreeBSD: head/devel/drpython/Makefile 347809 2014-03-10 20:55:20Z gerald $
3
3
4
PORTNAME=	drpython
4
PORTNAME=	drpython
5
PORTVERSION=	3.11.3
5
PORTVERSION=	3.11.4
6
PORTREVISION=	4
7
CATEGORIES=	devel python
6
CATEGORIES=	devel python
8
MASTER_SITES=	SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION}
9
PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
8
PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
Lines 14-39 Link Here
14
13
15
LICENSE=	GPLv2
14
LICENSE=	GPLv2
16
15
17
WRKSRC=		${WRKDIR}/DrPython
16
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
17
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils
18
19
NO_ARCH=	yes
20
WRKSRC=		${WRKDIR}/${PORTNAME}
18
21
19
USES=		zip
22
USES=		zip
20
USE_PYTHON=	yes
23
USE_PYTHON=	yes
21
USE_PYDISTUTILS=	easy_install
24
USE_PYDISTUTILS=	easy_install
22
PYDISTUTILS_AUTOPLIST=	yes
25
PYDISTUTILS_AUTOPLIST=	yes
23
PYDISTUTILS_PKGNAME=	DrPython
26
PYDISTUTILS_PKGNAME=	DrPython
24
USE_WX=		2.6+
27
USE_WX=		2.8
25
WX_COMPS=	python:lib
28
WX_COMPS=	python:lib
26
29
27
DESKTOP_ENTRIES=	"DrPython" "Python editor and IDE" \
28
			"${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \
29
			"drpython" "Development;IDE;" "false"
30
31
PLIST_FILES=	bin/drpython
30
PLIST_FILES=	bin/drpython
32
31
33
NO_STAGE=	yes
32
DESKTOP_ENTRIES="DrPython" "Python editor and IDE" \
34
post-install:
33
		"${PYTHONPREFIX_SITELIBDIR}/drpython/bitmaps/drpython.png" \
34
		"drpython" "Development;IDE;" ""
35
36
post-patch:
37
	@${REINPLACE_CMD} -e \
38
		'/postinst.py/d' ${WRKSRC}/setup.py
39
	@${REINPLACE_CMD} -e \
40
		's|firefox|xdg-open|' ${WRKSRC}/drPreferences.py
41
42
pre-build:
43
	@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html)
44
	@(cd ${WRKSRC}/docsrc/_build/html && ${CP} -f *.html *.js \
45
		${WRKSRC}/documentation)
46
47
post-build:
35
	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
48
	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/drpython.sh
36
	@${ECHO_CMD} 'exec ${PYTHON_CMD} -m drpython.drpython' >> ${WRKDIR}/drpython.sh
49
	@${ECHO_CMD} 'exec ${PYTHON_CMD} -m drpython.drpython' >> ${WRKDIR}/drpython.sh
37
	${INSTALL_SCRIPT} ${WRKDIR}/drpython.sh ${PREFIX}/bin/drpython
50
51
post-install:
52
	(cd ${WRKDIR} && ${INSTALL_SCRIPT} drpython.sh \
53
		${STAGEDIR}${PREFIX}/bin/drpython)
38
54
39
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)devel/drpython/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (DrPython_3.11.3.zip) = 62672a0a25a60f8efa976b2329108e129c7b1977b1e4975b46607dd61cf80f48
1
SHA256 (DrPython_3.11.4.zip) = 37a2e4873fb6accd1145f89518db101458c2f43fbc3ea7cf3e2de446bf353f42
2
SIZE (DrPython_3.11.3.zip) = 636799
2
SIZE (DrPython_3.11.4.zip) = 824982
(-)devel/drpython/files/patch-drToolBarDialog.py (+11 lines)
Line 0 Link Here
1
--- drToolBarDialog.py.orig
2
+++ drToolBarDialog.py
3
@@ -36,7 +36,7 @@
4
         text = f.read()
5
         f.close()
6
     except:
7
-        drScrolledMessageDialog.ShowMessage(frame, "File error with: '" + filename + "".", "ERROR")
8
+        drScrolledMessageDialog.ShowMessage(frame, "File error with: '" + filename + "'.", "ERROR")
9
         return []
10
 
11
         # modified 22/10/2006 Jean-Pierre MANDON
(-)devel/drpython/files/patch-setup.py (-10 lines)
Lines 1-10 Link Here
1
--- setup.py.orig	2008-02-25 16:48:04.000000000 +0900
2
+++ setup.py	2008-06-13 02:15:11.000000000 +0900
3
@@ -93,6 +93,5 @@
4
     license = 'GPL',
5
     packages=[ MY_NAME ],
6
     package_dir={ MY_NAME : '.' },
7
-    package_data={ MY_NAME : DATA },
8
-    scripts=['postinst.py'],
9
+    package_data={ MY_NAME : DATA }
10
 )
(-)devel/drpython/pkg-descr (-3 / +3 lines)
Lines 1-5 Link Here
1
DrPython is a highly customizable, extensible editor/environment for developing
1
DrPython is a highly customizable, extensible editor/environment for
2
programs written in the Python programming Language.  It is implemented in
2
developing programs written in the Python programming Language. It is
3
wxPython.
3
implemented in wxPython.
4
4
5
WWW: http://drpython.sourceforge.net/
5
WWW: http://drpython.sourceforge.net/

Return to bug 188865