commit: 8fc5c708aaa44a302a75300dc4423656858df89e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 6 03:21:37 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 6 03:30:59 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc5c708
dev-python/pydantic-core: Bump to 2.1.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pydantic-core/Manifest | 7 ++
.../pydantic-core/pydantic-core-2.1.2.ebuild | 134 +++++++++++++++++++++
2 files changed, 141 insertions(+)
diff --git a/dev-python/pydantic-core/Manifest
b/dev-python/pydantic-core/Manifest
index 783f3165057e..985c00e3c4cb 100644
--- a/dev-python/pydantic-core/Manifest
+++ b/dev-python/pydantic-core/Manifest
@@ -32,12 +32,19 @@ DIST proc-macro2-1.0.60.crate 44160 BLAKE2B
3cca40d5ffa85607212ea8da63995b35b1d5
DIST pydantic_core-0.39.0.tar.gz 302824 BLAKE2B
bc4df1e66113845a5458d27c2408258dc0b0377732a2920d24d3a6f00cb9c7456c4fd9a59bfffcf5774ef9fba62c93e08947daae9fca99e76d537ce9f6de4eb1
SHA512
9221ceb3b944f52c7b8b874148af2c9eeb68088bbc3af53c1b530d002481e0d05eda8d27eaaa468d52509d1ca7338162cc593dc78d9365db829d69b395bffebc
DIST pydantic_core-2.0.1.tar.gz 305815 BLAKE2B
f57af9abd4f3e7c14f0215485311bcd39cc3369335f742f59cfd6ecd8a9d866bd1f70e592de596bc2c7572e864b33124a8f657ebdff27c1fa57ec8f50a974c6d
SHA512
33339cba162b36e346d22b9c130d3e451579fc4beb7b6407628f3108cf29aaf0f15fc066c398d2fc3d9ed451f0512a39df61fbc891b9023fcd39c262659fbce9
DIST pydantic_core-2.0.2.tar.gz 305778 BLAKE2B
ef1e53a44ff9f295a410b0b6f5e3a1183cddcc5376adae2c8c5b87791b0443d6b97cf1129810924adcf46221a2d38b98ded01b3db1d14d064ad6e00069675ac1
SHA512
034eac42feedcd526bff0557a1ef83aa04e0c728b93b3d2831f76472736acd5063b4e541cc64206273ec7b305a38f453cb34e33dc64385f9cf45a5c261ef3c6c
+DIST pydantic_core-2.1.2.tar.gz 305997 BLAKE2B
1893dd2b187303ad50fd8c18842158d1e54534c9a1dcffac5235677656774b4e3b1e4acb1da8afa34087019e5976c4e43ce7f696563462f9f92f9a31de9d01a6
SHA512
6cb35ad602ff783fc0841b7fa7da6448835b5e1b913cbd2dd42af8e5a167b5d20021f8c6f8973c58a0a9f9449c27b348691f57ccf2c446845abd7cad159d4ffd
DIST pyo3-0.19.0.crate 412659 BLAKE2B
f8833d39c3c8318466ee5b9010cbdce1a20f844f15a257ae41c5d8c72f645e0c14e7e5ae0b50a8aebec60afd827cd23d5b5b4b70188531e6f5b89ef191066189
SHA512
9cef7f8a73cfea32661eaf8fd8d5af6ca180e3fd71ac956d9fbb96a1d194f238116e3ab31917b15359e7f6b0b3bc4587437463a4c61bca988f16657a64440919
+DIST pyo3-0.19.1.crate 418297 BLAKE2B
19ad6aa4fba175961b7fe97ae0bc45050f930859972b1b25cf0139bb3436c050ba76b63894f0df26174f141a52ac6abf10fd84c03c056af5a0665e723ae24195
SHA512
b27500cf49f1c6f217d21344d24ac96c07b82c157dd36fa4550b94059da5715ba7d0e085ec07dd5f8a8ac9de4d7e9239c1cceac4337294eb0dc9f6102049d5ff
DIST pyo3-build-config-0.19.0.crate 29172 BLAKE2B
20904ad814ed9a22b801eb7b06851292d50f5716116a5b4a670e8c499878bf6d193525a4579b044ed413823c17ecd1ad0178baae1cab1fe3f431cc9a0f442576
SHA512
3105ce54bff87bef803f30b79d3ab2dbe440d68418f8cdc875f18ceb2bb0d06ed0923cf02af5f8293ca901f40b96c1b99a12a8a8e74813dcf70534d3aec2bfb7
+DIST pyo3-build-config-0.19.1.crate 29205 BLAKE2B
f88cbf9763fd68f7b30d109ae608efc29e0d4bf6672ee5f31b77342b5f37baa4f981916124af6897ccea3d93990ff889815fc3abbe9ce3fdbd860b6d5698b7da
SHA512
311fef01ac2c3ce12485849cb99eba038a36260206308c5af4621fc5393f942e03aae4f6a5fe24ef3005eb781d2161453667ad552d6a371ddd96460b05a2e710
DIST pyo3-ffi-0.19.0.crate 64481 BLAKE2B
1cad9db14e9c14e2aa24eab25439f9d8f7503b5f4c3e8bc9a58370e3d63261898ea678f75d276f9d2eedd5fa90a106f30e7362262619a81bead93bf45673e144
SHA512
9e01b15153c44f13c77c28719d3ab36bb859c4a15dc936af4af3e99f44946b4b4752faf3d2320391735b205ca6c055a43e7f5ac98ce53d281fdf536ce67dfbbe
+DIST pyo3-ffi-0.19.1.crate 64837 BLAKE2B
deb3065ce99b4bd3b5dee182f7cc20dbbb1792e792e78425f30a71ad3e45aa8552f99f02debd640e16db44cbcad58f67b04ca6e08cb964e788d41dca64500a0c
SHA512
6293d75c71ebe80c320f0a240716a2e0c62f66aecc58320f2f40a81f85390c7d9174b4888ead89818b73fdc8d3d21df12adc6625087f0c9ebb82767d4a7c5adc
DIST pyo3-macros-0.19.0.crate 7177 BLAKE2B
b677a41f83d7ef42add024a956cff36ce5546d677d1d3379d963be10d8de6ca3edd55165bd8965d2991788e6a12b2609c0bbdf90cdc7020faca436e5b1366eed
SHA512
0591c822cb9e1b1756ad001356659a228276dbdc499e3a92290648835f01c33b0d64378710728877a730059777012c0ca9046daeef6a35a0d4a2bda4142ff6e9
+DIST pyo3-macros-0.19.1.crate 7173 BLAKE2B
b8d53ed51e2454abb77528c9e08315f288718dca08888bc24752f156942c27ffff75c88504bddcf05cc89d16b3fd2cd86280b0b94bd09947a2ffa4c800dfde68
SHA512
2c12cff4a8af948f9ecaadb83d1ed5199758f9e9c626c5930a1b74c65027a8b74dcf989ee470798aeff7c1165650d5d3dd75cb1f813859b7b8e241cd2bb8f2eb
DIST pyo3-macros-backend-0.19.0.crate 49921 BLAKE2B
fab6bcdd92a9f421117e68c77f7bcbd92dec5c2bfe33f2fada1e433bfa3c8fa0fb91c1ed7736bea77e91d60732186e2ac1dfd53dc7bf94ff9991c790f2417d9b
SHA512
68c7ecd888c11631b20500f63b8bae3509dad2cbe0f8d628541e2e1e8b32e53150640dec894ac61e8e79218377346c461542946e1726ac92ba2d1fb6076a2d2a
+DIST pyo3-macros-backend-0.19.1.crate 49916 BLAKE2B
930774ee7ec936bbefc4ea81e2496cd15438dc82954ec7b85c0bc42b290b41c60869f8b31e109ba16a373d3ebf1e0058c0c7ef7d4911ae40feb99fb61d66a745
SHA512
7c7949588a15ef57b12f11e903c1110228bb653212761c97ff50399aa39be97108b471a2cdf47afb307f6c86bfb24b3e9ab32fd08e0550ee27e8808f2acd5145
DIST python3-dll-a-0.2.6.crate 56866 BLAKE2B
e8a83d0e02c281d8a626565fe1cde1158726c9ff718afb0888298454762832d47117d7a1bfd4e3e471e82ce684cd8c36d8d7ee036b07748cbf09aa915c2e046f
SHA512
f64be4ed3b217d6905df5787afb3d403580eed1bffc17a251e2c8eab61aee6a187460894b568140c4d38369e77fb51c4d49f6df9127786f344b460951df249d5
+DIST python3-dll-a-0.2.9.crate 66092 BLAKE2B
2c4baa31df7f55da8f1c6073525b4498bae7207ee38ef0eba4dbe58088609937a7d7b851c603ae62e5eb5361881e67a05d8c112d0a76aba5d99b13cdccd59d59
SHA512
1914d3ce67284f13551a4efefaeb9c11138fcca3d5082746282f64b7a36f732c6834766d981f27d862a61410eed09b3d281e0cab8cc1a46d424d04823ffaee35
DIST quote-1.0.26.crate 28397 BLAKE2B
b468a5e9350843ea81e540d17c9fcb302b46fbd450e10280c5fff6fd7c98a439df8c3d3d47e551bc6d67ed02052b5b5c65d215d5ff8ee34f045747e75c1ba37e
SHA512
6fcfe4d31f601aa60beb858c25df217421b0a184d185eebc7a4cb9fbf97c687992b77bebd8671a9e6193716387c3e926fed9b75a08684eb2d9a5b155fbc321a5
DIST quote-1.0.28.crate 28382 BLAKE2B
9fb16c3bb2a7fec3d8138ffec1f58277061f4a643c9051e1f6525f9e347ed9de41a3797eb3140a6dd828526eb4114c1f7ca562151dc933f338d64b175ed35d9f
SHA512
846d718153f78cbae6dc714caa9413a5d5964bcc5e032f5c6c5356c62c33bf22635955ebdff0dede69ba1c9657387e65d61de7c537f6f56f8060721dfa52d735
DIST redox_syscall-0.2.16.crate 24012 BLAKE2B
9497a52044458b1435ea16e86ee072e379b6b11ee31602ea72d6b6072a4a99426f409c2e58108a4e9c36dc193fa49c83951e71f4fd4e158eafff18c594dc01ad
SHA512
63b5d876baaf99f5cf737679bc6ac7a9e3d8a41aa93f5c59416ce7e3841e2513bff678773553cfe62fb452707f82acc384ea63aec932a31bf94679cd1caddd27
diff --git a/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild
b/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild
new file mode 100644
index 000000000000..521611eb2534
--- /dev/null
+++ b/dev-python/pydantic-core/pydantic-core-2.1.2.ebuild
@@ -0,0 +1,134 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{10..12} )
+
+CRATES="
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]+wasi-snapshot-preview1
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+"
+
+inherit cargo distutils-r1 pypi
+
+DESCRIPTION="Core validation logic for pydantic written in Rust"
+HOMEPAGE="
+ https://github.com/pydantic/pydantic-core/
+ https://pypi.org/project/pydantic-core/
+"
+SRC_URI+="
+ ${CARGO_CRATE_URIS}
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016
+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}]
+ >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2022.7.1[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so"
+
+src_prepare() {
+ sed -i -e '/--benchmark/d' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ tests/benchmarks
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ rm -rf pydantic_core || die
+ epytest -p pytest_mock -p timeout
+}