svn commit: r401887 - branches/2015Q4/editors/leo
Ruslan Makhmatkhanov
rm at FreeBSD.org
Wed Nov 18 18:26:13 UTC 2015
Author: rm
Date: Wed Nov 18 18:26:11 2015
New Revision: 401887
URL: https://svnweb.freebsd.org/changeset/ports/401887
Log:
MFH: r401886
editors/leo: fix runtime
- fix runtime
- limit to python 2.x, because port's dependency textproc/silvercity
fails to build with python3
- bump PORTREVISION because of package change
PR: 200920
Submitted by: Michael Krauss <hippodriver at codunix.org>
Approved by: portmgr (blanket)
Modified:
branches/2015Q4/editors/leo/Makefile
branches/2015Q4/editors/leo/pkg-descr
Directory Properties:
branches/2015Q4/ (props changed)
Modified: branches/2015Q4/editors/leo/Makefile
==============================================================================
--- branches/2015Q4/editors/leo/Makefile Wed Nov 18 18:24:18 2015 (r401886)
+++ branches/2015Q4/editors/leo/Makefile Wed Nov 18 18:26:11 2015 (r401887)
@@ -3,7 +3,7 @@
PORTNAME= leo
PORTVERSION= 5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors python
MASTER_SITES= SF/${PORTNAME}/Leo/${PORTVERSION}-final
DISTNAME= Leo-${PORTVERSION}-final
@@ -23,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqli
NO_ARCH= yes
-USES= python shebangfix zip
+USES= python:2 shebangfix zip
SHEBANG_FILES= leo/doc/html/fixup.pl leo/external/saveleo
USE_PYTHON= autoplist distutils
@@ -35,4 +35,8 @@ OPTIONS_DEFINE= DOCS PYENCHANT
PYENCHANT_DESC= Spell checking support via PyEnchant
PYENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>0:${PORTSDIR}/textproc/py-enchant
+post-install:
+ @${REINPLACE_CMD} -e 's,===,==,' ${STAGEDIR}${PREFIX}/bin/leo \
+ ${STAGEDIR}${PREFIX}/bin/leoc
+
.include <bsd.port.mk>
Modified: branches/2015Q4/editors/leo/pkg-descr
==============================================================================
--- branches/2015Q4/editors/leo/pkg-descr Wed Nov 18 18:24:18 2015 (r401886)
+++ branches/2015Q4/editors/leo/pkg-descr Wed Nov 18 18:26:11 2015 (r401887)
@@ -17,6 +17,6 @@
* Leo is portable. Leo.py is 100% pure Python and will run on any
platform supporting Python and PyQt, including Windows, Linux and
MacOS X.
-* Leo is Open Software, distributed under the Python License.
+* Leo is Open Software, distributed under the Python License.
WWW: http://leoeditor.com/
More information about the svn-ports-all
mailing list