commit:     89506d94d78356684b1a6cf2baf91ce337b7931e
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Feb 26 13:05:09 2026 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Feb 26 13:05:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=89506d94

dev-python/lib3mf: new package, add 2.4.1_p1

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-python/lib3mf/Manifest               |  1 +
 dev-python/lib3mf/lib3mf-2.4.1_p1.ebuild | 35 ++++++++++++++++++++++++++++++++
 dev-python/lib3mf/metadata.xml           | 24 ++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/dev-python/lib3mf/Manifest b/dev-python/lib3mf/Manifest
new file mode 100644
index 0000000000..4f4b561890
--- /dev/null
+++ b/dev-python/lib3mf/Manifest
@@ -0,0 +1 @@
+DIST lib3mf-2.4.1.post1-py3-none-linux_x86_64.whl 1547667 BLAKE2B 
ea282f223322f1255dd79da76c5d84767a5a01f6f9ea46bcef771c738088fd7dffac9ea10d6453a19c6a1c1b4df19aebad99d38cb0039858c791486eb62c6bee
 SHA512 
fb610cdccd4bf80f589990f85535f519c322445882bab94d0ed262d37f5b0090ebf9a4f1bbac4e8621126613b5003828eb62432758ddf10663650ef23d49fc98

diff --git a/dev-python/lib3mf/lib3mf-2.4.1_p1.ebuild 
b/dev-python/lib3mf/lib3mf-2.4.1_p1.ebuild
new file mode 100644
index 0000000000..229df8340d
--- /dev/null
+++ b/dev-python/lib3mf/lib3mf-2.4.1_p1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+DISTUTILS_USE_PEP517=standalone
+DISTUTILS_EXT=1
+inherit distutils-r1
+
+MY_PV="${PV/_p/.post}"
+
+DESCRIPTION="Python bindings for the lib3mf 3D Manufacturing Format library"
+HOMEPAGE="https://github.com/3MFConsortium/lib3mf 
https://pypi.org/project/lib3mf/";
+
+SRC_URI="
+       
https://files.pythonhosted.org/packages/4d/fc/fe9c31852c02b263763323a3afeaab0538106887b9ed6de85b72043417a5/${PN}-${MY_PV}-py3-none-manylinux2014_x86_64.whl
+               -> ${PN}-${MY_PV}-py3-none-linux_x86_64.whl
+"
+
+S="${WORKDIR}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# test: no Python test suite included in binary wheel (upstream tests are C++ 
only)
+RESTRICT="bindist mirror strip test"
+
+QA_PREBUILT="*"
+
+python_compile() {
+       distutils_wheel_install "${BUILD_DIR}/install" \
+               "${DISTDIR}/${PN}-${MY_PV}-py3-none-linux_x86_64.whl"
+}

diff --git a/dev-python/lib3mf/metadata.xml b/dev-python/lib3mf/metadata.xml
new file mode 100644
index 0000000000..c8c0a7ad31
--- /dev/null
+++ b/dev-python/lib3mf/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Huang Rui</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">3MFConsortium/lib3mf</remote-id>
+               <remote-id type="pypi">lib3mf</remote-id>
+       </upstream>
+       <longdescription lang="en">
+               lib3mf provides Python bindings for the lib3mf library, which 
implements
+               the 3D Manufacturing Format (3MF). 3MF is an open-source file 
format for
+               3D printing that contains complete model information including 
meshes,
+               materials, colors, and print settings. This package enables 
reading,
+               writing, and manipulating 3MF files from Python.
+       </longdescription>
+       <longdescription lang="zh">
+               lib3mf提供了lib3mf库的Python绑定,该库实现了3D制造格式(3MF)。3MF是一种
+               用于3D打印的开源文件格式,包含完整的模型信息,包括网格、材料、颜色和打印
+               设置。此包允许从Python读取、写入和操作3MF文件。
+       </longdescription>
+</pkgmetadata>

Reply via email to