Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
Date: Sun, 25 Sep 2016 19:51:37
Message-Id: 1474832947.d9dfe44904c1bd250bd986aea546d0a93163f735.soap@gentoo
1 commit: d9dfe44904c1bd250bd986aea546d0a93163f735
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Thu Sep 22 16:28:23 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 19:49:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dfe449
7
8 sci-misc/vitables: Removing EAPI 4 ebuild
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2389
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-misc/vitables/vitables-2.1-r1.ebuild | 10 +++---
16 sci-misc/vitables/vitables-2.1.ebuild | 56 --------------------------------
17 2 files changed, 4 insertions(+), 62 deletions(-)
18
19 diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild
20 index 5d9cacc..865e085 100644
21 --- a/sci-misc/vitables/vitables-2.1-r1.ebuild
22 +++ b/sci-misc/vitables/vitables-2.1-r1.ebuild
23 @@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
24 IUSE="doc examples"
25
26 RDEPEND="
27 - dev-python/pytables
28 - dev-python/PyQt4[X]" # FIXME: check if any other useflags are needed
29 + dev-python/pytables[${PYTHON_USEDEP}]
30 + dev-python/PyQt4[X,${PYTHON_USEDEP}]" # FIXME: check if any other useflags are needed
31 DEPEND="${RDEPEND}
32 doc? ( dev-python/sphinx )"
33
34 @@ -30,7 +30,6 @@ S=${WORKDIR}/${MY_P}
35 PATCHES=( "${FILESDIR}"/${P}-no-docs.patch )
36
37 python_compile_all() {
38 - distutils-r1_python_compile
39 # fixme: multiple python (anyone cares?)
40 use doc && esetup.py build_sphinx
41 }
42 @@ -38,15 +37,14 @@ python_compile_all() {
43 python_install_all() {
44 dodir /usr/share/icons/hicolor/scalable/apps
45 dodir /usr/share/applications
46 - distutils-r1_python_install_all
47
48 if use examples; then
49 docompress -x /usr/share/doc/${PF}/examples
50 DOCS+=( examples )
51 fi
52 - if use doc ; then
53 + if use doc; then
54 HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. )
55 DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf )
56 fi
57 - einstalldocs
58 + distutils-r1_python_install_all
59 }
60
61 diff --git a/sci-misc/vitables/vitables-2.1.ebuild b/sci-misc/vitables/vitables-2.1.ebuild
62 deleted file mode 100644
63 index 7ed46d1..00000000
64 --- a/sci-misc/vitables/vitables-2.1.ebuild
65 +++ /dev/null
66 @@ -1,56 +0,0 @@
67 -# Copyright 1999-2012 Gentoo Foundation
68 -# Distributed under the terms of the GNU General Public License v2
69 -# $Id$
70 -
71 -EAPI=4
72 -
73 -PYTHON_DEPEND="2:2.5"
74 -SUPPORT_PYTHON_ABIS="1"
75 -RESTRICT_PYTHON_ABIS="3.*"
76 -
77 -MY_PN=ViTables
78 -MY_P=${MY_PN}-${PV}
79 -
80 -inherit distutils eutils
81 -
82 -DESCRIPTION="A graphical tool for browsing and editing files in both PyTables and HDF5 formats"
83 -HOMEPAGE="http://vitables.org/"
84 -SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.tar.gz"
85 -
86 -LICENSE="GPL-3"
87 -SLOT="0"
88 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
89 -IUSE="doc examples"
90 -
91 -RDEPEND="
92 - dev-python/pytables
93 - dev-python/PyQt4[X]" # FIXME: check if any other useflags are needed
94 -DEPEND="${RDEPEND}
95 - doc? ( dev-python/sphinx )"
96 -
97 -S=${WORKDIR}/${MY_P}
98 -
99 -src_prepare() {
100 - epatch "${FILESDIR}"/${P}-no-docs.patch
101 -}
102 -
103 -src_compile() {
104 - distutils_src_compile
105 - if use doc; then
106 - # fixme: multiple python (anyone cares?)
107 - python setup.py build_sphinx || die
108 - fi
109 -}
110 -
111 -src_install() {
112 - dodir /usr/share/icons/hicolor/scalable/apps
113 - dodir /usr/share/applications
114 - XDG_DATA_DIRS="${ED}/usr/share" distutils_src_install
115 -
116 - if use examples; then
117 - insinto /usr/share/doc/${PF}/examples
118 - doins -r examples/*
119 - fi
120 - use doc && dohtml -r build/sphinx/html/* && \
121 - dodoc build/sphinx/latex/*.pdf
122 -}