net-im/matrix-commander: add 7.3.1

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-10-11 02:14:43 +03:00
parent fbddbba692
commit 3ff827349a
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 49 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST matrix-commander-7.2.0.gh.tar.gz 1809085 BLAKE2B 8eac4465bd6b00c21fafe8fb09bc93b73dbb7d2af49d233e817a4801dd28e000d762a86dab3c3494917ba72617e68262abfe05e2c108c465a8abfb799ce75675 SHA512 65a377c6c9c7aae209c2df7444241612007a18f8e74407f59088a4f6de726815a6354bffd859d9d716bb89691f2b9d91913bfd417c40e16a2bd9557dd8e8b4cf
DIST matrix-commander-7.3.1.gh.tar.gz 1814600 BLAKE2B 728bbc3450716934e3d4251dcd1b3d2e6b0137a330585af38ab434f4f395d30299de624cbd84fe6e43721c9ef8e978edab07777df2dcbbef559fc3f6c989de5f SHA512 dd4f7cf637f1d272d2b403fd82b70b9ad93a57582ecbd3a78f155fefc46d33ff152fbd3a9501ec1f6c948d57742ecb70cf9e918ae94b4c8a20643ddf6f1d77bc

View File

@ -0,0 +1,48 @@
# Copyright 2023 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..11} )
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
RESTRICT="test"
RDEPEND="
$(python_gen_cond_dep '
>=dev-python/aiofiles-0.6.0[${PYTHON_USEDEP}]
dev-python/aiohttp[${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
}