git: 25bd2d730572 - main - x11/py-pyscreenshot: Update version 3.0=>3.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 24 Jul 2026 21:41:36 UTC
The branch main has been updated by bofh:

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

commit 25bd2d7305720068f3dd918f2aaf1ae7a342b9d6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-07-24 21:34:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-07-24 21:36:52 +0000

    x11/py-pyscreenshot: Update version 3.0=>3.1
    
    - Mark deprecated as upstream recommends using py-pillow
    - Set EXPIRATION_DATE to 2026-10-31
    
    Changelog: https://github.com/ponty/pyscreenshot/releases/tag/3.1
---
 x11/py-pyscreenshot/Makefile | 9 +++++++--
 x11/py-pyscreenshot/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/x11/py-pyscreenshot/Makefile b/x11/py-pyscreenshot/Makefile
index 66f9524d6e40..c6f8c72e46fa 100644
--- a/x11/py-pyscreenshot/Makefile
+++ b/x11/py-pyscreenshot/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pyscreenshot
-DISTVERSION=	3.0
+DISTVERSION=	3.1
 CATEGORIES=	x11 python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,11 @@ WWW=		https://github.com/ponty/pyscreenshot
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=		Deprecated in favor of py-pillow
+EXPIRATION_DATE=	2026-10-31
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}entrypoint2>0:devel/py-entrypoint2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jeepney>0:devel/py-jeepney@${PY_FLAVOR} \
@@ -20,6 +25,6 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAV
 USES=		magick:6,run python
 
 NO_ARCH=	yes
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 .include <bsd.port.mk>
diff --git a/x11/py-pyscreenshot/distinfo b/x11/py-pyscreenshot/distinfo
index c079ce6c0ac7..08b8c9479737 100644
--- a/x11/py-pyscreenshot/distinfo
+++ b/x11/py-pyscreenshot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1784489530
-SHA256 (pyscreenshot-3.0.tar.gz) = dd4fdfaeb617483913a6b16845b9f428de5db28758979f4b6cf8f236d292b908
-SIZE (pyscreenshot-3.0.tar.gz) = 24353
+TIMESTAMP = 1784928610
+SHA256 (pyscreenshot-3.1.tar.gz) = 8c0e93f0aef66a6bfe55a86abfced6bd396ae4b4f6cc1e36f04a28ad2625594d
+SIZE (pyscreenshot-3.1.tar.gz) = 29238