Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/hotot: hotot-0.9.8.7.ebuild ChangeLog
Date: Tue, 05 Jun 2012 05:37:52
Message-Id: 20120605053738.AB20F2004B@flycatcher.gentoo.org
1 xmw 12/06/05 05:37:38
2
3 Modified: ChangeLog
4 Added: hotot-0.9.8.7.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.63/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 net-misc/hotot/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/hotot/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/hotot/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/hotot/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/hotot/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 22 May 2012 08:08:40 -0000 1.10
24 +++ ChangeLog 5 Jun 2012 05:37:38 -0000 1.11
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/hotot
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/ChangeLog,v 1.10 2012/05/22 08:08:40 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/ChangeLog,v 1.11 2012/06/05 05:37:38 xmw Exp $
30 +
31 +*hotot-0.9.8.7 (05 Jun 2012)
32 +
33 + 05 Jun 2012; Michael Weber <xmw@g.o> +hotot-0.9.8.7.ebuild:
34 + Version bump
35
36 *hotot-0.9.8.4 (22 May 2012)
37
38
39
40
41 1.1 net-misc/hotot/hotot-0.9.8.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/hotot/hotot-0.9.8.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/hotot/hotot-0.9.8.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: hotot-0.9.8.7.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/hotot/hotot-0.9.8.7.ebuild,v 1.1 2012/06/05 05:37:38 xmw Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="gtk? 2"
55 RESTRICT_PYTHON_ABIS="3.*"
56
57 inherit cmake-utils python
58
59 DESCRIPTION="lightweight & open source microblogging client"
60 HOMEPAGE="http://hotot.org"
61 SRC_URI="https://github.com/shellex/Hotot/tarball/${PV} -> ${P}.tar.gz"
62
63 LICENSE="LGPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="chrome gtk kde qt4"
67
68 RDEPEND="
69 gtk? ( dev-python/pywebkitgtk )
70 qt4? ( x11-libs/qt-webkit:4
71 kde? ( kde-base/kdelibs ) )"
72 DEPEND="${RDEPEND}
73 sys-devel/gettext"
74
75 pkg_setup() {
76 if ! use gtk ; then
77 if ! use qt4 ; then
78 ewarn "neither gtk not qt4 binaries will be build"
79 if ! use chrome ; then
80 die "enable one use flag of chrome, gtk or qt4"
81 fi
82 fi
83 fi
84 python_pkg_setup
85 }
86
87 src_unpack() {
88 default
89 mv shellex-Hotot-* ${P} || die
90 }
91
92 src_configure() {
93 mycmakeargs="${mycmakeargs} \
94 $(cmake-utils_use_with chrome CHROME) \
95 $(cmake-utils_use_with gtk GTK) \
96 $(cmake-utils_use_with kde KDE) \
97 $(cmake-utils_use_with qt4 QT) \
98 -DPYTHON_EXECUTABLE=$(PYTHON -2 -a)"
99
100 cmake-utils_src_configure
101 }
102
103 src_install() {
104 cmake-utils_src_install
105
106 find "${D}" -name "*.pyc" -delete
107 }
108
109 pkg_postinst() {
110 if use chrome; then
111 elog "TO install hotot for chrome, open chromium/google-chrome,"
112 elog "vist chrome://chrome/extensions/ and load /usr/share/hotot"
113 elog "as unpacked extension."
114 fi
115 }