public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/heisenbridge/
Date: Fri, 18 Aug 2023 06:21:35 +0000 (UTC)	[thread overview]
Message-ID: <1692290809.ad79b032ba063ccb94db6afb88ff18d00436a59e.ceamac@gentoo> (raw)

commit:     ad79b032ba063ccb94db6afb88ff18d00436a59e
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Thu Aug 17 16:46:49 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 16:46:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad79b032

net-im/heisenbridge: add 1.14.5

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 net-im/heisenbridge/Manifest                   |  1 +
 net-im/heisenbridge/heisenbridge-1.14.5.ebuild | 60 ++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-im/heisenbridge/Manifest b/net-im/heisenbridge/Manifest
index 3fa0c7a26c..373f3f9274 100644
--- a/net-im/heisenbridge/Manifest
+++ b/net-im/heisenbridge/Manifest
@@ -1 +1,2 @@
 DIST heisenbridge-1.14.2.gh.tar.gz 67778 BLAKE2B 50b1fbd76f4bec3a75198735b68762453f1c0b54b29e77024920c11f38218ff464faff086f74b3db0d8251b943dcae43a41189582dab7335930fbcd5e6658b2e SHA512 2ba51f3786aea5d0f4e743db4a9196d800103d96ad68cd37009c2e82a3bde27eff8233e473c74aca0ccd1d64521a5e0a99337a3c6e97008e1800ff099be6499f
+DIST heisenbridge-1.14.5.gh.tar.gz 68042 BLAKE2B e959762bfe1180b2bd66f71bca04c8eccafd61551a1cb6664acf4d5bf8b835488511178e1bbad2b59c45c38ba913e8ee010e4c6fe390b8ca29715f853de01d16 SHA512 eaee99415796b898caed6f31207081fd70a5d7d437c722bfd3e54924c20cfabff854b0f4a8118320375d29c42f045dc67bd4c5ccaea247bc3e22d71f75f616dc

diff --git a/net-im/heisenbridge/heisenbridge-1.14.5.ebuild b/net-im/heisenbridge/heisenbridge-1.14.5.ebuild
new file mode 100644
index 0000000000..d8c2d4edbd
--- /dev/null
+++ b/net-im/heisenbridge/heisenbridge-1.14.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="A bouncer-style Matrix IRC bridge"
+HOMEPAGE="https://github.com/hifi/heisenbridge/"
+SRC_URI="https://github.com/hifi/heisenbridge/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	acct-user/${PN}
+	dev-python/irc[${PYTHON_USEDEP}]
+	dev-python/mautrix[${PYTHON_USEDEP}]
+	dev-python/python-socks[${PYTHON_USEDEP}]
+	dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}/heisenbridge-1.14.1-qanotice.patch"
+)
+
+distutils_enable_tests pytest
+
+src_install() {
+	distutils-r1_src_install
+
+	newinitd "${FILESDIR}/heisenbridge.initd" "${PN}"
+	newconfd "${FILESDIR}/heisenbridge.confd" "${PN}"
+	systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+	einfo
+	elog "Before you can use ${PN}, you must configure it correctly"
+	elog "The configuration file is located at /etc/conf.d/${PN}"
+	elog "Then, you must generate the registration file using the following command"
+	elog "If you are using synapse:"
+	elog "/usr/bin/python -m ${PN} -c /var/lib/${PN}/registration.yaml --generate https://example.com"
+	elog "If you are using Dendrite, Conduit or others:"
+	elog "/usr/bin/python -m ${PN} -c /var/lib/${PN}/registration.yaml --generate-compat https://example.com"
+	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
+
+}


             reply	other threads:[~2023-08-18  6:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18  6:21 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-20 20:46 [gentoo-commits] repo/proj/guru:master commit in: net-im/heisenbridge/ David Roman
2024-04-14 17:03 Julien Roy
2024-01-20 22:13 David Roman
2024-01-16 13:54 David Roman
2024-01-16 13:54 David Roman
2023-02-08 12:09 Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1692290809.ad79b032ba063ccb94db6afb88ff18d00436a59e.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox