1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/cad/py-ezdxf/Makefile
Loïc Bartoletti f1f118cc9e [NEW PORT] cad/py-ezdxf: Create and modify DXF drawings
A Python package to create and modify DXF drawings, independent from the DXF
version. You can open/save every DXF file without losing any content (except
comments), Unknown tags in the DXF file will be ignored but preserved for
saving. With this behavior it is possible to open also DXF drawings that
contains data from 3rd party applications.

PR:		248203
Submitted by:	Neal Nelson
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D25890
2020-07-30 19:43:42 +00:00

34 lines
851 B
Makefile

# $FreeBSD$
PORTNAME= ezdxf
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.1
CATEGORIES= cad
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@nicandneal.net
COMMENT= Create and modify DXF drawings
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}geomdl>0:graphics/py-geomdl@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}geomdl>0:graphics/py-geomdl@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= concurrent distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= mozman
GH_PROJECT= ezdxf
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.mk>