mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/naima: added python-3.6
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST naima-0.7.1.tar.gz 4876886 SHA256 686b0c9ded61099bc0021a9ccd252004c7f56beca2ef32220e54ef8ca007f89a SHA512 c157be2bb3dfd9ebdedf757a401343f2ca7a338f210686e49119accd75a12fe5172dfa0859ed326d910e1dbb27a09f3f5f40ee8a87d4938a1267024d4f72caa7 WHIRLPOOL ce0dade3afb95a6f004de480f5713d6888d2eea817a0b09b1e9759a56fba8ef52b7c729c0a156f95aa866bc41b6bd004ad451fa5a748158ddfbf5c0bc2130bdd
|
||||
DIST naima-0.8.tar.gz 5485631 SHA256 9e2e4e8b4d1a64a213fd52fb681440f7c7b23e994bbde76f3c5b8926b46160af SHA512 38ac487ffaf3169f6e351ac1abb22244a90a872661627bd784ff0b37068e6155cc504756440db55b481e249fa8df97530e6074ff382d98e8d142aa5fa607f99d WHIRLPOOL d03bc8f98fd456ef609f344d584cf0b86d98701089310bf7554665595beda523597f56d9212f853780b660570605ad97801c99a97c60a616163eb854fe25f991
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# 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} )
|
||||
|
||||
inherit distutils-r1 eutils xdg-utils
|
||||
|
||||
DESCRIPTION="Python package for gamma-ray astronomy"
|
||||
HOMEPAGE="http://naima.readthedocs.io/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
DOCS=( README.rst )
|
||||
|
||||
RDEPEND="
|
||||
dev-python/astropy[${PYTHON_USEDEP}]
|
||||
dev-python/emcee[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-1.10[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS=( README.rst CHANGES.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e '/auto_use/s/True/False/' -i setup.cfg || die
|
||||
xdg_environment_reset
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_setup
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
esetup.py build_sphinx --no-intersphinx
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1 eutils xdg-utils
|
||||
|
||||
|
||||
Reference in New Issue
Block a user