From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SkDaE-0000XM-L3 for garchives@archives.gentoo.org; Thu, 28 Jun 2012 12:12:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFF8EE076F; Thu, 28 Jun 2012 12:12:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 804EEE076F for ; Thu, 28 Jun 2012 12:12:09 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E755E1B4051 for ; Thu, 28 Jun 2012 12:12:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id A3E99E5432 for ; Thu, 28 Jun 2012 12:12:07 +0000 (UTC) From: "Kacper Kowalik" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kacper Kowalik" Message-ID: <1340885566.6cbe9f1a288e92707da37402999292a53cebc3aa.xarthisius@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyhdf/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/pyhdf/metadata.xml dev-python/pyhdf/pyhdf-0.8.3.ebuild X-VCS-Directories: dev-python/pyhdf/ X-VCS-Committer: xarthisius X-VCS-Committer-Name: Kacper Kowalik X-VCS-Revision: 6cbe9f1a288e92707da37402999292a53cebc3aa X-VCS-Branch: master Date: Thu, 28 Jun 2012 12:12:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4c6b8207-01fd-450c-a319-91c8a7db99fc X-Archives-Hash: c56c31ffa21612c062f09bf48dba6b11 commit: 6cbe9f1a288e92707da37402999292a53cebc3aa Author: Kacper Kowalik (Xarthisius) gentoo org= > AuthorDate: Thu Jun 28 12:12:46 2012 +0000 Commit: Kacper Kowalik gentoo org> CommitDate: Thu Jun 28 12:12:46 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D6cbe9f1a [dev-python/pyhdf] initial import wrt #423953. Ebuild written by Pawe=C5=82= Rumian gmail.com> with my modifications --- dev-python/pyhdf/metadata.xml | 12 +++++++++ dev-python/pyhdf/pyhdf-0.8.3.ebuild | 44 +++++++++++++++++++++++++++++= ++++++ 2 files changed, 56 insertions(+), 0 deletions(-) diff --git a/dev-python/pyhdf/metadata.xml b/dev-python/pyhdf/metadata.xm= l new file mode 100644 index 0000000..274be42 --- /dev/null +++ b/dev-python/pyhdf/metadata.xml @@ -0,0 +1,12 @@ + + + + sci + + gorkypl@gmail.com + Pawe=C5=82 Rumian + + + Allow to use sci-libs/szip for SZIP com= pression method in SDsetcompress() + + diff --git a/dev-python/pyhdf/pyhdf-0.8.3.ebuild b/dev-python/pyhdf/pyhdf= -0.8.3.ebuild new file mode 100644 index 0000000..d8f80ef --- /dev/null +++ b/dev-python/pyhdf/pyhdf-0.8.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +PYTHON_DEPEND=3D"2" +SUPPORT_PYTHON_ABIS=3D"1" +RESTRICT_PYTHON_ABIS=3D"3.* 2.7-pypy-* *-jython" + +inherit distutils + +DESCRIPTION=3D"Python interface to NCSA HDF4 library." +HOMEPAGE=3D"http://pysclint.sourceforge.net/pycdf/ http://pypi.python.or= g/pypi/pyhdf" +SRC_URI=3D"mirror://sourceforge/pysclint/${PN}/${PV}/${P}.tar.gz" + +LICENSE=3D"PSF-2" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"examples szip" + +RDEPEND=3D"dev-python/numpy + sci-libs/hdf[szip=3D]" +DEPEND=3D"dev-python/setuptools + ${RDEPEND}" + +PYTHON_CFLAGS=3D("2.* + -fno-strict-aliasing") + +src_compile () { + use szip || export NOSZIP=3D1 + distutils_src_compile +} + +src_install() { + distutils_src_install + + dohtml doc/*.html=20 + dodoc CHANGES doc/*.txt + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +}