From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CEA6215800F for ; Wed, 8 Feb 2023 12:10:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAB0BE07D8; Wed, 8 Feb 2023 12:10:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B69F8E07D3 for ; Wed, 8 Feb 2023 12:10:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4C9B335CFF for ; Wed, 8 Feb 2023 12:10:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10B6D8AE for ; Wed, 8 Feb 2023 12:09:58 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1675821588.0fcb8ebfea995503cde0b16f45b6817d31d0b7ee.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-im/heisenbridge/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-im/heisenbridge/Manifest net-im/heisenbridge/heisenbridge-1.14.2.ebuild X-VCS-Directories: net-im/heisenbridge/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 0fcb8ebfea995503cde0b16f45b6817d31d0b7ee X-VCS-Branch: master Date: Wed, 8 Feb 2023 12:09:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f7e3533-8bcf-4694-9f93-ff9f5297b1e3 X-Archives-Hash: 7c5e9c09f8b7bf4287e02d36f4374681 commit: 0fcb8ebfea995503cde0b16f45b6817d31d0b7ee Author: Julien Roy jroy ca> AuthorDate: Wed Feb 8 01:58:58 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Feb 8 01:59:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fcb8ebf net-im/heisenbridge: add 1.14.2 Signed-off-by: Julien Roy jroy.ca> net-im/heisenbridge/Manifest | 1 + net-im/heisenbridge/heisenbridge-1.14.2.ebuild | 60 ++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-im/heisenbridge/Manifest b/net-im/heisenbridge/Manifest index 16459fcc0..11ffd2926 100644 --- a/net-im/heisenbridge/Manifest +++ b/net-im/heisenbridge/Manifest @@ -1 +1,2 @@ DIST heisenbridge-1.14.1.gh.tar.gz 66220 BLAKE2B 79e63dcdc7e29a581b3a19b3c72775ced659092888e73f2a4322470bd1f2dd59ea2991ad054dd2c1a8b2e261a7988793e16d29744fb34a9fc2664bfe93f0f42a SHA512 f952261000ad6fd1b5793d1c18b952d13faea5afa2ac7798a22768e5ef31b620d9cc4cb73617c3e124dc1087a98785ba274747e9f85718533d5ba20dd7af5de2 +DIST heisenbridge-1.14.2.gh.tar.gz 67778 BLAKE2B 50b1fbd76f4bec3a75198735b68762453f1c0b54b29e77024920c11f38218ff464faff086f74b3db0d8251b943dcae43a41189582dab7335930fbcd5e6658b2e SHA512 2ba51f3786aea5d0f4e743db4a9196d800103d96ad68cd37009c2e82a3bde27eff8233e473c74aca0ccd1d64521a5e0a99337a3c6e97008e1800ff099be6499f diff --git a/net-im/heisenbridge/heisenbridge-1.14.2.ebuild b/net-im/heisenbridge/heisenbridge-1.14.2.ebuild new file mode 100644 index 000000000..cc4a9a2a0 --- /dev/null +++ b/net-im/heisenbridge/heisenbridge-1.14.2.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_{9..10} ) + +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 + +}