Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-vim/vimcalc: ChangeLog vimcalc-1.3-r2.ebuild
Date: Mon, 09 Feb 2015 01:05:49
Message-Id: 20150209010545.34576115B2@oystercatcher.gentoo.org
1 radhermit 15/02/09 01:05:45
2
3 Modified: ChangeLog
4 Added: vimcalc-1.3-r2.ebuild
5 Log:
6 Run tests and don't install test file (bug #535790).
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.6 app-vim/vimcalc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/vimcalc/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/vimcalc/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/vimcalc/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-vim/vimcalc/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 6 Jan 2015 13:04:37 -0000 1.5
24 +++ ChangeLog 9 Feb 2015 01:05:45 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-vim/vimcalc
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-vim/vimcalc/ChangeLog,v 1.5 2015/01/06 13:04:37 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-vim/vimcalc/ChangeLog,v 1.6 2015/02/09 01:05:45 radhermit Exp $
30 +
31 +*vimcalc-1.3-r2 (09 Feb 2015)
32 +
33 + 09 Feb 2015; Tim Harder <radhermit@g.o> +vimcalc-1.3-r2.ebuild:
34 + Run tests and don't install test file (bug #535790).
35
36 *vimcalc-1.3-r1 (06 Jan 2015)
37
38
39
40
41 1.1 app-vim/vimcalc/vimcalc-1.3-r2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/vimcalc/vimcalc-1.3-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-vim/vimcalc/vimcalc-1.3-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vimcalc-1.3-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-vim/vimcalc/vimcalc-1.3-r2.ebuild,v 1.1 2015/02/09 01:05:45 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
54
55 inherit python-single-r1 vim-plugin
56
57 DESCRIPTION="vim plugin: provides an interactive calculator inside vim"
58 HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3329"
59 SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=15317 -> ${P}.zip"
60 LICENSE="vim"
61 KEYWORDS="~amd64 ~x86"
62
63 VIM_PLUGIN_HELPFILES="vimcalc"
64
65 DEPEND="app-arch/unzip
66 ${PYTHON_DEPS}"
67 RDEPEND="|| ( app-editors/vim[python,${PYTHON_USEDEP}] app-editors/gvim[python,${PYTHON_USEDEP}] )
68 ${PYTHON_DEPS}"
69 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
70
71 S="${WORKDIR}/${PN}-v${PV}"
72
73 src_prepare() {
74 # Remove .DS_Store files that should not be installed
75 find -type f -name '.DS*' -delete
76 }
77
78 src_test() {
79 cd plugin || die
80 "${PYTHON}" tests.py || die "Tests failed"
81 rm tests.py || die
82 }