sci-misc/vitables: version bump.
authorBenda Xu <heroxbd@gentoo.org>
Sat, 16 Sep 2017 07:22:22 +0000 (16:22 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Sat, 16 Sep 2017 07:31:46 +0000 (16:31 +0900)
  Drop USE=doc because vitables bundles documentation in
  its own help system.

  Drop USE=examples because it does not distribute examples
  in the tarball.

Closes: https://bugs.gentoo.org/610636

Package-Manager: Portage-2.3.3, Repoman-2.3.1

sci-misc/vitables/Manifest
sci-misc/vitables/vitables-3.0.0.ebuild [new file with mode: 0644]

index ef109face042baacd821997bae85959baee31d0e..1e3da0a47bb28029af91d4f208a52a43faf2400d 100644 (file)
@@ -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 (file)
index 0000000..b649e31
--- /dev/null
@@ -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
+}