net-im/matrix-commander: add 7.6.3

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-08-23 16:57:57 +03:00
parent 678831c8d0
commit 270742b172
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 50 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST matrix-commander-7.6.2.gh.tar.gz 1828551 BLAKE2B e7ddfdbc0ce3b19129b6927a9584f434db67321232327046179be499d266e8c69ea744689ec90f9ab5485a723077a2c2d61b10229bb0847558fe3caa5a1b7947 SHA512 67aceed1de5167201b5c50fa124ceeaae42e8cc18585f6ffd90577eef120cdc5785f14e92c1a529a89a875927ec1ae7a8f3221c80831b6896bc9f5fec79d2ab5
DIST matrix-commander-7.6.3.gh.tar.gz 1828568 BLAKE2B 74948aab7f5c32dc8aee609fca417ddc7a1a2e66abe6ed267f4563c385b0430ed39b4334a8c891cf94c0ac749449b26e09681865f480c7714229b97de33cd608 SHA512 699c28bdc37bd972771a1ad7e389a27201a403d17f7a39d6567e7be8070de67527d117dc65b031532f4faeca00df067a63e5a8b1e38c39f0c672660e98164d40

View File

@ -0,0 +1,49 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 bash-completion-r1
DESCRIPTION="Simple but convenient CLI-based Matrix client app for sending and receiving"
HOMEPAGE="https://github.com/8go/matrix-commander"
SRC_URI="https://github.com/8go/matrix-commander/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# Tests are a bunch shell scripts and lone python script
# Not gonna bother as they require testing against a running matrix server
RESTRICT="test"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/async-timeout[${PYTHON_USEDEP}]
dev-python/emoji[${PYTHON_USEDEP}]
dev-python/markdown[${PYTHON_USEDEP}]
>=dev-python/matrix-nio-0.14.1[e2e(+),${PYTHON_USEDEP}]
dev-python/notify2[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
')
"
src_prepare() {
eapply_user
sed -i -e 's/matrix-commander.py/matrix-commander/' auto-completion/bash/matrix-commander.bash || die
}
src_install() {
distutils-r1_src_install
newbashcomp auto-completion/bash/matrix-commander.bash matrix-commander
}