mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/sunpy: Drop old
Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST sunpy-0.7.9.tar.gz 5690849 BLAKE2B be4178d603eb7b65346b46fb75627a1d177f7c9e93cbd16409ddddc3d46ef814303b0f701c331e198b430243baa8fafc54f77524666e0383ec5097d6ca3e5b52 SHA512 e8322ecf7c797a377fd8ff6962d6d66e147ba893a58e8abbbfa1dad6a391eecc161846a51fba3c92e90a3709125d759da76d444ca3f4ff0878768d23da1f41a3
|
||||
DIST sunpy-0.8.0.tar.gz 6336169 BLAKE2B 554e64c27bb2c9c68629401bef83da3248a841c728d040fbda77465f04bd2c6a2cfb48f3a5df2bb0b15a306d6664f635aac7342e1135cf3bc61e1436a4db934a SHA512 7996fdcb47e4143159253180b2250ea7ac4aa8fecf8d3f1eae930da018d39ce4e663c843b4b0532e900f97d2bc9fadfd7c17837f4f045634820059a5af802eda
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Software library for solar physics based on Python"
|
||||
HOMEPAGE="http://sunpy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="jpeg2k test"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/astropy-2[${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/suds[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
sci-libs/scikits_image[${PYTHON_USEDEP}]
|
||||
jpeg2k? ( dev-python/glymur[${PYTHON_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mpl[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
# use system astropy-helpers instead of bundled one
|
||||
sed -i -e '/auto_use/s/True/False/' setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" -m pytest sunpy -k "not figure and not online" || die
|
||||
}
|
||||
Reference in New Issue
Block a user