net-im/matrix-commander: add 7.6.2

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-05-03 16:41:37 +03:00
parent 82e70c2a67
commit e85227feeb
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.0.gh.tar.gz 1828464 BLAKE2B 272857910590922a78dfd12b6ae925b61143d4383e4154b431b59803a202f08481879a445bb713ee766b0f437d3e22ab4c6b27201c46036b505c11c03736173f SHA512 8b6ccedc4df6a11a6f80b78e454ec06e831699990c6f5ed7dfa03271228f1488df76fe0ff5ffee3889bc868ac04faf2ae803e2e4ef24228a079fa06e8ad3d45d DIST matrix-commander-7.6.0.gh.tar.gz 1828464 BLAKE2B 272857910590922a78dfd12b6ae925b61143d4383e4154b431b59803a202f08481879a445bb713ee766b0f437d3e22ab4c6b27201c46036b505c11c03736173f SHA512 8b6ccedc4df6a11a6f80b78e454ec06e831699990c6f5ed7dfa03271228f1488df76fe0ff5ffee3889bc868ac04faf2ae803e2e4ef24228a079fa06e8ad3d45d
DIST matrix-commander-7.6.2.gh.tar.gz 1828551 BLAKE2B e7ddfdbc0ce3b19129b6927a9584f434db67321232327046179be499d266e8c69ea744689ec90f9ab5485a723077a2c2d61b10229bb0847558fe3caa5a1b7947 SHA512 67aceed1de5167201b5c50fa124ceeaae42e8cc18585f6ffd90577eef120cdc5785f14e92c1a529a89a875927ec1ae7a8f3221c80831b6896bc9f5fec79d2ab5

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..12} )
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
}