diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
commit | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (patch) | |
tree | 83e283f960ab2ebbc1a042b8ed6c37b78d47b37b /dev-python/pydantic | |
parent | 8435c842b9e8fbb2bcc80397ab3aa655000459e2 (diff) |
gentoo auto-resync : 04:07:2024 - 08:06:07
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r-- | dev-python/pydantic/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-2.8.2.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index b37844ed7c1f..57e1aee7976c 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,7 +1,9 @@ DIST pydantic-2.7.4.tar.gz 714127 BLAKE2B c9d6df84799d1c8a69bf7d203609db3ba533380919d1f47ae84eb83186ef9ffbbab5bea9b9c4918c65d35d4b2103107df3c7e5e314195bd84807d216226490b6 SHA512 9a36041a24306761f2528aaca196d0b3e160cf46d71596fcd3df0169b9dd68ce810b88bcbe15dc9c0126551d0d7e33e4c3014b97daaf5d68ce68c0f8d6ffaf81 DIST pydantic-2.8.0.tar.gz 738772 BLAKE2B d3a490afdc1fa9e6baf5b63a4760d98043c7d0b7bc46018af5701acbfeecae0e08ab171f386f817bfd0a36b702228bcd5c92bf8de36de2f36a7b87e181736129 SHA512 aa703ad04698f476b4a7d69f0a58e36cd8064c64e30e33e03a375d4986049e841abf24e5ef53f192101e484b645a12879087f171346d30747e2c35ebc763aa4e DIST pydantic-2.8.0b1.tar.gz 738470 BLAKE2B 13d9e19ea6cd78849b6ed507b20daf36c941e790d5cd291999755d00b0d4a289658b6b92316663205c893da0e41ea49073bda597f811592543ad1c30bcf9b4ee SHA512 9047543d8d281e3b9e18daff087c8cc8ba632392c9df9a1c2543c6d2d2eb1488c22a9c363417f64e2deaa576659254a2c2267241bfda7a4b5bf466377df8cd64 +DIST pydantic-2.8.2.tar.gz 739834 BLAKE2B d0168db26e02ac9fcf01fe85cd70c982e74f185dfce5075d4b365dba510d871550478ae98550882c425cdecfa3e31e674076906d8f71d1de947cc8d2cb55d3b8 SHA512 9d3b795ee43ccc4976a07c3770769758f023cc6763b8ef9ce4475d22c49d4dba80c8326d42106075b54a5d82c84722735e6017644755672b0f1cb0a4b624340a EBUILD pydantic-2.7.4.ebuild 1300 BLAKE2B f9e8c50194cd43dcf1303f42ac88733e016c2dc0a57dbc3ba1a61de39dc3a7bd86c13bdcc70305712e982118f73bea84e798a1abd3960644ee68c6f0341d2a01 SHA512 ac3c61d6d7f9d4013fc53444da4b71eeadf615cdcb6443cc66924cac8ef2cfe23722ed23499039b05fc467c149bc05e87478f9fd6ade7857b799ed09de09c6ee EBUILD pydantic-2.8.0.ebuild 1471 BLAKE2B 622b1eafdf1505c7ce5767d89ab796896449fea4fbdd38c63699f8a711abe7d796e300a5155ddd1bf516c0ae6b20c9724b70899fce6b9a36c173f9dd3ed01e8f SHA512 31b1876854be0621b1b09b8e4d7135bc9968eccabd3b8681ad28d61368a670f75b9fc2340315cc92b29ec965373fbc5cf00a63cab4b8d59ecababdf057926105 EBUILD pydantic-2.8.0_beta1.ebuild 1471 BLAKE2B 622b1eafdf1505c7ce5767d89ab796896449fea4fbdd38c63699f8a711abe7d796e300a5155ddd1bf516c0ae6b20c9724b70899fce6b9a36c173f9dd3ed01e8f SHA512 31b1876854be0621b1b09b8e4d7135bc9968eccabd3b8681ad28d61368a670f75b9fc2340315cc92b29ec965373fbc5cf00a63cab4b8d59ecababdf057926105 +EBUILD pydantic-2.8.2.ebuild 1471 BLAKE2B 08ca46bfad80c23764d2a09bc941f7567829ccea6734ba67d002f6af3618df2435c38f8dea863e1cd7d5aa42549afedfa4ca37fb29410294867310f08809fd56 SHA512 3a4a6bfcc7143ee48eb339f431a6747d4f9a8382a576f698f67e35932cfb49e2e2ef97f7b59f5326022b1a647e4ec87abfce7bd094c0d2cfccf5323562045206 MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855 diff --git a/dev-python/pydantic/pydantic-2.8.2.ebuild b/dev-python/pydantic/pydantic-2.8.2.ebuild new file mode 100644 index 000000000000..3105611662a1 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.8.2.ebuild @@ -0,0 +1,63 @@ +# 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.4.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.20.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 3.{10..12}) + 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/pytest-mock[${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 +} |