Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/grpclib/, dev-python/grpclib/files/
Date: Thu, 16 Mar 2023 08:41:54
Message-Id: 1678823946.ea72eb3bb3283bb828ab3a37e298bee55feff78f.flow@gentoo
1 commit: ea72eb3bb3283bb828ab3a37e298bee55feff78f
2 Author: Antonín Říha <antonin.riha <AT> protonmail <DOT> com>
3 AuthorDate: Tue Mar 14 19:59:06 2023 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 14 19:59:06 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea72eb3b
7
8 dev-python/grpclib: add 0.4.3 Python 3.11
9 Closes: https://bugs.gentoo.org/901153
10
11 Signed-off-by: Antonín Říha <antonin.riha <AT> protonmail.com>
12
13 dev-python/grpclib/Manifest | 4 ++--
14 dev-python/grpclib/files/grpclib-add_css_file.patch | 10 ++++++++++
15 dev-python/grpclib/grpclib-0.4.2.ebuild | 8 ++++++--
16 .../grpclib/{grpclib-0.4.3_rc2.ebuild => grpclib-0.4.3.ebuild} | 8 ++++++--
17 4 files changed, 24 insertions(+), 6 deletions(-)
18
19 diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest
20 index 95fb988ee..689aaf9b9 100644
21 --- a/dev-python/grpclib/Manifest
22 +++ b/dev-python/grpclib/Manifest
23 @@ -1,2 +1,2 @@
24 -DIST grpclib-0.4.2.tar.gz 116997 BLAKE2B 8a3ad3022a4963f0539c212b66af615f4c1a73cec49801118af25ad141741aed692e16389687f690f885d9f85dc53a5e1b8208a5d8af111c2e50fdefef0684ce SHA512 a25ee2286431d294dd4b07b3ac34387608ca3dbabdf6d54a09b1a33fe66c75ba88f3f5e90160a55dc614871c93bc6ccfb884d149bbd624e13d792b44271b534f
25 -DIST grpclib-0.4.3_rc2.tar.gz 116904 BLAKE2B c4a0bf70c4f8d218829e10811fb532bcd1bea7eeec10aa2ee06e286af68e653b73d6db1b0e859821d1587fc5fa81e7a8ab2473b24e746b53b1a5134589a6e68c SHA512 185118ce1f1fca4db3dfc8fa781ef7a09f366aa4f0bfb1f37222f307c4d30c9527c5ffd74d4afce1e27cff69c76c6f8e9fb054920a41da000f723e9a79219f07
26 +DIST grpclib-0.4.2.gh.tar.gz 116997 BLAKE2B 8a3ad3022a4963f0539c212b66af615f4c1a73cec49801118af25ad141741aed692e16389687f690f885d9f85dc53a5e1b8208a5d8af111c2e50fdefef0684ce SHA512 a25ee2286431d294dd4b07b3ac34387608ca3dbabdf6d54a09b1a33fe66c75ba88f3f5e90160a55dc614871c93bc6ccfb884d149bbd624e13d792b44271b534f
27 +DIST grpclib-0.4.3.gh.tar.gz 106619 BLAKE2B 2ea5ae37c0f9e7c0aaf278922144135d536007d23a676298beb770c6f357887f383053a5c611a31cb55fb9dd7078a40c8ba0528425c039b473bd9f8cd022428a SHA512 2de4d95c26663eaf55e70cf1b2a0b5e44538b7543518702725616c6658d79a246996e4520cb1440f5910e3f353db7fb157812c57d42c2659c018c46ebff92224
28
29 diff --git a/dev-python/grpclib/files/grpclib-add_css_file.patch b/dev-python/grpclib/files/grpclib-add_css_file.patch
30 new file mode 100644
31 index 000000000..25243b932
32 --- /dev/null
33 +++ b/dev-python/grpclib/files/grpclib-add_css_file.patch
34 @@ -0,0 +1,10 @@
35 +diff --git a/docs/conf.py b/docs/conf.py
36 +index 7ccef26..766b77d 100644
37 +--- a/docs/conf.py
38 ++++ b/docs/conf.py
39 +@@ -27,4 +27,4 @@ html_theme_options = {
40 +
41 +
42 + def setup(app):
43 +- app.add_stylesheet('style.css')
44 ++ app.add_css_file('style.css')
45
46 diff --git a/dev-python/grpclib/grpclib-0.4.2.ebuild b/dev-python/grpclib/grpclib-0.4.2.ebuild
47 index d994aff7d..66f400d1e 100644
48 --- a/dev-python/grpclib/grpclib-0.4.2.ebuild
49 +++ b/dev-python/grpclib/grpclib-0.4.2.ebuild
50 @@ -4,7 +4,7 @@
51 EAPI=8
52
53 DISTUTILS_USE_PEP517=setuptools
54 -PYTHON_COMPAT=( python3_{9..10} )
55 +PYTHON_COMPAT=( python3_{9..11} )
56
57 inherit distutils-r1
58
59 @@ -16,10 +16,14 @@ if [[ ${PV} == 9999 ]]; then
60 else
61 MY_PV="${PV/_rc/rc}"
62 S="${WORKDIR}/${PN}-${MY_PV}"
63 - SRC_URI="https://github.com/vmagamedov/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
64 + SRC_URI="https://github.com/vmagamedov/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
65 KEYWORDS="~amd64 ~x86"
66 fi
67
68 +PATCHES=(
69 + "${FILESDIR}/${PN}-add_css_file.patch"
70 +)
71 +
72 LICENSE="BSD"
73 SLOT="0"
74
75
76 diff --git a/dev-python/grpclib/grpclib-0.4.3_rc2.ebuild b/dev-python/grpclib/grpclib-0.4.3.ebuild
77 similarity index 89%
78 rename from dev-python/grpclib/grpclib-0.4.3_rc2.ebuild
79 rename to dev-python/grpclib/grpclib-0.4.3.ebuild
80 index ea35b83ca..abc0d93b0 100644
81 --- a/dev-python/grpclib/grpclib-0.4.3_rc2.ebuild
82 +++ b/dev-python/grpclib/grpclib-0.4.3.ebuild
83 @@ -4,7 +4,7 @@
84 EAPI=8
85
86 DISTUTILS_USE_PEP517=setuptools
87 -PYTHON_COMPAT=( python3_{9..10} )
88 +PYTHON_COMPAT=( python3_{9..11} )
89
90 inherit distutils-r1
91
92 @@ -16,10 +16,14 @@ if [[ ${PV} == 9999 ]]; then
93 else
94 MY_PV="${PV/_rc/rc}"
95 S="${WORKDIR}/${PN}-${MY_PV}"
96 - SRC_URI="https://github.com/vmagamedov/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
97 + SRC_URI="https://github.com/vmagamedov/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
98 KEYWORDS="~amd64 ~x86"
99 fi
100
101 +PATCHES=(
102 + "${FILESDIR}/${PN}-add_css_file.patch"
103 +)
104 +
105 LICENSE="BSD"
106 SLOT="0"