1 |
commit: 8dab7d6e9f2ada8b2474bebd0e13e3e61d2228f2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 10:19:19 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 11:49:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dab7d6e |
7 |
|
8 |
dev-python/pydantic: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pydantic/Manifest | 1 - |
13 |
.../pydantic/pydantic-1.8.2_p20210719.ebuild | 50 ---------------------- |
14 |
2 files changed, 51 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest |
17 |
index 4fefdc7318ef..daf4c35e9856 100644 |
18 |
--- a/dev-python/pydantic/Manifest |
19 |
+++ b/dev-python/pydantic/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pydantic-1.8.2_p20210719.tar.gz 310729 BLAKE2B 1905ddd100e3a40b48eadc7beb75542f4a59ff8ef55115105041b0c06249ee67df1ca91003bc01f828c543c757ec8931ff2d31663d33ca16f356f62f71a61474 SHA512 c9d91788b3143b211755806e533ae0ccafa2ab101159f98eeba921ec9370956e8f8b0f210e6ddddcef2345ea391d2e1011ea5498d2f7985bd711f48d025e30d5 |
22 |
DIST pydantic-1.9.0.tar.gz 299758 BLAKE2B f6c2b89e598fc94db74b8165c449c752f11166752b12bbd37c23902b74c1f895bbd49b8fc4dc8da86b10880ac2e37178275cc28a42964e1133397364ea268d02 SHA512 ace542ff12698d568f2bea6121afc889c51892042b1a1b98464a6da6f71e50ecd8aafff7abd7ffd16983769844f7c970099d1fee7aa788f2e78172c0d5c4f472 |
23 |
|
24 |
diff --git a/dev-python/pydantic/pydantic-1.8.2_p20210719.ebuild b/dev-python/pydantic/pydantic-1.8.2_p20210719.ebuild |
25 |
deleted file mode 100644 |
26 |
index 6077218fea52..000000000000 |
27 |
--- a/dev-python/pydantic/pydantic-1.8.2_p20210719.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,50 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{8..10} ) |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-COMMIT=0c26c1c4e288e0d41d2c3890d5b3befa7579455c |
39 |
- |
40 |
-DESCRIPTION="Data parsing and validation using Python type hints" |
41 |
-HOMEPAGE="https://github.com/samuelcolvin/pydantic" |
42 |
-# No tests on PyPI: https://github.com/samuelcolvin/pydantic/pull/1976 |
43 |
-SRC_URI=" |
44 |
- https://github.com/samuelcolvin/pydantic/archive/${COMMIT}.tar.gz |
45 |
- -> ${P}.tar.gz" |
46 |
-S="${WORKDIR}/${PN}-${COMMIT}" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- dev-python/typing-extensions[${PYTHON_USEDEP}] |
54 |
-" |
55 |
-BDEPEND=" |
56 |
- dev-python/cython[${PYTHON_USEDEP}] |
57 |
- test? ( |
58 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
59 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
60 |
- dev-python/python-email-validator[${PYTHON_USEDEP}] |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}/${P}-update-py3.10rc1.patch" |
66 |
-) |
67 |
- |
68 |
-distutils_enable_tests --install pytest |
69 |
- |
70 |
-EPYTEST_DESELECT=( |
71 |
- # flaky test, known upstream |
72 |
- tests/test_hypothesis_plugin.py::test_can_construct_models_with_all_fields |
73 |
-) |
74 |
- |
75 |
-src_prepare() { |
76 |
- # seriously? |
77 |
- sed -i -e '/CFLAGS/d' setup.py || die |
78 |
- distutils-r1_src_prepare |
79 |
-} |