Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2019 20:05:46 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498311 - head/devel/bpython
Message-ID:  <201904072005.x37K5keY049086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Apr  7 20:05:45 2019
New Revision: 498311
URL: https://svnweb.freebsd.org/changeset/ports/498311

Log:
  Update to 0.18
  
  - Add DESKTOP and MANPAGES options
  - Convert to options target helper
  
  Changes:	https://github.com/bpython/bpython/releases
  		https://github.com/bpython/bpython/blob/master/CHANGELOG

Modified:
  head/devel/bpython/Makefile
  head/devel/bpython/distinfo
  head/devel/bpython/pkg-plist

Modified: head/devel/bpython/Makefile
==============================================================================
--- head/devel/bpython/Makefile	Sun Apr  7 20:05:40 2019	(r498310)
+++ head/devel/bpython/Makefile	Sun Apr  7 20:05:45 2019	(r498311)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bpython
-PORTVERSION=	0.17.1
+PORTVERSION=	0.18
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP \
 		https://bpython-interpreter.org/releases/
@@ -14,7 +14,7 @@ COMMENT=	Fancy interface to the Python interpreter
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curtsies>=0.1.18:devel/py-curtsies@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \
@@ -24,29 +24,22 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curtsies>=0.1.18:d
 OPTIONS_DEFINE=	EXAMPLES NLS
 OPTIONS_SUB=	yes
 
-NO_ARCH=	yes
-USE_PYTHON=	autoplist concurrent distutils
 USES=		python
+USE_PYTHON=	autoplist concurrent distutils
 
-PORTEXAMPLES=	light.theme sample.theme
+NO_ARCH=	yes
 
-NLS_USES=		gettext
+NLS_USES=	gettext
 
-post-patch:
-	@${REINPLACE_CMD} -e '/build\/man\/bpython/d; /data\/bpython.desktop/d' ${WRKSRC}/setup.py
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/build/man/bpython.1 ${STAGEDIR}${PREFIX}/man/man1/
-	${INSTALL_MAN} ${WRKSRC}/build/man/bpython-config.5 ${STAGEDIR}${PREFIX}/man/man5/
-	${INSTALL_DATA} ${WRKSRC}/data/bpython.desktop ${STAGEDIR}${DESKTOPDIR}/
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
+	${INSTALL_DATA} ${WRKSRC}/*.theme ${STAGEDIR}${EXAMPLESDIR}/
 
 post-install-NLS-on:
-.for lang in it_IT nl_NL
+.for lang in es_ES fr_FR it_IT nl_NL
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
 .endfor
-.for lang in de es_ES it_IT nl_NL
+.for lang in de es_ES fr_FR it_IT nl_NL
 	${INSTALL_DATA} ${WRKSRC}/bpython/translations/${lang}/LC_MESSAGES/bpython.mo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/
 .endfor
 

Modified: head/devel/bpython/distinfo
==============================================================================
--- head/devel/bpython/distinfo	Sun Apr  7 20:05:40 2019	(r498310)
+++ head/devel/bpython/distinfo	Sun Apr  7 20:05:45 2019	(r498311)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518536882
-SHA256 (bpython-0.17.1.tar.gz) = 8907c510bca3c4d9bc0a157279bdc5e3b739cc68c0f247167279b6fe4becb02f
-SIZE (bpython-0.17.1.tar.gz) = 213638
+TIMESTAMP = 1554399104
+SHA256 (bpython-0.18.tar.gz) = 56cc20dbe568c98c81de4990fddf5862c0d8d3ab0ad1cf7057988abc5f7686c2
+SIZE (bpython-0.18.tar.gz) = 213321

Modified: head/devel/bpython/pkg-plist
==============================================================================
--- head/devel/bpython/pkg-plist	Sun Apr  7 20:05:40 2019	(r498310)
+++ head/devel/bpython/pkg-plist	Sun Apr  7 20:05:45 2019	(r498311)
@@ -1,7 +1,8 @@
-man/man1/bpython.1.gz
-man/man5/bpython-config.5.gz
-share/applications/bpython.desktop
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/light.theme
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample.theme
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/windows.theme
 %%NLS%%share/locale/de/LC_MESSAGES/bpython.mo
 %%NLS%%share/locale/es_ES/LC_MESSAGES/bpython.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/bpython.mo
 %%NLS%%share/locale/it_IT/LC_MESSAGES/bpython.mo
 %%NLS%%share/locale/nl_NL/LC_MESSAGES/bpython.mo



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