commit:     70f46ece315b85b554816525f5c155cbd074e5da
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 15:18:28 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 15:43:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70f46ece

dev-python/liblarch: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/liblarch/liblarch-3.1.0-r1.ebuild | 29 ++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/dev-python/liblarch/liblarch-3.1.0-r1.ebuild 
b/dev-python/liblarch/liblarch-3.1.0-r1.ebuild
new file mode 100644
index 000000000000..ec59aa7d9a05
--- /dev/null
+++ b/dev-python/liblarch/liblarch-3.1.0-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Library to handle directed acyclic graphs"
+HOMEPAGE="https://wiki.gnome.org/Projects/liblarch";
+SRC_URI="https://github.com/getting-things-gnome/liblarch/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       x11-libs/gtk+:3[introspection]
+"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests pytest
+
+python_test() {
+       virtx epytest
+}

Reply via email to