git: 9edebb7abdc1 - main - devel/bpython: Update to 0.22.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Nov 2021 18:27:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9edebb7abdc1fe2217d6ca610e22371ddaa85f51 commit 9edebb7abdc1fe2217d6ca610e22371ddaa85f51 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-11-21 18:19:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-11-21 18:19:05 +0000 devel/bpython: Update to 0.22.1 - Add EXAMPLES option Changes: https://github.com/bpython/bpython/releases https://github.com/bpython/bpython/blob/main/CHANGELOG.rst --- devel/bpython/Makefile | 23 +++++++++++++++++++---- devel/bpython/distinfo | 6 +++--- devel/bpython/pkg-plist | 3 +++ 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile index db75bf2bdbc6..849932c38872 100644 --- a/devel/bpython/Makefile +++ b/devel/bpython/Makefile @@ -1,7 +1,7 @@ # Created by: Yi-Jheng Lin <yzlin@FreeBSD.org> PORTNAME= bpython -PORTVERSION= 0.21 +PORTVERSION= 0.22.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP \ https://bpython-interpreter.org/releases/ @@ -15,22 +15,37 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3,1:textproc/py-sphinx@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curtsies>=0.3.5:devel/py-curtsies@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -OPTIONS_DEFINE= NLS +OPTIONS_DEFINE= EXAMPLES NLS OPTIONS_SUB= yes NLS_USES= gettext +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 30700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR} +.endif + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.cached-property>=0:devel/py-backports.cached-property@${PY_FLAVOR} +.endif + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ + ${INSTALL_DATA} ${WRKSRC}/theme/*.theme ${STAGEDIR}${EXAMPLESDIR}/ + post-install-NLS-on: .for lang in es_ES fr_FR it_IT nl_NL ${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ @@ -39,4 +54,4 @@ post-install-NLS-on: ${INSTALL_DATA} ${WRKSRC}/bpython/translations/${lang}/LC_MESSAGES/bpython.mo ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/ .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/bpython/distinfo b/devel/bpython/distinfo index 3287700d45bc..75e33f652042 100644 --- a/devel/bpython/distinfo +++ b/devel/bpython/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611856496 -SHA256 (bpython-0.21.tar.gz) = 88aa9b89974f6a7726499a2608fa7ded216d84c69e78114ab2ef996a45709487 -SIZE (bpython-0.21.tar.gz) = 208206 +TIMESTAMP = 1637072892 +SHA256 (bpython-0.22.1.tar.gz) = 1fb1e0a52332579fc4e3dcf75e21796af67aae2be460179ecfcce9530a49a200 +SIZE (bpython-0.22.1.tar.gz) = 217294 diff --git a/devel/bpython/pkg-plist b/devel/bpython/pkg-plist index 9182f6bf0548..e78ffc57fe92 100644 --- a/devel/bpython/pkg-plist +++ b/devel/bpython/pkg-plist @@ -1,3 +1,6 @@ +%%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