aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-21 21:51:50 -0500
committerJulien Roy <julien@jroy.ca>2023-01-21 21:51:50 -0500
commit565b4f83dd1e8ec4c690d1c48883115895ecef61 (patch)
treeb6bb56fae9b7971537023b82c5ed2a991cf24648 /dev-python
parentgui-wm/hyprland: update failure for GCC12 (diff)
downloadguru-565b4f83dd1e8ec4c690d1c48883115895ecef61.tar.gz
guru-565b4f83dd1e8ec4c690d1c48883115895ecef61.tar.bz2
guru-565b4f83dd1e8ec4c690d1c48883115895ecef61.zip
dev-python/mautrix: new package, add 0.19.2
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/mautrix/Manifest1
-rw-r--r--dev-python/mautrix/mautrix-0.19.2.ebuild37
-rw-r--r--dev-python/mautrix/metadata.xml19
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/mautrix/Manifest b/dev-python/mautrix/Manifest
new file mode 100644
index 000000000..467262954
--- /dev/null
+++ b/dev-python/mautrix/Manifest
@@ -0,0 +1 @@
+DIST mautrix-0.19.2.gh.tar.gz 236873 BLAKE2B 9ba882c6a61f4bc9868700c42ba043266e307a8aa6fbb9fa04492aca6d8edddc8f2c977fc57642e2fa2dfbb1e4eed9412da7d980bc86b00bfcb042afad74ffd7 SHA512 69162736ecd0e4f1bb3f272606ab992687b9e939179cff0b6204f81c1bc3bc49b60dce1ca74e81944220c0d93fcf6d20954cab785ba4e0471e918409dc49fbb4
diff --git a/dev-python/mautrix/mautrix-0.19.2.ebuild b/dev-python/mautrix/mautrix-0.19.2.ebuild
new file mode 100644
index 000000000..75042c921
--- /dev/null
+++ b/dev-python/mautrix/mautrix-0.19.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python 3 asyncio Matrix framework"
+HOMEPAGE="https://github.com/mautrix/python/"
+SRC_URI="https://github.com/mautrix/python/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/python-${PV}"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/olm[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+ dev-python/unpaddedbase64[${PYTHON_USEDEP}]
+ dev-python/yarl[${PYTHON_USEDEP}]
+ test? (
+ dev-python/aiosqlite[${PYTHON_USEDEP}]
+ dev-python/asyncpg[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
diff --git a/dev-python/mautrix/metadata.xml b/dev-python/mautrix/metadata.xml
new file mode 100644
index 000000000..cd40cb471
--- /dev/null
+++ b/dev-python/mautrix/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>julien@jroy.ca</email>
+ <description>Julien Roy</description>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <name>Tulir Asokan</name>
+ <email>tulir@maunium.net</email>
+ </maintainer>
+ <changelog>https://github.com/mautrix/python/releases</changelog>
+ <doc>https://docs.mau.fi/python/latest/</doc>
+ <bugs-to>https://github.com/mautrix/python/issues</bugs-to>
+ <remote-id type="github">mautrix/python</remote-id>
+ <remote-id type="pypi">mautrix</remote-id>
+ </upstream>
+</pkgmetadata>