From 4755968fd1c13ed0b42c2cb83c0b5dd719dc5538 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Thu, 10 Apr 2025 01:44:29 +0800 Subject: [PATCH] misc/py-alive-progress: Change RUN_DEPENDS from py-grapheme to py-graphemeu - Unmark DEPRECATED and remove EXPIRATION_DATE - Bump PORTREVISION for dependency change Reference: https://github.com/rsalmei/alive-progress/pull/285 --- misc/py-alive-progress/Makefile | 6 ++---- misc/py-alive-progress/files/patch-setup.py | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/misc/py-alive-progress/Makefile b/misc/py-alive-progress/Makefile index acae89d2a2b7..1d12a91e1b93 100644 --- a/misc/py-alive-progress/Makefile +++ b/misc/py-alive-progress/Makefile @@ -1,5 +1,6 @@ PORTNAME= alive-progress PORTVERSION= 3.2.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,13 +12,10 @@ WWW= https://github.com/rsalmei/alive-progress LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -DEPRECATED= Depends on expired textproc/py-grapheme -EXPIRATION_DATE=2025-06-01 - BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}about-time>=4.2.1:devel/py-about-time@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}grapheme>=0.6.0<0.6.0_99:textproc/py-grapheme@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}graphemeu>=0:textproc/py-graphemeu@${PY_FLAVOR} USES= python:3.9+ USE_PYTHON= autoplist concurrent pep517 diff --git a/misc/py-alive-progress/files/patch-setup.py b/misc/py-alive-progress/files/patch-setup.py index 7086a9125888..35f2f91929d7 100644 --- a/misc/py-alive-progress/files/patch-setup.py +++ b/misc/py-alive-progress/files/patch-setup.py @@ -6,5 +6,6 @@ packages=find_packages(exclude=['tests*']), - data_files=[('', ['LICENSE'])], python_requires='>=3.9, <4', - install_requires=['about_time==4.2.1', 'grapheme==0.6.0'], +- install_requires=['about_time==4.2.1', 'grapheme==0.6.0'], ++ install_requires=['about_time==4.2.1', 'graphemeu'], )