diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-05 00:07:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-05 00:07:53 +0100 |
commit | 9d1e33edaf09cde926d589461f40e378d4124be9 (patch) | |
tree | b0a5a85acd92ce912a95245121dde9cebcf76b71 /dev-python/pydantic | |
parent | dafa6f367240d1f5329ca89fb6f78985dbdc025b (diff) |
gentoo auto-resync : 05:06:2024 - 00:07:52
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r-- | dev-python/pydantic/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-2.7.3.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index 5aa389def4b3..a6f17b088feb 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,5 +1,7 @@ DIST pydantic-2.7.1.tar.gz 713923 BLAKE2B deeb9a63b290c8c3227c386b2982e11fb9385d16cb30e3522138219aef526dd7a077ddf496c92f8e3ed34ccbe21654177c539727e75bc209915f27817dfc62df SHA512 6b85c37384629e3df5f2b58e39ee9bf67f902b1ad2b05eb1298f03da8a945fc8f0865408948ad5deef76ca1d014f360ba778d4d957b6e7e158d2aa5c22861bd9 DIST pydantic-2.7.2.tar.gz 714293 BLAKE2B 0c8e647930b9ef1abfa1818b7d71eb41e5032d835f6772c60caab1cd02473cf163e8e2259bfcb57894c868242ebd6a8f343cee6ae7a3a49aa45b14ae20675269 SHA512 0ef9932afb1a57cf79bbd4a877cf002384f18cf32a7132a9913642ac6d273284d0bc7f8d8fc66361e61a0584cf38ef4630d68755567878f6f907cde0d9e9bdc1 +DIST pydantic-2.7.3.tar.gz 714386 BLAKE2B 6f9e9c9d4c7e6e643d5b72cb368e44e2875a99f94b00525fd581906df7d5522f4467e2e6139bb893d83d27388a09e7935089684c62098e8d7770160b341e4295 SHA512 6d43e741444036acd38094e73966bf98fa318512a5b54774a08fa6bfc94f500a2448d9e96ebc76741a3f30a6cd86b96aa8fd98acabe2846744a0b443502d99a4 EBUILD pydantic-2.7.1.ebuild 1300 BLAKE2B 9c82252cb0514dcc8c8be2860d7307a2c01995f0949c041851b126ccbb27e885a31baacef4cba50e7af90048c50625bdf744f6d52434252a787f78a9291e4b3e SHA512 c0d42dd81d2d149f6b788f372b4d578986232415c35b637865d9790760081f7b5a1fba009fc7a3a053f05381eb273470289d6d7bf2990654c827401afb31c206 EBUILD pydantic-2.7.2.ebuild 1307 BLAKE2B d199e18dc1a5f79f93345676e3e94d512a0ef65ae63a3f1c8aa49a552da16ab23a041a978043ca08795cf41702c18f6fc2704a9299fbe6fb56b22654ae640edd SHA512 e502c303ab61f5789c766539152254b5c8b1d46d0742178f4d721556edf51191027a0a70ab69b7d6bda1296f33d628d91b196e873c1d247aaef873625d39f0b4 +EBUILD pydantic-2.7.3.ebuild 1307 BLAKE2B a6c432bab002804b9cca863b1270fa69ce6c2c22f7cf0748d45b5ea122ad166d9559fc2638288e6cb4a8ba56c412bc2c9d941adad34b13bd790a5df3e5df6832 SHA512 96ce82229ccced596ddf2558633939bc3618066959f08988e0f8aee1fc7d3b01f8df2c0f7944d4a165bc5ff1ce87d4532bafba2476c1d5442acd564330157f3d MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855 diff --git a/dev-python/pydantic/pydantic-2.7.3.ebuild b/dev-python/pydantic/pydantic-2.7.3.ebuild new file mode 100644 index 000000000000..f5fd2f736178 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.7.3.ebuild @@ -0,0 +1,55 @@ +# 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..12} ) + +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.18.4[${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/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/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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} |