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/h2/
Date: Thu, 16 Mar 2023 18:13:16
Message-Id: 1678990276.67b48238f67f37ae1e2ad6430cfedbd29669fc07.mgorny@gentoo
1 commit: 67b48238f67f37ae1e2ad6430cfedbd29669fc07
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 16 18:09:47 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 18:11:16 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b48238
7
8 dev-python/h2: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/h2/Manifest | 1 -
13 dev-python/h2/h2-3.2.0-r1.ebuild | 58 ----------------------------------------
14 dev-python/h2/h2-3.2.0.ebuild | 52 -----------------------------------
15 3 files changed, 111 deletions(-)
16
17 diff --git a/dev-python/h2/Manifest b/dev-python/h2/Manifest
18 index d54c669d7be3..59642403e537 100644
19 --- a/dev-python/h2/Manifest
20 +++ b/dev-python/h2/Manifest
21 @@ -1,2 +1 @@
22 DIST h2-4.1.0.tar.gz 2143812 BLAKE2B b9d9a771340b4bde1675b9fd65c242732a1a262456f84a409662cf2b57326e24e0583160ba0531c0b105b79342578714127dddb560d2a27de58af34d1052c698 SHA512 4e9cf88b3ae702a8a42bded775ad337809787fe8172d501c230d55abbf1edd764acf3b227f2e58756d882499661ffcf6bbdd4812a4d938c04fac3f1aa2390b28
23 -DIST hyper-h2-3.2.0.tar.gz 2203333 BLAKE2B 245bab162852070e850613c41162c75efe5e43535945dacf448afdc948cade83402f77259aa46f375d0772a5287e42d8842b1259cb36392cc8fc222dec7cef75 SHA512 103a4ea2cd29037ce03ae676864125b4111c7d31a82bbbe7028557da886d88fb5363d885f08d5d3f68dfa29013b7b03350cc0cb4d9dddf32735e98dae5d7fc7c
24
25 diff --git a/dev-python/h2/h2-3.2.0-r1.ebuild b/dev-python/h2/h2-3.2.0-r1.ebuild
26 deleted file mode 100644
27 index 635a9a4ab055..000000000000
28 --- a/dev-python/h2/h2-3.2.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,58 +0,0 @@
31 -# Copyright 1999-2023 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -DISTUTILS_USE_PEP517=setuptools
37 -PYTHON_COMPAT=( python3_{9..11} pypy3 )
38 -
39 -inherit distutils-r1
40 -
41 -MY_P=hyper-h2-${PV}
42 -DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
43 -HOMEPAGE="
44 - https://python-hyper.org/projects/h2/en/stable/
45 - https://github.com/python-hyper/h2/
46 - https://pypi.org/project/h2/
47 -"
48 -SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
49 -S=${WORKDIR}/${MY_P}
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
54 -
55 -RDEPEND="
56 - >=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
57 - <dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
58 - >=dev-python/hpack-3.0.0[${PYTHON_USEDEP}]
59 - <dev-python/hpack-4.0.0[${PYTHON_USEDEP}]
60 -"
61 -BDEPEND="
62 - test? (
63 - dev-python/hypothesis[${PYTHON_USEDEP}]
64 - )
65 -"
66 -
67 -distutils_enable_tests pytest
68 -
69 -PATCHES=(
70 - # From https://github.com/python-hyper/h2/pull/1248
71 - # Disables some failing healthchecks
72 - "${FILESDIR}/hyper-h2-3.2.0-failed-healthcheck.patch"
73 -)
74 -
75 -python_test() {
76 - local EPYTEST_DESELECT=()
77 - [[ ${EPYTHON} == python3.1[01] ]] && EPYTEST_DESELECT+=(
78 - # these rely on fixed string repr() and fail because enum repr
79 - # changed in py3.10
80 - test/test_basic_logic.py::TestBasicServer::test_stream_repr
81 - test/test_events.py::TestEventReprs::test_remotesettingschanged_repr
82 - test/test_events.py::TestEventReprs::test_streamreset_repr
83 - test/test_events.py::TestEventReprs::test_settingsacknowledged_repr
84 - test/test_events.py::TestEventReprs::test_connectionterminated_repr
85 - )
86 -
87 - epytest --hypothesis-profile=travis
88 -}
89
90 diff --git a/dev-python/h2/h2-3.2.0.ebuild b/dev-python/h2/h2-3.2.0.ebuild
91 deleted file mode 100644
92 index 9906283c1f83..000000000000
93 --- a/dev-python/h2/h2-3.2.0.ebuild
94 +++ /dev/null
95 @@ -1,52 +0,0 @@
96 -# Copyright 1999-2023 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=7
100 -
101 -PYTHON_COMPAT=( python3_{9..10} pypy3 )
102 -inherit distutils-r1
103 -
104 -MY_P=hyper-h2-${PV}
105 -DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
106 -HOMEPAGE="https://python-hyper.org/h2/en/stable/ https://pypi.org/project/h2/"
107 -SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
108 -S=${WORKDIR}/${MY_P}
109 -
110 -LICENSE="MIT"
111 -SLOT="0"
112 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
113 -
114 -RDEPEND="
115 - >=dev-python/hyperframe-5.2.0[${PYTHON_USEDEP}]
116 - <dev-python/hyperframe-6.0.0[${PYTHON_USEDEP}]
117 - >=dev-python/hpack-3.0.0[${PYTHON_USEDEP}]
118 - <dev-python/hpack-4.0.0[${PYTHON_USEDEP}]
119 -"
120 -BDEPEND="
121 - test? (
122 - dev-python/hypothesis[${PYTHON_USEDEP}]
123 - )
124 -"
125 -
126 -distutils_enable_tests pytest
127 -
128 -PATCHES=(
129 - # From https://github.com/python-hyper/h2/pull/1248
130 - # Disables some failing healthchecks
131 - "${FILESDIR}/hyper-h2-3.2.0-failed-healthcheck.patch"
132 -)
133 -
134 -python_test() {
135 - local deselect=()
136 - [[ ${EPYTHON} == python3.10 ]] && deselect+=(
137 - # these rely on fixed string repr() and fail because enum repr
138 - # changed in py3.10
139 - test/test_basic_logic.py::TestBasicServer::test_stream_repr
140 - test/test_events.py::TestEventReprs::test_remotesettingschanged_repr
141 - test/test_events.py::TestEventReprs::test_streamreset_repr
142 - test/test_events.py::TestEventReprs::test_settingsacknowledged_repr
143 - test/test_events.py::TestEventReprs::test_connectionterminated_repr
144 - )
145 -
146 - epytest --hypothesis-profile=travis ${deselect[@]/#/--deselect }
147 -}