Friday, April 28, 2023

[update] devel/py-pydantic 1.10.7

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-pydantic/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 13 Nov 2022 15:28:19 -0000 1.3
+++ Makefile 28 Apr 2023 10:48:49 -0000
@@ -1,9 +1,8 @@
COMMENT = data validation using Python type hints

-MODPY_EGG_VERSION = 1.10.1
+MODPY_EGG_VERSION = 1.10.7
DISTNAME = pydantic-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
-REVISION = 0

CATEGORIES = devel

Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-pydantic/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 5 Sep 2022 15:39:48 -0000 1.1.1.1
+++ distinfo 28 Apr 2023 10:48:49 -0000
@@ -1,2 +1,2 @@
-SHA256 (pydantic-1.10.1.tar.gz) = 1Bu4A0eootUfvW8XSLQqyhRUExWHhEe6FZYXVEcS93A=
-SIZE (pydantic-1.10.1.tar.gz) = 333562
+SHA256 (pydantic-1.10.7.tar.gz) = z8g8Bni2ulGwUyvqZoYGF8TNQlHs926YRvpanzRU6X4=
+SIZE (pydantic-1.10.7.tar.gz) = 344063
Index: patches/patch-setup_py
===================================================================
RCS file: /cvs/ports/devel/py-pydantic/patches/patch-setup_py,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-setup_py
--- patches/patch-setup_py 5 Sep 2022 15:39:48 -0000 1.1.1.1
+++ patches/patch-setup_py 28 Apr 2023 10:48:49 -0000
@@ -5,9 +5,9 @@ Index: setup.py
compiler_directives = {}
if 'CYTHON_TRACE' in sys.argv:
compiler_directives['linetrace'] = True
-- # Set CFLAG to all optimizations (-O3)
+- # Set CFLAG to all optimizations (-O3), add `-g0` to reduce size of binaries, see #2276
- # Any additional CFLAGS will be appended. Only the last optimization flag will have effect
-- os.environ['CFLAGS'] = '-O3 ' + os.environ.get('CFLAGS', '')
+- os.environ['CFLAGS'] = '-O3 -g0 ' + os.environ.get('CFLAGS', '')
ext_modules = cythonize(
'pydantic/*.py',
exclude=['pydantic/generics.py'],
Hello,

Here is a diff to update py-pydantic to 1.10.7

Best Regards

No comments:

Post a Comment