diff options
Diffstat (limited to 'dev-python/pynrrd')
-rw-r--r-- | dev-python/pynrrd/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pynrrd/pynrrd-0.4.2.ebuild | 7 | ||||
-rw-r--r-- | dev-python/pynrrd/pynrrd-0.4.3.ebuild | 27 | ||||
-rw-r--r-- | dev-python/pynrrd/pynrrd-1.0.0.ebuild | 30 |
4 files changed, 63 insertions, 3 deletions
diff --git a/dev-python/pynrrd/Manifest b/dev-python/pynrrd/Manifest index b9c8e53d7..e174359e3 100644 --- a/dev-python/pynrrd/Manifest +++ b/dev-python/pynrrd/Manifest @@ -1 +1,3 @@ DIST pynrrd-0.4.2.tar.gz 43129 BLAKE2B 2001d151e38bbd02a648759475af13dd1be4bb7c12b7f8a3c7294e7fe1c281aeb9b35e39cce8254088b1c2f766aabe7343be0da4d48208375bb21be6dce9ba61 SHA512 8c5e4c1cb89dc84be3cf06e40d3f5bd45ea355c4e103027a62b088c4a73b03d1032cea1de0b153ef13fefd9b06d5a9b1954456a4542ae27cb74a278835b759ca +DIST pynrrd-0.4.3.tar.gz 43162 BLAKE2B 266c57029e48e923dd5371184f59471e069890668ac15a75cfafc178cfe1a718f33bc6bcc704172e0fca0bdc9c52091da79e404b6bfb85838eef0c3e0807409c SHA512 d6264fce3b270e5ae9d889e7d58a18ae7bf3fecf5a1fe168dc584dece2052efd32170b21a02fa630c35e0e45e7109c745069710169ec38819639a4585344e0f6 +DIST pynrrd-1.0.0.tar.gz 45061 BLAKE2B c08bcd70c3565cd690b228793651e57e08d2095a72b7f7102e6274f1518873acb1ee5645302fbb68b7cf1afafe3c5c734a33e561eea1caaacb5434c049dcc325 SHA512 c622812a4e000e6a4b5d82db2eac02822968c38bb9b8ab5d35cfa498a636bf221078d8722f8ac2cdd91b0430f0b5b6768fb33a63112c3045038f6d44d121e7b5 diff --git a/dev-python/pynrrd/pynrrd-0.4.2.ebuild b/dev-python/pynrrd/pynrrd-0.4.2.ebuild index c877ed1f3..2993f8f3a 100644 --- a/dev-python/pynrrd/pynrrd-0.4.2.ebuild +++ b/dev-python/pynrrd/pynrrd-0.4.2.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) inherit distutils-r1 diff --git a/dev-python/pynrrd/pynrrd-0.4.3.ebuild b/dev-python/pynrrd/pynrrd-0.4.3.ebuild new file mode 100644 index 000000000..2993f8f3a --- /dev/null +++ b/dev-python/pynrrd/pynrrd-0.4.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +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" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} )" + +distutils_enable_tests unittest + +python_test() { + ${EPYTHON} -m unittest discover -v nrrd/tests || \ + die "unittests failed for ${EPYTHON}" +} diff --git a/dev-python/pynrrd/pynrrd-1.0.0.ebuild b/dev-python/pynrrd/pynrrd-1.0.0.ebuild new file mode 100644 index 000000000..d46aba486 --- /dev/null +++ b/dev-python/pynrrd/pynrrd-1.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +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" + +RDEPEND=" + dev-python/nptyping[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +DEPEND="test? ( ${RDEPEND} )" + +distutils_enable_tests unittest + +python_test() { + ${EPYTHON} -m unittest discover -v nrrd/tests || \ + die "unittests failed for ${EPYTHON}" +} |