From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0A807138350 for ; Wed, 15 Jan 2020 23:11:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A07E4E0833; Wed, 15 Jan 2020 23:11:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58D34E0833 for ; Wed, 15 Jan 2020 23:11:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF7D834E0D5 for ; Wed, 15 Jan 2020 23:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B72D7B for ; Wed, 15 Jan 2020 23:11:09 +0000 (UTC) From: "Rémi Cardona" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rémi Cardona" Message-ID: <1579129854.4507381ccaf4296f4acee179b841fa1e83006993.remi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gom/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/gom/Manifest dev-libs/gom/gom-0.3.3.ebuild X-VCS-Directories: dev-libs/gom/ X-VCS-Committer: remi X-VCS-Committer-Name: Rémi Cardona X-VCS-Revision: 4507381ccaf4296f4acee179b841fa1e83006993 X-VCS-Branch: master Date: Wed, 15 Jan 2020 23:11:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76d8d148-0e6c-4375-908d-9bdf70d5544a X-Archives-Hash: 5f4553ab5a8ab5060fbd7ebb57642c60 commit: 4507381ccaf4296f4acee179b841fa1e83006993 Author: Rémi Cardona gentoo org> AuthorDate: Wed Jan 15 23:10:24 2020 +0000 Commit: Rémi Cardona gentoo org> CommitDate: Wed Jan 15 23:10:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4507381c dev-libs/gom: bump to 0.3.3 Brought over from the gnome overlay with the following changes: - port to EAPI=7 - simplify meson/python-r1 interactions - remove broken DESTDIR argument when calling meson_src_install - properly generate .pyc files (QA warning) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Rémi Cardona gentoo.org> dev-libs/gom/Manifest | 1 + dev-libs/gom/gom-0.3.3.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-libs/gom/Manifest b/dev-libs/gom/Manifest index 4e42e95052d..e44cf06de93 100644 --- a/dev-libs/gom/Manifest +++ b/dev-libs/gom/Manifest @@ -1 +1,2 @@ DIST gom-0.3.2.tar.xz 410300 BLAKE2B c0c79c1c3f8a28a0ee992fa4c316538eb87ec26c77def353e8b2038e32f30f9daed433c6d6f6c81069e05e46a980f7d944c955182d973d42f3bd84a341c5a34d SHA512 a7bfb263e5ff6f89768d8fcbdcc949d4ec9b82ecbb80952becd357a3d5781a60e52a327e865e39e46d542b2a2c5e5c861e5302d7ae3c3a2258d3c3f698263675 +DIST gom-0.3.3.tar.xz 101580 BLAKE2B 08e0abb9eaf23ba3bbbca54289ebaa695af705e65b9b612f125e72c62f337baec899d16e657d3de51baeb4ffb79b583716a01d74067e256d59e1dcb63723273e SHA512 152924e704c92f39c493a8becc73fac1f7fe396f4f9e7c154dccec2b4413476821e43abf3c108cc1304de471e61f56c265f124710379ad8568b68f8902064e03 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 00000000000..9a9ca3dfec6 --- /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 +}