Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2025 19:22:42 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: df5d2b5dd91c - main - deskutils/py-term-background: upgrade to 1.0.3-dev0
Message-ID:  <202501131922.50DJMgbA038853@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=df5d2b5dd91c0efec75e2bea2dae432d3f02081a

commit df5d2b5dd91c0efec75e2bea2dae432d3f02081a
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-13 19:18:50 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-13 19:22:39 +0000

    deskutils/py-term-background: upgrade to 1.0.3-dev0
    
    Remark: this is release 1.0.2 as available on Pypi, with patches to
    unbreak it with Python-3.11.
---
 deskutils/py-term-background/Makefile  | 17 ++++++++++-------
 deskutils/py-term-background/distinfo  |  6 +++---
 deskutils/py-term-background/pkg-plist |  5 +++++
 3 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/deskutils/py-term-background/Makefile b/deskutils/py-term-background/Makefile
index 4f7dce8bea2c..d8ea455f4c2c 100644
--- a/deskutils/py-term-background/Makefile
+++ b/deskutils/py-term-background/Makefile
@@ -1,7 +1,9 @@
 PORTNAME=	term-background
-PORTVERSION=	1.0.1
+DISTVERSION=	1.0.3.dev0
 CATEGORIES=	deskutils python shells
+#MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+#DISTNAME=	${PORTNAME:C/-/_/}-${PORTVERSION}
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	Shell scripts and Python module to figure out terminal background
@@ -12,19 +14,20 @@ LICENSE=	GPLv2
 USE_GITHUB=	yes
 GH_ACCOUNT=	rocky
 GH_PROJECT=	shell-term-background
+GH_TAGNAME=	55a9cd227d6428d72f78a2411479eeade1300dff
 
-USES=		python shebangfix
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pkginfo>=0:sysutils/py-pkginfo@${PY_FLAVOR}
+
+USES=		pytest python
 USE_PYTHON=	distutils
-SHEBANG_FILES=	term-background.*
 
 NO_ARCH=	yes
 MAKE_ENV+=	PYTHON=${PYTHON_CMD}
+PLIST_SUB=	VER=${DISTVERSION}
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/term-background.* ${STAGEDIR}${DATADIR}
-
-do-test: install
-	(cd ${WRKSRC} && py.test)
+	${INSTALL_SCRIPT} ${WRKSRC}/term-background.*h ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>
diff --git a/deskutils/py-term-background/distinfo b/deskutils/py-term-background/distinfo
index bea06106ea83..c53fa30424fb 100644
--- a/deskutils/py-term-background/distinfo
+++ b/deskutils/py-term-background/distinfo
@@ -1,3 +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
+TIMESTAMP = 1736793755
+SHA256 (rocky-shell-term-background-1.0.3.dev0-55a9cd227d6428d72f78a2411479eeade1300dff_GH0.tar.gz) = 931739c7273721f164f3704820b153fe175f50c038bb9e1e2d252eb94dfe35e7
+SIZE (rocky-shell-term-background-1.0.3.dev0-55a9cd227d6428d72f78a2411479eeade1300dff_GH0.tar.gz) = 26797
diff --git a/deskutils/py-term-background/pkg-plist b/deskutils/py-term-background/pkg-plist
index 507bc5765c85..ccc1e19dd66a 100644
--- a/deskutils/py-term-background/pkg-plist
+++ b/deskutils/py-term-background/pkg-plist
@@ -1,3 +1,8 @@
+%%PYTHON_SITELIBDIR%%/term_background-%%VER%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/term_background-%%VER%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/term_background-%%VER%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/term_background-%%VER%%-py%%PYTHON_VER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/term_background-%%VER%%-py%%PYTHON_VER%%.egg-info/top_level.txt
 %%PYTHON_SITELIBDIR%%/term_background/__init__.py
 %%PYTHON_SITELIBDIR%%/term_background/__main__.py
 %%PYTHON_SITELIBDIR%%/term_background/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc



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