diff options
Diffstat (limited to 'dev-libs/gom')
-rw-r--r-- | dev-libs/gom/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/gom/gom-0.3.3.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest index 5ef6a86fd885..ac2ae8451fdc 100644 --- a/dev-libs/gom/Manifest +++ b/dev-libs/gom/Manifest @@ -1,4 +1,6 @@ AUX 0.3.2-fix-pkgconfig.patch 935 BLAKE2B cc769ecd649c5ee39a5f934268cd55b031bc64512f0abce40e440e9a7fed30b497e1d8d14e267647a0022736befa1880b56b8e1c37a879892bd47381eb9e312f SHA512 5a98cffcff486f485ce9b73ddcee65566689d45df18f86a0a5697df1b2fb4ed3fa1bfe9a915bb8f22c2f3afc4f24da97b739bc1a61310b34fded75bd7a415eb8 DIST gom-0.3.2.tar.xz 410300 BLAKE2B c0c79c1c3f8a28a0ee992fa4c316538eb87ec26c77def353e8b2038e32f30f9daed433c6d6f6c81069e05e46a980f7d944c955182d973d42f3bd84a341c5a34d SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675 +DIST gom-0.3.3.tar.xz 101580 BLAKE2B 08e0abb9eaf23ba3bbbca54289ebaa695af705e65b9b612f125e72c62f337baec899d16e657d3de51baeb4ffb79b583716a01d74067e256d59e1dcb63723273e SHA512 152924e704c92f39c493a8becc73fac1f7fe396f4f9e7c154dccec2b4413476821e43abf3c108cc1304de471e61f56c265f124710379ad8568b68f8902064e03 EBUILD gom-0.3.2-r1.ebuild 1591 BLAKE2B 2c29de492c91663ebc682ecb8baa7d59f0aa62baf913a31d972c4a7450275ff9c2689465eec7bfe21ce91fa2b1c7b273b1832f7799d305d826109f16017316b7 SHA512 c6ea43c72be19c8162a37891b56a2f1563ae2aea5dc076125d5286b577c2a633b54a50863ec5f532190d2772afed82f15db4b0537bdbef075ed18c4bb0a959e1 +EBUILD gom-0.3.3.ebuild 1317 BLAKE2B 01adf6ced6671233a58154b937535947cd0cae1bcee892df09c69cdfd56cd41745481b2742f5a982daaf0d658e49c38e0a5f1a0cd3693eba1118f2b77bf1f566 SHA512 4d3b3c6161f7059bd2b40f89f738c0ea7319e173a18b4a8a33b718411c20b52e0f2981f18d21f0ddc77655f17772de6e1275e06211fe44d5c456f5172ddd1fcb MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/dev-libs/gom/gom-0.3.3.ebuild b/dev-libs/gom/gom-0.3.3.ebuild new file mode 100644 index 000000000000..9a9ca3dfec62 --- /dev/null +++ b/dev-libs/gom/gom-0.3.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GCONF_DEBUG="yes" +PYTHON_COMPAT=( python3_{6,7} ) + +inherit gnome.org gnome2-utils meson python-r1 + +DESCRIPTION="GObject to SQLite object mapper library" +HOMEPAGE="https://wiki.gnome.org/Projects/Gom" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc +introspection test" + +RDEPEND=" + >=dev-db/sqlite-3.7:3 + >=dev-libs/glib-2.36:2 + introspection? ( >=dev-libs/gobject-introspection-1.30.0:= ) + ${PYTHON_DEPS} + >=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + >=dev-util/intltool-0.40.0 + sys-devel/gettext + virtual/pkgconfig + test? ( x11-libs/gdk-pixbuf:2 ) +" +# TODO: make gdk-pixbuf properly optional with USE=test + +pkg_setup() { + python_setup +} + +src_configure() { + local emesonargs=( + $(meson_use introspection enable-introspection) + $(meson_use doc enable-gtk-doc) + ) + + python_foreach_impl meson_src_configure +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_install() { + docinto examples + dodoc examples/*.py + + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing +} + +src_test() { + # tests may take a long time + python_foreach_impl meson_src_test +} |