net-im/weechat-matrix: new package, add 0.3.0

This commit is contained in:
Alarig Le Lay 2023-01-24 16:54:40 +01:00
parent 61d09208c0
commit 5132a1efd2
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST weechat-matrix-0.3.0.tar.gz 87706 BLAKE2B c77bb12c582ba0362531417a3f606a967e968b07e4306880b3904def93b71927da0361825e0b4ff951f2082820527295766357bea403959500da282047461960 SHA512 de93cfb145956af06c10cf1d03ddc84bb1cd8523c175320ebea7c61e23362bdc398580cd3c9353dd724263d49e31a976444e05799bb2f9d843885bb975ee836a

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,40 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-single-r1
DESCRIPTION="Weechat Matrix protocol script written in python"
HOMEPAGE="https://github.com/poljar/weechat-matrix"
SRC_URI="https://github.com/poljar/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
DEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/webcolors[${PYTHON_USEDEP}]
dev-python/atomicwrites[${PYTHON_USEDEP}]
dev-python/attrs[${PYTHON_USEDEP}]
dev-python/logbook[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/matrix-nio[${PYTHON_USEDEP},e2e]
dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
')
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
python_domodule matrix
python_scriptinto /usr/lib/weechat/plugins
python_newexe main.py matrix.py
}