Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2020 12:54:13 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545104 - in head/cad/py-cadquery: . files
Message-ID:  <202008161254.07GCsDlN071566@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Aug 16 12:54:13 2020
New Revision: 545104
URL: https://svnweb.freebsd.org/changeset/ports/545104

Log:
  cad/py-cadquery: create port
  
  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>

Added:
  head/cad/py-cadquery/
  head/cad/py-cadquery/Makefile   (contents, props changed)
  head/cad/py-cadquery/distinfo   (contents, props changed)
  head/cad/py-cadquery/files/
  head/cad/py-cadquery/files/patch-setup.py   (contents, props changed)
  head/cad/py-cadquery/pkg-descr   (contents, props changed)

Added: head/cad/py-cadquery/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-cadquery/Makefile	Sun Aug 16 12:54:13 2020	(r545104)
@@ -0,0 +1,29 @@
+# $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>

Added: head/cad/py-cadquery/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-cadquery/distinfo	Sun Aug 16 12:54:13 2020	(r545104)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1595406745
+SHA256 (CadQuery-cadquery-2.0.1_GH0.tar.gz) = 7e126628a3928af42f9a86f2f0efd3ea2b143f9f9c14603a26ac76c25d1596b1
+SIZE (CadQuery-cadquery-2.0.1_GH0.tar.gz) = 1835724

Added: head/cad/py-cadquery/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-cadquery/files/patch-setup.py	Sun Aug 16 12:54:13 2020	(r545104)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-06-25 14:36:51 UTC
++++ setup.py
+@@ -35,7 +35,7 @@ setup(
+         "cadquery.contrib",
+         "cadquery.occ_impl",
+         "cadquery.plugins",
+-        "tests",
++        "cadquery.tests",
+     ],
+     include_package_data=True,
+     zip_safe=False,

Added: head/cad/py-cadquery/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-cadquery/pkg-descr	Sun Aug 16 12:54:13 2020	(r545104)
@@ -0,0 +1,6 @@
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008161254.07GCsDlN071566>