net-im/heisenbridge: add 1.15.4, drop old

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2025-10-31 20:52:12 +05:00
parent 676d66fd91
commit 1253de8f31
3 changed files with 7 additions and 73 deletions

View File

@@ -1,3 +1,2 @@
DIST heisenbridge-1.15.0.gh.tar.gz 69967 BLAKE2B 4e6b766ab0ba4734fb7c1bf6342ac2697f7830d41a3542f32672a1a9486c9c19d1443304c2df32c05845453d1c2a14adf69431e650ead87185f1331bcf5cd64d SHA512 2679a8113a9596769a5932c341559a5d9ad3c893b6ea739e9516be26f1b36695953a500972c627eb1adb3cfefcc5f2cb5ed4ffd0fac8cf05fc4e2b05ae3fcfd2
DIST heisenbridge-1.15.2.gh.tar.gz 70169 BLAKE2B 63618decf7c7246c47d9b746f43b81265879dcaf474833717f232956861c84b68ffe550e17b4248dfa434440c5311211d9794c410e44634ff180a11a2d65b7d4 SHA512 23d31755305f3b8598911531dd78d33d2dfdadf789e49fcfe9d52acc09aa8ecc0e3790e2de67563874502de3e447cd6e3557b85b573ba1ec6b6d4d99d9efab97
DIST heisenbridge-1.15.3.gh.tar.gz 70171 BLAKE2B 8cf9d46281b59e7365b88a2ca0867a3331d9da177b9152b224c0a3ecdb6d6dd95e7c1f8bac6cfe01446a8b523926e9c827430289659cdd1dccbf82727c0ef77a SHA512 02bc41f932b58eea46aa016eb690ed88ed92bc6ca7680e3feaffb6976034cc3be09ccb7273858adc2e44100a49567d189a6bae5b7b80689dd3fa57d9aed6908b
DIST heisenbridge-1.15.4.gh.tar.gz 70199 BLAKE2B 6359bcd18e5ffa4aab5af5beb72aab9fb03f169085e68c420118936a668448b6242f5daf6e1213f3d3f3166d9bec1e02ef44dbe6c3ff4ae91e2031753ce6d92a SHA512 6269f56ff193d4e503e5c1acaf529d36d1c40cc1b4362203fd1c4e0f6ba9356b439068f897b6ebc3ae80dac731c43a2b364bee4bd5148e4ac96a2ea2fcc51578

View File

@@ -1,67 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 systemd
DESCRIPTION="A bouncer-style Matrix IRC bridge"
HOMEPAGE="https://github.com/hifi/heisenbridge/"
SRC_URI="https://github.com/hifi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-user/heisenbridge
<dev-python/aiohttp-4[${PYTHON_USEDEP}]
dev-python/async-timeout[${PYTHON_USEDEP}]
dev-python/irc[${PYTHON_USEDEP}]
dev-python/mautrix[${PYTHON_USEDEP}]
dev-python/python-socks[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}/heisenbridge-1.14.1-qanotice.patch"
)
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
echo ${PV} > ${PN}/version.txt || die
}
src_install() {
distutils-r1_src_install
newinitd "${FILESDIR}"/heisenbridge.initd ${PN}
newconfd "${FILESDIR}"/heisenbridge.confd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}
pkg_postinst() {
[[ -f "${EPREFIX}"/var/lib/${PN}/registration.yaml ]] && return 0
einfo
elog "Before you can use ${PN}, you have to configure it correctly."
elog "The configuration file is located at /etc/conf.d/${PN}"
elog
elog "Then, you must generate the registration file using the following command:"
elog "* If you are using Synapse:"
elog "\t${PN} -c /var/lib/${PN}/registration.yaml --generate https://example.com"
elog "* If you are using Dendrite, Conduit or others:"
elog "\t${PN} -c /var/lib/${PN}/registration.yaml --generate-compat https://example.com"
elog
elog "Notice the URL at the end, replace it with your homeserver's URL."
elog "Then, you must register the bridge with your homeserver."
elog "Refer to your homeserver's documentation for instructions."
elog "The registration file is located at /var/lib/${PN}/registration.yaml"
elog "Finally, you may start the ${PN} daemon."
einfo
}

View File

@@ -7,8 +7,8 @@ DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1 systemd
DESCRIPTION="A bouncer-style Matrix IRC bridge"
HOMEPAGE="https://github.com/hifi/heisenbridge/"
DESCRIPTION="Bouncer-style Matrix IRC bridge"
HOMEPAGE="https://github.com/hifi/heisenbridge"
SRC_URI="https://github.com/hifi/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
@@ -29,6 +29,8 @@ PATCHES=(
"${FILESDIR}/heisenbridge-1.14.1-qanotice.patch"
)
EPYTEST_PLUGINS=( )
distutils_enable_tests pytest
src_prepare() {
@@ -39,8 +41,8 @@ src_prepare() {
src_install() {
distutils-r1_src_install
newinitd "${FILESDIR}"/heisenbridge.initd ${PN}
newconfd "${FILESDIR}"/heisenbridge.confd ${PN}
newinitd "${FILESDIR}"/heisenbridge.initd-r1 ${PN}
newconfd "${FILESDIR}"/heisenbridge.confd-r1 ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}