Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 15:15:35 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561828 - in head/misc/py-powerline-status: . files
Message-ID:  <202101171515.10HFFZrJ005286@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 17 15:15:34 2021
New Revision: 561828
URL: https://svnweb.freebsd.org/changeset/ports/561828

Log:
  misc/py-powerline-status: Update to 2.8.1 [1]
  
  While here, add docs
  
  PR:		252544 [1]
  Submitted by:	Newton Terry <newton.ja.terry@gmail.com> [1]

Added:
  head/misc/py-powerline-status/files/
  head/misc/py-powerline-status/files/patch-powerline_version.py   (contents, props changed)
  head/misc/py-powerline-status/pkg-message   (contents, props changed)
  head/misc/py-powerline-status/pkg-plist   (contents, props changed)
Modified:
  head/misc/py-powerline-status/Makefile   (contents, props changed)
  head/misc/py-powerline-status/distinfo   (contents, props changed)

Modified: head/misc/py-powerline-status/Makefile
==============================================================================
--- head/misc/py-powerline-status/Makefile	Sun Jan 17 14:51:57 2021	(r561827)
+++ head/misc/py-powerline-status/Makefile	Sun Jan 17 15:15:34 2021	(r561828)
@@ -1,20 +1,42 @@
 # $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

Modified: head/misc/py-powerline-status/distinfo
==============================================================================
--- head/misc/py-powerline-status/distinfo	Sun Jan 17 14:51:57 2021	(r561827)
+++ head/misc/py-powerline-status/distinfo	Sun Jan 17 15:15:34 2021	(r561828)
@@ -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

Added: head/misc/py-powerline-status/files/patch-powerline_version.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-powerline-status/files/patch-powerline_version.py	Sun Jan 17 15:15:34 2021	(r561828)
@@ -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__
+ 

Added: head/misc/py-powerline-status/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-powerline-status/pkg-message	Sun Jan 17 15:15:34 2021	(r561828)
@@ -0,0 +1,32 @@
+[
+{ type: install
+  message: <<EOM
+A   comprehensive  documentation  can  be  found  at
+
+https://powerline.readthedocs.io/en/latest/index.html
+
+For shell configuration see  "Usage - Plugins - Shell prompts".
+
+
+To  display  powerline-status  accurately  in  X Window  System
+terminal emulators make sure the following requirements are met:
+
+- A  font  from port x11-fonts/powerline-fonts must be specified
+  in the  X Window Systems  X resource file  ~/.Xdefaults or the 
+  terminals preferences
+
+- Locale  must  be  set UTF-8  to  the login shell in the user's
+  ~/.login_conf, or the shells startup file, or system wide from
+  /etc/login.conf:
+
+  	default:\
+		...
+		:umask=022:\
+		:charset=UTF-8:\
+		:lang=C.UTF-8:
+
+  Execute  "cap_mkdb /etc/login.conf"  to  update the login class
+  capability database. 
+EOM
+}
+]

Added: head/misc/py-powerline-status/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-powerline-status/pkg-plist	Sun Jan 17 15:15:34 2021	(r561828)
@@ -0,0 +1,183 @@
+%%PORTDOCS%%man/man1/powerline-config.1.gz
+%%PORTDOCS%%man/man1/powerline-daemon.1.gz
+%%PORTDOCS%%man/man1/powerline-lint.1.gz
+%%PORTDOCS%%man/man1/powerline.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
+%%PORTDOCS%%%%DOCSDIR%%/_images/cross.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/error.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-mode-insert.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-mode-normal.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-mode-replace.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-mode-visual.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-truncate1.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-truncate2.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/pl-truncate3.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/tick.png
+%%PORTDOCS%%%%DOCSDIR%%/_modules/index.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/lib/encoding.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/listers/i3wm.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/listers/pdb.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/listers/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/renderer.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/bat.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/env.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/mail.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/net.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/players.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/sys.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/time.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/vcs.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/common/wthr.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/i3wm.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/pdb.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/shell.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/tmux.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/ale.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/capslock.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/commandt.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/nerdtree.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/syntastic.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/segments/vim/plugin/tagbar.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/selectors/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/_modules/powerline/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/_sources/commands.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/commands/config.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/commands/daemon.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/commands/lint.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/commands/main.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/listers.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/local.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/reference.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/common.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/i3wm.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/pdb.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/shell.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/tmux.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/segments/vim.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/selectors.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configuration/selectors/vim.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop/extensions.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop/listers.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop/local-themes.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop/segments.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/develop/tips-and-tricks.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/index.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/installation/linux.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/installation/osx.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/license-and-credits.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/overview.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/tips-and-tricks.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/troubleshooting.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/troubleshooting/linux.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/troubleshooting/osx.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/usage.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/usage/other.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/usage/shell-prompts.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/usage/wm-widgets.rst.txt
+%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/css/badge_only.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/css/theme.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/css/theme_overrides.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/documentation_options.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bold.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bold.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bold.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bold.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bolditalic.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bolditalic.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bolditalic.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-bolditalic.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-italic.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-italic.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-italic.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-italic.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-regular.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-regular.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-regular.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/Lato/lato-regular.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-bold.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-bold.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-bold.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-regular.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-regular.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/RobotoSlab/roboto-slab-v7-regular.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/fontawesome-webfont.eot
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/fontawesome-webfont.svg
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/fontawesome-webfont.ttf
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/fontawesome-webfont.woff
+%%PORTDOCS%%%%DOCSDIR%%/_static/fonts/fontawesome-webfont.woff2
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/icons/cross.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/icons/error.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/icons/tick.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-mode-insert.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-mode-normal.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-mode-replace.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-mode-visual.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-truncate1.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-truncate2.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/img/pl-truncate3.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/jquery-3.5.1.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/js/modernizr.min.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/js/theme.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/language_data.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/underscore-1.3.1.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
+%%PORTDOCS%%%%DOCSDIR%%/commands.html
+%%PORTDOCS%%%%DOCSDIR%%/commands/config.html
+%%PORTDOCS%%%%DOCSDIR%%/commands/daemon.html
+%%PORTDOCS%%%%DOCSDIR%%/commands/lint.html
+%%PORTDOCS%%%%DOCSDIR%%/commands/main.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/listers.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/local.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/reference.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/common.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/i3wm.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/pdb.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/shell.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/tmux.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/segments/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/selectors.html
+%%PORTDOCS%%%%DOCSDIR%%/configuration/selectors/vim.html
+%%PORTDOCS%%%%DOCSDIR%%/develop.html
+%%PORTDOCS%%%%DOCSDIR%%/develop/extensions.html
+%%PORTDOCS%%%%DOCSDIR%%/develop/listers.html
+%%PORTDOCS%%%%DOCSDIR%%/develop/local-themes.html
+%%PORTDOCS%%%%DOCSDIR%%/develop/segments.html
+%%PORTDOCS%%%%DOCSDIR%%/develop/tips-and-tricks.html
+%%PORTDOCS%%%%DOCSDIR%%/genindex.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/installation.html
+%%PORTDOCS%%%%DOCSDIR%%/installation/linux.html
+%%PORTDOCS%%%%DOCSDIR%%/installation/osx.html
+%%PORTDOCS%%%%DOCSDIR%%/license-and-credits.html
+%%PORTDOCS%%%%DOCSDIR%%/objects.inv
+%%PORTDOCS%%%%DOCSDIR%%/overview.html
+%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
+%%PORTDOCS%%%%DOCSDIR%%/search.html
+%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
+%%PORTDOCS%%%%DOCSDIR%%/tips-and-tricks.html
+%%PORTDOCS%%%%DOCSDIR%%/troubleshooting.html
+%%PORTDOCS%%%%DOCSDIR%%/troubleshooting/linux.html
+%%PORTDOCS%%%%DOCSDIR%%/troubleshooting/osx.html
+%%PORTDOCS%%%%DOCSDIR%%/usage.html
+%%PORTDOCS%%%%DOCSDIR%%/usage/other.html
+%%PORTDOCS%%%%DOCSDIR%%/usage/shell-prompts.html
+%%PORTDOCS%%%%DOCSDIR%%/usage/wm-widgets.html



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