summaryrefslogtreecommitdiff
path: root/dev-python/pydantic
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-10 12:30:41 +0100
commitadd278b9601ff9e4af091c91c851ee46a185be8f (patch)
tree4b654beae0eec584ae1d1f3227a57607d591a0ea /dev-python/pydantic
parentd8a7472fc6314625f7d16e0427004eb448412908 (diff)
gentoo auto-resync : 10:09:2024 - 12:30:41
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r--dev-python/pydantic/Manifest2
-rw-r--r--dev-python/pydantic/pydantic-2.9.1.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest
index 59fb0d681071..5f0c7c9cae4d 100644
--- a/dev-python/pydantic/Manifest
+++ b/dev-python/pydantic/Manifest
@@ -2,8 +2,10 @@ DIST pydantic-2.7.4.tar.gz 714127 BLAKE2B c9d6df84799d1c8a69bf7d203609db3ba53338
DIST pydantic-2.8.2.tar.gz 739834 BLAKE2B d0168db26e02ac9fcf01fe85cd70c982e74f185dfce5075d4b365dba510d871550478ae98550882c425cdecfa3e31e674076906d8f71d1de947cc8d2cb55d3b8 SHA512 9d3b795ee43ccc4976a07c3770769758f023cc6763b8ef9ce4475d22c49d4dba80c8326d42106075b54a5d82c84722735e6017644755672b0f1cb0a4b624340a
DIST pydantic-2.9.0.tar.gz 768298 BLAKE2B f196274c37af4b14b0ee17a5274d784a56ad2b2721ca022f572209348edb7e342ace1744e980ac5a8df0d8d7f9642d3157297f3cad24073b133ebb328b589673 SHA512 e4e2b961e831c1461446c1914176a5fca4b573ed5df7a4e5f1fe956b94568bf982e0ed0ee3ab8e08b518817b40dc76a24aaff95453a25e736890e5f0b30549d9
DIST pydantic-2.9.0b2.tar.gz 767194 BLAKE2B 407bbadc4cb8f962cb331a9ccdfa70dd96729830a4c5532962105889536ac436f50552d3d6bac4e6840d44fc7c0ef2e94e1cab4b54be1565ac636436ca8a9b0a SHA512 a0d2491c14f58bbd376545551b128c0c396713a4a73786ac004ee4a0ff9b65a220c22f93aaa11239181bd87a600bc9b10c7d594b23286b909e8e6ea397eea81c
+DIST pydantic-2.9.1.tar.gz 768511 BLAKE2B 37d840042933a3fc3976ada31c2c1a26a127f64fd928ac8014c9e5047d5c30f29ab23a0f023c2d19c9daec7976c6f66c8dd1d0bd5f2507cff26f7aa0f103a30a SHA512 b35241a0956f41bfcb9f61f34a5fead2c88a266a721d0dea584068f58c72fceda1a70236ca1f3c242c9ef22ac8f7e444b48e212088a3e7e7754008652a028664
EBUILD pydantic-2.7.4.ebuild 1300 BLAKE2B f9e8c50194cd43dcf1303f42ac88733e016c2dc0a57dbc3ba1a61de39dc3a7bd86c13bdcc70305712e982118f73bea84e798a1abd3960644ee68c6f0341d2a01 SHA512 ac3c61d6d7f9d4013fc53444da4b71eeadf615cdcb6443cc66924cac8ef2cfe23722ed23499039b05fc467c149bc05e87478f9fd6ade7857b799ed09de09c6ee
EBUILD pydantic-2.8.2.ebuild 1426 BLAKE2B 8d1071f5c38274577792f876fc27243e0bbde838b1db0eec4e554b633f5c9b8ba54830f1f52e67de087135fe9e9a671e5d9dc6192c9d40f64a0dbb3bc5705f7b SHA512 193c322a51dfc1a07fe06ca9793f903a25a465f94129d8fe7cc074b94258bebb343827d0d50a9c2591dd99bdc27ef029c74cbf58f286147f718e6d5ef065878a
EBUILD pydantic-2.9.0.ebuild 1552 BLAKE2B e25eeb7a5a0a68ae41ccbe60b5f814a71f7458a5fda404f51a798b1851c54cdce024eda89b84029a2898453cd21f17ea96e396f0e03c8e683221fb36a509dc22 SHA512 d129e73dd41775665dad2541bee6f5b048eaca38ff6591aaea777e5be847013ace1548b9f49917591b40cd80d98d6a6fa08e8de426f1009c614e8891eafc1391
EBUILD pydantic-2.9.0_beta2.ebuild 1552 BLAKE2B ab62a9e4029a748c3bcc559c944321e2764341118d92411f3b44db848d4d7b49220dfd4a56e78a18731fb7c6e004712f544f623650d9877d5a4579786edb4bb0 SHA512 f74781b0b875270174b0c8f92a3a8d675d83b21b6e5cc9166252c834a3fb8e8802c99bf2f1a7e3d29c3453dfe28f7e5fc028fe6bc9b49f9eabc7b01db8fbefc9
+EBUILD pydantic-2.9.1.ebuild 1552 BLAKE2B 44f06d913f911058c388d3001dde57f00b563f555ce624c379aff447d9ddf7ee52d2ae6f72f3f0146fbe889898af87336665515fb6726fdbd0dc2f52ec7f629e SHA512 c02525632cc127c7872ad0e1cea863439556df1fa12bbdba910f4ea5c4dac73e7420a823d1a570d1532459b1817d359ada3b9d7d1e36ae0dc635433a1bae37a4
MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855
diff --git a/dev-python/pydantic/pydantic-2.9.1.ebuild b/dev-python/pydantic/pydantic-2.9.1.ebuild
new file mode 100644
index 000000000000..c0437592e002
--- /dev/null
+++ b/dev-python/pydantic/pydantic-2.9.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Data parsing and validation using Python type hints"
+HOMEPAGE="
+ https://github.com/pydantic/pydantic/
+ https://pypi.org/project/pydantic/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}]
+ ~dev-python/pydantic-core-2.23.3[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}]
+ dev-python/tzdata[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}]
+ test? (
+ dev-python/cloudpickle[${PYTHON_USEDEP}]
+ dev-python/dirty-equals[${PYTHON_USEDEP}]
+ >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}]
+ >=dev-python/Faker-18.13.0[${PYTHON_USEDEP}]
+ >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ sed -i -e '/benchmark/d' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=()
+ local EPYTEST_IGNORE=(
+ # require pytest-examples
+ tests/test_docs.py
+ # benchmarks
+ tests/benchmarks
+ )
+
+ if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then
+ EPYTEST_IGNORE+=(
+ tests/test_pickle.py
+ )
+ fi
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_mock
+}