diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-01 07:44:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-01 07:44:56 +0100 |
commit | 910ec713340312b0b8437a7307c8effaa33fb410 (patch) | |
tree | 6223bae8a96d9bc13138d3a595aeda9182e64094 /dev-python/pydantic | |
parent | 7714c84b341b3c783197e342fda2df5e579ac91f (diff) |
gentoo auto-resync : 01:07:2023 - 07:44:56
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r-- | dev-python/pydantic/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-2.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index dd164d42afde..1865a91fe8c2 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,5 +1,7 @@ DIST pydantic-1.10.9.gh.tar.gz 765868 BLAKE2B 802c542d75b41ff2926215bf4f6bd68a906d581db7b08ed85577f9021d259717f3ef8dbacfe381723aa042aab8720ad182c57fee188f2436b33d21164e24ba23 SHA512 d376a302eac3427cdc8da0ed2fab01c0b5e7a059447777a53c394a60dac5fa0066488be8553022bb5aa89367d5a2e80e5d6e3cb39d9272843718dd07f6acd11e +DIST pydantic-2.0.tar.gz 572748 BLAKE2B 611bb31065c1016d18137c0b5bfb0c7730243f727c1ffa3e3264f78fe750f31832d7388c177f59e0a676fa1eca7fc102e425fef59f97dc852c17b400723efc63 SHA512 830f5379f623e128f23f6d0672f0005a8b184b646e162be67fc08008f75dff53012c1576f0530ef9f6723ac664cfd662432de8f35cbcf98963ed8a680d697ce9 DIST pydantic-2.0b3.tar.gz 543489 BLAKE2B 89faa3ca4187840ad2fa8025bfef8fba265eaf88e31a75751aa619e1235af08e33aa3b7a713da9e69119a43316da893b02e669d3e704781f77fe94598db40410 SHA512 db6690d15f91b635f0a4002f81cb9ba15e625ece4172bd355e5aef7058f6f385d0b3d1f7e2cab3e25aa6a5f48f6455965a1adaa18fc5a2ca5845c09804c9a3dd EBUILD pydantic-1.10.9.ebuild 2517 BLAKE2B cdc5f751effda60d2a621fd5981fe9466ebae34fc939f0ae0148d999fc45b2a5e19cd5d761c9c7ef0df4d4f1b7c10c6a4995d53777cbe384b64035e5780441ee SHA512 e7eea417643b819baeb949ecab9005c5b8b3db85e07a9f66bb6fb9ebd619052ee5e88f67d3916f85952539604d516b940a5f8d1fac4b1d1e704f2fb336961c62 +EBUILD pydantic-2.0.ebuild 1094 BLAKE2B 70ef3b1db07bcd04702dbc7c6b2b6176a666fcb86ffb9cacca09dc83c939c80b2504db8e958d4d8822588d2e91d89749cf501b1d01d1bc55441a10a4e62b03b5 SHA512 0da7d6903fe425342eb62a5db0f5b2d83ca4eeee8d8c9d18e7d7dd1fd9f22ff5949ac3a355bab1e2b7a341d0a4139fde0b8cad6c0b4bcc89e2fb99f406db0312 EBUILD pydantic-2.0_beta3.ebuild 1095 BLAKE2B 41cc4fca081030d79896b9972aad942955302f84ee91d932e43ad49afff9054f73c670b0c4e337adb734a28c0ce26b9558e584dd6e3282526f70c60124e20f65 SHA512 c0b88b81cd7ce744beb422a931d5430e0f12badff7650b861adf433fc24bf8509e0c1fdc6324e1ed73e73ac04cf36493461a4dcac6bc1d0ac1023adfde5c5c82 MISC metadata.xml 630 BLAKE2B e765d13d92f634fcd09ce51499a64149ca11f46c8b45d9a41c35382ed84686326b5dd9aeeb0d780d34f38f0cf99b08de6269f1671642aeb389bfd9b8abe18dba SHA512 43f108a909059554ea0fba2055739d23d889f1cf5e01c8f54c4e926062055d042b77412faa9f60af41697c155914907c87455361bb0d32edfdfcf5ff8ce1b2eb diff --git a/dev-python/pydantic/pydantic-2.0.ebuild b/dev-python/pydantic/pydantic-2.0.ebuild new file mode 100644 index 000000000000..350c99dc7380 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) + +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="" + +RDEPEND=" + >=dev-python/annotated-types-0.4.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.0.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # expect -Werror + tests/test_deprecated.py::test_extra_used_as_enum + ) + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} |