commit:     d7761a51a1cc0774352a2583d90c8f82da63f768
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 25 18:14:50 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Tue Nov 25 19:39:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7761a51

net-im/synapse: drop 1.138.4

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 net-im/synapse/Manifest               |   5 -
 net-im/synapse/synapse-1.138.4.ebuild | 355 ----------------------------------
 2 files changed, 360 deletions(-)

diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index 4de29e2205c5..9d47dee4fb10 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -78,7 +78,6 @@ DIST lazy_static-1.5.0.crate 14025 BLAKE2B 
df29e0e3d1c061815bdd608b41074436024dc
 DIST libc-0.2.174.crate 779933 BLAKE2B 
20ffcbbcad6961e732521940f0595039dc0576d85b2d3b2ad3f1decd37571132a4cd7505b2e108078a4379fc4cec46290b5633bcbcc6e7009c3b474c1a852628
 SHA512 
243f2ffd5741ef859e4dc5b7ee0396071943b1d10429efcaecb322957e256c4be88a7a649029dfd47e6456acc73ee257893fb6c4e8b4d0fe66a12bc5d1c13c73
 DIST libm-0.2.15.crate 156108 BLAKE2B 
0bf4cf92e877f3f7e0bdcd79a3d26a3802f1ba38d0da08e750d2e6107d5dde49cc626a63d55910e8d597175483b1cb55ccbe866059e06c2cb51519ac5402655d
 SHA512 
abee4d8d50a9d25f8d5cbada78877d53ea50d82434b888d170bd83a532bc0534190abbf877e38aba78c370c8cfdf9dc9955c8a8ba4640732e8e6deee3992ab41
 DIST litemap-0.8.0.crate 34344 BLAKE2B 
0f083fa9ecb78ef6de4c094db8a7cebe2ff47af6e46414c06cc0dd0e92ecca06c941dca6ea0ac1b4982f14f6027cad979fd37d19db6631e3952dffb6e33c8798
 SHA512 
61162bd55b28540ec2d61262698045a78efbfadc7e2fa248d9e0215fd7d3ce53a8c50ea0487f2f7df41149e41c0131849e507737e3bbae29cb69ea41dcb8e2d9
-DIST log-0.4.27.crate 48120 BLAKE2B 
09a2159032baaff7eede480062da30ffec1c1d4c77e76288467941dc13722ab1566742c1821326ca5f8c2f9f7597099e235213ecbf883fd93daf5ae9ad5ee981
 SHA512 
8d57219b76c8a25bae193e4d16d4d03bf0b8523e1ed3bdc80a692cabe00fc0359ae9bc3be989f04476ecda7187f27e4ad23fe260a96fcefc819af00fe12a1151
 DIST log-0.4.28.crate 51131 BLAKE2B 
2911509cabe6a69b60945e798f2afee934d865d21efa22d150288de6a27a797fe00ee4f249fc6f6d7a02e2efb7377d2a7188a8ed8cb692f76b94a0df56d74d83
 SHA512 
cea74c92c80f291360a7cdf022e3ce2f509b9051b415840ab2a159585384f3fe606289da00a6def0c3d666416c5fcda865e2ae4ad48df07618818e8486cd0209
 DIST lru-slab-0.1.2.crate 9090 BLAKE2B 
00b36c830cfbe3dc004106aaca3c66dcc780ca0e07af6e1f1b2b8d125d88fdcd0b0f3a9b01299279f09fba7c81b1a87178ee86385af1ee8f648e6f307d26dc2f
 SHA512 
eb93796ffaccafd2e2530efeaf60dab1eeb17fe61652a9299c220cea4dd9099239eb549ae1259ac272c5aa807eebfaec6db4dc5efc95ee59365d3fd1d413f60f
 DIST memchr-2.7.5.crate 97603 BLAKE2B 
ee41ef722d90265064db3ffe22d52eff8f7627ac1ae9b0bad6ca9fa06c1027dca8d67e594e03b03c944dbf85930d2dbf030c5aaed369020ca1a1ba00f153d91a
 SHA512 
2606ee16a7dc02db95dac17cebd2cac9deb2e23d7ea62972cdb19145c06eaf75631347a49c4e6ceeff89fb6e90e992f9bca0a9c955eb5130f89ba2bd865936e1
@@ -139,15 +138,12 @@ DIST ryu-1.0.20.crate 48738 BLAKE2B 
b126085448cb58639a7b5867fe313dcaabaf19df478f
 DIST schannel-0.1.27.crate 42772 BLAKE2B 
55b3cdf596d6d490fdbc10298eed7cb1b1bb8d6349ac8700ac2e7db66e1d75f0a5bea5b1b322bf30cc0f982262e96aa421998151a8ee1e620b5a09d25ad4263f
 SHA512 
f469d03c2be014c248e7b6408f541584f250a9d58bc8dd8ff4d1e63f5720cadba1c0579b1e5d97b58844fadaeff10e9cfae6d5cd33c5de0fa4ebe699a8ead4a8
 DIST security-framework-3.2.0.crate 86095 BLAKE2B 
711c6fbabbc381ad08816aa9c3f1a66fccf05b7a3145a76b29845e4b2f059dfcdffa4cb6eea13967f3cc973744160d9d0e5ab8f84bb06b6d8b6d902f8058e01f
 SHA512 
bbef2a7720ef18e3e07559b852ce3bf0651fcd0b8a93cd01b512381c7afc2782cd4ef1a61b29fa439aac630b1acbf3d6248749a7c3b839707f74154d131642c4
 DIST security-framework-sys-2.14.0.crate 20537 BLAKE2B 
50a04eda370788fb769600b0df2f984155d9ff67c753a8b138568c648fc23f90f076092c9a8f984aa3b6590c547171e53b968ecc4f80f6b7edb8cbbf23bce31c
 SHA512 
a6b5a391450ad91118aff3b9d8420e1099fc9f96926043f5c4061a1fd615a00bb1f86f5a06b9a549f45b27a43b5f9ceb5a015d8589d7df258a77dd4b4dfdd7e4
-DIST serde-1.0.219.crate 78983 BLAKE2B 
7e9542a04c7f1aeff95b821245034368ff1721d98d7138bb1e0a99cdd6436dc37d69606308834fd33daaea3a1792409b3b2305b802433fa1d155816c55ca2a7d
 SHA512 
0d3fe9a47af027d0d79499e60d940661dba6e29e8f0ce47d0db2ab722030d255aff637248af6f893a9c4224239733db09ffcdc6e1923a7177bfae55c98ebe769
 DIST serde-1.0.224.crate 28268 BLAKE2B 
10073484709ce136cd094b0ed92b122cda723511bb09695d49196816d9ed1c2d05eef2080d2f7620dc3913fb00954b38a2f2f2ad3bd09a4801b1db45a1b0dd41
 SHA512 
4dd71a9a017c37a0621b57f58bc509d7bcdab262f6fbc30454cc83ca1ec6cfd0fdf9d0e877aa0af35df5402f3359e5d0c00ba8e3a6454fb02186155c1ea698d8
 DIST serde-1.0.228.crate 83652 BLAKE2B 
d1909d671ea6d5c2eb4ce34ee4493ecaf665d416111b4cac754b5d33b85f916296110bae7aa961efd987a2ceb4a31ba645752ce99dd28dedb9f1eecdd4d7b1b2
 SHA512 
9b645d6214203533b303fc5e88ad4f7686c22df084878d18a0209a92304a340fcb62fdde88a7080cf7a7348d47b9b363885c4e1da90dba08cc99ff620f375e97
 DIST serde_core-1.0.224.crate 62766 BLAKE2B 
b71f1de590d5ca6b896a3e467418a0ce39dcf96ddb1cbbb9d7dc3128b746c3f326d517d862893c8bca9bf733cb236e50f6fa68936d6b0f7bc4d36f62de8bd1b5
 SHA512 
128915dfa6088894da24237fa2b7880b063700e18c411ccce72a47d7088940ffa0f90b054fae2e20bb4a122ca511150b02b346ec4d33c3ed0be3e7fbd05ee6b9
 DIST serde_core-1.0.228.crate 63111 BLAKE2B 
8a64e4627ad21a3d16dd37d53fb809d11171bf337ec16bb1223075cbf81b6b85cd1c8d19abadf42460d0fbea323e2f351eeb6ef823389d519121b74e68edb215
 SHA512 
43897e3a7ebdc85d81d1cb30cda8f0a11610f6f551529c8a21462c24fb83110652b462846aa3e1bed5fbf8b5d7927018845a524ee9e079e2c8acf2c687efd6c4
-DIST serde_derive-1.0.219.crate 57798 BLAKE2B 
071f02019f829a2753769ce915d11df8f0d202ca67314fe83b42e1f1f3d07bc91b7e7c38fe498a0513714f80d3a3dbf2b447b1f85762de06dd021119801afa89
 SHA512 
1676bbf09e11273705a35c540d52d35d1bba7cdf1f347d40a364d7ae9269167f9f0f62ff4fa384aaa613c83e432a8eb3c016587ea643bb11434c00664a5c116b
 DIST serde_derive-1.0.224.crate 57909 BLAKE2B 
3166166f8defbaada9c0ed120f31be020fc3eb1a74fbe03b5d6d596bdb59c040f2e87502f9f40fca15ae5f0c72fd38f6b6771b6f860dd0f8e08968c04f7129c3
 SHA512 
e35ce8cace6b17ece91b44efc5d0b0c07b2f9f5908da86fcdfe38c4d21b2c49207ffeccc4fc26341edcc556f8628ed9bb45c7f10352668708d0d9f853f71f58e
 DIST serde_derive-1.0.228.crate 59605 BLAKE2B 
166ee2f9ff9f7a0928d0a65a72db3d9226c377bca2a1771956e8ecd9c7faf0544673c9c21be2a5553e621b55c74c7b958052592a1cf6eb6427a2d4f3e3dc6bb8
 SHA512 
8bfdfeee10ee7ef0670972aa963ef63b13e8eb2c8a09b9e0b717f92551aa89b3dd2a0dcbae6ccf20a1caece07e6adb18f0db56fdac020e4e0281b0d24e376003
-DIST serde_json-1.0.143.crate 155342 BLAKE2B 
c01be213f79cad1f3de35a1c5adab75121fb2a49cf261e46a5509d44f02e12a5b56db3cd6bf539e015ce59019faa636dae2f1ded25d7893c7a0e03f0c9d211da
 SHA512 
084fa35adc0d720c3868d57b2d4a2f30af08b650e876ee88014cf1b98d49079f5ddfe5b14743c63ebc5b9bd8291c6d03fd34f07b770a25874f00ea7c42bdde8b
 DIST serde_json-1.0.145.crate 155748 BLAKE2B 
fdb06251cf3a18f2f3685823585f4ac16f2f3b762e528e3f815168a6d7991d384eb140698f9f5c39c4ce04e17fbe062f3f9c07cfea9915415a7e1f9046b6a83e
 SHA512 
e2054b7914e6cde0c58e952d9c129f7fe8c55981b74a9700cb282480688868ebedeb44281c1e3ccef2e2a04a9a18fbdafc8a4d43169f4d09ce905808e4e056be
 DIST serde_urlencoded-0.7.1.crate 12822 BLAKE2B 
38c74ea862f041828467dfa586bad9b8e1d1d64a9f82fb7f98727e3965377d00e59f2dbf20955a9dce976b6911c0a619d2a6e4cc9dfc73cf0f6c449d873fd072
 SHA512 
b209ad01b6565e95c1d5b431a3f4f8a0df3d11c2a06a44123048bfa4b34ebb6807eec593f0c1c89de3a06ac3786a14747df9c70b4f4d5e4b72b4feb53084eb60
 DIST sha1-0.10.6.crate 13517 BLAKE2B 
85ad8dcd237125945f6f9c2d7a48bc9802dfe8398a2bac86ddb96763486092fa18e80a2e69f89cfd6e95599d34d60ced33b26a68cbbe39bf158238a79433584b
 SHA512 
fd37be7e3f1d4b6addd313a36b55215fb70abd21be7831b71de28bd3eb03b7352817d8a7b1a166df002c3a23eadc8224e49edd4a37556c0e5357565305d4128f
@@ -160,7 +156,6 @@ DIST socket2-0.6.0.crate 57974 BLAKE2B 
ecd0ebe429f1bedc9cc80415c787b061031e321a8
 DIST stable_deref_trait-1.2.0.crate 8054 BLAKE2B 
287a65c3e5b47213544a43e57c60a54add60b4c2e3c8d042407d860cc950ba7ca01a2e67ce56aed6744992b61ec1f9aed3321e3d88482e33129548b7d51df205
 SHA512 
a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03
 DIST subtle-2.6.1.crate 14562 BLAKE2B 
3cf4940b7a01f04715da1057f6a92b1043a6b86ab2ee7f9fee0337b680ff781201d330409460f6f90b3f81bb5fd4b563e17c762c6e824ba3b0af99e4ae7d66bd
 SHA512 
f5946ebd9bcb8776ee3446abcbf4afb3cca5d8bd847cadda87e864333ac7ded537a3efa773e9648adf20ce4add2c1da85172cff88c1e1a3a6cb051401b00c6bd
 DIST syn-2.0.104.crate 299699 BLAKE2B 
f64d2267abe9140456dd31d52ada0c75bfa3e4e0112ca77491245e9e84a0530f6c7cdc7428b73cf567a65ef6e7727f814fb9cb34db0ecc9cc3afd05b69fd36f7
 SHA512 
da532fa362266161b5604c821c913f8f990eb32c18e18c0a360b7147b9f71ae008e208f377cb203e85818bd5db926951122a971fa97563a10678f0ba4671e64f
-DIST synapse-1.138.4.gh.tar.gz 9118822 BLAKE2B 
242710d14a618bc15b990acb2df62ba9d4b648ba8adbfa609eef7b110990887cde563bf6f576825f151189d37ad6de616125369bb01069ea396ffa9d711e1ea4
 SHA512 
1b9c0226d42b1d7005c9eeeaf9048641734663e431c33c7d7ef6fd1639f1d9a07d63bcda61c316d70f038487b5418cf4a972b06a7413ecdb42c2fc7c737512b0
 DIST synapse-1.139.2.gh.tar.gz 9143758 BLAKE2B 
510316a4a1e9e228acde7128418c4219b8d827d49767f015098ff395acb11101162fc06287132742c9e8c7f9ef70f929337b8da72ae61fa03f19e2e642088e5b
 SHA512 
59e2d09fc24c60dcf79ebe6da350b93db9df722469b89eeeb1f1e248f6613b477118a6f4659fa5144250db09e6776786b467216b7f8e5e74e4b4a43d7082fc22
 DIST synapse-1.140.0.gh.tar.gz 9182247 BLAKE2B 
b75fb1b4928abd51668c0805221f573d9556928ee59de40b0a36e400c64c131df3c6e31ca283d8173ea4e5370ba36e60e7820858b0454c15d8476480127ef51b
 SHA512 
adeb9d65ffd16d65d5f2af0a5e8bd91edb8c56f3f8de12cfe90f4a66e41b38f4b23f2f850d0c556db83f608aa4b804b3e8543fc93060de89ec9ae3b6573ba08d
 DIST synapse-1.141.0.gh.tar.gz 9184982 BLAKE2B 
9e53cae480adbaf368c4d5a5b2a25828ce327f535ba6fd0ee5607fcf5c72460c64ab9caa106178159519bc08a7025537746a6195101e09ca8f1f375107faa54a
 SHA512 
068f3e1ac81d4676363909fbcd5690dcf6604e9050e853b61fc2564d9456b37d7db62acccf353bd44b9938686bc24953a4cd2fc7755722d321027f79a5d02990

diff --git a/net-im/synapse/synapse-1.138.4.ebuild 
b/net-im/synapse/synapse-1.138.4.ebuild
deleted file mode 100644
index 11287fda83b1..000000000000
--- a/net-im/synapse/synapse-1.138.4.ebuild
+++ /dev/null
@@ -1,355 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{11..13} )
-
-RUST_MIN_VER="1.82.0"
-CRATES="
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]+wasi-snapshot-preview1
-       [email protected]+wasi-0.2.4
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-       [email protected]
-"
-
-inherit cargo distutils-r1 multiprocessing optfeature systemd
-
-DESCRIPTION="Reference implementation of Matrix homeserver"
-HOMEPAGE="
-       https://matrix.org/
-       https://github.com/element-hq/synapse
-"
-SRC_URI="
-       https://github.com/element-hq/${PN}/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-       ${CARGO_CRATE_URIS}
-"
-
-LICENSE="|| ( AGPL-3+ Element-Commercial )"
-# Dependent crate licenses
-LICENSE+="
-       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64"
-IUSE="postgres selinux systemd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       acct-user/synapse
-       acct-group/synapse
-       dev-python/attrs[${PYTHON_USEDEP}]
-       dev-python/bcrypt[${PYTHON_USEDEP}]
-       dev-python/bleach[${PYTHON_USEDEP}]
-       >=dev-python/canonicaljson-2[${PYTHON_USEDEP}]
-       dev-python/cryptography[${PYTHON_USEDEP}]
-       dev-python/ijson[${PYTHON_USEDEP}]
-       dev-python/immutabledict[${PYTHON_USEDEP}]
-       >=dev-python/jinja2-3.0[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-       >=dev-python/matrix-common-1.3.0[${PYTHON_USEDEP}]
-       dev-python/msgpack[${PYTHON_USEDEP}]
-       dev-python/netaddr[${PYTHON_USEDEP}]
-       dev-python/packaging[${PYTHON_USEDEP}]
-       dev-python/phonenumbers[${PYTHON_USEDEP}]
-       >=dev-python/pillow-10.0.1[${PYTHON_USEDEP},webp]
-       dev-python/prometheus-client[${PYTHON_USEDEP}]
-       dev-python/pyasn1-modules[${PYTHON_USEDEP}]
-       dev-python/pyasn1[${PYTHON_USEDEP}]
-       dev-python/pydantic[${PYTHON_USEDEP}]
-       dev-python/pymacaroons[${PYTHON_USEDEP}]
-       dev-python/pyopenssl[${PYTHON_USEDEP}]
-       >=dev-python/python-multipart-0.0.12-r100[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/service-identity[${PYTHON_USEDEP}]
-       dev-python/signedjson[${PYTHON_USEDEP}]
-       dev-python/sortedcontainers[${PYTHON_USEDEP}]
-       dev-python/treq[${PYTHON_USEDEP}]
-       dev-python/twisted[${PYTHON_USEDEP}]
-       dev-python/typing-extensions[${PYTHON_USEDEP}]
-       dev-python/unpaddedbase64[${PYTHON_USEDEP}]
-       postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
-       selinux? ( sec-policy/selinux-matrixd )
-       systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
-"
-BDEPEND="
-       acct-user/synapse
-       acct-group/synapse
-       dev-python/setuptools-rust[${PYTHON_USEDEP}]
-       test? (
-               ${RDEPEND}
-               dev-python/hiredis[${PYTHON_USEDEP}]
-               dev-python/idna[${PYTHON_USEDEP}]
-               dev-python/parameterized[${PYTHON_USEDEP}]
-               dev-python/txredisapi[${PYTHON_USEDEP}]
-               postgres? ( dev-db/postgresql[server] )
-       )
-"
-
-# Rust extension
-QA_FLAGS_IGNORED="usr/lib/python3.*/site-packages/synapse/synapse_rust.abi3.so"
-
-src_test() {
-       if use postgres; then
-               einfo "Preparing postgres test instance"
-               initdb --pgdata="${T}/pgsql" || die
-               pg_ctl --wait --pgdata="${T}/pgsql" start \
-                       --options="-h '' -k '${T}'" || die
-               createdb --host="${T}" synapse_test || die
-
-               # See 
https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#running-tests-under-postgresql
-               local -x SYNAPSE_POSTGRES=1
-               local -x SYNAPSE_POSTGRES_HOST="${T}"
-       fi
-
-       # This remove is necessary otherwise python is not able to locate
-       # synapse_rust.abi3.so.
-       rm -rf synapse || die
-
-       nonfatal distutils-r1_src_test
-       local ret=${?}
-
-       if use postgres; then
-               einfo "Stopping postgres test instance"
-               pg_ctl --wait --pgdata="${T}/pgsql" stop || die
-       fi
-
-       [[ ${ret} -ne 0 ]] && die
-}
-
-python_test() {
-       "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests
-}
-
-src_install() {
-       distutils-r1_src_install
-       keepdir /var/{lib,log}/synapse /etc/synapse
-       fowners synapse:synapse /var/{lib,log}/synapse /etc/synapse
-       fperms 0750 /var/{lib,log}/synapse /etc/synapse
-       newinitd "${FILESDIR}/${PN}.initd-r1" "${PN}"
-       systemd_dounit "${FILESDIR}/synapse.service"
-}
-
-pkg_postinst() {
-       optfeature "Redis support" dev-python/txredisapi
-       optfeature "VoIP relaying on your homeserver with turn" net-im/coturn
-
-       if [[ -z "${REPLACING_VERSIONS}" ]]; then
-               einfo
-               elog "In order to generate initial configuration run:"
-               elog "sudo -u synapse synapse_homeserver \\"
-               elog "    --server-name matrix.domain.tld \\"
-               elog "    --config-path /etc/synapse/homeserver.yaml \\"
-               elog "    --generate-config \\"
-               elog "    --data-directory /var/lib/synapse \\"
-               elog "    --report-stats=no"
-               einfo
-       else
-               einfo
-               elog "Please refer to upgrade notes if any special steps are 
required"
-               elog "to upgrade from the version you currently have installed:"
-               elog
-               elog "  
https://github.com/element-hq/synapse/blob/develop/docs/upgrade.md";
-               einfo
-       fi
-}

Reply via email to