commit: 881007ddad15be0f2a2257469325da05e664fcae Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Thu Feb 17 22:07:51 2022 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Thu Feb 17 22:17:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881007dd
dev-python/meshio: initial import Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> dev-python/meshio/Manifest | 1 + dev-python/meshio/meshio-5.3.0.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/meshio/metadata.xml | 13 +++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/meshio/Manifest b/dev-python/meshio/Manifest new file mode 100644 index 000000000000..ad8706dcafa4 --- /dev/null +++ b/dev-python/meshio/Manifest @@ -0,0 +1 @@ +DIST meshio-5.3.0.tar.gz 491246 BLAKE2B 0fd867c2ddabb29cd88dfdea1b5ef04ebf8d63ed957df5df7c426a00f0de409dcd556de4530dec91e71126671e7048af071f734e3d1c375fc67de0403edd7f37 SHA512 2304c75b74093120655cbfae6ec7b770de6bfdbe677c84e997449df91d7d3fd6b61c946d00bf57eba99e5812a08a032c55bf2d4c81316b356016d818b329f795 diff --git a/dev-python/meshio/meshio-5.3.0.ebuild b/dev-python/meshio/meshio-5.3.0.ebuild new file mode 100644 index 000000000000..770099433c77 --- /dev/null +++ b/dev-python/meshio/meshio-5.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Input/output for many mesh formats" +HOMEPAGE="https://github.com/nschloe/meshio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="hdf5 netcdf" + +# Only some of the hdf5 tests are skipped if h5py is not found +REQUIRED_USE="test? ( hdf5 )" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] ) + netcdf? ( dev-python/netcdf4-python[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest diff --git a/dev-python/meshio/metadata.xml b/dev-python/meshio/metadata.xml new file mode 100644 index 000000000000..c168c1788dfb --- /dev/null +++ b/dev-python/meshio/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mare...@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">nschloe/meshio</remote-id> + <remote-id type="pypi">meshio</remote-id> + </upstream> +</pkgmetadata>