net-im/matrix-commander: add 8.0.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-11-03 23:31:26 +02:00
parent 3f01527097
commit 4bd602b4fc
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,2 +1,3 @@
DIST matrix-commander-7.7.0.gh.tar.gz 1847818 BLAKE2B 9965f6f13ffa2047ea6acfe736356f483651fb3ae7d9a0c966085b744425bbe575a8b000e18e28cf2de4bb03854829513641dad5989038f383cffa888591b56d SHA512 a899ebd8105092a71a556c20a80f978ee46459c45c31bb2b7f2b3bede225affc6d40438ae7d3db13c618b17da1785b4332e1777f282b93c6e3273a3227b8e474
DIST matrix-commander-7.7.1.gh.tar.gz 1847850 BLAKE2B 5253b2d0cace78b68ba11f41e6263afa107e7a37d79047894f43c1deb9dee7951b7d6c180f078923112f9cc7363c914cda4ec53008cc6cd52b4463ff91e2b064 SHA512 b3b86675de9966a7a9d5ad0efb19a255a5508d2932784a906b75a1cf9fc49b49551612eb1c014b38159598b0d8e4ffa841be82ecd00df363da75b6e535ebae5f
DIST matrix-commander-8.0.0.gh.tar.gz 1847884 BLAKE2B f72adc52d5cf4be74e1eabd612a093fbba430a441567b92573f363b81ffc6745c4236db3aa52882bb7b8e9681d12b1b769cdf33d7357e5f7086783c085f39c50 SHA512 2381d4e2160a656b0372f9b386d5626cdf5728253efcfe04473b5df22cfdaf7988f7d8cd61b9b8d65bff63c76354b636d2aea8877eab063d867aa2817d609f81

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
}