Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bruker2nifti/
Date: Thu, 02 Apr 2020 04:11:05
Message-Id: 1585800647.ca73ecf31bb85b7a3a976df75fbdbec29627ff12.chymera@gentoo
1 commit: ca73ecf31bb85b7a3a976df75fbdbec29627ff12
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Thu Apr 2 04:10:47 2020 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Thu Apr 2 04:10:47 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ca73ecf3
7
8 sci-biology/bruker2nifti: new package
9
10 Python Bruker ParaVision to NIfTI converter
11
12 Package-Manager: Portage-2.3.96, Repoman-2.3.22
13 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
14
15 sci-biology/bruker2nifti/bruker2nifti-1.0.4.ebuild | 31 ++++++++++++++++++++++
16 sci-biology/bruker2nifti/metadata.xml | 16 +++++++++++
17 2 files changed, 47 insertions(+)
18
19 diff --git a/sci-biology/bruker2nifti/bruker2nifti-1.0.4.ebuild b/sci-biology/bruker2nifti/bruker2nifti-1.0.4.ebuild
20 new file mode 100644
21 index 000000000..2297139a2
22 --- /dev/null
23 +++ b/sci-biology/bruker2nifti/bruker2nifti-1.0.4.ebuild
24 @@ -0,0 +1,31 @@
25 +# Copyright 1999-2020 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +PYTHON_COMPAT=( python3_{6,7} )
31 +
32 +inherit distutils-r1
33 +
34 +DESCRIPTION="Medical image converter, from raw Bruker ParaVision to NIfTI"
35 +HOMEPAGE="https://github.com/SebastianoF/bruker2nifti"
36 +SRC_URI="https://github.com/SebastianoF/bruker2nifti/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="~amd64"
41 +
42 +RDEPEND="
43 + dev-python/numpy[${PYTHON_USEDEP}]
44 + sci-libs/nibabel[${PYTHON_USEDEP}]
45 + "
46 +
47 +#S="${WORKDIR}/Bru2Nii-${PV}"
48 +
49 +python_prepare_all() {
50 + sed -i -e "s/packages=find_packages()/packages=find_packages(exclude=('test',))/g"\
51 + setup.py || die
52 + distutils-r1_python_prepare_all
53 +}
54 +
55 +distutils_enable_tests pytest
56
57 diff --git a/sci-biology/bruker2nifti/metadata.xml b/sci-biology/bruker2nifti/metadata.xml
58 new file mode 100644
59 index 000000000..d67826b4d
60 --- /dev/null
61 +++ b/sci-biology/bruker2nifti/metadata.xml
62 @@ -0,0 +1,16 @@
63 +<?xml version="1.0" encoding="UTF-8"?>
64 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
65 +<pkgmetadata>
66 + <maintainer type="project">
67 + <email>sci@g.o</email>
68 + <name>Gentoo Science Project</name>
69 + </maintainer>
70 + <longdescription lang="en">
71 + Bruker2nifti is an open source medical image format converter from
72 + raw Bruker ParaVision to NifTi, without any intermediate step through
73 + the DICOM standard format.
74 + </longdescription>
75 + <upstream>
76 + <remote-id type="github">SebastianoF/bruker2nifti</remote-id>
77 + </upstream>
78 +</pkgmetadata>