mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
8398ee71c0
CadQuery is an intuitive, easy-to-use Python module for building parametric 3D CAD models. Using CadQuery, you can write short, simple scripts that produce high quality CAD models. It is easy to make many different objects using a single script that can be customized. WWW: https://github.com/CadQuery/cadquery PR: 248210 Submitted by: Neal Nelson <ports@nicandneal.net>
30 lines
781 B
Makefile
30 lines
781 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cadquery
|
|
DISTVERSION= 2.0.1
|
|
CATEGORIES= cad
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= ports@nicandneal.net
|
|
COMMENT= Python module for building parametric 3D CAD models
|
|
|
|
LICENSE= APACHE20
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ezdxf/__init__.py:cad/py-ezdxf@${PY_FLAVOR} \
|
|
${PYTHON_SITELIBDIR}/OCP.so:cad/py-ocp@${PY_FLAVOR} \
|
|
${PYTHON_SITELIBDIR}/pyparsing.py:devel/py-pyparsing@${PY_FLAVOR} \
|
|
${PYTHON_SITELIBDIR}/typing_extensions.py:devel/py-typing-extensions@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+,run
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= CadQuery
|
|
GH_PROJECT= cadquery
|
|
|
|
post-extract:
|
|
# Move into a sub-directory so that we don't pollute site-packages.
|
|
${MV} ${WRKSRC}/tests ${WRKSRC}/cadquery/tests
|
|
|
|
.include <bsd.port.mk>
|