mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
dev-python/h5py: version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -2,3 +2,4 @@ DIST h5py-2.3.1.tar.gz 1072766 SHA256 447e55d5893ca285d1185a938548a12f3f7d4af441
|
||||
DIST h5py-2.4.0.tar.gz 172462 SHA256 faaeadf4b8ca14c054b7568842e0d12690de7d5d68af4ecce5d7b8fc104d8e60 SHA512 b341994899d27ceae81cdf920c44902e7db64cd3e613e2b4bcf19a6d0aea5f2fcc4acc946222a6e5d4b03d787b05e2dd2a2a55df99561f74d6e827a61f85b2c5 WHIRLPOOL 734e848437921f97b2169243993cd111d4f91578bce9980ec9d373113917185f47ea8b1d98732a61bbfc7c7ae8bc1481ddf53a6ee576705352b6d77e22263f27
|
||||
DIST h5py-2.5.0.tar.gz 684354 SHA256 9833df8a679e108b561670b245bcf9f3a827b10ccb3a5fa1341523852cfac2f6 SHA512 4a83f9ae1855a7fad90133b327d426201c8ccfd2e7fbe9f39b2d61a2eee2f3ebe2ea02cf80f3d4e1ad659f8e790c173df8cc99b87d0b7ce63d34aa88cfdc7939 WHIRLPOOL 7d7852d1d2481077a81dbf194e72da10d013c43ede4d2d6e319e1e2be0f70d7495b0964ea7787ddbd145ac774cdabc32c5b7e51fc7c9bfec429d673b12bcc10b
|
||||
DIST h5py-2.6.0.tar.gz 245539 SHA256 b2afc35430d5e4c3435c996e4f4ea2aba1ea5610e2d2f46c9cae9f785e33c435 SHA512 6f1f8bd9f56f93d950b2601f35b3ad33d648da28970874de98e5d4f4009667e2aab8774d1d570dd16169a1bedec5e58ae60fc29053292b24f9f85d86c5671ac4 WHIRLPOOL 08476fbeba889e8c100150b44c26b7c7e3ad5f6b3662efb7e777153791a0b1a176f4081f0988aacc3769753a407c9e2cf802c950c8068a9f2f4fbd4d1a89b603
|
||||
DIST h5py-2.7.0.tar.gz 256471 SHA256 79254312df2e6154c4928f5e3b22f7a2847b6e5ffb05ddc33e37b16e76d36310 SHA512 7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4 WHIRLPOOL fa38ff5d6c2a97d9eacedb0c8ccbf791ee2edb4ff652bd39a1ab102be5ec849cd45a74dd294f42fd8b2f1d943bbe1b0653afc57f6a44aed0cfc3e0b37cdc589d
|
||||
|
||||
64
dev-python/h5py/h5py-2.7.0.ebuild
Normal file
64
dev-python/h5py/h5py-2.7.0.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
DESCRIPTION="Simple Python interface to HDF5 files"
|
||||
HOMEPAGE="http://www.h5py.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test examples mpi"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/hdf5:=[mpi=,hl(+)]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/pkgconfig[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/alabaster[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.3.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )"
|
||||
|
||||
pkg_setup() {
|
||||
use mpi && export CC=mpicc
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
append-cflags -fno-strict-aliasing
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
esetup.py configure $(usex mpi --mpi '')
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd "${S}"/docs || die
|
||||
sed '/html_theme/s:default:alabaster:g' -i conf.py || die
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
DOCS=( README.rst ANN.rst )
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user