diff --git a/devel/py-unicodedata2/Makefile b/devel/py-unicodedata2/Makefile index 5c373556c00a..71be4d88144f 100644 --- a/devel/py-unicodedata2/Makefile +++ b/devel/py-unicodedata2/Makefile @@ -1,22 +1,21 @@ # Created by: Po-Chuan Hsieh PORTNAME= unicodedata2 -PORTVERSION= 13.0.0.post2 -PORTREVISION= 1 +PORTVERSION= 14.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Unicodedata backport and updates +COMMENT= Unicodedata backport updated to the latest Unicode version LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-unicodedata2/distinfo b/devel/py-unicodedata2/distinfo index 00883b959746..9b2cc165e199 100644 --- a/devel/py-unicodedata2/distinfo +++ b/devel/py-unicodedata2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1585319297 -SHA256 (unicodedata2-13.0.0.post2.tar.gz) = a83e504fb0e8ed4757194e61c3f7b69fb3c914856057bea968d0950f80f947fa -SIZE (unicodedata2-13.0.0.post2.tar.gz) = 1137398 +TIMESTAMP = 1643382550 +SHA256 (unicodedata2-14.0.0.tar.gz) = 41f7df0043f4450e84203d907a56cdd2a0a0541a9eebbaba48576b01e0b61684 +SIZE (unicodedata2-14.0.0.tar.gz) = 590930 diff --git a/devel/py-unicodedata2/files/patch-unicodedata2-py3-unicodedata.c b/devel/py-unicodedata2/files/patch-unicodedata2-py3-unicodedata.c deleted file mode 100644 index 1b540f0c3b85..000000000000 --- a/devel/py-unicodedata2/files/patch-unicodedata2-py3-unicodedata.c +++ /dev/null @@ -1,15 +0,0 @@ ---- unicodedata2/py3/unicodedata.c.orig 2020-03-20 18:40:50 UTC -+++ unicodedata2/py3/unicodedata.c -@@ -16,7 +16,12 @@ - #define PY_SSIZE_T_CLEAN - - #include "Python.h" -+#if PY_MINOR_VERSION < 10 - #include "ucnhash.h" -+#else -+#define Py_BUILD_CORE -+#include "internal/pycore_ucnhash.h" -+#endif - #include "structmember.h" - #include "unicodectype.h" - diff --git a/devel/py-unicodedata2/pkg-descr b/devel/py-unicodedata2/pkg-descr index 76f356254c7a..b1c6aa504813 100644 --- a/devel/py-unicodedata2/pkg-descr +++ b/devel/py-unicodedata2/pkg-descr @@ -1,7 +1,7 @@ unicodedata2 is the unicodedata backport/updates to python 2 and 3. The versions of this package match unicode versions, so unicodedata2==11.0.0 is data from unicode 11.0.0. Additionally this backports support for named aliases and named sequences to python2. -WWW: https://github.com/mikekap/unicodedata2 +WWW: https://github.com/fonttools/unicodedata2