Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/gajim/
Date: Sun, 27 Sep 2015 18:16:13
Message-Id: 1443377766.5a661b210f142ab1017d69a3c149583aa0277aea.jlec@gentoo
1 commit: 5a661b210f142ab1017d69a3c149583aa0277aea
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 14:56:26 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 18:16:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a661b21
7
8 net-im/gajim: Version Bump
9
10 Package-Manager: portage-2.2.22
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 net-im/gajim/Manifest | 1 +
14 net-im/gajim/gajim-0.16.4.ebuild | 127 +++++++++++++++++++++++++++++++++++++++
15 2 files changed, 128 insertions(+)
16
17 diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
18 index 7f81a86..a579898 100644
19 --- a/net-im/gajim/Manifest
20 +++ b/net-im/gajim/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gajim-0.16.3.tar.bz2 4596437 SHA256 a1c85879cb43f80a5a4ece91c5571012bb08c3878b28105db246599e1c4c4515 SHA512 815275c0abbc18ff7309a4142186952f4d46acedeb29c14ab90ab4e60935d427248eedcf6392cf6f197b24928763a58c0a52ccdfb112f28e9c9c727c3f3e45c9 WHIRLPOOL f6f7098ae5098d7f3ade834773002aa62a53d6e43a2c52d07cc1bad29e9b83741a616f1e50953063c060881f1d5a3e8cef87ea2ac0b0f667ee9b330bd995f827
23 +DIST gajim-0.16.4.tar.bz2 4593307 SHA256 2116ad3a5635c54b575ff53eed72fe4651fc50582f5094bfc6113d1cf0d1ce7f SHA512 e8c046aa711207d71080c83d4827400392354eaadb4b431a474fcd94d56bb0fac9f163606a6f7e8abd68c7509158f8e8101b0cc2ecb439443e2966deb707bfdb WHIRLPOOL c6a496f9c02fabbaf76b52e930e5d79f6fad2557e8b458654c538c82041b8ba65bb6f8d75f18438fbabb8aa0e52493494a5847833cc49b70444720b15d6d86a5
24 DIST gajim-0.16.tar.bz2 4575445 SHA256 7abd8dfb22522d3a2f0345da2a86b99fb9917bfd97310124df8601fab82ca193 SHA512 af2fd6b750e3ffa5770913a93ac5e61e6dab5688a28a26484ba4a097d73cc38b820797b1fedc60a67bf94e9a641cc80264210d0c4cf997047068c6dcb056ca75 WHIRLPOOL 6d5374bcc574bf851f6dde184f52ef8ca517869b96a85a9598b4c37953c2bc7849ccfdb106d975da80a394555f7ed7486cf356dad06dc11f545d375745e983be
25
26 diff --git a/net-im/gajim/gajim-0.16.4.ebuild b/net-im/gajim/gajim-0.16.4.ebuild
27 new file mode 100644
28 index 0000000..edf6fd6
29 --- /dev/null
30 +++ b/net-im/gajim/gajim-0.16.4.ebuild
31 @@ -0,0 +1,127 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="sqlite,xml"
40 +
41 +AUTOTOOLS_AUTORECONF=true
42 +
43 +inherit autotools-utils python-r1 versionator
44 +
45 +MY_PV=${PV/_/-}
46 +MY_P="${PN}-${MY_PV}"
47 +
48 +DESCRIPTION="Jabber client written in PyGTK"
49 +HOMEPAGE="http://www.gajim.org/"
50 +SRC_URI="
51 + http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
52 +# test? ( https://dev.gentoo.org/~jlec/distfiles/${PN}-tests-${PV}.tar.xz )"
53 +
54 +LICENSE="GPL-3"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
57 +IUSE="avahi crypt dbus gnome gnome-keyring kde idle jingle libnotify networkmanager nls spell +srv test X xhtml"
58 +
59 +REQUIRED_USE="
60 + ${PYTHON_REQUIRED_USE}
61 + libnotify? ( dbus )
62 + avahi? ( dbus )
63 + gnome? ( gnome-keyring )"
64 +
65 +COMMON_DEPEND="
66 + ${PYTHON_DEPS}
67 + dev-python/pygtk:2[${PYTHON_USEDEP}]
68 + x11-libs/gtk+:2"
69 +DEPEND="${COMMON_DEPEND}
70 + >=dev-util/intltool-0.40.1
71 + virtual/pkgconfig
72 + >=sys-devel/gettext-0.17-r1"
73 +RDEPEND="${COMMON_DEPEND}
74 + dev-python/pyasn1[${PYTHON_USEDEP}]
75 + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
76 + >=dev-python/python-nbxmpp-0.5.3[${PYTHON_USEDEP}]
77 + crypt? (
78 + app-crypt/gnupg
79 + dev-python/pycrypto[${PYTHON_USEDEP}]
80 + )
81 + dbus? (
82 + dev-python/dbus-python[${PYTHON_USEDEP}]
83 + dev-libs/dbus-glib
84 + libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )
85 + avahi? ( net-dns/avahi[dbus,gtk,python,${PYTHON_USEDEP}] )
86 + )
87 + gnome? (
88 + dev-python/libgnome-python[${PYTHON_USEDEP}]
89 + dev-python/egg-python[${PYTHON_USEDEP}]
90 + )
91 + gnome-keyring? ( dev-python/gnome-keyring-python[${PYTHON_USEDEP}] )
92 + idle? ( x11-libs/libXScrnSaver )
93 + jingle? ( net-libs/farstream:0.1[python,${PYTHON_USEDEP}] )
94 + kde? ( kde-apps/kwalletmanager )
95 + networkmanager? (
96 + dev-python/dbus-python[${PYTHON_USEDEP}]
97 + net-misc/networkmanager
98 + )
99 + spell? ( app-text/gtkspell:2 )
100 + srv? (
101 + || (
102 + dev-python/libasyncns-python[${PYTHON_USEDEP}]
103 + net-dns/bind-tools
104 + )
105 + )
106 + xhtml? ( dev-python/docutils[${PYTHON_USEDEP}] )"
107 +
108 +RESTRICT="test"
109 +
110 +S="${WORKDIR}"/${MY_P}
111 +
112 +PATCHES=(
113 + "${FILESDIR}"/${PN}-0.16-desktop.patch
114 + )
115 +
116 +src_prepare() {
117 + autotools-utils_src_prepare
118 + python_copy_sources
119 +}
120 +
121 +src_configure() {
122 + configuration() {
123 + local myeconfargs=(
124 + $(use_enable nls)
125 + $(use_with X x)
126 + --docdir="/usr/share/doc/${PF}"
127 + --libdir="$(python_get_sitedir)"
128 + --enable-site-packages
129 + )
130 + run_in_build_dir autotools-utils_src_configure
131 + }
132 + python_foreach_impl configuration
133 +}
134 +
135 +src_compile() {
136 + compilation() {
137 + run_in_build_dir autotools-utils_src_compile
138 + }
139 + python_foreach_impl compilation
140 +}
141 +
142 +src_test() {
143 + testing() {
144 + run_in_build_dir ${PYTHON} test/runtests.py --verbose 3 || die
145 + }
146 + python_foreach_impl testing
147 +}
148 +
149 +src_install() {
150 + installation() {
151 + run_in_build_dir autotools-utils_src_install
152 + python_optimize
153 + }
154 + python_foreach_impl installation
155 +
156 + rm "${ED}/usr/share/doc/${PF}/README.html" || die
157 + dohtml README.html
158 +}