dev-python/cadquery-ocp-novtk: new package, add 7.8.1.1_p1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2026-02-26 21:04:56 +08:00
parent 60dbee93a6
commit f428acb261
3 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST cadquery_ocp_novtk-7.8.1.1.post1-cp311-cp311-linux_x86_64.whl 69847586 BLAKE2B a04cd650858beacc5686c99c6aa811893e2cb29b8607ba74a7a15d5cdb2fdd267a7494b307ef127b3c31dd69b10f32e371a26675c04a5120c42b35bac22ea7ca SHA512 b1e1ab8b37a121278eeaf855565192860697c6de10e51ca56367774d75b6ff4b6ef9df6d94c74397c6fe8e741a62d21291f92725db124aed8b3d4e18ad6ca28e
DIST cadquery_ocp_novtk-7.8.1.1.post1-cp312-cp312-linux_x86_64.whl 69960064 BLAKE2B 31adf8fb5c00a0cd6540b7da5bc0b504cae25289268bf76cd3dee46d4a692cc5d4ae26fe583f12f7423cd7140a1fce256a15ca219bde5bc76b48e584173b663d SHA512 510393ed92c9759ff828c8cb7e423c69ce1e1d395b4a82e1aa9c2fcbca72ac4031cb1d04232c12a2e23d22d91cbb32820021bd8f024caec491409368633e0a1e
DIST cadquery_ocp_novtk-7.8.1.1.post1-cp313-cp313-linux_x86_64.whl 69958218 BLAKE2B f14bdb00e0117a19876c76a8942e17ef9833a465e661a154c549a5b861e8cef164f67c06475e9d290b98c5301667cdc4a2239d204e7c627c782622aa02713738 SHA512 0216f13228b75362c2f2d0577c29272bc0b2a1edab26603b3ee8422c22e553121f8c055c1ce5a9f09c95adc8d439659856a44ab2f8eed784577f19dbfb0f3701

View File

@@ -0,0 +1,48 @@
# 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=standalone
DISTUTILS_EXT=1
inherit distutils-r1
MY_PN="cadquery_ocp_novtk"
MY_PV="${PV/_p/.post}"
DESCRIPTION="Python wrapper for OCCT (no VTK) - prebuilt binary package"
HOMEPAGE="https://github.com/CadQuery/OCP https://pypi.org/project/cadquery-ocp-novtk/"
SRC_URI="
python_targets_python3_11? (
https://files.pythonhosted.org/packages/a2/4e/36707561b5c80a671ea6c99f156104debb8dcc2fa8aeb24ebe3bd023cee7/${MY_PN}-${MY_PV}-cp311-cp311-manylinux_2_31_x86_64.whl
-> ${MY_PN}-${MY_PV}-cp311-cp311-linux_x86_64.whl
)
python_targets_python3_12? (
https://files.pythonhosted.org/packages/cd/6a/c973f2b530651193dec6f5c14b50226abddc6d2a065b57ac866069f208ff/${MY_PN}-${MY_PV}-cp312-cp312-manylinux_2_31_x86_64.whl
-> ${MY_PN}-${MY_PV}-cp312-cp312-linux_x86_64.whl
)
python_targets_python3_13? (
https://files.pythonhosted.org/packages/74/08/1de4750b267a500ca900b3c7ab754790afe7f9dbb8a301258739b72c69e2/${MY_PN}-${MY_PV}-cp313-cp313-manylinux_2_31_x86_64.whl
-> ${MY_PN}-${MY_PV}-cp313-cp313-linux_x86_64.whl
)
"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# test: no test suite included in binary wheel
RESTRICT="bindist mirror strip test"
QA_PREBUILT="*"
python_compile() {
local pyver="${EPYTHON/python/}"
pyver="${pyver/./}"
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/${MY_PN}-${MY_PV}-cp${pyver}-cp${pyver}-linux_x86_64.whl"
}

View File

@@ -0,0 +1,23 @@
<?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">CadQuery/OCP</remote-id>
<remote-id type="pypi">cadquery-ocp-novtk</remote-id>
</upstream>
<longdescription lang="en">
cadquery-ocp-novtk provides Python bindings for the Open CASCADE Technology
(OCCT) 3D geometry library, built without VTK support. This is a prebuilt
binary package based on the official CadQuery/OCP sources. It is used by
build123d and CadQuery for parametric CAD modeling in Python.
</longdescription>
<longdescription lang="zh">
cadquery-ocp-novtk提供了Open CASCADE TechnologyOCCT3D几何库的Python
绑定构建时不包含VTK支持。这是一个基于官方CadQuery/OCP源码的预构建二进制
包。它被build123d和CadQuery用于Python中的参数化CAD建模。
</longdescription>
</pkgmetadata>