Update to 0.21

- Remove EXAMPLES option temporarily: upstream forgot to pack themes [1] after moving them to a subdirectory [2]

Changes:	https://github.com/bpython/bpython/releases
		https://github.com/bpython/bpython/blob/master/CHANGELOG
Reference:	5c45d9463f [1]
		165f3cc4d8 [2]
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-01-30 12:18:49 +00:00
parent 7572ffc783
commit 6c25a71544
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563295
3 changed files with 8 additions and 15 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bpython
PORTVERSION= 0.20.1
PORTVERSION= 0.21
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
https://bpython-interpreter.org/releases/
@ -15,27 +15,23 @@ LICENSE= MIT
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.0:devel/py-curtsies@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curtsies>=0.3.5:devel/py-curtsies@${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}six>=1.5:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}cwcwidth>=0:devel/py-cwcwidth@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= EXAMPLES NLS
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/*.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/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1605426339
SHA256 (bpython-0.20.1.tar.gz) = 6e7738806013b469be57b0117082b9c4557ed7c92c70ceb79f96d674d89c7503
SIZE (bpython-0.20.1.tar.gz) = 223953
TIMESTAMP = 1611856496
SHA256 (bpython-0.21.tar.gz) = 88aa9b89974f6a7726499a2608fa7ded216d84c69e78114ab2ef996a45709487
SIZE (bpython-0.21.tar.gz) = 208206

View file

@ -1,6 +1,3 @@
%%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