Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cattrs/
Date: Fri, 04 Nov 2022 08:38:16
Message-Id: 1667550736.c17d719cdaacda60be2816c11ec805ee2808d8bc.mgorny@gentoo
1 commit: c17d719cdaacda60be2816c11ec805ee2808d8bc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 4 08:32:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 4 08:32:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17d719c
7
8 dev-python/cattrs: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cattrs/Manifest | 1 -
13 dev-python/cattrs/cattrs-22.1.0.ebuild | 57 ----------------------------------
14 2 files changed, 58 deletions(-)
15
16 diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest
17 index 6f2ed5507bd7..c7462bd373d9 100644
18 --- a/dev-python/cattrs/Manifest
19 +++ b/dev-python/cattrs/Manifest
20 @@ -1,2 +1 @@
21 -DIST cattrs-22.1.0.gh.tar.gz 108033 BLAKE2B 823e3ab466fd73385a4aaefb547b3457ee9cd100f38b6778c26bbe3d93e23ed9a00f071d6a5d7626da91e6660e2a8118e70cfa53a5960d550b9038fffec58eef SHA512 db1effb8d632dc3843d38b18bcd439c35d8bae0e4379b075417eaedbc130f6426186c0d299bc5b5d68a7354d7c5e53927ba5e0e989d498841a73237c588febb8
22 DIST cattrs-22.2.0.gh.tar.gz 117001 BLAKE2B 34601cf48c582da2d9aa8d741a08919b5f06043bc6ba6b072d8b0934e90e781349b1325ced478ca0b42b50db1f7fe2a6d3cd16ac29609efd72c9aa894debfe9e SHA512 d198864402f56d4e9403c61ee3d9d109c5eac3350908afa1e244dbe31e4bc986271fcb4c72bde9cdaa9ee865c6a8b81de68ec0d51490ed658b410714e1fc550c
23
24 diff --git a/dev-python/cattrs/cattrs-22.1.0.ebuild b/dev-python/cattrs/cattrs-22.1.0.ebuild
25 deleted file mode 100644
26 index b7aab0ff36c4..000000000000
27 --- a/dev-python/cattrs/cattrs-22.1.0.ebuild
28 +++ /dev/null
29 @@ -1,57 +0,0 @@
30 -# Copyright 2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=poetry
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Composable complex class support for attrs and dataclasses"
41 -HOMEPAGE="
42 - https://pypi.org/project/cattrs/
43 - https://github.com/python-attrs/cattrs/
44 -"
45 -SRC_URI="
46 - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz
47 - -> ${P}.gh.tar.gz
48 -"
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -KEYWORDS="amd64 x86"
53 -
54 -RDEPEND="
55 - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
56 - $(python_gen_cond_dep '
57 - dev-python/exceptiongroup[${PYTHON_USEDEP}]
58 - ' 3.8 3.9 3.10)
59 -"
60 -BDEPEND="
61 - test? (
62 - dev-python/hypothesis[${PYTHON_USEDEP}]
63 - dev-python/immutables[${PYTHON_USEDEP}]
64 - )
65 -"
66 -# test_preconf:
67 -# dev-python/bson[${PYTHON_USEDEP}]
68 -# dev-python/msgpack[${PYTHON_USEDEP}]
69 -# dev-python/orjson[${PYTHON_USEDEP}]
70 -# dev-python/pyyaml[${PYTHON_USEDEP}]
71 -# dev-python/tomlkit[${PYTHON_USEDEP}]
72 -# dev-python/ujson[${PYTHON_USEDEP}]
73 -
74 -distutils_enable_tests pytest
75 -
76 -src_prepare() {
77 - sed -e 's:--benchmark.*::' \
78 - -e '/addopts/d' \
79 - -i pyproject.toml || die
80 - distutils-r1_src_prepare
81 -}
82 -
83 -python_test() {
84 - # unpackaged deps, see above
85 - epytest tests --ignore tests/test_preconf.py
86 -}