summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/vitables')
-rw-r--r--sci-misc/vitables/Manifest1
-rw-r--r--sci-misc/vitables/vitables-3.0.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/sci-misc/vitables/Manifest b/sci-misc/vitables/Manifest
index ef109face042..1e3da0a47bb2 100644
--- a/sci-misc/vitables/Manifest
+++ b/sci-misc/vitables/Manifest
@@ -1 +1,2 @@
DIST ViTables-2.1.tar.gz 3111661 SHA256 f0413fa725617fbb3f0be03cb1f41b5b841c6946098a629f3fcb8a99fb9be14a SHA512 9ca48fbc8aa33dd3e1e02e2cf2055082831a95f5c24a2ab3bb294d7b09a3f09e62e500b0d69f8843a93af0db6dfc25873a57604f3fd433c0168eb335a1816bc8 WHIRLPOOL d526744105cea3ef7812db52f5e1a2ef74ca43431de167355afe0c6670a2752d3f4f5613f72f1f11e043cd6de0d4007086b4d548e78f7a3cbeaf4a5c6695babc
+DIST ViTables-3.0.0.tar.gz 860411 SHA256 f391f698f3602420f922fc761b28168bbb93993d392c171d97f1d4ba37680180 SHA512 0ab0a3529f70111f6d2c1a765398d0c05607e2839a353670eebfa26bedd2092a33afe9f1cad14eec5d23f76fc5f54fa6f61e2e4089d9c2f3fd43396dbbbba7b1 WHIRLPOOL d1e11aae67a27b269940288d2e08447fec1426173fb374475a0bfeb74e73fa8e6b74de6a7aac9a15c348b9b6ca5bc14338d4183dc9d39e1c84b62fbe9a3761bf
diff --git a/sci-misc/vitables/vitables-3.0.0.ebuild b/sci-misc/vitables/vitables-3.0.0.ebuild
new file mode 100644
index 000000000000..b649e315da52
--- /dev/null
+++ b/sci-misc/vitables/vitables-3.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_COMPAT=( python2_7 python3_6 )
+
+inherit distutils-r1
+
+MY_P=ViTables-${PV}
+
+DESCRIPTION="A graphical tool for browsing / editing files in both PyTables and HDF5 formats"
+HOMEPAGE="http://vitables.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/pytables[${PYTHON_USEDEP}]
+ dev-python/QtPy[gui,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+python_prepare_all() {
+ # remove the PyQt5 dependency
+ # because PyQt5 in Gentoo does not provide egg-info
+ # see also: https://github.com/pyqt/python-qt5/issues/18
+ sed "s:'PyQt5 [^ ]*::" -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}