Gentoo Archives: gentoo-commits

From: Sobhan Mohammadpour <sobhan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/gom/
Date: Mon, 04 Jun 2018 12:20:30
Message-Id: 1528114757.15841e1be1d319ce4582cc85b568f8c55160a480.sobhan@gentoo
1 commit: 15841e1be1d319ce4582cc85b568f8c55160a480
2 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 4 12:19:17 2018 +0000
4 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 4 12:19:17 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=15841e1b
7
8 dev-libs/gom: bump
9
10 Package-Manager: Portage-2.3.36, Repoman-2.3.9
11 Manifest-Sign-Key: 0x7DF238CF0AA182E1
12
13 dev-libs/gom/gom-0.3.3.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++
14 dev-libs/gom/metadata.xml | 8 +++++
15 2 files changed, 80 insertions(+)
16
17 diff --git a/dev-libs/gom/gom-0.3.3.ebuild b/dev-libs/gom/gom-0.3.3.ebuild
18 new file mode 100644
19 index 00000000..0f57ce27
20 --- /dev/null
21 +++ b/dev-libs/gom/gom-0.3.3.ebuild
22 @@ -0,0 +1,72 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI="6"
27 +GCONF_DEBUG="yes"
28 +PYTHON_COMPAT=( python3_{4,5,6} )
29 +
30 +inherit gnome-meson python-r1
31 +
32 +DESCRIPTION="GObject to SQLite object mapper library"
33 +HOMEPAGE="https://wiki.gnome.org/Projects/Gom"
34 +
35 +LICENSE="LGPL-2+"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
38 +IUSE="doc +introspection test"
39 +
40 +RDEPEND="
41 + >=dev-db/sqlite-3.7:3
42 + >=dev-libs/glib-2.36:2
43 + introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
44 + ${PYTHON_DEPS}
45 + >=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}]
46 +"
47 +DEPEND="${RDEPEND}
48 + doc? ( dev-util/gtk-doc )
49 + >=dev-util/intltool-0.40.0
50 + sys-devel/gettext
51 + virtual/pkgconfig
52 + test? ( x11-libs/gdk-pixbuf:2 )
53 +"
54 +# TODO: make gdk-pixbuf properly optional with USE=test
55 +
56 +pkg_setup() {
57 + python_setup
58 +}
59 +
60 +src_prepare() {
61 + gnome-meson_src_prepare
62 +
63 + python_copy_sources
64 +}
65 +
66 +src_configure() {
67 + gnome-meson_src_configure \
68 + $(meson_use introspection enable-introspection) \
69 + $(meson_use doc enable-gtk-doc)
70 +
71 + python_foreach_impl run_in_build_dir \
72 + gnome-meson_src_configure \
73 + $(meson_use introspection enable-introspection) \
74 + $(meson_use doc enable-gtk-doc)
75 +
76 +}
77 +
78 +src_install() {
79 + gnome-meson_src_install
80 +
81 +
82 + docinto examples
83 + dodoc examples/*.py
84 +
85 + python_foreach_impl run_in_build_dir \
86 + meson_src_install DESTDIR="${D}" install-overridesPYTHON
87 +
88 +}
89 +
90 +src_test() {
91 + # tests may take a long time
92 + python_foreach_impl run_in_build_dir \
93 + meson_src_test
94 +}
95
96 diff --git a/dev-libs/gom/metadata.xml b/dev-libs/gom/metadata.xml
97 new file mode 100644
98 index 00000000..39980802
99 --- /dev/null
100 +++ b/dev-libs/gom/metadata.xml
101 @@ -0,0 +1,8 @@
102 +<?xml version="1.0" encoding="UTF-8"?>
103 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
104 +<pkgmetadata>
105 +<maintainer type="project">
106 + <email>gnome@g.o</email>
107 + <name>Gentoo GNOME Desktop</name>
108 +</maintainer>
109 +</pkgmetadata>