git: a6714fb2d161 - main - textproc/py-youseedee: Update to 0.6.0

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

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

commit a6714fb2d161e90ba0eaf59c5e37f875830a6e8f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:57:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:19 +0000

    textproc/py-youseedee: Update to 0.6.0
    
    Changes:        https://github.com/simoncozens/youseedee/releases
                    https://github.com/simoncozens/youseedee/commits/master
---
 textproc/py-youseedee/Makefile                              |  6 +++---
 textproc/py-youseedee/distinfo                              |  6 +++---
 textproc/py-youseedee/files/patch-lib-youseedee-__init__.py | 12 ++++++------
 textproc/py-youseedee/files/patch-pyproject.toml            | 11 +++++++++++
 4 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/textproc/py-youseedee/Makefile b/textproc/py-youseedee/Makefile
index 9f6f63b883e9..355de71d6732 100644
--- a/textproc/py-youseedee/Makefile
+++ b/textproc/py-youseedee/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	youseedee
-PORTVERSION=	0.5.3
-PORTREVISION=	1
+PORTVERSION=	0.6.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +10,8 @@ WWW=		https://github.com/simoncozens/youseedee
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0.4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}filelock>=0:sysutils/py-filelock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
diff --git a/textproc/py-youseedee/distinfo b/textproc/py-youseedee/distinfo
index 27f295378ae4..1c2854648a45 100644
--- a/textproc/py-youseedee/distinfo
+++ b/textproc/py-youseedee/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449488
-SHA256 (youseedee-0.5.3.tar.gz) = 850908f2476ba292e23bce8b5c3cba79099adc5120e3c80b95d53b6c583d7732
-SIZE (youseedee-0.5.3.tar.gz) = 14724
+TIMESTAMP = 1726487386
+SHA256 (youseedee-0.6.0.tar.gz) = f70eb2af6f33ab42e03af329e5f08568718ec0ae306db0e8fe0d631f8524cb41
+SIZE (youseedee-0.6.0.tar.gz) = 17389
diff --git a/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py b/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py
index c98a5a787174..1460fdef80a0 100644
--- a/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py
+++ b/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py
@@ -1,11 +1,11 @@
---- lib/youseedee/__init__.py.orig	2023-12-13 13:22:08 UTC
+--- lib/youseedee/__init__.py.orig	2024-09-11 19:36:00 UTC
 +++ lib/youseedee/__init__.py
-@@ -23,7 +23,7 @@ UCD_URL = "https://unicode.org/Public/UCD/latest/ucd/U
- 
+@@ -38,7 +38,7 @@ def ucd_dir():
  
  def ucd_dir():
--    ucddir = os.path.expanduser("~/.youseedee")
+     """Return the directory where Unicode data is stored"""
+-    ucddir = expanduser("~/.youseedee")
 +    ucddir = "%%UCDDIR%%"
-     if not os.path.isdir(ucddir):
+     try:
          os.mkdir(ucddir)
-     return ucddir
+     except FileExistsError:
diff --git a/textproc/py-youseedee/files/patch-pyproject.toml b/textproc/py-youseedee/files/patch-pyproject.toml
new file mode 100644
index 000000000000..adbb815963de
--- /dev/null
+++ b/textproc/py-youseedee/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-09-11 19:36:00 UTC
++++ pyproject.toml
+@@ -18,7 +18,7 @@ repository = "https://github.com/simoncozens/youseedee
+ repository = "https://github.com/simoncozens/youseedee"
+ 
+ [build-system]
+-requires = ["setuptools>=74.1.0", "setuptools_scm[toml]>=8.1.0"]
++requires = ["setuptools>=61", "setuptools_scm[toml]>=8.0.4"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.setuptools.packages.find]