From: | "Alexandre Rostovtsev (tetromino)" <tetromino@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-office/gtimelog: gtimelog-0.7.1.ebuild ChangeLog |
Date: | Wed, 02 May 2012 03:22:50 |
Message-Id: | 20120502032235.BA2A92004B@flycatcher.gentoo.org |
1 | tetromino 12/05/02 03:22:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gtimelog-0.7.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.2 app-office/gtimelog/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtimelog/ChangeLog?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtimelog/ChangeLog?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtimelog/ChangeLog?r1=1.1&r2=1.2 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-office/gtimelog/ChangeLog,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- ChangeLog 21 Feb 2012 04:40:54 -0000 1.1 |
24 | +++ ChangeLog 2 May 2012 03:22:35 -0000 1.2 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for app-office/gtimelog |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-office/gtimelog/ChangeLog,v 1.1 2012/02/21 04:40:54 tetromino Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-office/gtimelog/ChangeLog,v 1.2 2012/05/02 03:22:35 tetromino Exp $ |
30 | + |
31 | +*gtimelog-0.7.1 (02 May 2012) |
32 | + |
33 | + 02 May 2012; Alexandre Rostovtsev <tetromino@g.o> |
34 | + +gtimelog-0.7.1.ebuild: |
35 | + Version bump. |
36 | |
37 | *gtimelog-0.7.0 (21 Feb 2012) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 app-office/gtimelog/gtimelog-0.7.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtimelog/gtimelog-0.7.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/gtimelog/gtimelog-0.7.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gtimelog-0.7.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-office/gtimelog/gtimelog-0.7.1.ebuild,v 1.1 2012/05/02 03:22:35 tetromino Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | PYTHON_DEPEND="2" |
56 | |
57 | inherit eutils distutils virtualx |
58 | |
59 | DESCRIPTION="A small Gtk+ application for keeping track of your time" |
60 | HOMEPAGE="http://mg.pov.lt/gtimelog/" |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | |
64 | SRC_URI="https://launchpad.net/gtimelog/devel/${PV}/+download/${P}.tar.gz" |
65 | |
66 | KEYWORDS="~amd64 ~x86" |
67 | |
68 | IUSE="ayatana test" |
69 | |
70 | # gnome-base/gnome-desktop provides gnome-week.png |
71 | RDEPEND="dev-libs/gobject-introspection |
72 | dev-python/dbus-python |
73 | dev-python/pygobject:3 |
74 | gnome-base/gnome-desktop:2 |
75 | x11-libs/gtk+:3[introspection] |
76 | x11-libs/pango[introspection] |
77 | |
78 | ayatana? ( dev-libs/libappindicator:3[introspection] )" |
79 | DEPEND="test? ( |
80 | ${RDEPEND} |
81 | dev-libs/libappindicator:3[introspection] )" |
82 | |
83 | DISTUTILS_SRC_TEST="setup.py" |
84 | |
85 | pkg_setup() { |
86 | python_set_active_version 2 |
87 | python_pkg_setup |
88 | |
89 | DOCS="HACKING.txt NEWS.txt NOTES.txt README.txt" |
90 | } |
91 | |
92 | src_prepare() { |
93 | python_convert_shebangs -r 2 . |
94 | # Support prefixed installation |
95 | sed -e "s:\"/usr:\"${EPREFIX}/usr:g" \ |
96 | -i src/gtimelog/main.py || die "sed failed" |
97 | distutils_src_prepare |
98 | } |
99 | |
100 | src_test() { |
101 | VIRTUALX_COMMAND=distutils_src_test virtualmake |
102 | } |
103 | |
104 | src_install() { |
105 | domenu gtimelog.desktop |
106 | insinto /usr/share/pixmaps |
107 | doins src/gtimelog/gtimelog-*.png |
108 | insinto /usr/share/gtimelog |
109 | doins src/gtimelog/*.ui src/gtimelog/gtimelog.png |
110 | exeinto /usr/share/gtimelog/scripts |
111 | doexe scripts/*.py |
112 | |
113 | distutils_src_install |
114 | |
115 | # Don't install icons in /usr/lib/python* |
116 | find "${ED}/$(python_get_sitedir)" -regex '.*\(png\|ui\)$' -exec rm -f {} + || die |
117 | } |