Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/synapse/
Date: Sun, 30 Oct 2022 09:40:25
Message-Id: 1667122576.effda095a17be164cf3816ac2d2859099e9726c3.sam@gentoo
1 commit: effda095a17be164cf3816ac2d2859099e9726c3
2 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
3 AuthorDate: Wed Oct 26 14:10:23 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 09:36:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=effda095
7
8 net-im/synapse: drop 1.65.0, 1.66.0
9
10 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-im/synapse/Manifest | 2 -
14 net-im/synapse/synapse-1.65.0.ebuild | 104 -----------------------------
15 net-im/synapse/synapse-1.66.0.ebuild | 126 -----------------------------------
16 3 files changed, 232 deletions(-)
17
18 diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
19 index 7b4ae2c6354a..ec3ce9cd2a52 100644
20 --- a/net-im/synapse/Manifest
21 +++ b/net-im/synapse/Manifest
22 @@ -25,8 +25,6 @@ DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017a
23 DIST smallvec-1.9.0.crate 28396 BLAKE2B b04100f0a8db9e7c34a425e665242772c9857c5a4c5f34468a3f1b14f669d5cd21de2d54dc5295a22f52032370e8e989fc61cea3f4e6574ccca5be639c645e74 SHA512 e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56
24 DIST subtle-2.4.1.crate 12630 BLAKE2B 05a90232bfdc2cf67522e2972bddcd8dc9a165b1d1cf775d0b1c8358fc7c4d0559b2b899126b6688b8ef77b8b7580b3b300f74a599a7ee77f99c064a3917693b SHA512 7fd8234b7ffa3ca7e473539cad958df0842186e1dd735905e0d4977564f40a5f2e18b58180fcbe52614a00964dc150bd9f6964500847ea658f22bffe030f5c6a
25 DIST syn-1.0.99.crate 236084 BLAKE2B 852493506271ee364ecb6e907fca55f18af9dc7ec4b4737e43e104d04064a37a2a59b31f5f780621785e44606d43e74adca5cf24c9ac1a8e186955c6b3e43b85 SHA512 47a9ec4d5e6702709c1069d1804d29880a1c5bbbed5a91c44e80eec657c62ceb223d6fbd942deef591463664766ae1997d154525f4e7a212bb84151418f40d10
26 -DIST synapse-1.65.0.gh.tar.gz 7895758 BLAKE2B 1c816dfb7982fc0462a4a3b84c19dd144e7ac16d6cadf1e73dc71002c234eed5945ad8162d69960eff1bab80a3396a1b78e0be2cc2dfee314f6fb39d0b91b098 SHA512 3ba9751f707d41a9e18d9fe63f9652c36712451d42953e2bd4add8c142418a2a47a2ce75da893832af9225b944dd7b275f6d744f6e70d468b7f143dd5ccb9137
27 -DIST synapse-1.66.0.gh.tar.gz 7916982 BLAKE2B 116d9f7dfd046ddc245ef1375bb3f01aad126fab8dedeb0e9172ce9b4bfa6c9757e241d9f0b2bad07525657e7a1f378d9385401436132c4ee6046629792a9840 SHA512 ebe8ab787d72592b395226490414f7dce5c250173be654dc6ce63deec3a7d718f8400cdc81dfb73ae331632bed4dfb5c6f09c64538f4bda8546db8fb75d728b7
28 DIST synapse-1.67.0.gh.tar.gz 7933047 BLAKE2B 8fd6b48198256c8cbe4a2a1d5215e1eb34084065056dd251a19b01c44e7f193b612f49a8fce74498d406e338dba3c6f4a0db384f323d5e4174d181de8478ef24 SHA512 913335b3815ff218134cda80d7149a95aea69eda170e9da6d7566213f077692a92b0276e2530ae4e69572b13124de28b6546a7322b3d9e65f676df0ca4cb9469
29 DIST synapse-1.68.0.gh.tar.gz 7961362 BLAKE2B 9822e5068aefe9807946b25b6a04142c8b506a165349e8bf5d8c45227e0959331d13870f2d2ddb5925ef8892e16c6a35002e4a091814fddd73a0bf03590278d2 SHA512 fc31ba2c92ab698ea54006862021f855cc1011a6d7a9d8d42e2eb07bbd6f9f332d35c68fecc43cb543530da7dba6e83d0e5379c7e8dc91bb48f228d509a9f584
30 DIST target-lexicon-0.12.4.crate 23020 BLAKE2B ad9780b9478b00b4fdcb07bd016d83216695413090ac29cca06388c3790e2832c978b1c7e69f6d34bb6fc9adc39c0a0b6b6636e50a9715a9f5f16445dba22d19 SHA512 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06
31
32 diff --git a/net-im/synapse/synapse-1.65.0.ebuild b/net-im/synapse/synapse-1.65.0.ebuild
33 deleted file mode 100644
34 index 885d190b5f29..000000000000
35 --- a/net-im/synapse/synapse-1.65.0.ebuild
36 +++ /dev/null
37 @@ -1,104 +0,0 @@
38 -# Copyright 2022 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=8
42 -
43 -PYTHON_COMPAT=( python3_{9..10} )
44 -DISTUTILS_SINGLE_IMPL=1
45 -DISTUTILS_USE_PEP517=poetry
46 -
47 -inherit distutils-r1 multiprocessing optfeature systemd
48 -
49 -DESCRIPTION="Reference implementation of Matrix homeserver"
50 -HOMEPAGE="
51 - https://matrix.org/
52 - https://github.com/matrix-org/synapse/
53 -"
54 -
55 -if [[ ${PV} == 9999 ]]; then
56 - inherit git-r3
57 - EGIT_REPO_URI="https://github.com/matrix-org/${PN}.git"
58 -else
59 - MY_PV="${PV/_rc/rc}"
60 - SRC_URI="https://github.com/matrix-org/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
61 - S="${WORKDIR}/${PN}-${MY_PV}"
62 - KEYWORDS="amd64 ~ppc64"
63 -fi
64 -
65 -LICENSE="Apache-2.0"
66 -SLOT="0"
67 -IUSE="postgres systemd test"
68 -RESTRICT="!test? ( test )"
69 -
70 -DEPEND="
71 - acct-user/synapse
72 - acct-group/synapse
73 -"
74 -RDEPEND="${DEPEND}
75 - $(python_gen_cond_dep '
76 - dev-python/attrs[${PYTHON_USEDEP}]
77 - dev-python/bcrypt[${PYTHON_USEDEP}]
78 - dev-python/bleach[${PYTHON_USEDEP}]
79 - dev-python/canonicaljson[${PYTHON_USEDEP}]
80 - dev-python/cryptography[${PYTHON_USEDEP}]
81 - dev-python/frozendict[${PYTHON_USEDEP}]
82 - dev-python/ijson[${PYTHON_USEDEP}]
83 - >=dev-python/jinja-3.0[${PYTHON_USEDEP}]
84 - dev-python/jsonschema[${PYTHON_USEDEP}]
85 - >=dev-python/matrix-common-1.2.1[${PYTHON_USEDEP}]
86 - dev-python/msgpack[${PYTHON_USEDEP}]
87 - dev-python/netaddr[${PYTHON_USEDEP}]
88 - dev-python/packaging[${PYTHON_USEDEP}]
89 - dev-python/phonenumbers[${PYTHON_USEDEP}]
90 - dev-python/pillow[${PYTHON_USEDEP},webp]
91 - dev-python/prometheus_client[${PYTHON_USEDEP}]
92 - dev-python/pyasn1-modules[${PYTHON_USEDEP}]
93 - dev-python/pyasn1[${PYTHON_USEDEP}]
94 - dev-python/pymacaroons[${PYTHON_USEDEP}]
95 - dev-python/pyopenssl[${PYTHON_USEDEP}]
96 - dev-python/pyyaml[${PYTHON_USEDEP}]
97 - dev-python/service_identity[${PYTHON_USEDEP}]
98 - dev-python/signedjson[${PYTHON_USEDEP}]
99 - dev-python/sortedcontainers[${PYTHON_USEDEP}]
100 - dev-python/treq[${PYTHON_USEDEP}]
101 - dev-python/twisted[${PYTHON_USEDEP}]
102 - dev-python/typing-extensions[${PYTHON_USEDEP}]
103 - dev-python/unpaddedbase64[${PYTHON_USEDEP}]
104 - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
105 - systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
106 - ')
107 -"
108 -BDEPEND="
109 - test? ( $(python_gen_cond_dep '
110 - dev-python/idna[${PYTHON_USEDEP}]
111 - dev-python/parameterized[${PYTHON_USEDEP}]
112 - ') )
113 -"
114 -
115 -python_test() {
116 - "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests || die "Tests failed with ${EPYTHON}"
117 -}
118 -
119 -python_install() {
120 - distutils-r1_python_install
121 - keepdir /var/{lib,log}/synapse /etc/synapse
122 - fowners synapse:synapse /var/{lib,log}/synapse /etc/synapse
123 - fperms 0750 /var/{lib,log}/synapse /etc/synapse
124 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
125 - systemd_dounit "${FILESDIR}/synapse.service"
126 -}
127 -
128 -pkg_postinst() {
129 - optfeature "VoIP relaying on your homeserver with turn" net-im/coturn
130 -
131 - einfo "In order to generate initial configuration run:"
132 - einfo "sudo -u synapse synapse_homeserver \\"
133 - einfo " --server-name matrix.domain.tld \\"
134 - einfo " --config-path /etc/synapse/homeserver.yaml \\"
135 - einfo " --generate-config \\"
136 - einfo " --data-directory /var/lib/synapse \\"
137 - einfo " --report-stats=no"
138 - einfo
139 - einfo "See also upgrade notes:"
140 - einfo "https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md"
141 -}
142
143 diff --git a/net-im/synapse/synapse-1.66.0.ebuild b/net-im/synapse/synapse-1.66.0.ebuild
144 deleted file mode 100644
145 index e63f6f0fdf2c..000000000000
146 --- a/net-im/synapse/synapse-1.66.0.ebuild
147 +++ /dev/null
148 @@ -1,126 +0,0 @@
149 -# Copyright 2022 Gentoo Authors
150 -# Distributed under the terms of the GNU General Public License v2
151 -
152 -EAPI=8
153 -
154 -PYTHON_COMPAT=( python3_{9..10} )
155 -DISTUTILS_SINGLE_IMPL=1
156 -DISTUTILS_USE_PEP517=poetry
157 -
158 -inherit distutils-r1 multiprocessing optfeature systemd
159 -
160 -DESCRIPTION="Reference implementation of Matrix homeserver"
161 -HOMEPAGE="
162 - https://matrix.org/
163 - https://github.com/matrix-org/synapse/
164 -"
165 -
166 -if [[ ${PV} == 9999 ]]; then
167 - inherit git-r3
168 - EGIT_REPO_URI="https://github.com/matrix-org/${PN}.git"
169 -else
170 - MY_PV="${PV/_rc/rc}"
171 - SRC_URI="https://github.com/matrix-org/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
172 - S="${WORKDIR}/${PN}-${MY_PV}"
173 - KEYWORDS="amd64 ~ppc64"
174 -fi
175 -
176 -LICENSE="Apache-2.0"
177 -SLOT="0"
178 -IUSE="postgres systemd test"
179 -RESTRICT="!test? ( test )"
180 -
181 -DEPEND="
182 - acct-user/synapse
183 - acct-group/synapse
184 -"
185 -RDEPEND="${DEPEND}
186 - $(python_gen_cond_dep '
187 - dev-python/attrs[${PYTHON_USEDEP}]
188 - dev-python/bcrypt[${PYTHON_USEDEP}]
189 - dev-python/bleach[${PYTHON_USEDEP}]
190 - dev-python/canonicaljson[${PYTHON_USEDEP}]
191 - dev-python/cryptography[${PYTHON_USEDEP}]
192 - dev-python/frozendict[${PYTHON_USEDEP}]
193 - dev-python/ijson[${PYTHON_USEDEP}]
194 - >=dev-python/jinja-3.0[${PYTHON_USEDEP}]
195 - dev-python/jsonschema[${PYTHON_USEDEP}]
196 - >=dev-python/matrix-common-1.2.1[${PYTHON_USEDEP}]
197 - dev-python/msgpack[${PYTHON_USEDEP}]
198 - dev-python/netaddr[${PYTHON_USEDEP}]
199 - dev-python/packaging[${PYTHON_USEDEP}]
200 - dev-python/phonenumbers[${PYTHON_USEDEP}]
201 - dev-python/pillow[${PYTHON_USEDEP},webp]
202 - dev-python/prometheus_client[${PYTHON_USEDEP}]
203 - dev-python/pyasn1-modules[${PYTHON_USEDEP}]
204 - dev-python/pyasn1[${PYTHON_USEDEP}]
205 - dev-python/pydantic[${PYTHON_USEDEP}]
206 - dev-python/pymacaroons[${PYTHON_USEDEP}]
207 - dev-python/pyopenssl[${PYTHON_USEDEP}]
208 - dev-python/pyyaml[${PYTHON_USEDEP}]
209 - dev-python/service_identity[${PYTHON_USEDEP}]
210 - dev-python/signedjson[${PYTHON_USEDEP}]
211 - dev-python/sortedcontainers[${PYTHON_USEDEP}]
212 - dev-python/treq[${PYTHON_USEDEP}]
213 - dev-python/twisted[${PYTHON_USEDEP}]
214 - dev-python/typing-extensions[${PYTHON_USEDEP}]
215 - dev-python/unpaddedbase64[${PYTHON_USEDEP}]
216 - postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
217 - systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
218 - ')
219 -"
220 -BDEPEND="
221 - test? (
222 - $(python_gen_cond_dep '
223 - dev-python/idna[${PYTHON_USEDEP}]
224 - dev-python/parameterized[${PYTHON_USEDEP}]
225 - ')
226 - postgres? ( dev-db/postgresql[server] )
227 - )
228 -"
229 -
230 -src_test() {
231 - if use postgres; then
232 - initdb -D "${T}/pgsql" || die
233 - pg_ctl -w -D "${T}/pgsql" start \
234 - -o "-h '' -k '${T}'" || die
235 - createdb -h "${T}" synapse_test || die
236 -
237 - local -x SYNAPSE_POSTGRES=1
238 - local -x SYNAPSE_POSTGRES_HOST="${T}"
239 - fi
240 -
241 - distutils-r1_src_test
242 -
243 - if use postgres; then
244 - pg_ctl -w -D "${T}/pgsql" stop || die
245 - fi
246 -}
247 -
248 -python_test() {
249 - "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests || die "Tests failed with ${EPYTHON}"
250 -}
251 -
252 -python_install() {
253 - distutils-r1_python_install
254 - keepdir /var/{lib,log}/synapse /etc/synapse
255 - fowners synapse:synapse /var/{lib,log}/synapse /etc/synapse
256 - fperms 0750 /var/{lib,log}/synapse /etc/synapse
257 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
258 - systemd_dounit "${FILESDIR}/synapse.service"
259 -}
260 -
261 -pkg_postinst() {
262 - optfeature "VoIP relaying on your homeserver with turn" net-im/coturn
263 -
264 - einfo "In order to generate initial configuration run:"
265 - einfo "sudo -u synapse synapse_homeserver \\"
266 - einfo " --server-name matrix.domain.tld \\"
267 - einfo " --config-path /etc/synapse/homeserver.yaml \\"
268 - einfo " --generate-config \\"
269 - einfo " --data-directory /var/lib/synapse \\"
270 - einfo " --report-stats=no"
271 - einfo
272 - einfo "See also upgrade notes:"
273 - einfo "https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md"
274 -}