blob: b95a257a1f77412823508f4639fbbc0e3992067f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= ${GH_ACCOUNT:tl}
DISTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= cad
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@nicandneal.net
COMMENT= Python module for building parametric 3D CAD models
WWW= https://github.com/CadQuery/cadquery
LICENSE= APACHE20
DEPRECATED= Depends on exppired cad/py-ocp
EXPIRATION_DATE=2023-06-21
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
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>
|