From owner-svn-ports-head@freebsd.org Sat Feb 20 09:07:01 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C92A253F455; Sat, 20 Feb 2021 09:07:01 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DjMyY5NjXz4v5b; Sat, 20 Feb 2021 09:07:01 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ABCFA1C3FC; Sat, 20 Feb 2021 09:07:01 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11K971Qu039177; Sat, 20 Feb 2021 09:07:01 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11K970YG039170; Sat, 20 Feb 2021 09:07:00 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202102200907.11K970YG039170@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sat, 20 Feb 2021 09:07:00 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/deskutils: . py-term-background X-SVN-Commit-Revision: 566145 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2021 09:07:01 -0000 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 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