You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.8 KiB
64 lines
1.8 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=6
|
||
|
|
||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||
8 years ago
|
|
||
|
inherit distutils-r1 eutils virtualx fdo-mime
|
||
8 years ago
|
|
||
|
DESCRIPTION="Python library to explore relationships within and among related datasets"
|
||
|
HOMEPAGE="http://www.glueviz.org/"
|
||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
|
||
|
LICENSE="BSD MIT"
|
||
|
SLOT="0"
|
||
|
IUSE="test"
|
||
|
|
||
8 years ago
|
# as of 0.9.1; broken
|
||
8 years ago
|
RESTRICT="test"
|
||
|
|
||
|
DOCS=( README.md CHANGES.md )
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-python/astropy[${PYTHON_USEDEP}]
|
||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||
8 years ago
|
dev-python/QtPy[${PYTHON_USEDEP},designer,gui]"
|
||
8 years ago
|
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
|
test? (
|
||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||
|
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||
|
|
||
|
python_test() {
|
||
8 years ago
|
virtx esetup.py test
|
||
8 years ago
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
optfeature "Interactive Ipython terminal" \
|
||
|
dev-python/ipython \
|
||
|
dev-python/ipykernel \
|
||
|
dev-python/qtconsole \
|
||
|
dev-python/traitlets \
|
||
|
dev-python/pygments \
|
||
|
dev-python/zmq
|
||
|
optfeature "Parse AVM metadata" dev-python/pyavm
|
||
|
optfeature "Save ${PN} sessions" dev-python/dill
|
||
|
optfeature "Support HDF5 files" dev-python/h5py
|
||
|
optfeature "Image processing calculations" sci-libs/scipy
|
||
|
optfeature "Read popular image formats" sci-libs/scikits_image
|
||
8 years ago
|
optfeature "Interact with Ginga viewer" dev-python/ginga
|
||
8 years ago
|
optfeature "Export plots to plot.ly" dev-python/plotly
|
||
8 years ago
|
optfeature "Support Excel reading" dev-python/xlrd
|
||
|
optfeature "Used to read in spectral cubes" dev-python/spectral-cube
|
||
|
#optfeature "Support astronomy dendograms" dev-python/astrodendro
|
||
|
|
||
|
# Update mimedb for the new .desktop file
|
||
|
fdo-mime_desktop_database_update
|
||
8 years ago
|
}
|