Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2015 18:24:18 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r401886 - head/editors/leo
Message-ID:  <201511181824.tAIIOIJ5015850@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Nov 18 18:24:18 2015
New Revision: 401886
URL: https://svnweb.freebsd.org/changeset/ports/401886

Log:
  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@codunix.org>

Modified:
  head/editors/leo/Makefile
  head/editors/leo/pkg-descr

Modified: head/editors/leo/Makefile
==============================================================================
--- head/editors/leo/Makefile	Wed Nov 18 18:20:01 2015	(r401885)
+++ head/editors/leo/Makefile	Wed Nov 18 18:24:18 2015	(r401886)
@@ -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: head/editors/leo/pkg-descr
==============================================================================
--- head/editors/leo/pkg-descr	Wed Nov 18 18:20:01 2015	(r401885)
+++ head/editors/leo/pkg-descr	Wed Nov 18 18:24:18 2015	(r401886)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511181824.tAIIOIJ5015850>