devel/py-pydantic2: Update to 2.7.4

- Allow build with py-pydantic-core 2.19.0 [1]

Changes:	https://github.com/pydantic/pydantic/releases
		https://docs.pydantic.dev/latest/changelog/
Obtained from:	b95472dc92 [1]
This commit is contained in:
Po-Chuan Hsieh 2024-06-18 12:00:07 +08:00
parent 316cb3574d
commit a6c0541087
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 18 additions and 5 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= pydantic
PORTVERSION= 2.7.3
PORTVERSION= 2.7.4
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}annotated-types>=0.4.0:devel/py-annotated-types@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.18.4<2.18.4_99:devel/py-pydantic-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.19.0<2.19.0_99:devel/py-pydantic-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1:devel/py-typing-extensions@${PY_FLAVOR}
USES= python

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1717568442
SHA256 (pydantic-2.7.3.tar.gz) = c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e
SIZE (pydantic-2.7.3.tar.gz) = 714386
TIMESTAMP = 1718580116
SHA256 (pydantic-2.7.4.tar.gz) = 0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52
SIZE (pydantic-2.7.4.tar.gz) = 714127

View file

@ -0,0 +1,13 @@
Obtained from: https://github.com/pydantic/pydantic/commit/b95472dc92018023c4f70de319dc70e691125895
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
+++ pyproject.toml
@@ -48,7 +48,7 @@ dependencies = [
dependencies = [
'typing-extensions>=4.6.1',
'annotated-types>=0.4.0',
- "pydantic-core==2.18.4",
+ "pydantic-core==2.19.0",
]
dynamic = ['version', 'readme']