pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pydantic py-pydantic: fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7742f2e6c7eb
branches:  trunk
changeset: 382625:7742f2e6c7eb
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 01 18:47:40 2022 +0000

description:
py-pydantic: fix

This was packaged with py-cython installed, which caused various .so
files to be generated. However, the dependency is not noted in the package,
making it fail in bulk builds.

Set SKIP_CYTHON to ignore cython even if installed and update PLIST.

diffstat:

 devel/py-pydantic/Makefile |   9 +++++----
 devel/py-pydantic/PLIST    |  27 +--------------------------
 2 files changed, 6 insertions(+), 30 deletions(-)

diffs (139 lines):

diff -r 0a56e1e27957 -r 7742f2e6c7eb devel/py-pydantic/Makefile
--- a/devel/py-pydantic/Makefile        Mon Aug 01 18:24:07 2022 +0000
+++ b/devel/py-pydantic/Makefile        Mon Aug 01 18:47:40 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/07/24 10:48:25 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2022/08/01 18:47:40 wiz Exp $
 
 DISTNAME=      pydantic-1.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,11 +10,12 @@
 COMMENT=       Data validation and settings management using python type hints
 LICENSE=       mit
 
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
+
 PYTHON_VERSIONS_INCOMPATIBLE=  27 # and 36
 
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
-
-USE_LANGUAGES= c99
+MAKE_ENV+=     SKIP_CYTHON=1
+USE_LANGUAGES= # empty
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0a56e1e27957 -r 7742f2e6c7eb devel/py-pydantic/PLIST
--- a/devel/py-pydantic/PLIST   Mon Aug 01 18:24:07 2022 +0000
+++ b/devel/py-pydantic/PLIST   Mon Aug 01 18:47:40 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/07/24 10:48:25 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/08/01 18:47:40 wiz Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,104 +9,79 @@
 ${PYSITELIB}/pydantic/__init__.py
 ${PYSITELIB}/pydantic/__init__.pyc
 ${PYSITELIB}/pydantic/__init__.pyo
-${PYSITELIB}/pydantic/__init__.so
 ${PYSITELIB}/pydantic/_hypothesis_plugin.py
 ${PYSITELIB}/pydantic/_hypothesis_plugin.pyc
 ${PYSITELIB}/pydantic/_hypothesis_plugin.pyo
-${PYSITELIB}/pydantic/_hypothesis_plugin.so
 ${PYSITELIB}/pydantic/annotated_types.py
 ${PYSITELIB}/pydantic/annotated_types.pyc
 ${PYSITELIB}/pydantic/annotated_types.pyo
-${PYSITELIB}/pydantic/annotated_types.so
 ${PYSITELIB}/pydantic/class_validators.py
 ${PYSITELIB}/pydantic/class_validators.pyc
 ${PYSITELIB}/pydantic/class_validators.pyo
-${PYSITELIB}/pydantic/class_validators.so
 ${PYSITELIB}/pydantic/color.py
 ${PYSITELIB}/pydantic/color.pyc
 ${PYSITELIB}/pydantic/color.pyo
-${PYSITELIB}/pydantic/color.so
 ${PYSITELIB}/pydantic/config.py
 ${PYSITELIB}/pydantic/config.pyc
 ${PYSITELIB}/pydantic/config.pyo
-${PYSITELIB}/pydantic/config.so
 ${PYSITELIB}/pydantic/dataclasses.py
 ${PYSITELIB}/pydantic/dataclasses.pyc
 ${PYSITELIB}/pydantic/dataclasses.pyo
-${PYSITELIB}/pydantic/dataclasses.so
 ${PYSITELIB}/pydantic/datetime_parse.py
 ${PYSITELIB}/pydantic/datetime_parse.pyc
 ${PYSITELIB}/pydantic/datetime_parse.pyo
-${PYSITELIB}/pydantic/datetime_parse.so
 ${PYSITELIB}/pydantic/decorator.py
 ${PYSITELIB}/pydantic/decorator.pyc
 ${PYSITELIB}/pydantic/decorator.pyo
-${PYSITELIB}/pydantic/decorator.so
 ${PYSITELIB}/pydantic/env_settings.py
 ${PYSITELIB}/pydantic/env_settings.pyc
 ${PYSITELIB}/pydantic/env_settings.pyo
-${PYSITELIB}/pydantic/env_settings.so
 ${PYSITELIB}/pydantic/error_wrappers.py
 ${PYSITELIB}/pydantic/error_wrappers.pyc
 ${PYSITELIB}/pydantic/error_wrappers.pyo
-${PYSITELIB}/pydantic/error_wrappers.so
 ${PYSITELIB}/pydantic/errors.py
 ${PYSITELIB}/pydantic/errors.pyc
 ${PYSITELIB}/pydantic/errors.pyo
-${PYSITELIB}/pydantic/errors.so
 ${PYSITELIB}/pydantic/fields.py
 ${PYSITELIB}/pydantic/fields.pyc
 ${PYSITELIB}/pydantic/fields.pyo
-${PYSITELIB}/pydantic/fields.so
 ${PYSITELIB}/pydantic/generics.py
 ${PYSITELIB}/pydantic/generics.pyc
 ${PYSITELIB}/pydantic/generics.pyo
 ${PYSITELIB}/pydantic/json.py
 ${PYSITELIB}/pydantic/json.pyc
 ${PYSITELIB}/pydantic/json.pyo
-${PYSITELIB}/pydantic/json.so
 ${PYSITELIB}/pydantic/main.py
 ${PYSITELIB}/pydantic/main.pyc
 ${PYSITELIB}/pydantic/main.pyo
-${PYSITELIB}/pydantic/main.so
 ${PYSITELIB}/pydantic/mypy.py
 ${PYSITELIB}/pydantic/mypy.pyc
 ${PYSITELIB}/pydantic/mypy.pyo
-${PYSITELIB}/pydantic/mypy.so
 ${PYSITELIB}/pydantic/networks.py
 ${PYSITELIB}/pydantic/networks.pyc
 ${PYSITELIB}/pydantic/networks.pyo
-${PYSITELIB}/pydantic/networks.so
 ${PYSITELIB}/pydantic/parse.py
 ${PYSITELIB}/pydantic/parse.pyc
 ${PYSITELIB}/pydantic/parse.pyo
-${PYSITELIB}/pydantic/parse.so
 ${PYSITELIB}/pydantic/py.typed
 ${PYSITELIB}/pydantic/schema.py
 ${PYSITELIB}/pydantic/schema.pyc
 ${PYSITELIB}/pydantic/schema.pyo
-${PYSITELIB}/pydantic/schema.so
 ${PYSITELIB}/pydantic/tools.py
 ${PYSITELIB}/pydantic/tools.pyc
 ${PYSITELIB}/pydantic/tools.pyo
-${PYSITELIB}/pydantic/tools.so
 ${PYSITELIB}/pydantic/types.py
 ${PYSITELIB}/pydantic/types.pyc
 ${PYSITELIB}/pydantic/types.pyo
-${PYSITELIB}/pydantic/types.so
 ${PYSITELIB}/pydantic/typing.py
 ${PYSITELIB}/pydantic/typing.pyc
 ${PYSITELIB}/pydantic/typing.pyo
-${PYSITELIB}/pydantic/typing.so
 ${PYSITELIB}/pydantic/utils.py
 ${PYSITELIB}/pydantic/utils.pyc
 ${PYSITELIB}/pydantic/utils.pyo
-${PYSITELIB}/pydantic/utils.so
 ${PYSITELIB}/pydantic/validators.py
 ${PYSITELIB}/pydantic/validators.pyc
 ${PYSITELIB}/pydantic/validators.pyo
-${PYSITELIB}/pydantic/validators.so
 ${PYSITELIB}/pydantic/version.py
 ${PYSITELIB}/pydantic/version.pyc
 ${PYSITELIB}/pydantic/version.pyo
-${PYSITELIB}/pydantic/version.so



Home | Main Index | Thread Index | Old Index