public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gom/
Date: Mon, 28 Dec 2015 23:09:54 +0000 (UTC)	[thread overview]
Message-ID: <1451344186.7250b77b6aa1c981b6dd9928f837e5d2aa88b541.eva@gentoo> (raw)

commit:     7250b77b6aa1c981b6dd9928f837e5d2aa88b541
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 23:06:49 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 23:09:46 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7250b77b

dev-libs/gom: version bump to 0.3.2

Now provides python overrides for introspection, hence the "weird" REQUIRED_USE.

Package-Manager: portage-2.2.26

 dev-libs/gom/Manifest         |  1 +
 dev-libs/gom/gom-0.3.2.ebuild | 77 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
index 8671591..823a38a 100644
--- a/dev-libs/gom/Manifest
+++ b/dev-libs/gom/Manifest
@@ -1,2 +1,3 @@
 DIST gom-0.3.0.tar.xz 382924 SHA256 352a8bee8dc47e7bd5d08af35b0d67e1f3c54bca23a058a00004cb56ede6f4fd SHA512 ab26dbbb4cbeaa637ca835eff96caf647428505129652d0229808951b3ba5ec2225e2d37054a6b61ccad59954fda7d95bb04d61f75c1ec1ebbc1abea7025b627 WHIRLPOOL 98b7fc358635e17c1c878f2439f667cecd9304a8b5d10023d2e084d01e2950201404156add20da5e05f2a1e09bd42811a31f0765fa9e196e58d4c09496ba7664
 DIST gom-0.3.1.tar.xz 385836 SHA256 7951eb46ee784cbdbee6e3f2da084ffbf776c11ca1c904404b05feafe37e38f5 SHA512 7596b7be0de6f10ef1fbe8a278d917c07ecc714e9af24f2b61a7d871c6a1b1cf19ea92d5b4fbf7802c9c097dc2ae7a65ac47b8ca8f6689b49a3e4930cff6d54c WHIRLPOOL 9fa3a42411e3892a3648f31614462d43b5a4f52a166e5edd80e97741427a9444c39d2200a4ce1ac3e1e87d3b3e974b9dad6f11ee252ba3d10fa1d63b00a09bde
+DIST gom-0.3.2.tar.xz 410300 SHA256 bce8f0f94af6ff7847b853580ba6baebbab8ae531cedb0c78a5c473f39c758fd SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675 WHIRLPOOL b676f4117c66fbe47b4216b3f5e4259e0569bcf355ca2f474498c29218d42093ac66e3afb0eb1cd946837e813f4e7c3ff981e99a726458150c00c89653d06559

diff --git a/dev-libs/gom/gom-0.3.2.ebuild b/dev-libs/gom/gom-0.3.2.ebuild
new file mode 100644
index 0000000..5c7c94b
--- /dev/null
+++ b/dev-libs/gom/gom-0.3.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+GCONF_DEBUG="yes"
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+inherit gnome2 python-r1
+
+DESCRIPTION="GObject to SQLite object mapper library"
+HOMEPAGE="https://wiki.gnome.org/Projects/Gom"
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+introspection python"
+REQUIRED_IUSE="python? ( ${PYTHON_REQUIRED_USE} introspection )"
+
+RDEPEND="
+	>=dev-db/sqlite-3.7:3
+	>=dev-libs/glib-2.36:2
+	introspection? ( >=dev-libs/gobject-introspection-1.30.0:= )
+	python? (
+		${PYTHON_DEPS}
+		>=dev-python/pygobject-3.16:3[${PYTHON_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+	>=dev-util/gtk-doc-am-1.14
+	>=dev-util/intltool-0.40.0
+	sys-devel/gettext
+	virtual/pkgconfig
+	x11-libs/gdk-pixbuf:2
+"
+# TODO: make gdk-pixbuf properly optional with USE=test
+
+pkg_setup() {
+	use python && python_setup
+}
+
+src_prepare() {
+	gnome2_src_prepare
+
+	use python && python_copy_sources
+}
+
+src_configure() {
+	# glibtest is a relic from AM_PATH_GLIB macro
+	local myconf=(
+		--disable-static
+		--disable-glibtest
+	)
+
+	gnome2_src_configure \
+		${myconf[@]} \
+		--disable-python \
+		$(use_enable introspection) \
+
+	if use python ; then
+		python_foreach_impl run_in_build_dir \
+		gnome2_src_configure \
+			${myconf[@]} \
+			--enable-python
+	fi
+}
+
+src_install() {
+	gnome2_src_install
+
+	if use python ; then
+		docinto examples
+		dodoc examples/*.py
+
+		python_foreach_impl run_in_build_dir \
+		emake DESTDIR="${D}" install-overridesPYTHON
+	fi
+}


             reply	other threads:[~2015-12-28 23:10 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-28 23:09 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-16 15:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/gom/ Pacho Ramos
2024-07-16  8:53 Pacho Ramos
2024-07-16  8:52 Pacho Ramos
2024-06-19  8:56 Pacho Ramos
2024-06-16 10:57 Pacho Ramos
2024-06-16 10:57 Pacho Ramos
2023-07-27  5:46 WANG Xuerui
2022-10-29 23:21 Matt Turner
2022-04-16 20:09 Matt Turner
2021-08-27 15:19 Yixun Lan
2021-04-15  1:18 Matt Turner
2021-03-04  0:23 Sam James
2020-02-26  8:45 Mart Raudsepp
2020-02-26  8:37 Mart Raudsepp
2020-02-26  8:33 Mart Raudsepp
2020-02-26  8:33 Mart Raudsepp
2020-02-26  8:33 Mart Raudsepp
2020-02-26  8:33 Mart Raudsepp
2020-01-19 23:24 Rémi Cardona
2020-01-17  8:25 Rémi Cardona
2020-01-15 23:11 Rémi Cardona
2019-02-17 16:47 Mart Raudsepp
2018-06-23 19:13 Pacho Ramos
2017-07-14 13:57 Alexis Ballier
2017-06-17  8:32 Sergei Trofimovich
2017-04-04 21:04 Markus Meier
2016-09-17 14:03 Gilles Dartiguelongue
2016-09-17 14:03 Gilles Dartiguelongue
2016-03-06 16:43 Mikle Kolyada
2015-12-29  8:04 Patrick Lauer
2015-10-04 15:10 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1451344186.7250b77b6aa1c981b6dd9928f837e5d2aa88b541.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox