Index: head/misc/py-powerline-status/Makefile =================================================================== --- head/misc/py-powerline-status/Makefile (revision 561827) +++ head/misc/py-powerline-status/Makefile (revision 561828) @@ -1,22 +1,44 @@ # $FreeBSD$ PORTNAME= powerline-status -PORTVERSION= 2.7 +PORTVERSION= 2.8.1 CATEGORIES= misc python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= swills@FreeBSD.org COMMENT= Statusline plugin for vim, zsh, bash, and more +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/docs/source/license-and-credits.rst + USES= python:3.6+ shebangfix -USE_PYTHON= distutils autoplist -SHEBANG_FILES= powerline/bindings/i3/powerline-i3.py \ + +OPTIONS_DEFINE= DOCS + +USE_PYTHON= autoplist distutils + +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} + +SHEBANG_FILES= powerline/bindings/awesome/powerline-awesome.py \ powerline/bindings/bar/powerline-bar.py \ - powerline/bindings/lemonbar/powerline-lemonbar.py \ - powerline/bindings/awesome/powerline-awesome.py + powerline/bindings/i3/powerline-i3.py \ + powerline/bindings/lemonbar/powerline-lemonbar.py + +USE_GITHUB= yes +GH_ACCOUNT= powerline +GH_PROJECT= powerline + +do-build-DOCS-on: + @make -C ${WRKSRC}/docs man html + +do-install-DOCS-on: +.for file in powerline.1 powerline-daemon.1 powerline-lint.1 powerline-config.1 + ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${file} ${STAGEDIR}${MAN1PREFIX}/man/man1 +.endfor + cd ${WRKSRC}/docs/_build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/powerline .include Index: head/misc/py-powerline-status/distinfo =================================================================== --- head/misc/py-powerline-status/distinfo (revision 561827) +++ head/misc/py-powerline-status/distinfo (revision 561828) @@ -1,3 +1,3 @@ -TIMESTAMP = 1537569483 -SHA256 (powerline-status-2.7.tar.gz) = 8c7e7da45beb2332bc8226b166b732ef70db2cb0a1f3f0fdc3c539115522ecb6 -SIZE (powerline-status-2.7.tar.gz) = 233726 +TIMESTAMP = 1609304473 +SHA256 (powerline-powerline-2.8.1_GH0.tar.gz) = a4f36ad9d88a6c90b82427d574c8b5518b3c8b11b6eaf38acf2336064c63565d +SIZE (powerline-powerline-2.8.1_GH0.tar.gz) = 363814 Index: head/misc/py-powerline-status/files/patch-powerline_version.py =================================================================== --- head/misc/py-powerline-status/files/patch-powerline_version.py (nonexistent) +++ head/misc/py-powerline-status/files/patch-powerline_version.py (revision 561828) @@ -0,0 +1,13 @@ +--- powerline/version.py.orig 2021-01-17 14:39:35 UTC ++++ powerline/version.py +@@ -7,9 +7,5 @@ from traceback import print_exc + __version__ = "2.8.1" + + def get_version(): +- try: +- return __version__ + '.dev9999+git.' + str(subprocess.check_output(['git', 'rev-parse', 'HEAD']).strip()) +- except Exception: +- print_exc() +- return __version__ ++ return __version__ + Property changes on: head/misc/py-powerline-status/files/patch-powerline_version.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/py-powerline-status/pkg-message =================================================================== --- head/misc/py-powerline-status/pkg-message (nonexistent) +++ head/misc/py-powerline-status/pkg-message (revision 561828) @@ -0,0 +1,32 @@ +[ +{ type: install + message: <