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 6BFA9138EE3 for ; Fri, 18 May 2018 20:56:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6472CE0930; Fri, 18 May 2018 20:56:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 37459E0930 for ; Fri, 18 May 2018 20:56:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AC65E335C7D for ; Fri, 18 May 2018 20:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FE5A257 for ; Fri, 18 May 2018 20:56:05 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1526676952.613a8f9b0d1b796a5ee60f4bf92fe14142e0623f.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pynrrd/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/pynrrd/metadata.xml dev-python/pynrrd/pynrrd-0.2.2.ebuild X-VCS-Directories: dev-python/pynrrd/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 613a8f9b0d1b796a5ee60f4bf92fe14142e0623f X-VCS-Branch: master Date: Fri, 18 May 2018 20:56:05 +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: f0184b26-a3fe-4dcc-8dd0-b10d94b40abf X-Archives-Hash: 17adadf22f23a5bf46ee3a2410f58385 commit: 613a8f9b0d1b796a5ee60f4bf92fe14142e0623f Author: Horea Christian yandex com> AuthorDate: Thu May 17 10:46:34 2018 +0000 Commit: Horea Christian gmail com> CommitDate: Fri May 18 20:55:52 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=613a8f9b dev-python/pynrrd: new package Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-python/pynrrd/metadata.xml | 21 +++++++++++++++++++++ dev-python/pynrrd/pynrrd-0.2.2.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/pynrrd/metadata.xml b/dev-python/pynrrd/metadata.xml new file mode 100644 index 000000000..5375bfa89 --- /dev/null +++ b/dev-python/pynrrd/metadata.xml @@ -0,0 +1,21 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + Pynrrd is a pure-Python module for reading and writing nrrd + (Nearly Raw Raster Data, a file format for storing N-dimensional + raster data and often used for DTI data) files into and from + numpy arrays. + + + mhe/pynrrd + + diff --git a/dev-python/pynrrd/pynrrd-0.2.2.ebuild b/dev-python/pynrrd/pynrrd-0.2.2.ebuild new file mode 100644 index 000000000..7b1bc2498 --- /dev/null +++ b/dev-python/pynrrd/pynrrd-0.2.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 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 + +DESCRIPTION="Simple pure-python module for reading and writing nrrd files" +HOMEPAGE="https://github.com/mhe/pynrrd" +SRC_URI="https://github.com/mhe/pynrrd/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} )" + +python_test() { + ${EPYTHON} tests/test_nrrd.py || die +}