diff options
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r-- | dev-python/pydantic/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pydantic/metadata.xml | 3 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-1.10.14.ebuild | 92 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-2.6.0.ebuild | 57 | ||||
-rw-r--r-- | dev-python/pydantic/pydantic-2.6.2.ebuild | 57 |
5 files changed, 1 insertions, 216 deletions
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index c27904e798ab..c95493fb8928 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,17 +1,11 @@ -DIST pydantic-1.10.14.gh.tar.gz 767164 BLAKE2B 0018f8db7f0d1e1063e9cf58047319f317aee968cd07837a1983c4283ef317a54d45d717829d2b7e4d5ae6257137a125372323322873fe3354c709ed096f320c SHA512 ba90fc57172b395398b87cac44778e842fba2d28c31d8d90ad49bf870c27da71b9eef2a5cf786b0de0a3ee84af187c0759b8b27a42edaa0feb7183a2b99aa52a DIST pydantic-2.4.2.tar.gz 654020 BLAKE2B 2f91b6bf89f87230976a2e777541bb7418382fb3534f5e61e1dc74a18e5e939508a2440d6bee9a09030beb5f2b6a60fd62c3bf30ee0ee2c7d3f71575920a47f3 SHA512 f0e0d90ead4ba754974b38f8e3d24bc017696674ca1ed3300104389d149baa41c495218a118f5e7f98bf20d34b3c17439921eaff0ccd7bf76cac96a16e592b4e DIST pydantic-2.5.2.tar.gz 652158 BLAKE2B d3a7eeb4e1933d4893df69d2600437a4df1a640f4ec6564079669f8703b8d21bba548197277a373e5a653f4aea67de2336ea983906c2e96b514cdab3f8821dc1 SHA512 56753c9739759251004476620ca25d69bebc7743da911f69a09fcbffa6d6e5ec9b9fc22975e845599fcb2aed5cbbf081c3737d6eab55b9e1696818c4da405e6d DIST pydantic-2.5.3.tar.gz 651797 BLAKE2B 9494bd7a243d5cda762d916b10120861870b5f3112f581aa33b888eab7b605adcd3eb861853467e2d021b88b1c2583bbaf6ace8e96154543c6946e13722ed345 SHA512 bfc2f9704688815dbf418e2a7c72e193de80f279ac578fdaefe763f7cd8a9dce6c9152bd950d013f7fa48ea743468ae588adf61e277924536637590b63792779 -DIST pydantic-2.6.0.tar.gz 677208 BLAKE2B 10df7e22a05fc01e1d35b71f266f852599f949080c44a3ecbee8f8b42344de13fb2bc13957d2d2104337d4311ceda537073d0dda6f8cd9c5f621d381293d4e8c SHA512 5d3912f2b388ea49ba853b6463478c0fbf15ea67877291198ef69b4dc6f037215e62dc872e62ad6152ce02de0d809c89dcd11b5b0c94e668f15eb559a3d8a536 DIST pydantic-2.6.1.tar.gz 679826 BLAKE2B d1915b20200a9a3a3e1c854ecc2c760eba7b672cb336b07426475072da08090a6adbe6d674019d314b01c92d69aa6caecb52f8f45bdf6d81bde1a1bff6230a3f SHA512 89a202165950ab741eac8441eb6c014dab50474bd4d001f90a32cff55b1b6bf36433d4ae11df8ab5e51bbcf68efb9674cece9a512c1d85f428e13fb59e2ae2c0 -DIST pydantic-2.6.2.tar.gz 679956 BLAKE2B 5b1689fa0db2e4583f5df90b730520ba1c703a0745e8752778c45c84b6009e845ae9298aa9b8e393af8dd5b9ae6e8f83a17f3bfb566d2538d477bcb92b38cddf SHA512 dc96ca3639305e4e166a74aa2e445758c049fa76ca3a2a3036267b394a5f46037e3f9da637b20b715f6e27c8733d6e74b1c51a58d2aa624f1de982e4c5788301 DIST pydantic-2.6.3.tar.gz 680427 BLAKE2B 28d8d4edcfeeae4f0ba70ed09987e26ba569c38b2c511b6d0b4277b830173302228c964f4c086ac4412a331afa3fba16d9581bd31446fb1dfb43065eb29dfc59 SHA512 2eca898328beb1f33e343d3aa7edf8847baae0569d078507a58bbe0fcf355250c72b70a33f6b79cef697f41ced91eaeee1ffc4a7712fd6fd251fd64557e390d0 -EBUILD pydantic-1.10.14.ebuild 2581 BLAKE2B d4da679a307497ba7adba5ed59015feb164d4e8b6934c87ad2301d9a4fc5610478d5f7c9b498585ecb6608e230b66cde916cd903f4c8fa99a33b491db13de357 SHA512 8f5b260a7fdc2407ea380827d18faa84fdb3d92d2543a69b164bf9ddb06a3cd5a341b6155d457585f18983893df93a4419ce83f99fae6ddf08b7002c8b6e0783 EBUILD pydantic-2.4.2.ebuild 1250 BLAKE2B fb5c066368f642dc425e0781fbb3cdb5c26ee33f3a82be385be5a82dd398a9a9321bbb61f44f57afc68b088def410fc78a828811562823baed1ff1d26231915f SHA512 fc87f16830ad126ddefa4ce73b36a9b7221a52a2b911923893dac9f7b26afc6a5563225c8ef2dab7aaf4ee115f32a5908b65430d7664e77636eeb491aa5877ea EBUILD pydantic-2.5.2.ebuild 1301 BLAKE2B bfc58ebdd2138eb90f4971145ad575e5d1a9eedea480195db7dffbecd3582bbf60ec14fa1c3dc7c47a3417f35da839346829851a5a56e873218a37f16a51c4eb SHA512 05739299d4a836fe99b52230c6d6af22da0200f3040bb701091aadc8c0ea85b29c26b22d1e28c7d422a051ac17bfd8b52e2aa9682d72e0d7235efdfe00892071 EBUILD pydantic-2.5.3.ebuild 1302 BLAKE2B d8119cd4e9dd8ee700c9312d6735d5785662a4e562a48c505e01864673923c710cfc8b2568e1773ea5b2ae74279428fbc4e9e0fa527fdee7e1fb3fd67bd09de8 SHA512 6e898cc38a7d721e572f80176f734644e5c251f37a5b089d66a234fc5c75769b9b5b8dd70d67f4210f7495c8d88600cd85caedac3f5b1f2e771d839dc859f847 -EBUILD pydantic-2.6.0.ebuild 1409 BLAKE2B bbb52265a05e558b0aa123299d87531496895b9a655e972c2f26be4dc1a057fca2c86dda3779917d7b310c0e6f1f75ddfa0c126f2bee086d2e5c927fc5c1cebf SHA512 22d5fc5e4d4607e909b4832c17d136a717853ffb49189283284828be8655a8eae452de755e203474a4d8d194f050961afe9e7ed1967cf4baeb55bcb030790177 EBUILD pydantic-2.6.1.ebuild 1406 BLAKE2B 42eee6fe9c354f6e30ae21936650073e34e0e9e8b63303c31c5f286b165a4256711f82ff3722dca8b88ee83d2916961f133a79b984548b032a06c235bc2e54bc SHA512 bb3d854a4745c6ca223247f165ea65a7b23e67fa968f1b45dbcef3be79299c19d7531f3b6cb1b29b9b15702bfd6616fd85d6909e533f6a6173595f16719d5479 -EBUILD pydantic-2.6.2.ebuild 1409 BLAKE2B 3fbdfd25b2a8d66064b3f54cc1d6a929a7522af647b6a749f973000b10ba79a4e7824901d5e5e66597c30e239e446f36246df47e42433bbd3fd74f9a320887c3 SHA512 2dd25a2e09d062c54541231f7cbbdd03999e9b5e26f15bd8b99bac33391a655655fb74aaad5f8ef34974f5e822537e1c366bfc5d6449399098591434b0144816 EBUILD pydantic-2.6.3.ebuild 1409 BLAKE2B 3fbdfd25b2a8d66064b3f54cc1d6a929a7522af647b6a749f973000b10ba79a4e7824901d5e5e66597c30e239e446f36246df47e42433bbd3fd74f9a320887c3 SHA512 2dd25a2e09d062c54541231f7cbbdd03999e9b5e26f15bd8b99bac33391a655655fb74aaad5f8ef34974f5e822537e1c366bfc5d6449399098591434b0144816 -MISC metadata.xml 637 BLAKE2B 57b30dc30b4ec03180df74b5a92de92ceb31cfad43b38ad0e41538c6a6f491fa8957b789ad42bec128e51862bbd802c17606c02bf17f3cf58a21622d7676c0aa SHA512 711e73027f807b8c25b4ceb95775e6417987d34f798f50d4168d5735bf5bc91a41a9b6c37737617d11968ae9b337871dc7f3bc7a89f782a91747aedcee4f48d6 +MISC metadata.xml 550 BLAKE2B ca3a62e01a928ac12964e9a8f291073465c66951082b68cb408a8dec48eeab226c1955782fbb6c82d95c495a790b7d5b84b8f69ab7d3b0acfd2883d3ad2d8e5e SHA512 247144ea1634fd80f8ec461fcb2f8e7383b65185426d0df283ec5345d7612abc3ceee7b6d0df7a3ba858ba8483884507fb443b75cd812bab8d0e6a8293cbb855 diff --git a/dev-python/pydantic/metadata.xml b/dev-python/pydantic/metadata.xml index 609dae97f8e0..d4e4f5e7b94e 100644 --- a/dev-python/pydantic/metadata.xml +++ b/dev-python/pydantic/metadata.xml @@ -12,7 +12,4 @@ <bugs-to>https://github.com/pydantic/pydantic/issues</bugs-to> <doc>https://docs.pydantic.dev/latest/</doc> </upstream> - <use> - <flag name="native-extensions">Compiles native "C" extensions.</flag> - </use> </pkgmetadata> diff --git a/dev-python/pydantic/pydantic-1.10.14.ebuild b/dev-python/pydantic/pydantic-1.10.14.ebuild deleted file mode 100644 index 56c001864743..000000000000 --- a/dev-python/pydantic/pydantic-1.10.14.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -MY_P=${P/_beta/b} -DESCRIPTION="Data parsing and validation using Python type hints" -HOMEPAGE=" - https://github.com/pydantic/pydantic/ - https://pypi.org/project/pydantic/ -" -SRC_URI=" - https://github.com/pydantic/pydantic/archive/v${PV/_beta/b}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="native-extensions" - -RDEPEND=" - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - <dev-python/cython-3[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/email-validator-1.2.1[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/CFLAGS/d' setup.py || die - distutils-r1_src_prepare -} - -python_compile() { - if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then - # do not build extensions on PyPy to workaround - # https://github.com/cython/cython/issues/4763 - local -x SKIP_CYTHON=1 - fi - distutils-r1_python_compile -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock - - local EPYTEST_DESELECT=( - # flaky test, known upstream - tests/test_hypothesis_plugin.py::test_can_construct_models_with_all_fields - # mypy linting causes regressions with new mypy versions - tests/mypy - ) - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - tests/test_private_attributes.py::test_private_attribute - tests/test_private_attributes.py::test_private_attribute_annotation - tests/test_private_attributes.py::test_private_attribute_factory - tests/test_private_attributes.py::test_private_attribute_multiple_inheritance - tests/test_private_attributes.py::test_underscore_attrs_are_private - tests/test_validators.py::test_annotated_validator_builtin - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_abc.py::test_model_subclassing_abstract_base_classes_without_implementation_raises_exception - tests/test_generics.py::test_partial_specification_name - tests/test_generics.py::test_parse_generic_json - tests/test_types.py::test_secretfield - ) - ;; - esac - rm -rf pydantic || die - epytest -} diff --git a/dev-python/pydantic/pydantic-2.6.0.ebuild b/dev-python/pydantic/pydantic-2.6.0.ebuild deleted file mode 100644 index 74599a3d857a..000000000000 --- a/dev-python/pydantic/pydantic-2.6.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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.16.1[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] -" -# pytest-8: https://github.com/pydantic/pydantic/issues/8674 -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-8[${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 -} diff --git a/dev-python/pydantic/pydantic-2.6.2.ebuild b/dev-python/pydantic/pydantic-2.6.2.ebuild deleted file mode 100644 index 50a75801255f..000000000000 --- a/dev-python/pydantic/pydantic-2.6.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# 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.16.3[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.6.1[${PYTHON_USEDEP}] -" -# pytest-8: https://github.com/pydantic/pydantic/issues/8674 -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-8[${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 -} |