git: b71d6c96442c - main - devel/py-pydantic-extra-types: Update to 2.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jun 2024 07:49:25 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b71d6c96442ce520f4210582e76325318a29de30 commit b71d6c96442ce520f4210582e76325318a29de30 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-06-06 07:40:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-06-06 07:48:04 +0000 devel/py-pydantic-extra-types: Update to 2.8.0 - Add PENDULUM, PHONENUMBERS, PYCOUNTRY and PYTHON_ULID options Changes: https://github.com/pydantic/pydantic-extra-types/releases --- devel/py-pydantic-extra-types/Makefile | 16 ++++++++++++---- devel/py-pydantic-extra-types/distinfo | 6 +++--- devel/py-pydantic-extra-types/files/patch-pyproject.toml | 9 +++++++++ 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/devel/py-pydantic-extra-types/Makefile b/devel/py-pydantic-extra-types/Makefile index e98c339fb03c..b3a88c7134aa 100644 --- a/devel/py-pydantic-extra-types/Makefile +++ b/devel/py-pydantic-extra-types/Makefile @@ -1,5 +1,5 @@ PORTNAME= pydantic-extra-types -PORTVERSION= 2.7.0 +PORTVERSION= 2.8.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,13 +21,21 @@ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -OPTIONS_DEFINE= ALL -OPTIONS_DEFAULT=ALL -ALL_DESC= Country codes and phone number support +OPTIONS_DEFINE= ALL PENDULUM PHONENUMBERS PYCOUNTRY PYTHON_ULID +OPTIONS_DEFAULT=ALL PENDULUM PHONENUMBERS PYCOUNTRY PYTHON_ULID +ALL_DESC= All external supports +PENDULUM_DESC= Datetimes support +PHONENUMBERS_DESC= Phone numbers support +PYCOUNTRY_DESC= Country codes +PYTHON_ULID_DESC= ULID support ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.0<4.0.0:devel/py-pendulum@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycountry>=23:textproc/py-pycountry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-ulid>=1<3:textproc/py-python-ulid@${PY_FLAVOR} +PENDULUM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.0<4.0.0:devel/py-pendulum@${PY_FLAVOR} +PHONENUMBERS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} +PYCOUNTRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycountry>=23:textproc/py-pycountry@${PY_FLAVOR} +PYTHON_ULID_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}python-ulid>=1<3:textproc/py-python-ulid@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/devel/py-pydantic-extra-types/distinfo b/devel/py-pydantic-extra-types/distinfo index 8c36957b76cb..dcfd7c652ce5 100644 --- a/devel/py-pydantic-extra-types/distinfo +++ b/devel/py-pydantic-extra-types/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1715842736 -SHA256 (pydantic_extra_types-2.7.0.tar.gz) = b9d9ddd755fa5960ec5a77cffcbd5d8796a0116e1dfc8f7c3a27fa0041693382 -SIZE (pydantic_extra_types-2.7.0.tar.gz) = 33345 +TIMESTAMP = 1717568440 +SHA256 (pydantic_extra_types-2.8.0.tar.gz) = 17a677c4e45716a7d8f347e91c411af4954b4e92042f24973b96a140581ba706 +SIZE (pydantic_extra_types-2.8.0.tar.gz) = 34640 diff --git a/devel/py-pydantic-extra-types/files/patch-pyproject.toml b/devel/py-pydantic-extra-types/files/patch-pyproject.toml index 6ee7018cc6b2..d47c365459fb 100644 --- a/devel/py-pydantic-extra-types/files/patch-pyproject.toml +++ b/devel/py-pydantic-extra-types/files/patch-pyproject.toml @@ -7,5 +7,14 @@ - 'pendulum>=3.0.0,<4.0.0' + 'pendulum>=2.0.0,<4.0.0' ] + phonenumbers = ['phonenumbers>=8,<9'] + pycountry = ['pycountry>=23'] +@@ -57,7 +57,7 @@ python_ulid = [ + 'python-ulid>=1,<2; python_version<"3.9"', + 'python-ulid>=1,<3; python_version>="3.9"', + ] +-pendulum = ['pendulum>=3.0.0,<4.0.0'] ++pendulum = ['pendulum>=2.0.0,<4.0.0'] [project.urls] + Homepage = 'https://github.com/pydantic/pydantic-extra-types'