media-gfx/build123d - 9999 (booboo)

Search

Install

Install this version:

emerge -a =media-gfx/build123d-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/build123d-9999

Or alternatively:

emerge --autounmask-write -a =media-gfx/build123d-9999

Package Information

Description:
Python-based, parametric, BREP modeling framework for 2D and 3D CAD
Homepage:
https://github.com/gumyr/build123d
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# due to cadquery-ocp
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )

inherit distutils-r1

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/gumyr/build123d"
else
	inherit pypi
	KEYWORDS="~amd64"
fi

DESCRIPTION="Python-based, parametric, BREP modeling framework for 2D and 3D CAD"
HOMEPAGE="https://github.com/gumyr/build123d"

LICENSE="Apache-2.0"
SLOT="0"

# https://github.com/gumyr/build123d/blob/dev/pyproject.toml
RDEPEND="${DEPEND}
	dev-python/cadquery-ocp[${PYTHON_SINGLE_USEDEP}]
	$(python_gen_cond_dep '
		dev-python/anytree[${PYTHON_USEDEP}]
		dev-python/ezdxf[${PYTHON_USEDEP}]
		dev-python/ocpsvg[${PYTHON_USEDEP}]
		dev-python/py-lib3mf[${PYTHON_USEDEP}]
		dev-python/svgpathtools[${PYTHON_USEDEP}]
		dev-python/trianglesolver[${PYTHON_USEDEP}]
		sci-libs/nlopt[python,${PYTHON_USEDEP}]
	')
	"

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

RDEPEND

${DEPEND}
	dev-python/cadquery-ocp[${PYTHON_SINGLE_USEDEP}]
	$(python_gen_cond_dep '
		dev-python/anytree[${PYTHON_USEDEP}]
		dev-python/ezdxf[${PYTHON_USEDEP}]
		dev-python/ocpsvg[${PYTHON_USEDEP}]
		dev-python/py-lib3mf[${PYTHON_USEDEP}]
		dev-python/svgpathtools[${PYTHON_USEDEP}]
		dev-python/trianglesolver[${PYTHON_USEDEP}]
		sci-libs/nlopt[python,${PYTHON_USEDEP}]
	')