Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-software/
Date: Tue, 06 Sep 2016 22:10:28
Message-Id: 1473199786.a07b20cf3d7d7e7f5f202a068ccec90b67a1e1a3.eva@gentoo
1 commit: a07b20cf3d7d7e7f5f202a068ccec90b67a1e1a3
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 22:09:46 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 22:09:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a07b20cf
7
8 gnome-extra/gnome-software: version bump to 3.20.2
9
10 Also fix handling of python unittests.
11
12 Package-Manager: portage-2.3.0
13
14 gnome-extra/gnome-software/Manifest | 1 +
15 .../gnome-software/gnome-software-3.20.4.ebuild | 73 ++++++++++++++++++++++
16 2 files changed, 74 insertions(+)
17
18 diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest
19 index 0f691a0..d16f6b3 100644
20 --- a/gnome-extra/gnome-software/Manifest
21 +++ b/gnome-extra/gnome-software/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-software-3.18.3.tar.xz 2195300 SHA256 cc76a51f56d114018f64478437aebef068799802884543c59e2473066c959b7b SHA512 61d4f9622d0f3c6b65d271a79908713f1ee5a2da67275aee6cd6510d6c124ad76300bcc696846d8bd95843f9326534218d3b140445f6e7d2f6ab8d336e476ec0 WHIRLPOOL acea5e54b06bcd2d1088d7790b813001a2718acd981c53f4dca170200efc96ca2d6e477ff674f384e08817821697ef2e2261d4d14cf5f3bd4c757352920231de
24 +DIST gnome-software-3.20.4.tar.xz 3513716 SHA256 d6a2794348e2c543218e3efb01105a7e6d51e93ad3055a2482e3104ca75345f2 SHA512 ea4536acc954f3d5d5d834323580041fe03099a6733a64f0c6a60f40028e0f054a4f9161b4fdd0956be8aa5ba25eed53748b28fff8d1c05b03ff314af6380fdf WHIRLPOOL e62085795f5eb84d0b94e140f83c7c759ea0bf7b2026890b19bd40cebbff3c53395ed820002657893846cccd505cfe0db0ca2f148ef3204c96d40059c0f2f357
25
26 diff --git a/gnome-extra/gnome-software/gnome-software-3.20.4.ebuild b/gnome-extra/gnome-software/gnome-software-3.20.4.ebuild
27 new file mode 100644
28 index 00000000..188062f
29 --- /dev/null
30 +++ b/gnome-extra/gnome-software/gnome-software-3.20.4.ebuild
31 @@ -0,0 +1,73 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python2_7 )
38 +
39 +inherit gnome2 python-any-r1 virtualx
40 +
41 +DESCRIPTION="Gnome install & update software"
42 +HOMEPAGE="http://wiki.gnome.org/Apps/Software"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="test"
48 +
49 +RDEPEND="
50 + >=app-admin/packagekit-base-1.1.0
51 + app-text/gtkspell:3
52 + dev-db/sqlite:3
53 + >=dev-libs/appstream-glib-0.5.12:0
54 + >=dev-libs/glib-2.46:2
55 + >=dev-libs/json-glib-1.1.1
56 + >=gnome-base/gnome-desktop-3.17.92:3=
57 + >=gnome-base/gsettings-desktop-schemas-3.11.5
58 + >=net-libs/libsoup-2.51.92:2.4
59 + sys-auth/polkit
60 + >=x11-libs/gdk-pixbuf-2.31.5
61 + >=x11-libs/gtk+-3.18.2:3
62 +"
63 +DEPEND="${RDEPEND}
64 + app-text/docbook-xml-dtd:4.2
65 + dev-libs/libxslt
66 + >=dev-util/intltool-0.35
67 + virtual/pkgconfig
68 + test? (
69 + ${PYTHON_DEPS}
70 + $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
71 +"
72 +# test? ( dev-util/valgrind )
73 +
74 +python_check_deps() {
75 + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
76 +}
77 +
78 +pkg_setup() {
79 + use test && python-any-r1_pkg_setup
80 +}
81 +
82 +src_prepare() {
83 + # valgrind fails with SIGTRAP
84 + sed -e 's/TESTS = .*/TESTS =/' \
85 + -i "${S}"/src/Makefile.{am,in} || die
86 +
87 + gnome2_src_prepare
88 +}
89 +
90 +src_configure() {
91 + # FIXME: investigate limba and firmware update support
92 + gnome2_src_configure \
93 + --enable-man \
94 + --enable-packagekit \
95 + --enable-polkit \
96 + --disable-xdg-app \
97 + --disable-firmware \
98 + --disable-limba \
99 + $(use_enable test dogtail)
100 +}
101 +
102 +src_test() {
103 + virtx emake check TESTS_ENVIRONMENT="dbus-run-session"
104 +}