mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-python/pydantic-extra-types: add 2.11.1
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -1 +1,3 @@
|
||||
DIST pydantic_extra_types-2.10.6.tar.gz 141858 BLAKE2B 23d999682e3c8e76cc27935f4c47da4ddbdbc4cdc3015e86b3b7fb3183f6353ff1faf28b6aa947c55e03b1799f87e3cfa612411bfe4b5b18bfb1ccabed6ba049 SHA512 9e469386e583a1be6ab51fa510cceaef043a40b8c76cbc0d477f7c660bdf779cca1df533c99a76d11b6d84db6735b355ad70526f8dfc03b89ae7844f309c47f7
|
||||
DIST pydantic_extra_types-2.11.1.tar.gz 172002 BLAKE2B 1d6a7130f8731e8ba81723a7a98ebb140b4776bc84d90ed31befad724b2df0fa96637747398b6fa671441f0153543e46443251584f698831827ebb25580ad67d SHA512 2903f9406757e121fedff13f323c105d0ee5098454925119c2b5da35819621ad6003c837b4ae908298a0b0b785347d27b891b78c9746834466c48e447bad5d14
|
||||
DIST pydantic_extra_types-2.11.1.tar.gz.provenance 9691 BLAKE2B dd684d242463d78f9560488b693e2679feca2c0fd7d88cdf77b15c4ba0cc841f4c602710205ed3af2e859b8ce3fdf9fc0a56d76279e15bc533a54b981891b212 SHA512 e512b0f527c174561c3215544be65f11979d4632bef8899636df0688d235ebbed2090cb6321a6281423b79cfa2a8c0ef903581b27a2ff37ce7d58c51f56aae12
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
PYPI_VERIFY_REPO=https://github.com/pydantic/pydantic-extra-types
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Extra Pydantic types"
|
||||
HOMEPAGE="
|
||||
https://github.com/pydantic/pydantic-extra-types/
|
||||
https://pypi.org/project/pydantic-extra-types/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pydantic-2.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/phonenumbers[${PYTHON_USEDEP}]
|
||||
dev-python/pycountry[${PYTHON_USEDEP}]
|
||||
dev-python/semver[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/uuid-utils[${PYTHON_USEDEP}]
|
||||
' python3_{12..13})
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Requires unpackaged cron-converter
|
||||
tests/test_cron.py
|
||||
tests/test_json_schema.py
|
||||
# Requires unpackaged pendulum
|
||||
tests/test_pendulum_dt.py
|
||||
# Requires unpackaged python-ulid
|
||||
tests/test_ulid.py
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# https://github.com/pydantic/pydantic-extra-types/issues/346
|
||||
tests/test_coordinate.py::test_json_schema
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "Optional type support"
|
||||
optfeature "PhoneNumber" dev-python/phonenumbers
|
||||
optfeature "language_code" dev-python/pycountry
|
||||
optfeature "semantic_version" dev-python/semver
|
||||
# optfeature "ulid" python-ulid
|
||||
# optfeature "pendulum_dt" pendulum
|
||||
optfeature "mongo_object_id" dev-python/pymongo
|
||||
# optfeature "cron" cron-converter
|
||||
}
|
||||
Reference in New Issue
Block a user