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/frozendict/files/, dev-python/frozendict/
Date: Sat, 04 Mar 2023 05:53:19
Message-Id: 1677909187.7750a300134e9870e3a3ec97b2eac4e114293bb0.mgorny@gentoo
1 commit: 7750a300134e9870e3a3ec97b2eac4e114293bb0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 4 05:51:09 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 05:53:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7750a300
7
8 dev-python/frozendict: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/frozendict/Manifest | 1 -
13 .../frozendict-2.3.4-optional-extension.patch | 20 -----------
14 dev-python/frozendict/frozendict-2.3.4-r1.ebuild | 42 ----------------------
15 dev-python/frozendict/frozendict-2.3.4.ebuild | 31 ----------------
16 4 files changed, 94 deletions(-)
17
18 diff --git a/dev-python/frozendict/Manifest b/dev-python/frozendict/Manifest
19 index c791a05a85f7..4bdae1f6bc76 100644
20 --- a/dev-python/frozendict/Manifest
21 +++ b/dev-python/frozendict/Manifest
22 @@ -1,2 +1 @@
23 -DIST frozendict-2.3.4.gh.tar.gz 307399 BLAKE2B ac6311182ed2ba4925a14a145b4d30a0241978f55ae7a81cebc534ede812ca77097f0f8c7eeb08e8cbd6240e036d3b5035bd3e9b284a55b638c93717e3a20258 SHA512 15acc4fceb5e2228ee3423d4a5b86c529e9bdcb7264f59139cbde6194983901a17da8036bebf53d7d8057ce52666031e90eb1ca358bfd374c651fd60743988dc
24 DIST frozendict-2.3.5.gh.tar.gz 307566 BLAKE2B 8d8b7d483e248be5de3c6e689dbb7e8dc40f8a8112456308e6a0e633dee04640aa0bb43edcf07e2a9829b87b8d082aa0926581622372224e9636cca27eaeaef0 SHA512 9e3820f2a24f2362f1be82049df871449a5225a927efa7735a2e9320e3c9f835a4a0a99a0037a3366df55a5744b38e96b358a9cc624defa79f45a5bff4c3b61d
25
26 diff --git a/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch b/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch
27 deleted file mode 100644
28 index f64402b023e3..000000000000
29 --- a/dev-python/frozendict/files/frozendict-2.3.4-optional-extension.patch
30 +++ /dev/null
31 @@ -1,20 +0,0 @@
32 -Autodetect availability of C extension. Taken from upstream PR.
33 -
34 -Upstream-PR: https://github.com/Marco-Sulla/python-frozendict/pull/69
35 -
36 -diff --git a/setup.py b/setup.py
37 -index 0325383..0667b59 100755
38 ---- a/setup.py
39 -+++ b/setup.py
40 -@@ -163,7 +163,7 @@ if len(argv) > 1 and argv[1] in custom_args:
41 - impl = python_implementation()
42 -
43 - if custom_arg == None:
44 -- if impl == "PyPy":
45 -+ if impl == "PyPy" or not src_path.exists():
46 - custom_arg = "py"
47 - else:
48 - custom_arg = "c"
49 ---
50 -2.39.1
51 -
52
53 diff --git a/dev-python/frozendict/frozendict-2.3.4-r1.ebuild b/dev-python/frozendict/frozendict-2.3.4-r1.ebuild
54 deleted file mode 100644
55 index 986217d9dcee..000000000000
56 --- a/dev-python/frozendict/frozendict-2.3.4-r1.ebuild
57 +++ /dev/null
58 @@ -1,42 +0,0 @@
59 -# Copyright 2022-2023 Gentoo Authors
60 -# Distributed under the terms of the GNU General Public License v2
61 -
62 -EAPI=8
63 -
64 -DISTUTILS_USE_PEP517=setuptools
65 -PYTHON_COMPAT=( python3_{9..11} )
66 -
67 -inherit distutils-r1
68 -
69 -DESCRIPTION="A simple immutable mapping for python"
70 -HOMEPAGE="
71 - https://github.com/Marco-Sulla/python-frozendict/
72 - https://pypi.org/project/frozendict/
73 -"
74 -SRC_URI="
75 - https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz
76 - -> ${P}.gh.tar.gz
77 -"
78 -S="${WORKDIR}/python-${P}"
79 -
80 -LICENSE="MIT"
81 -SLOT="0"
82 -KEYWORDS="~amd64 ~ppc64"
83 -
84 -distutils_enable_tests pytest
85 -
86 -PATCHES=(
87 - "${FILESDIR}/${P}-optional-extension.patch"
88 -)
89 -
90 -python_test() {
91 - local EPYTEST_IGNORE=()
92 - # skip tests of native extension for python versions where it is not available
93 - [[ ${EPYTHON} == python3.11 ]] && EPYTEST_IGNORE+=(
94 - test/test_frozendict_c.py
95 - test/test_frozendict_c_subclass.py
96 - )
97 -
98 - rm -rf frozendict || die
99 - epytest
100 -}
101
102 diff --git a/dev-python/frozendict/frozendict-2.3.4.ebuild b/dev-python/frozendict/frozendict-2.3.4.ebuild
103 deleted file mode 100644
104 index 9ba0f0bd0a42..000000000000
105 --- a/dev-python/frozendict/frozendict-2.3.4.ebuild
106 +++ /dev/null
107 @@ -1,31 +0,0 @@
108 -# Copyright 2022 Gentoo Authors
109 -# Distributed under the terms of the GNU General Public License v2
110 -
111 -EAPI=8
112 -
113 -DISTUTILS_USE_PEP517=setuptools
114 -PYTHON_COMPAT=( python3_{9..10} )
115 -
116 -inherit distutils-r1
117 -
118 -DESCRIPTION="A simple immutable mapping for python"
119 -HOMEPAGE="
120 - https://github.com/Marco-Sulla/python-frozendict/
121 - https://pypi.org/project/frozendict/
122 -"
123 -SRC_URI="
124 - https://github.com/Marco-Sulla/python-frozendict/archive/v${PV}.tar.gz
125 - -> ${P}.gh.tar.gz
126 -"
127 -S="${WORKDIR}/python-${P}"
128 -
129 -LICENSE="MIT"
130 -SLOT="0"
131 -KEYWORDS="amd64 ~ppc64"
132 -
133 -distutils_enable_tests pytest
134 -
135 -python_test() {
136 - cd "${T}" || die
137 - epytest "${S}/test"
138 -}