commit: 5c781ffe7f0130e56cb62d5d57a27a00f75bf23a
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sun May 28 10:23:29 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 28 11:35:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c781ffe
dev-python/matrix-common: enable py3.12
and remove unnecessary rdeps on dev-python/importlib-metadata, which is
required only for older python versions.
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../matrix-common/matrix-common-1.3.0-r1.ebuild | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/dev-python/matrix-common/matrix-common-1.3.0-r1.ebuild
b/dev-python/matrix-common/matrix-common-1.3.0-r1.ebuild
new file mode 100644
index 000000000000..3fc65d970aa6
--- /dev/null
+++ b/dev-python/matrix-common/matrix-common-1.3.0-r1.ebuild
@@ -0,0 +1,31 @@
+# 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_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Common code for Synapse, Sydent and Sygnal"
+HOMEPAGE="
+ https://github.com/matrix-org/matrix-python-common
+ https://pypi.org/project/matrix-common/
+"
+SRC_URI="
+ https://github.com/matrix-org/matrix-python-common/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+S="${WORKDIR}/matrix-python-common-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+RDEPEND="
+ dev-python/attrs[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest