mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-python/build123d: new package, add 0.10.0
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
1
dev-python/build123d/Manifest
Normal file
1
dev-python/build123d/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST build123d-0.10.0.tar.gz 20011921 BLAKE2B a397ce79d93a32ccdd7e861fec8b68b5d4feab93ae980c737d3b3bf85b4a5c2375d13517f86fc8f7e9edeef6105eef9393b1fbceb8ab76c6d296f4a3dc8e754d SHA512 a9189cb7b9646d75c616349e26441109474f03403e1e5a8ce56d603b69f6acd912cf26f3c8f819c64f4afc7743b4213d9749c9a70c4d9cf6df4e10dbde211604
|
||||
46
dev-python/build123d/build123d-0.10.0.ebuild
Normal file
46
dev-python/build123d/build123d-0.10.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python parametric CAD modeling framework based on Open CASCADE"
|
||||
HOMEPAGE="https://github.com/gumyr/build123d https://pypi.org/project/build123d/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# VTK is not available with cadquery-ocp-novtk
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_direct_api/test_jupyter.py::TestJupyter::test_display_error
|
||||
tests/test_direct_api/test_jupyter.py::TestJupyter::test_repr_html
|
||||
tests/test_direct_api/test_vtk_poly_data.py::TestVTKPolyData::test_to_vtk_poly_data
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cadquery-ocp-novtk-7.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/numpy-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/svgpathtools-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/anytree-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ezdxf-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ipython-8.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lib3mf-2.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ocpsvg-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/ocp-gordon-0.1.17[${PYTHON_USEDEP}]
|
||||
dev-python/trianglesolver[${PYTHON_USEDEP}]
|
||||
dev-python/sympy[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
dev-python/webcolors[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( )
|
||||
distutils_enable_tests pytest
|
||||
29
dev-python/build123d/metadata.xml
Normal file
29
dev-python/build123d/metadata.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>vowstar@gmail.com</email>
|
||||
<name>Huang Rui</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gumyr/build123d</remote-id>
|
||||
<remote-id type="pypi">build123d</remote-id>
|
||||
<doc>https://build123d.readthedocs.io/</doc>
|
||||
<bugs-to>https://github.com/gumyr/build123d/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
build123d is a Python-based parametric CAD modeling framework built on top
|
||||
of the Open CASCADE geometry kernel. It provides an intuitive API for
|
||||
creating 3D models using builder patterns, algebraic operations, and
|
||||
selectors. The framework supports 1D (curves/edges), 2D (sketches/faces),
|
||||
and 3D (parts/solids) modeling with features like extrusion, lofting,
|
||||
sweeping, filleting, and boolean operations. Models can be exported to
|
||||
STEP, STL, 3MF, SVG, DXF, and other formats.
|
||||
</longdescription>
|
||||
<longdescription lang="zh">
|
||||
build123d是一个基于Open CASCADE几何内核构建的Python参数化CAD建模框架。
|
||||
它提供了直观的API,使用构建器模式、代数运算和选择器来创建3D模型。该框架
|
||||
支持1D(曲线/边)、2D(草图/面)和3D(零件/实体)建模,具有拉伸、放样、
|
||||
扫描、倒角和布尔运算等功能。模型可以导出为STEP、STL、3MF、SVG、DXF等格式。
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user