Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/veusz: ChangeLog veusz-1.22.ebuild
Date: Mon, 27 Oct 2014 16:46:40
Message-Id: 20141027164635.62CDC8DE5@oystercatcher.gentoo.org
1 jlec 14/10/27 16:46:35
2
3 Modified: ChangeLog
4 Added: veusz-1.22.ebuild
5 Log:
6 sci-visualization/veusz: Version Bump
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.51 sci-visualization/veusz/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/veusz/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/veusz/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/veusz/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 23 Sep 2014 12:03:41 -0000 1.50
24 +++ ChangeLog 27 Oct 2014 16:46:35 -0000 1.51
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-visualization/veusz
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.50 2014/09/23 12:03:41 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/ChangeLog,v 1.51 2014/10/27 16:46:35 jlec Exp $
30 +
31 +*veusz-1.22 (27 Oct 2014)
32 +
33 + 27 Oct 2014; Justin Lecher <jlec@g.o> +veusz-1.22.ebuild:
34 + Version Bump
35
36 *veusz-1.21.1 (23 Sep 2014)
37
38
39
40
41 1.1 sci-visualization/veusz/veusz-1.22.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/veusz/veusz-1.22.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/veusz/veusz-1.22.ebuild?rev=1.1&content-type=text/plain
45
46 Index: veusz-1.22.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/veusz/veusz-1.22.ebuild,v 1.1 2014/10/27 16:46:35 jlec Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
55
56 inherit eutils fdo-mime distutils-r1 virtualx
57
58 DESCRIPTION="Qt scientific plotting package with good Postscript output"
59 HOMEPAGE="http://home.gna.org/veusz/"
60 SRC_URI="http://download.gna.org/${PN}/${P}.tar.gz"
61
62 IUSE="dbus doc emf fits hdf5 vo"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 LICENSE="GPL-2"
66
67 CDEPEND="
68 dev-python/numpy[${PYTHON_USEDEP}]
69 >=dev-python/PyQt4-4.6[X,svg,${PYTHON_USEDEP}]
70 "
71 RDEPEND="${CDEPEND}
72 dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
73 emf? ( dev-python/pyemf[$(python_gen_usedep 'python2*')] )
74 fits? ( dev-python/astropy[${PYTHON_USEDEP}] )
75 hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] )
76 vo? (
77 dev-python/astropy[${PYTHON_USEDEP}]
78 dev-python/sampy[$(python_gen_usedep 'python2*')]
79 )"
80 DEPEND="${CDEPEND}
81 dev-python/sip[${PYTHON_USEDEP}]
82 "
83
84 python_test() {
85 distutils_install_for_testing
86 cd tests || die
87 VIRTUALX_COMMAND="${EPYTHON}" \
88 VEUSZ_RESOURCE_DIR="${TEST_DIR}/lib/veusz" \
89 virtualmake runselftest.py
90 }
91
92 python_install() {
93 distutils-r1_python_install
94 # symlink the license, bug #341653
95 ln -s "${PORTDIR}"/licenses/${LICENSE} \
96 "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
97 }
98
99 python_install_all() {
100 distutils-r1_python_install_all
101 use doc && dodoc Documents/manual.pdf && \
102 dohtml -r Documents/{manimages,manual.html}
103
104 doicon icons/veusz.png
105 domenu "${FILESDIR}"/veusz.desktop
106 insinto /usr/share/mime/packages
107 doins "${FILESDIR}"/veusz.xml
108 }
109
110 pkg_postinst() {
111 fdo-mime_desktop_database_update
112 }
113
114 pkg_postrm() {
115 fdo-mime_desktop_database_update
116 }