From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 369C21382C5 for ; Thu, 1 Mar 2018 19:04:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11473E0829; Thu, 1 Mar 2018 19:04:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3B20E0829 for ; Thu, 1 Mar 2018 19:04:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EBDF8335C3C for ; Thu, 1 Mar 2018 19:04:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14FC01EB for ; Thu, 1 Mar 2018 19:04:30 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1519931056.c1490190ecc8806ea50ec353782c4b57e4162d1c.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/h5py/Manifest dev-python/h5py/h5py-2.7.1.ebuild X-VCS-Directories: dev-python/h5py/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: c1490190ecc8806ea50ec353782c4b57e4162d1c X-VCS-Branch: master Date: Thu, 1 Mar 2018 19:04:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bd6a1b17-32ab-4429-ba23-1c305499f1f9 X-Archives-Hash: 5e6ec82ea24bb9236dbb09ce8c8f6abc commit: c1490190ecc8806ea50ec353782c4b57e4162d1c Author: Nicolas Bock gentoo org> AuthorDate: Thu Mar 1 19:03:48 2018 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Thu Mar 1 19:04:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1490190 dev-python/h5py: Version bump to 2.7.1 Closes: https://bugs.gentoo.org/649036 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/h5py/Manifest | 1 + dev-python/h5py/h5py-2.7.1.ebuild | 66 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index a52869c7e6b..4a6a12e9117 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1 +1,2 @@ DIST h5py-2.7.0.tar.gz 256471 BLAKE2B c232eb86d00b9d1bb76903ea04bfd384bae7c9eb7b301de6aa450a46918f69132ab8d8d5a3f9b54095feee436a8aa9e9045c27ca1a120d665d6031c14218f0f5 SHA512 7c1e5d8b47c176521f5f62cfc4f782c09a0e003c5cbc07a673ccc3dfbe97df930b33801ef7311360892e3fad1d7d72561a8578aed9cb630d44e1a73543bb5da4 +DIST h5py-2.7.1.tar.gz 264225 BLAKE2B ffb0b52127f6cb9634b5ac3266a36bc0003144d302bdc300fff5f6f33e52b5a12e954cc2ef9fdfe9dfa0eddc810b30ee3f556cab2a31338500db666b87e64ddc SHA512 b702e3875c2767d2fabe66601820c517671fb5fc3321334aba081950b625435a1262554f39187cd1b41c6069e2b3826db6f0b610bfed2abe5db8a4dd8a29ecfd diff --git a/dev-python/h5py/h5py-2.7.1.ebuild b/dev-python/h5py/h5py-2.7.1.ebuild new file mode 100644 index 00000000000..30bee0302c8 --- /dev/null +++ b/dev-python/h5py/h5py-2.7.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 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 +}