From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/h5py/Manifest | 7 +++++ dev-python/h5py/h5py-2.3.1.ebuild | 53 +++++++++++++++++++++++++++++++ dev-python/h5py/h5py-2.7.0.ebuild | 66 +++++++++++++++++++++++++++++++++++++++ dev-python/h5py/metadata.xml | 25 +++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 dev-python/h5py/Manifest create mode 100644 dev-python/h5py/h5py-2.3.1.ebuild create mode 100644 dev-python/h5py/h5py-2.7.0.ebuild create mode 100644 dev-python/h5py/metadata.xml (limited to 'dev-python/h5py') diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest new file mode 100644 index 000000000000..125508925143 --- /dev/null +++ b/dev-python/h5py/Manifest @@ -0,0 +1,7 @@ +DIST h5py-2.3.1.tar.gz 1072766 SHA256 447e55d5893ca285d1185a938548a12f3f7d4af441f1a7740ac28bc3aecf85c1 SHA512 f0da1d2ac855c02fb828444d719a1b23a580adb049335f3e732ace67558a125ac8cd3b3a68ac6bf9d10aa3ab19e4672b814eb28cc8c66910750c62efb655d744 WHIRLPOOL cdd2be028d450d1566776b056550af001dd382082cce5cac9fdb8968071b9f3e9855e2c30bf12bbb800c1313343980f74c2ad3d853318585bdc6134c8af5b35c +DIST h5py-2.7.0.tar.gz 256471 SHA256 79254312df2e6154c4928f5e3b22f7a2847b6e5ffb05ddc33e37b16e76d36310 SHA512 7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4 WHIRLPOOL fa38ff5d6c2a97d9eacedb0c8ccbf791ee2edb4ff652bd39a1ab102be5ec849cd45a74dd294f42fd8b2f1d943bbe1b0653afc57f6a44aed0cfc3e0b37cdc589d +EBUILD h5py-2.3.1.ebuild 1125 SHA256 1cc0a89dd17803b32ed40e839c659dd0047abaf82eeb37329ce18759f3e22d7c SHA512 324df192b0734bebddca783c9fcf469a1a09803dc104235a2f2987ff1d11994f770ef482f47cf055ca5aec725f5924cb1195bf563dc8c22ceb119ae779c1412d WHIRLPOOL f20894ee64d83f3fd596861ebf3b33fac36545ebf2398c0d81eb33e9416361bbcc9c8974d7c417f56ceda7e8a5273e0dd3cf160d3940be6a5075c201acff8a38 +EBUILD h5py-2.7.0.ebuild 1383 SHA256 f7cb6b3852f8e176d35549d3fd003fe9ef61c030824dfaca6c68de8c2c9d63b3 SHA512 f7687d5f281f9892660784a1f47192212cba546ee85cf1499c2a6d75efdcb9622d71884422f03395830746026630ce5bdec74c32a1e806c05d42c88ae6fcff7b WHIRLPOOL 43f3c5dfa2f466d566e4d4144e5da85d5bfc08b98d99bce8e5291104b3f85bdc3e7ab2f092a5eb8aad26c3ee814d54021823ccf18ff7802961650b0fb12b59ce +MISC ChangeLog 3716 SHA256 5ddf47ea19c4c882b0b784308ceb6f9c819d52f209e83862f5bcc62a8bd39349 SHA512 9cfb744d9284434917040f134952a3b8aa953f455011caacc9e029ae05318f9087a1a21e341807c26eb3d34ee9fff71df50b1720481d6bc3194783e04b29e739 WHIRLPOOL b075967ccc3ba0dc18ae5d969ce77ca1da09d37925e2fc4584577d6d1ae2f565ba4d356a87c92be29a004429cacf1ac9470890231b7f1479517c7ead91d301c0 +MISC ChangeLog-2015 6744 SHA256 4748dd52135158fa44c356515f3133ed6ff3f4b2832892fd8114a64f03b82cf1 SHA512 56331f00f8e02297148bdcf454d5b83a51e639de3d550f09bfe0530d0beda2710a83c8c97cc7c34fddb8a90b3c53f24c62c85dc75e9ac2929a30959b80478346 WHIRLPOOL 13c04979b3c6f8efe4997028448a8ef1bf237ad686ea5fc7e909877b3c66267d66d8012a065fbaf97f49f79c1cb26ccf04d28037c69a38dca240b5849b573c6d +MISC metadata.xml 1015 SHA256 55ca2ad18cedd4bd7ee368ed7198da478bb315e87385c748b4e7e0da0f8d11d9 SHA512 1880b779b8917357e6301273a304314e73686cea70325c2ee17c1bd901190bf0b07575584275039d199df6b190df9be3ab6617ee9f2babb0b609c408cba5af52 WHIRLPOOL bee1487893f83cdf49282f94f0117f800e528a104faf34d52330d2cd61cd8294ddffb723777c0b2776760de67ebd3c0b0cab8e3bd801664823bc0dfb85dc4ae2 diff --git a/dev-python/h5py/h5py-2.3.1.ebuild b/dev-python/h5py/h5py-2.3.1.ebuild new file mode 100644 index 000000000000..29efd5b8b5e9 --- /dev/null +++ b/dev-python/h5py/h5py-2.3.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4} ) + +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="test examples mpi" + +RDEPEND=" + sci-libs/hdf5:=[mpi=,hl(+)] + dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${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_compile() { + distutils-r1_python_compile --mpi=$(usex mpi yes no) +} + +python_test() { + esetup.py test --mpi=$(usex mpi yes no) +} + +python_install() { + distutils-r1_python_install --mpi=$(usex mpi yes no) +} + +python_install_all() { + DOCS=( README.rst ANN.rst ) + use examples && local EXAMPLES=( examples/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/h5py/h5py-2.7.0.ebuild b/dev-python/h5py/h5py-2.7.0.ebuild new file mode 100644 index 000000000000..4e74bc6c5354 --- /dev/null +++ b/dev-python/h5py/h5py-2.7.0.ebuild @@ -0,0 +1,66 @@ +# 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 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 && DOCS+=( examples ) + + distutils-r1_python_install_all +} diff --git a/dev-python/h5py/metadata.xml b/dev-python/h5py/metadata.xml new file mode 100644 index 000000000000..9ca11da4f83c --- /dev/null +++ b/dev-python/h5py/metadata.xml @@ -0,0 +1,25 @@ + + + + + python@gentoo.org + Python + + + sci@gentoo.org + Gentoo Science Project + + + HDF5 for Python (h5py) is a general-purpose simple Python interface to the + Hierarchical Data Format library, version 5. Existing Python and + Numpy concepts are used for the interface. Almost all HDF5 features + are available from Python, including things like compound datatypes + (as used with Numpy recarray types), HDF5 attributes, hyperslab and + point-based I/O, and more recent features in HDF 1.8 like resizable + datasets and recursive iteration over entire files. + + + h5py + h5py + + -- cgit v1.2.3