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