commit:     dc4a23a4d9fcbfd030b325ae42fd8309c2003dcd
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 08:16:18 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 08:19:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc4a23a4

net-misc/econnman: add python-3.11, python-3.12 compatibility

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/econnman/econnman-1.1_p20160305-r1.ebuild | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/net-misc/econnman/econnman-1.1_p20160305-r1.ebuild 
b/net-misc/econnman/econnman-1.1_p20160305-r1.ebuild
new file mode 100644
index 000000000000..699902201f36
--- /dev/null
+++ b/net-misc/econnman/econnman-1.1_p20160305-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="ConnMan User Interface written with EFL & python"
+HOMEPAGE="https://phab.enlightenment.org/w/projects/econnman/ 
https://www.enlightenment.org/";
+SRC_URI="https://dev.gentoo.org/~juippis/distfiles/${P}.tar.xz";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+       dev-libs/efl[X,connman]
+       $(python_gen_cond_dep '
+               dev-python/python-efl[${PYTHON_USEDEP}]
+       ')"
+
+src_prepare() {
+       default
+       python_fix_shebang econnman-bin.in
+       eautoreconf
+}
+
+src_install() {
+       default
+       rm -r "${ED}"/var/ || die
+}

Reply via email to