diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /dev-python/meshio | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'dev-python/meshio')
| -rw-r--r-- | dev-python/meshio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/meshio/files/meshio-5.3.5-numpy-2.patch | 52 | ||||
| -rw-r--r-- | dev-python/meshio/meshio-5.3.5-r1.ebuild | 38 | ||||
| -rw-r--r-- | dev-python/meshio/metadata.xml | 10 |
4 files changed, 0 insertions, 101 deletions
diff --git a/dev-python/meshio/Manifest b/dev-python/meshio/Manifest deleted file mode 100644 index af6a8fd1c05a..000000000000 --- a/dev-python/meshio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST meshio-5.3.5.tar.gz 490922 BLAKE2B ff6635db062b5e4041d7a4389f1e2fefc20cf55c1c0e70be1796c9e65e87daf503c7446224130eee94a3a2d0fb52dcd57ce3fa169afe7ca7fe32c3037fa21e00 SHA512 dcf6b914536b5b109ead378b7314de8f6f65ca7eb9b8c1092ce51308c32175c92a8f6386087b00770cd64eddcbc3fa80232dd30b370880894c0fa0b074bd7313 diff --git a/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch b/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch deleted file mode 100644 index dc7662c3042f..000000000000 --- a/dev-python/meshio/files/meshio-5.3.5-numpy-2.patch +++ /dev/null @@ -1,52 +0,0 @@ -diff --git a/src/meshio/dolfin/_dolfin.py b/src/meshio/dolfin/_dolfin.py -index e43dbd54..0a2c1eaa 100644 ---- a/src/meshio/dolfin/_dolfin.py -+++ b/src/meshio/dolfin/_dolfin.py -@@ -207,7 +207,7 @@ def _write_cell_data(filename, dim, cell_data): - ) - - for k, value in enumerate(cell_data): -- ET.SubElement(mesh_function, "entity", index=str(k), value=repr(value)) -+ ET.SubElement(mesh_function, "entity", index=str(k), value=str(value)) - - tree = ET.ElementTree(dolfin) - tree.write(filename) -diff --git a/src/meshio/gmsh/common.py b/src/meshio/gmsh/common.py -index 717e82ee..adcae241 100644 ---- a/src/meshio/gmsh/common.py -+++ b/src/meshio/gmsh/common.py -@@ -273,7 +273,7 @@ def _write_data(fh, tag, name, data, binary): - tmp.tofile(fh) - fh.write(b"\n") - else: -- fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n" -+ fmt = " ".join(["{}"] * (num_components + 1)) + "\n" - # TODO unify - if num_components == 1: - for k, x in enumerate(data): -diff --git a/src/meshio/mdpa/_mdpa.py b/src/meshio/mdpa/_mdpa.py -index afa39eca..e49358af 100644 ---- a/src/meshio/mdpa/_mdpa.py -+++ b/src/meshio/mdpa/_mdpa.py -@@ -418,7 +418,7 @@ def _write_data(fh, tag, name, data, binary): - data = data[:, 0] - - # Actually write the data -- fmt = " ".join(["{}"] + ["{!r}"] * num_components) + "\n" -+ fmt = " ".join(["{}"] * (num_components + 1)) + "\n" - # TODO unify - if num_components == 1: - for k, x in enumerate(data): -diff --git a/src/meshio/ugrid/_ugrid.py b/src/meshio/ugrid/_ugrid.py -index 6fa57c09..f1d5818d 100644 ---- a/src/meshio/ugrid/_ugrid.py -+++ b/src/meshio/ugrid/_ugrid.py -@@ -145,7 +145,7 @@ def read_buffer(f, file_type): - def _write_section(f, file_type, array, dtype): - if file_type["type"] == "ascii": - ncols = array.shape[1] -- fmt = " ".join(["%r"] * ncols) -+ fmt = " ".join(["%s"] * ncols) - np.savetxt(f, array, fmt=fmt) - else: - array.astype(dtype).tofile(f) diff --git a/dev-python/meshio/meshio-5.3.5-r1.ebuild b/dev-python/meshio/meshio-5.3.5-r1.ebuild deleted file mode 100644 index 266428a7e0ef..000000000000 --- a/dev-python/meshio/meshio-5.3.5-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Input/output for many mesh formats" -HOMEPAGE=" - https://github.com/nschloe/meshio/ - https://pypi.org/project/meshio/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="hdf5 netcdf" - -RDEPEND=" - >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] ) - netcdf? ( dev-python/netcdf4[${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( dev-python/h5py[${PYTHON_USEDEP}] ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/nschloe/meshio/pull/1513 - "${FILESDIR}/${P}-numpy-2.patch" -) diff --git a/dev-python/meshio/metadata.xml b/dev-python/meshio/metadata.xml deleted file mode 100644 index 5e95859f915a..000000000000 --- a/dev-python/meshio/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches /> - <origin>baldeagleos-repo</origin> -</pkgmetadata> |
