summaryrefslogtreecommitdiff
path: root/net-im/synapse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
commit6a7029e0f7370d4d5dfe9e31cc2719a870482392 (patch)
tree28c6c747114eaedfd2db81f86ac2ff3d7d13111e /net-im/synapse
parent5e41a38157bb40e8513e8e34426e85faba672fe7 (diff)
gentoo auto-resync : 15:06:2024 - 00:09:17
Diffstat (limited to 'net-im/synapse')
-rw-r--r--net-im/synapse/Manifest5
-rw-r--r--net-im/synapse/synapse-1.105.1.ebuild211
2 files changed, 0 insertions, 216 deletions
diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index eacf961a1c83..33b7ddeb8863 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -2,7 +2,6 @@ AUX synapse.initd-r1 345 BLAKE2B bc4868eff0103c657725b077a5f9ad002300b34a1a8bb85
AUX synapse.service 549 BLAKE2B 4b91a2da29b2a9afc5a6cff3c74a8b2f0dbe86063d0a47e60fddf8eb712b3642c308181ba2444a7e59b58f942368e7217dc94088a2487816aa44e28f49094573 SHA512 a9039c2883008c191cc89bec6f52893b489688e83525eeef09a979fc22b09b048cd03d6a7a450ac3d1441abccdcd6786cfd6c8f0b90ea98d1516c312bf634636
DIST aho-corasick-1.0.2.crate 167694 BLAKE2B fa5323cbe6cb73594dfa4c327c64676bc1e006dadc0b9def325974c83b9a769beba02d59a4657ec7a2d0cc511a7b7cc6f72cf57b8f9e639206d1c2bf13107a52 SHA512 5c75451f96fbbd670e6af0e1f54df2bdb57259dfe6898495ac46a5b2fc04f316a4698fd5cfd4ec31a94c298661937a8de08ce97cab3890fb3c015e4a2a67bb7b
DIST aho-corasick-1.1.3.crate 183311 BLAKE2B 8dfcbba0b9d94e55eae739b16f5c6474baa43ee7854c5ca792f426a9f46fb0eece79cd493b804e51449181bcad338b96819fe977c02c9907654d713e26b9f830 SHA512 ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69
-DIST anyhow-1.0.81.crate 45142 BLAKE2B 9b8678c5336fe5fd2823c58eae827f7aba726e12fb6edfa958c6e3b38a96dc3310bc8d044ee2e9db0bc611548f0be9a7b664b75321bd0b8a7e168d27dd3d7e78 SHA512 3d328c6b45a4780cfb6fc8daa5581cb5e45b230cb5f55837b0fcc8331c8d53630950c281115c06b21e655821a46d360c4aa667cbb24e87f3a534206361b08af5
DIST anyhow-1.0.82.crate 45361 BLAKE2B 558bac4de847a432fc80427e7be4e78cae4b01c4da852eae2121416af4d7e6ddeaeffd7de9bb69e55340b9a228436b975fdea88e380391a77c782a3776b835dd SHA512 e0d25a8c0b9c45e1db2072618097aff3908f70bfcbf0963d3c9dd9c97be27a85c4a763c5cb74e1ccd1b0a2059360e0879df4be80e10e58e0a5346b65f4fa1a69
DIST anyhow-1.0.83.crate 45650 BLAKE2B 522121300f10688756aac1c39e83e867e20b9f142fdc1bb87732d8a64f6bf67411f1e35542fae7aa036d9221412a29b47acc75de8a2bb019bab90fece55e2c86 SHA512 4e4b29fd0a97ac55269d23efa399a372ef6128e1909ce464f178ae91fc61dc90a5867cd2a7218205f53988aea8cff6649302f7f6f12e07d1b5d3472d4c5eaaf3
DIST arc-swap-1.5.1.crate 66157 BLAKE2B 9060ef4f9d699fadc03be1a116d9301f6308fbb7f8bcad6f01926d584386d26d03f9dd2ea35b6771a6725ee7819e028d0e1b256e8b5f3b812cbd388e757491fb SHA512 8636149e92c068d5ff5352a19c9973e7bf2aba68b9363c783178903a8665f6edabbd30c25ad7992646635efe5830d67c958f8d41b44a4ed1fe5698628b41c074
@@ -20,7 +19,6 @@ DIST bytes-1.6.0.crate 60605 BLAKE2B 3e4cd094443969c6062b51917ad9df314b61ec9ddcb
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
DIST cpufeatures-0.2.12.crate 12837 BLAKE2B 5b518c58c548d9116f94cefc2214fe2faf87c3aaf3fffbb0bf4085f75372cf7fc5144bc3f827101a3a14a51363d06d8075db94ff5ed853ab2ccffaf597728093 SHA512 52742595702fc3371d4126fb355f3d7a6da514a94e43170f1db041cc6c560027f92115eab7846131dba1018ca5c72003ae36f945c1de88d57a0e7f66331623c6
DIST crypto-common-0.1.6.crate 8760 BLAKE2B f2422bfb89c15d47a8f91c8f6695e05eb56990a922e3cdf3d426044736f9932324c0d899a151a6df4d6683e6a6b21659c657d3988734014c02cd854bb4b924e7 SHA512 471dbc43f517089d2cfe0868e29510c6ca579875b3bb5d013c70796db969b609b6c4bb35c9a07b9a2917012dc5708b717d48e317a20038adbe7e7039bf3ada6f
-DIST digest-0.10.5.crate 19503 BLAKE2B a73ef5f7b85869f8f6e2bd1c83f88f155ffab8ae1c687018ddd12f5806385a2664c163101aec84d4c20647a8bfd04095aa997e088a3f56e2664adabff1c5614f SHA512 3542fc0322a8b10dbc229ae83475a0df5f9beee4f879eacab1fda53a7b61136df2961265472ae66d896681bd17f8a68148b25827733bd782c6bae05d2f307951
DIST digest-0.10.7.crate 19557 BLAKE2B 61e69d78cb8d6850ae26ad7ff2d52dd6dce820d8c621230def11cc0e8aa6d883a6e1b25340fb45748db52a8ccf3c8d36a8aa0c8cdf4d4eeb4e3f870d86abe09a SHA512 0dd8c012468ab9011b89413ea4d3647d95b1f683b020a0e6274c95ed5148638b56fef19cd9044c837ad53715b582b88eed277fe96e917c27c5d7abdbf7c3794c
DIST fnv-1.0.7.crate 11266 BLAKE2B 81da85889c91b6567e0f555e37dd915f1bd919719d1ca10c31a6861d7aec29a49ae9c1e8bc500791bf9d6b8dbb318c096d04872c5872a4b1f7d45fbd8e12842d SHA512 2195a4b34a78e2dd9838caf0ee556bf87cbb4a8ef5505aac663b614eb59dcfc0c40f432463ede41ecca57bfe7711f72673d39a85fe03d426f1324097d5628334
DIST generic-array-0.14.6.crate 15889 BLAKE2B 7beac5446f5da4d077598af43c238eb7e71a12b0b91e6be5dbfc1ca33dc21d128fc93c9c8b18caac4b88830c8c8a643f2033acaca1d9a9f3d95329d042276156 SHA512 254e6fb6658f083f26e022916795c9ebfac241b9df2d811aac8316b17e1375e1c5aa54d72f1bf6c2627a88484a7df4b14eca231c90578e9aa3d9997047fa0f20
@@ -39,7 +37,6 @@ DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd3
DIST itoa-1.0.4.crate 10601 BLAKE2B 95545252eaabc3114323a44c8b8ea12a91568d9fc8d26ccb3bdd798ac0e04d9a6a9307927c17558f1284fa5491464cfceba2f0b880d00673449b94c0fb783150 SHA512 a70bb6fbdbcab27fbb5a84041bcbad8e0c8fda58d55ca7ac757f7be5cd373101be40df99e9acd6ae49e637e40de037c6bc59560f96c9adeccb2b2e0bf6531e42
DIST js-sys-0.3.69.crate 81083 BLAKE2B 529c94cd2289883b3b43a848d47d8ae025ad0909548a38ba93ebc684ed3edafab16842b922da6c8b6be5ba39c36a1c05057dd3dd93fc8936d5dac372937ab8f6 SHA512 506722e6dc13484828a4147d974822ff9d103d9e7db58a48181b0957770d9fc43b97605ced105c5b680d8b2cda5fa1705f605707611cb48ed8a45a96d5f196b9
DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
-DIST libc-0.2.135.crate 604591 BLAKE2B 195f342d1136f63c308371f001c9fc270e151fbda7b316321d319b57bcd46f206bb8b06196f5e9cf8a35b0c397d909f370aef8b119f4bc0eb75b9e245d8e7b4a SHA512 dc8e8fc918c5184de6ae7414b523b06ae91cde252e837e863f8477e9722ccb206a0b27762ac204830e8d09071413029c03802a3ed93bff274c33b2a4055e7806
DIST libc-0.2.153.crate 740614 BLAKE2B 523a41bc8cff4ebcba0edbbe9e6a2286ec7cb3ba5e90ca5926c972b68e4b34188bc077d20c22376238c3cd91b7455898a95c505ace4ededea88cc496edb4c5a7 SHA512 3f99e3a192974fffdc053ef21e9ad5fb54b7cdbd4755df176704a95dba38047138ccab76763e89c6b565f37f98fd549fe368749f84f6d1638b3209cb07eae9b4
DIST libc-0.2.154.crate 743304 BLAKE2B 25ff132ec29b78dec455f0a1fc9fbfc744ee0d6eb410aba05ec6b1b08af9d83ec61e56f840f86cb833f590e8cdec7f67ce6e7b630ee227a36581650c81298b84 SHA512 891a36cf153a9f4d58793412c104504c57280994e428ce8ba208673a924b2de38cc21eece09b91696eaea3b2359606dbe9f1509f9bf364bdabdb366ef2dd0f61
DIST lock_api-0.4.12.crate 27591 BLAKE2B 4504d146a114d8f8e1fe9ae70b993c713cbfe884dd69c61c54dec978733b95a853c3e5af26f237e48ebb4ee9dbebfce0f6c06067f74a3d122e92f5ace40e22d7 SHA512 525d971f495449bbd02eb70fcd84d4aab05ca582142144a5f314f9aa67ad4c5b4c98dc919a416d0ed2e555063eab037a441d671d56b633f2cb75dfab5d99bcf7
@@ -108,7 +105,6 @@ DIST subtle-2.4.1.crate 12630 BLAKE2B 05a90232bfdc2cf67522e2972bddcd8dc9a165b1d1
DIST subtle-2.5.0.crate 13909 BLAKE2B 660c3a472ca54c9843ce3feea74b802e27fd7f62dd37a30e2a4ba82e4b3a71df63562e8865d5fc675d31d0900998a8730503f91a61450884446a3bdd6af0041b SHA512 f150b1e2037554f8cd3213a54ddbc258f8f670cc4f39e7084cdea4b47538dbc58b834bc93b443d58a4b9087224efc003234042aaf366687dbd32b1e7174082a0
DIST syn-2.0.48.crate 250566 BLAKE2B e46b0863af76c3116c84d01b654a9820b7edc51f75c9c5301a7967d12284f78da602409f34fc40524728350dc6b998a4d738f08b8868f95236b3e5d24c460580 SHA512 926c0ad55cc743df20f9166b6d71fd44421aeb1f073fd86b6ddb53e13cd508b539c0360ce64b07b65597bb14639c8f33acf7e60951e1e9128624517aa3aee325
DIST syn-2.0.61.crate 257199 BLAKE2B d2133732d9a7f16c47729be1b4c18c05ffdcb9cb1395ca9b8e0ee68098c746e92b82b7fe02d33b70985a04c943b38895996da115489c712011f7cfb4820d4f1e SHA512 368f5b5eff3988f6408be59ed4861397d532f6b0225abaac8befb458e87d4f48a92977d986b1a994bb7fc80d9ab455529bcbe5e2ec4e16d0e4810a1e66bd3042
-DIST synapse-1.105.1.gh.tar.gz 8484079 BLAKE2B e4e0f495f749b0dde103788204308b1eaeaca60e99580d5f23c02e5149294771bbf0e53d5a80190fe32e5fb5dac9c6e925b34f11586f9ef1e61f093340286329 SHA512 be597b90c63306bc39f39a1e26f2daa76dcd986b155bcb2a4d191fece3f743004ee5d94723aba0f7d5744f6bf827c4fa26b972c03c0b7216f35838b5f2fffe4d
DIST synapse-1.106.0.gh.tar.gz 8496922 BLAKE2B 2d078927c89da8fbc794536fbb1b30ec20565b9e6be41e8cbbb043b7a1fec4945d4a396d520d0980380dadde927d6146cc88ca01238c0d9220f093bdf88fce08 SHA512 6d9faca9131431190202947bf995e50c9ff7ea57d0ab8f5be324585223eaacdd925a99c66d2db64da426a0551c86d52a79871e43c08da22dcededbce7a44a2e9
DIST synapse-1.107.0.gh.tar.gz 8500938 BLAKE2B c4cc8962ab47239ae0ad80964d377c6adc1180d4cfc7b72bd0f912c3322afd4386fdc81527d90e76c06e27a21f6c21c466eadffcfff7ecc31d385b2e91b2ee17 SHA512 3597a7a903002f5e5e252d2d08cb4697ec0ca95333b53b0bba79ada9dfed64f0a7f9f1c753ad0ed8c5543a75358b8c1e8fe42496516f740025235a6b8f79005b
DIST synapse-1.108.0.gh.tar.gz 8506853 BLAKE2B ff073ec4ea6c5d4d10ec675b5c2d5394af83230d00d41e28dafe6379d5f3d26bd8ef7b776bd0df97a262d1bccf1fa68e7a44be5c1650237630b343f5ba5c1a26 SHA512 63db62f250f1d51d8a9b2104b22f1b6967e3b557ce4e8ddf264456d1ce1fc65f4020114d8a9693421e106f1f1acb224fa4bedf0e720b9ff1d136124a9ef60e6b
@@ -143,7 +139,6 @@ DIST windows_x86_64_gnu-0.52.5.crate 831539 BLAKE2B 54f84c19988addeb7cbbbddb940e
DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a6305daedf4fecd71840432f104e8707f049b60d784584ce4f02fabdd0281fdb8bc7ebed34b38fdacf3be9c8abd60084e9a4ee9fd56 SHA512 22a978c40df9705cd94e4c52f2b706e477e667b564c608d0adb144b38cb486c279c09d1eb1dd2d6c7bd3401b75a2dc5eafe0f7d642ffe6453f394d1f59483a08
DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac967598168752d1996b4ddf5278a8fca53360566c37c1a014bfb4dfdc0ae2d96e01196c42eb4906ea80d8e9dd23b9e9f3163631c9e253e SHA512 89c22ed51a74f531662d80ae0fa5e0215728db1e6caf3c13eaeba95a93548b43c00b8474f52553ac866ac83c203b6c22dc44fbc870e882a4c9c97ba54b87c631
DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6
-EBUILD synapse-1.105.1.ebuild 5600 BLAKE2B 1b3e1902e789d64ca01a4faaf5972defe64d9d458301cfbbb7e2b4e7ab5b93063f6030bab400d64eb1b6a0de10d844a6120b3a0185cd853d18e357e1cb753917 SHA512 875fb702f5e21c4c2c2244dfc96f7dfb5bda91e8f7ad5a23db36ee280ff8117d46e0c69cdbfd11ce57b47b52af4002e375c2e349e2331e9187fdd46fd027f559
EBUILD synapse-1.106.0.ebuild 6081 BLAKE2B 45e55b677eb1547c82818a55873b6ce171da6be30d5727968df5f9716d0d8aa1b23d0fcbcef89972ed0ee9a65d50186454e4fa8aaee882c135e078ff9b7b21b5 SHA512 d4732babcd9d3f432178f27967b67ee84f75b41d47d5fa770e4266010d99d1f46fcc558b391f4824a679b17a2e240219a50ed1e4d86ae0d109ddea86657560f0
EBUILD synapse-1.107.0.ebuild 6081 BLAKE2B a24cb91218dee3c22bd6759774b4ff28df93f345b94f34ff6a264529eb0b1fd9a7ac37968d9967c48ad8052c7fced712e435bb23d78b082fdca2641fb6c42fb8 SHA512 c37621a1fd34b5b7db3e41e7a830160a63f958feb9dd81d12e3f090fd22502da4fa3549bdbb07fe2bfedd4f6232fbdea5d4cfce638a675fcf800f0d44c4a06bd
EBUILD synapse-1.108.0.ebuild 6183 BLAKE2B 3e36b2ffa854f37da2ed509d394c4aeec604320008760399dd4d0bcb57c498d526f0b2fddc6e1e40423a327f2be1278a9d3acd4b788541a81f732a11f571dd3a SHA512 e808bf44ef166adde87ba14b760cd74b8e9281bfd2343c961cc86a05bc99282289aa56bcd52e2315652f35a092cf14feb03b1f97a812fcdcbc2b32ebc18a064b
diff --git a/net-im/synapse/synapse-1.105.1.ebuild b/net-im/synapse/synapse-1.105.1.ebuild
deleted file mode 100644
index 3d335e9cdf11..000000000000
--- a/net-im/synapse/synapse-1.105.1.ebuild
+++ /dev/null
@@ -1,211 +0,0 @@
-# Copyright 2022-2024 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_{10..12} )
-
-CRATES="
- aho-corasick@1.0.2
- anyhow@1.0.81
- arc-swap@1.5.1
- autocfg@1.1.0
- bitflags@1.3.2
- blake2@0.10.6
- block-buffer@0.10.3
- cfg-if@1.0.0
- crypto-common@0.1.6
- digest@0.10.5
- generic-array@0.14.6
- heck@0.4.1
- hex@0.4.3
- indoc@2.0.4
- itoa@1.0.4
- lazy_static@1.4.0
- libc@0.2.135
- lock_api@0.4.9
- log@0.4.21
- memchr@2.6.3
- memoffset@0.9.0
- once_cell@1.15.0
- parking_lot@0.12.1
- parking_lot_core@0.9.3
- portable-atomic@1.6.0
- proc-macro2@1.0.76
- pyo3-build-config@0.20.3
- pyo3-ffi@0.20.3
- pyo3-log@0.9.0
- pyo3-macros-backend@0.20.3
- pyo3-macros@0.20.3
- pyo3@0.20.3
- pythonize@0.20.0
- quote@1.0.35
- redox_syscall@0.2.16
- regex-automata@0.4.4
- regex-syntax@0.8.2
- regex@1.10.4
- ryu@1.0.11
- scopeguard@1.1.0
- serde@1.0.197
- serde_derive@1.0.197
- serde_json@1.0.115
- smallvec@1.10.0
- subtle@2.4.1
- syn@2.0.48
- target-lexicon@0.12.4
- typenum@1.15.0
- unicode-ident@1.0.5
- unindent@0.2.3
- version_check@0.9.4
- windows-sys@0.36.1
- windows_aarch64_msvc@0.36.1
- windows_i686_gnu@0.36.1
- windows_i686_msvc@0.36.1
- windows_x86_64_gnu@0.36.1
- windows_x86_64_msvc@0.36.1
-"
-
-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+"
-# Dependent crate licenses
-LICENSE+="
- Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016
- || ( Apache-2.0 Boost-1.0 )
-"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64"
-IUSE="postgres systemd test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- acct-user/synapse
- acct-group/synapse
-"
-RDEPEND="
- ${DEPEND}
- 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/jinja-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/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}] )
- systemd? ( dev-python/python-systemd[${PYTHON_USEDEP}] )
-"
-BDEPEND="
- dev-python/setuptools-rust[${PYTHON_USEDEP}]
- test? (
- dev-python/hiredis[${PYTHON_USEDEP}]
- dev-python/idna[${PYTHON_USEDEP}]
- dev-python/parameterized[${PYTHON_USEDEP}]
- dev-python/pyicu[${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 "Improve user search for international display names" dev-python/pyicu
- 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
-}