Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 09:07:00 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566145 - in head/deskutils: . py-term-background
Message-ID:  <202102200907.11K970YG039170@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sat Feb 20 09:07:00 2021
New Revision: 566145
URL: https://svnweb.freebsd.org/changeset/ports/566145

Log:
  Adding py-term-background, a Python module to figure out if a terminal has a
  dark or light background.

Added:
  head/deskutils/py-term-background/
  head/deskutils/py-term-background/Makefile   (contents, props changed)
  head/deskutils/py-term-background/distinfo   (contents, props changed)
  head/deskutils/py-term-background/pkg-descr   (contents, props changed)
  head/deskutils/py-term-background/pkg-plist   (contents, props changed)
Modified:
  head/deskutils/Makefile

Modified: head/deskutils/Makefile
==============================================================================
--- head/deskutils/Makefile	Sat Feb 20 08:12:10 2021	(r566144)
+++ head/deskutils/Makefile	Sat Feb 20 09:07:00 2021	(r566145)
@@ -206,6 +206,7 @@
     SUBDIR += py-pystash
     SUBDIR += py-send2trash
     SUBDIR += py-taskw
+    SUBDIR += py-term-background
     SUBDIR += py-todoman
     SUBDIR += py-vdirsyncer
     SUBDIR += py-vobject

Added: head/deskutils/py-term-background/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-term-background/Makefile	Sat Feb 20 09:07:00 2021	(r566145)
@@ -0,0 +1,32 @@
+# Created by: thierry@pompo.net
+# $FreeBSD$
+
+PORTNAME=	term-background
+PORTVERSION=	1.0.1
+CATEGORIES=	deskutils python shells
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Shell scripts and Python module to figure out terminal background
+
+LICENSE=	GPLv2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rocky
+GH_PROJECT=	shell-term-background
+
+USES=		python:3.7+ shebangfix
+USE_PYTHON=	distutils
+SHEBANG_FILES=	term-background.*
+
+NO_ARCH=	yes
+MAKE_ENV+=	PYTHON=${PYTHON_CMD}
+
+post-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/term-background.* ${STAGEDIR}${DATADIR}
+
+do-test: install
+	(cd ${WRKSRC} && py.test)
+
+.include <bsd.port.mk>

Added: head/deskutils/py-term-background/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-term-background/distinfo	Sat Feb 20 09:07:00 2021	(r566145)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613386752
+SHA256 (rocky-shell-term-background-1.0.1_GH0.tar.gz) = c59081defac311e078657b0e7e933970a57fc89a4ba152d159436ccc3b6477a8
+SIZE (rocky-shell-term-background-1.0.1_GH0.tar.gz) = 20302

Added: head/deskutils/py-term-background/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-term-background/pkg-descr	Sat Feb 20 09:07:00 2021	(r566145)
@@ -0,0 +1,5 @@
+POSIX shell scripts to figure out if a terminal has a dark or light background.
+
+The Python module contained is part of a broader set of scripts.
+
+WWW: https://github.com/rocky/shell-term-background

Added: head/deskutils/py-term-background/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-term-background/pkg-plist	Sat Feb 20 09:07:00 2021	(r566145)
@@ -0,0 +1,12 @@
+%%PYTHON_SITELIBDIR%%/term_background/__init__.py
+%%PYTHON_SITELIBDIR%%/term_background/__main__.py
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/__main__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/__main__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/version.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/term_background/__pycache__/version.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/term_background/version.py
+%%DATADIR%%/term-background.bash
+%%DATADIR%%/term-background.ksh
+%%DATADIR%%/term-background.zsh



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