commit: c6d8a2dc0a61f3262797575129ef406b76b12f09 Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> AuthorDate: Tue Apr 25 21:47:01 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 29 06:44:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d8a2dc
net-im/synapse: drop 1.78.0-r1 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> Signed-off-by: Sam James <sam <AT> gentoo.org> net-im/synapse/Manifest | 2 - net-im/synapse/synapse-1.78.0-r1.ebuild | 203 -------------------------------- 2 files changed, 205 deletions(-) diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest index 8b953ee163d1..1b666fc51ce9 100644 --- a/net-im/synapse/Manifest +++ b/net-im/synapse/Manifest @@ -37,12 +37,10 @@ DIST ryu-1.0.11.crate 47007 BLAKE2B d03e8df69c3b21c1b2e4ffa91ece794f141e9f9bce4e DIST scopeguard-1.1.0.crate 11470 BLAKE2B f774eb90b7d3ffb2efba47518e9d1dead4017ab4b38a4bd74914daa84a5af4bf9eb63da0496e3924499d79cd0439c37447aeda4a21226f95645bddcd6becfabe SHA512 368fa5726df8f42b599993681579a9ffd0196480ee3cd0f9f671e8493f3bedd1e1779bdf2beb329e77e0005fa09b816e3385f309490c0f2781568db275d4d17d DIST serde-1.0.152.crate 77091 BLAKE2B 89c01ce359042ebe6b1b64ea710580886f965a98e1d6085c58a75269a9b43401e2cace080c4c93ee51982855fb7e2f09fdefe9bd237bbf30c5537f3a4258283b SHA512 b47bd58fdc1a81d96cc0c9d14c8b19153b6689e893851975b1d7c7010c4448750e7fa09056dd4f13ed475a4aea2a3950952ff528832976919a6e78504a37bea7 DIST serde_derive-1.0.152.crate 55586 BLAKE2B f133c6cdb87d435ea0c05144e685047fec22b93df7c61df4aa139358c2732326c98d0f62fda629da0f648aaacfc9d6f312813940238f45b359546dd435e7a516 SHA512 2f4dffb5671b4758f0b7dc0939f6b5cfe3b3ba02a53c62c75b5a0ec89d2db26bdd95f3e269d1fd4b07ec921bc0ca5f0741c26fdfcd25bd6532ac698c6c701e91 -DIST serde_json-1.0.93.crate 144383 BLAKE2B e2a824632240f60b51d574f8b44675a38a557e917ac66e7960b303b493604dc369a17870228582bac93faa530b80ecea02b4d5d10ad0b18ab8ce2494ac4154d3 SHA512 b6e6f417466f6715a8cb30df2083a82dda794e9fd5fdb1e0b9c97ffae40bec57878580385da0c0e9e5e3ba76aaff629a9dcf40485aca9a288dda2564093d797e DIST serde_json-1.0.94.crate 144406 BLAKE2B cb4098da36ae5792e8c8e129e3148f27a4c646a57f3e59fde75febe252de79c8e1b310d947c2fb5ed7ec75e68b146f61b0b1d31dcc6f510ac61a37f64a47afc9 SHA512 0c85ccfce884a12dc7d57c110de4c96994f84e6a23ed28b9d38c9ac53ad6be506ad414735bfbd4d90fb49ea087460bb9da1929bb3aad7bbfc518b812ce92516a DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae DIST subtle-2.4.1.crate 12630 BLAKE2B 05a90232bfdc2cf67522e2972bddcd8dc9a165b1d1cf775d0b1c8358fc7c4d0559b2b899126b6688b8ef77b8b7580b3b300f74a599a7ee77f99c064a3917693b SHA512 7fd8234b7ffa3ca7e473539cad958df0842186e1dd735905e0d4977564f40a5f2e18b58180fcbe52614a00964dc150bd9f6964500847ea658f22bffe030f5c6a DIST syn-1.0.104.crate 236683 BLAKE2B 865904923ecac469f1d92bab04ea9ee384be0592c7a303d9d0f2f4bc755744bd883372c215a8f1add8bc2728d7c2c27489ab292fc8a89bdce918fc4a32deae44 SHA512 8feabd8e6b1b5eb15077d7c92f0b3269e848d33b1f233b3df343b6d445ed332fb23e0222911a13edfd82cee969d25c43434268cd7a20ce1c0a608a1bbe327b29 -DIST synapse-1.78.0.gh.tar.gz 8215627 BLAKE2B 22e3cb1ef7349548052c81ec09b715848a061bda9fc56563733e292403b975a5ceea0be0b3f39b0f1effc8e25c775d59d4db273422530ccabf2a64ed786eadc5 SHA512 fef3bdac42fc8ca6a8642eae840edaba789ccbda78b3a749e90ca5785e232a5ac9e8a3185dfc27f7c6f6f7fdcdb28b53483f884df0b3fc7f7ba9c18e73350698 DIST synapse-1.79.0.gh.tar.gz 8230631 BLAKE2B 7ee06ef19b6a00022d26f3a58c91eb0b5dd2471e7e2cd0b90b8e6ab4b08ffd07b051aa472cdca1d8c6cf31a98d851fdce42fd45258b978e2511a6b6664217d8b SHA512 0ba9e0513ee4eccea7de270c9d3e4775b044a6815bb22b5b12cf4d36b367fb30cb3e7be0b7c0e1c8634e439acc2b5b37e6ee40095f48e089502cb648b91dabdf DIST target-lexicon-0.12.4.crate 23020 BLAKE2B ad9780b9478b00b4fdcb07bd016d83216695413090ac29cca06388c3790e2832c978b1c7e69f6d34bb6fc9adc39c0a0b6b6636e50a9715a9f5f16445dba22d19 SHA512 194fe1946ad8d9fdb383bf8a65374e24d216382c1ed5379dabc98d58842512624c32838b8d6d0658d866f6559d37f1343a30c5809e8914dd85790399252b3e06 DIST typenum-1.15.0.crate 40741 BLAKE2B 5752d80396d0a37b0069b98ace9efe96d94ccaf41b33b8149c8b8c6a767537dbffe64251bbf61f3812465ecbc8cb45544f177dc97ac9735d84454282e4d1ed66 SHA512 a3c1ceac85e1aed98d0829449c35f4f36db860218b955b4e5f8f01da1d27ee6213f3c60e2b25c3745dcd67369049da5de737a9473fa9402db99cf7cddeb42288 diff --git a/net-im/synapse/synapse-1.78.0-r1.ebuild b/net-im/synapse/synapse-1.78.0-r1.ebuild deleted file mode 100644 index acb12d384557..000000000000 --- a/net-im/synapse/synapse-1.78.0-r1.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517=poetry - -CRATES=" - aho-corasick-0.7.19 - anyhow-1.0.69 - 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 - hex-0.4.3 - indoc-1.0.7 - itoa-1.0.4 - lazy_static-1.4.0 - libc-0.2.135 - lock_api-0.4.9 - log-0.4.17 - memchr-2.5.0 - memoffset-0.6.5 - once_cell-1.15.0 - parking_lot-0.12.1 - parking_lot_core-0.9.3 - proc-macro2-1.0.46 - pyo3-0.17.3 - pyo3-build-config-0.17.3 - pyo3-ffi-0.17.3 - pyo3-log-0.8.1 - pyo3-macros-0.17.3 - pyo3-macros-backend-0.17.3 - pythonize-0.17.0 - quote-1.0.21 - redox_syscall-0.2.16 - regex-1.7.1 - regex-syntax-0.6.27 - ryu-1.0.11 - scopeguard-1.1.0 - serde-1.0.152 - serde_derive-1.0.152 - serde_json-1.0.93 - smallvec-1.10.0 - subtle-2.4.1 - syn-1.0.104 - target-lexicon-0.12.4 - typenum-1.15.0 - unicode-ident-1.0.5 - unindent-0.1.10 - 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 - -MY_PV="${PV/_rc/rc}" - -DESCRIPTION="Reference implementation of Matrix homeserver" -HOMEPAGE=" - https://matrix.org/ - https://github.com/matrix-org/synapse/ -" -SRC_URI=" - https://github.com/matrix-org/${PN}/archive/v${MY_PV}.tar.gz - -> ${P}.gh.tar.gz - $(cargo_crate_uris) -" -S="${WORKDIR}/${PN}-${MY_PV}" - -LICENSE="Apache-2.0" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016 -" -SLOT="0" -KEYWORDS="amd64 ~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/frozendict[${PYTHON_USEDEP}] - dev-python/ijson[${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[${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/idna[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - postgres? ( dev-db/postgresql[server] ) - ) -" - -PATCHES=( - "${FILESDIR}/${P}-frozendict-version.patch" -) - -# Rust extension -QA_FLAGS_IGNORED="usr/lib/python3.*/site-packages/synapse/synapse_rust.abi3.so" - -src_test() { - if use postgres; then - 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 move is necessary otherwise python is not able to locate - # synapse_rust.abi3.so. - mv synapse{,.hidden} || die - - distutils-r1_src_test - - if use postgres; then - pg_ctl --wait --pgdata="${T}/pgsql" stop || die - fi -} - -python_test() { - "${EPYTHON}" -m twisted.trial -j "$(makeopts_jobs)" tests || die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_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" "${PN}" - systemd_dounit "${FILESDIR}/synapse.service" -} - -pkg_postinst() { - optfeature "Improve user search for international display names" dev-python/pyicu - 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 - einfo "Please refer to upgrade notes if any special steps are required" - einfo "to upgrade from the version you currently have installed:" - einfo - einfo " https://github.com/matrix-org/synapse/blob/develop/docs/upgrade.md" - einfo - fi -}