public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gom/
Date: Wed, 26 Feb 2020 08:33:00 +0000 (UTC)	[thread overview]
Message-ID: <1582705782.41e8f19fc798420d0eb8d3c794f777aa3f19e5be.leio@gentoo> (raw)

commit:     41e8f19fc798420d0eb8d3c794f777aa3f19e5be
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 08:15:53 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 08:29:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e8f19f

dev-libs/gom: bump to 0.4, improve python handling, py3.8

* Fix for gdk-pixbuf being test-only dep
* Add python-3.8 support; should be fine, as it's just simple gi
  overrides
* Handle python gobject-introspection overrides manually to avoid
  building the whole source tree up to 3 times. The build system
  way is completely broken for us as well with upstream changes in
  0.4 and we'd need to pass the overrides install path manually
  anyhow (upstream changes make it ignore python3.6 being in
  /usr/lib64 and python3.7+ being in /usr/lib properly)
* python isn't needed without introspection; take the chance to also
  add a IUSE=python for this, as we handle it manually anyways and
  don't need upstream support anymore

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 dev-libs/gom/Manifest       |  1 +
 dev-libs/gom/gom-0.4.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest
index e44cf06de93..8e2c6b844aa 100644
--- a/dev-libs/gom/Manifest
+++ b/dev-libs/gom/Manifest
@@ -1,2 +1,3 @@
 DIST gom-0.3.2.tar.xz 410300 BLAKE2B c0c79c1c3f8a28a0ee992fa4c316538eb87ec26c77def353e8b2038e32f30f9daed433c6d6f6c81069e05e46a980f7d944c955182d973d42f3bd84a341c5a34d SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675
 DIST gom-0.3.3.tar.xz 101580 BLAKE2B 08e0abb9eaf23ba3bbbca54289ebaa695af705e65b9b612f125e72c62f337baec899d16e657d3de51baeb4ffb79b583716a01d74067e256d59e1dcb63723273e SHA512 152924e704c92f39c493a8becc73fac1f7fe396f4f9e7c154dccec2b4413476821e43abf3c108cc1304de471e61f56c265f124710379ad8568b68f8902064e03
+DIST gom-0.4.tar.xz 102744 BLAKE2B 8116ac388a56e85effbb37c3d5ea5036f6de2f4ad7ee8fe119bd058e1ac3e293eab612a739cdba7467202bc9e258f7cd65b1f116e146577d3a103fc03afba37f SHA512 d847928ce09c53a3f64777c313cb843052e5e001873f29d3f7acf02772cadf0e4b133fb0137aa0463b4ff95dd54810bde87062d8e396ff4fc6d142ba59c8e9c8

diff --git a/dev-libs/gom/gom-0.4.ebuild b/dev-libs/gom/gom-0.4.ebuild
new file mode 100644
index 00000000000..7b2f1c4142b
--- /dev/null
+++ b/dev-libs/gom/gom-0.4.ebuild
@@ -0,0 +1,61 @@
+# 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,8} )
+
+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="gtk-doc +introspection python test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )"
+
+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}
+	gtk-doc? ( dev-util/gtk-doc )
+	virtual/pkgconfig
+	test? ( x11-libs/gdk-pixbuf:2 )
+"
+
+src_prepare() {
+	default
+	sed -i -e '/subdir.*python/d' bindings/meson.build || die
+	# drop test building and deps if not enabled
+	if ! use test; then
+		sed -i -e '/gdkpixbuf_dep/d' meson.build || die
+		sed -i -e '/subdir(.*tests.*)/d' meson.build || die
+	fi
+}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_use introspection enable-introspection)
+		$(meson_use gtk-doc enable-gtk-doc)
+	)
+
+	meson_src_configure
+}
+
+src_install() {
+	docinto examples
+	dodoc examples/*.py
+
+	meson_src_install
+
+	if use python; then
+		python_foreach_impl python_domodule bindings/python/gi
+	fi
+}


             reply	other threads:[~2020-02-26  8:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26  8:33 Mart Raudsepp [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-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-12-28 23:09 Gilles Dartiguelongue
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=1582705782.41e8f19fc798420d0eb8d3c794f777aa3f19e5be.leio@gentoo \
    --to=leio@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