Gentoo Archives: gentoo-commits

From: "Hanno Böck" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/
Date: Sun, 26 Apr 2020 17:25:17
Message-Id: 1587921517.4141d2ed6f56c92a6f602d19ae52c0696d4d6d95.hanno@gentoo
1 commit: 4141d2ed6f56c92a6f602d19ae52c0696d4d6d95
2 Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 26 17:18:37 2020 +0000
4 Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 26 17:18:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4141d2ed
7
8 net-im/gajim: Python 3.8 support and cleanup.
9
10 Remove networkmanager dependency (#719560).
11 Replace obsolete PYTHON_MULTI_USEDEP.
12 Don't restrict test.
13 Update URL.
14
15 Closes: https://bugs.gentoo.org/719560
16 Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
17 Package-Manager: Portage-2.3.99, Repoman-2.3.22
18
19 net-im/gajim/gajim-1.1.3-r2.ebuild | 83 ++++++++++++++++++++++++++++++++++++++
20 1 file changed, 83 insertions(+)
21
22 diff --git a/net-im/gajim/gajim-1.1.3-r2.ebuild b/net-im/gajim/gajim-1.1.3-r2.ebuild
23 new file mode 100644
24 index 00000000000..12ae00b4857
25 --- /dev/null
26 +++ b/net-im/gajim/gajim-1.1.3-r2.ebuild
27 @@ -0,0 +1,83 @@
28 +# Copyright 1999-2020 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=7
32 +
33 +PYTHON_COMPAT=( python3_{6,7,8} )
34 +PYTHON_REQ_USE="sqlite,xml"
35 +DISTUTILS_SINGLE_IMPL=1
36 +
37 +inherit distutils-r1 xdg-utils
38 +
39 +DESCRIPTION="Jabber client written in PyGTK"
40 +HOMEPAGE="https://gajim.org/"
41 +SRC_URI="https://gajim.org/downloads/$(ver_cut 1-2)/${P}.tar.bz2"
42 +
43 +LICENSE="GPL-3"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="+crypt geolocation jingle remote rst +spell upnp +webp"
47 +
48 +COMMON_DEPEND="
49 + dev-libs/gobject-introspection[cairo(+)]
50 + >=x11-libs/gtk+-3.22:3[introspection]"
51 +DEPEND="${COMMON_DEPEND}
52 + app-arch/unzip
53 + >=dev-util/intltool-0.40.1
54 + virtual/pkgconfig
55 + >=sys-devel/gettext-0.17-r1"
56 +RDEPEND="${COMMON_DEPEND}
57 + $(python_gen_cond_dep '
58 + dev-python/idna[${PYTHON_USEDEP}]
59 + dev-python/precis-i18n[${PYTHON_USEDEP}]
60 + dev-python/pyasn1[${PYTHON_USEDEP}]
61 + dev-python/pycairo[${PYTHON_USEDEP}]
62 + dev-python/pycurl[${PYTHON_USEDEP}]
63 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
64 + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
65 + >=dev-python/python-nbxmpp-0.6.9[${PYTHON_USEDEP}]
66 + x11-libs/libXScrnSaver
67 + app-crypt/libsecret[crypt,introspection]
68 + dev-python/keyring[${PYTHON_USEDEP}]
69 + >=dev-python/secretstorage-3.1.1[${PYTHON_USEDEP}]
70 + >=dev-python/cssutils-1.0.2[${PYTHON_USEDEP}]
71 + crypt? (
72 + dev-python/pycryptodome[${PYTHON_USEDEP}]
73 + >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] )
74 + geolocation? ( app-misc/geoclue[introspection] )
75 + jingle? (
76 + net-libs/farstream:0.2[introspection]
77 + media-libs/gstreamer:1.0[introspection]
78 + media-libs/gst-plugins-base:1.0[introspection]
79 + media-libs/gst-plugins-ugly:1.0
80 + )
81 + remote? (
82 + >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}]
83 + sys-apps/dbus[X]
84 + )
85 + rst? ( dev-python/docutils[${PYTHON_USEDEP}] )
86 + spell? (
87 + app-text/gspell[introspection]
88 + app-text/hunspell
89 + )
90 + upnp? ( net-libs/gupnp-igd[introspection] )
91 + webp? ( dev-python/pillow[${PYTHON_USEDEP}] )
92 + ')"
93 +
94 +src_install() {
95 + distutils-r1_src_install
96 +
97 + # avoid precompressed man pages
98 + rm -r "${D}/usr/share/man"
99 + doman data/*.1
100 +}
101 +
102 +pkg_postinst() {
103 + xdg_icon_cache_update
104 + xdg_desktop_database_update
105 +}
106 +
107 +pkg_postrm() {
108 + xdg_icon_cache_update
109 + xdg_desktop_database_update
110 +}