git: 7540c68130e9 - main - devel/py-sh: Update to 2.0.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:19:33 UTC
The branch main has been updated by sunpoet:

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

commit 7540c68130e98392b6ebf04aa681d8dced00d28d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:56:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:16 +0000

    devel/py-sh: Update to 2.0.7
    
    - Update WWW
    - Convert to USE_PYTHON=pep517
    - Update pkg-descr
    
    Changes:        https://github.com/amoffat/sh/releases
---
 devel/py-sh/Makefile  | 11 +++++++----
 devel/py-sh/distinfo  |  6 +++---
 devel/py-sh/pkg-descr |  9 +++++++--
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/devel/py-sh/Makefile b/devel/py-sh/Makefile
index c8540646c390..15ce81be0ed0 100644
--- a/devel/py-sh/Makefile
+++ b/devel/py-sh/Makefile
@@ -1,18 +1,21 @@
 PORTNAME=	sh
-DISTVERSION=	1.14.3
+PORTVERSION=	2.0.7
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Python subprocess interface
-WWW=		https://github.com/amoffat/sh
+COMMENT=	Python subprocess replacement
+WWW=		https://sh.readthedocs.io/en/latest/ \
+		https://github.com/amoffat/sh
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-sh/distinfo b/devel/py-sh/distinfo
index 0cdea2bf005b..abb101232077 100644
--- a/devel/py-sh/distinfo
+++ b/devel/py-sh/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1667163167
-SHA256 (sh-1.14.3.tar.gz) = e4045b6c732d9ce75d571c79f5ac2234edd9ae4f5fa9d59b09705082bdca18c7
-SIZE (sh-1.14.3.tar.gz) = 62851
+TIMESTAMP = 1726487364
+SHA256 (sh-2.0.7.tar.gz) = 029d45198902bfb967391eccfd13a88d92f7cebd200411e93f99ebacc6afbb35
+SIZE (sh-2.0.7.tar.gz) = 345477
diff --git a/devel/py-sh/pkg-descr b/devel/py-sh/pkg-descr
index 14b7b99ec4ec..1993eee6b364 100644
--- a/devel/py-sh/pkg-descr
+++ b/devel/py-sh/pkg-descr
@@ -1,2 +1,7 @@
-sh (previously pbs) is a full-fledged subprocess replacement for Python
-2.6 - 3.4 that allows you to call any program as if it were a function.
+sh is a full-fledged subprocess replacement for Python 3.8 - 3.11, and PyPy that
+allows you to call any program as if it were a function.
+
+sh is not a collection of system commands implemented in Python.
+
+sh relies on various Unix system calls and only works on Unix-like operating
+systems - Linux, macOS, BSDs etc.