diff --git a/textproc/py-youseedee/Makefile b/textproc/py-youseedee/Makefile index 355de71d6732..0525f406dc08 100644 --- a/textproc/py-youseedee/Makefile +++ b/textproc/py-youseedee/Makefile @@ -1,28 +1,29 @@ PORTNAME= youseedee -PORTVERSION= 0.6.0 +PORTVERSION= 0.7.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Interface to the Unicode Character Database WWW= https://github.com/simoncozens/youseedee LICENSE= MIT 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}platformdirs>=4.3:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ UCD>=0:textproc/UCD USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|%%UCDDIR%%|${LOCALBASE}/share/unicode/ucd|' ${WRKSRC}/lib/youseedee/__init__.py .include diff --git a/textproc/py-youseedee/distinfo b/textproc/py-youseedee/distinfo index 1c2854648a45..d55496e21303 100644 --- a/textproc/py-youseedee/distinfo +++ b/textproc/py-youseedee/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1726487386 -SHA256 (youseedee-0.6.0.tar.gz) = f70eb2af6f33ab42e03af329e5f08568718ec0ae306db0e8fe0d631f8524cb41 -SIZE (youseedee-0.6.0.tar.gz) = 17389 +TIMESTAMP = 1753796100 +SHA256 (youseedee-0.7.0.tar.gz) = 6f9831048aff9a8c33946e3f3740b6d92d574ead0d0064ead7ffa23147f10f5f +SIZE (youseedee-0.7.0.tar.gz) = 17805 diff --git a/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py b/textproc/py-youseedee/files/patch-lib-youseedee-__init__.py index 1460fdef80a0..3db8645cab3f 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 2024-09-11 19:36:00 UTC +--- lib/youseedee/__init__.py.orig 2025-07-24 11:24:42 UTC +++ lib/youseedee/__init__.py @@ -38,7 +38,7 @@ def ucd_dir(): def ucd_dir(): """Return the directory where Unicode data is stored""" -- ucddir = expanduser("~/.youseedee") -+ ucddir = "%%UCDDIR%%" - try: - os.mkdir(ucddir) - except FileExistsError: +- return Path(platformdirs.user_cache_dir("youseedee", ensure_exists=True)) ++ return "%%UCDDIR%%" + + + def ensure_files():