public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/
Date: Sun, 25 Sep 2016 19:51:31 +0000 (UTC)	[thread overview]
Message-ID: <1474832947.d9dfe44904c1bd250bd986aea546d0a93163f735.soap@gentoo> (raw)

commit:     d9dfe44904c1bd250bd986aea546d0a93163f735
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Thu Sep 22 16:28:23 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 19:49:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dfe449

sci-misc/vitables: Removing EAPI 4 ebuild

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/2389

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-misc/vitables/vitables-2.1-r1.ebuild | 10 +++---
 sci-misc/vitables/vitables-2.1.ebuild    | 56 --------------------------------
 2 files changed, 4 insertions(+), 62 deletions(-)

diff --git a/sci-misc/vitables/vitables-2.1-r1.ebuild b/sci-misc/vitables/vitables-2.1-r1.ebuild
index 5d9cacc..865e085 100644
--- a/sci-misc/vitables/vitables-2.1-r1.ebuild
+++ b/sci-misc/vitables/vitables-2.1-r1.ebuild
@@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 RDEPEND="
-	dev-python/pytables
-	dev-python/PyQt4[X]"  # FIXME: check if any other useflags are needed
+	dev-python/pytables[${PYTHON_USEDEP}]
+	dev-python/PyQt4[X,${PYTHON_USEDEP}]"  # FIXME: check if any other useflags are needed
 DEPEND="${RDEPEND}
 	doc? ( dev-python/sphinx )"
 
@@ -30,7 +30,6 @@ S=${WORKDIR}/${MY_P}
 PATCHES=( "${FILESDIR}"/${P}-no-docs.patch )
 
 python_compile_all() {
-	distutils-r1_python_compile
 	# fixme: multiple python (anyone cares?)
 	use doc && esetup.py build_sphinx
 }
@@ -38,15 +37,14 @@ python_compile_all() {
 python_install_all() {
 	dodir /usr/share/icons/hicolor/scalable/apps
 	dodir /usr/share/applications
-	distutils-r1_python_install_all
 
 	if use examples; then
 		docompress -x /usr/share/doc/${PF}/examples
 		DOCS+=( examples )
 	fi
-	if use doc ; then
+	if use doc; then
 		HTML_DOCS+=( "${BUILD_DIR}"/sphinx/html/. )
 		DOCS+=( "${BUILD_DIR}"/sphinx/latex/*.pdf )
 	fi
-	einstalldocs
+	distutils-r1_python_install_all
 }

diff --git a/sci-misc/vitables/vitables-2.1.ebuild b/sci-misc/vitables/vitables-2.1.ebuild
deleted file mode 100644
index 7ed46d1..00000000
--- a/sci-misc/vitables/vitables-2.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-PYTHON_DEPEND="2:2.5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-
-MY_PN=ViTables
-MY_P=${MY_PN}-${PV}
-
-inherit distutils eutils
-
-DESCRIPTION="A graphical tool for browsing and editing files in both PyTables and HDF5 formats"
-HOMEPAGE="http://vitables.org/"
-SRC_URI="https://${PN}.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
-
-RDEPEND="
-	dev-python/pytables
-	dev-python/PyQt4[X]"  # FIXME: check if any other useflags are needed
-DEPEND="${RDEPEND}
-	doc? ( dev-python/sphinx )"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-no-docs.patch
-}
-
-src_compile() {
-	distutils_src_compile
-	if use doc; then
-		# fixme: multiple python (anyone cares?)
-	   python setup.py build_sphinx || die
-	fi
-}
-
-src_install() {
-	dodir /usr/share/icons/hicolor/scalable/apps
-	dodir /usr/share/applications
-	XDG_DATA_DIRS="${ED}/usr/share" distutils_src_install
-
-	if use examples; then
-		insinto /usr/share/doc/${PF}/examples
-		doins -r examples/*
-	fi
-	use doc && dohtml -r build/sphinx/html/* && \
-		dodoc build/sphinx/latex/*.pdf
-}


             reply	other threads:[~2016-09-25 19:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 19:51 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-09-16  7:32 [gentoo-commits] repo/gentoo:master commit in: sci-misc/vitables/ Benda XU
2017-11-25 17:42 David Seifert
2020-01-30 17:31 Michał Górny
2020-02-09 16:47 Michał Górny
2020-06-27 20:45 Andreas K. Hüttel
2021-01-01  1:56 Michał Górny
2021-06-05 17:49 Andrew Ammerlaan
2021-06-05 17:49 Andrew Ammerlaan
2021-06-06 11:17 Andrew Ammerlaan
2021-06-06 11:19 Andrew Ammerlaan
2021-06-06 14:27 Andrew Ammerlaan
2021-07-17 18:18 David Seifert
2021-10-06  8:33 Jakov Smolić
2022-10-05 14:27 Andrew Ammerlaan
2023-02-01 15:04 Benda XU
2023-02-02  4:12 Benda XU
2023-09-03  2:58 Benda XU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474832947.d9dfe44904c1bd250bd986aea546d0a93163f735.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox