1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
8 inherit gnome.org gnome2-utils meson python-r1
10 DESCRIPTION="GObject to SQLite object mapper library"
11 HOMEPAGE="https://wiki.gnome.org/Projects/Gom"
15 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
16 IUSE="doc +introspection test"
17 RESTRICT="!test? ( test )"
18 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 >=dev-libs/glib-2.36:2
23 introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
25 >=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}]
28 doc? ( dev-util/gtk-doc )
31 " # only tests need gdk-pixbuf, but they are unconditionally built
39 $(meson_use introspection enable-introspection)
40 $(meson_use doc enable-gtk-doc)
43 python_foreach_impl meson_src_configure
47 python_foreach_impl meson_src_compile
58 python_foreach_impl installing
62 # tests may take a long time
63 python_foreach_impl meson_src_test