1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add cad/py-phidl, a GDS-based CAD tool for photonic and superconducting

circuits.
This commit is contained in:
Hiroki Sato 2019-03-15 13:58:32 +00:00
parent 476f120c3d
commit 6109c93cfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495790
4 changed files with 38 additions and 0 deletions

View File

@ -80,6 +80,7 @@
SUBDIR += pdnmesh
SUBDIR += py-gdspy
SUBDIR += py-lcapy
SUBDIR += py-phidl
SUBDIR += py-pycam
SUBDIR += py-pyfda
SUBDIR += python-gdsii

21
cad/py-phidl/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= phidl
PORTVERSION= 1.0.1
CATEGORIES= cad python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS-based CAD tool for photonic and superconducting circuits
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdspy>0:cad/py-gdspy@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= amccaugh
.include <bsd.port.mk>

3
cad/py-phidl/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1552656620
SHA256 (amccaugh-phidl-1.0.1_GH0.tar.gz) = cc1e9a1c0a015828b4069753b3424ee89c0cd340dd541e6b00833287635d39af
SIZE (amccaugh-phidl-1.0.1_GH0.tar.gz) = 511067

13
cad/py-phidl/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
PHIDL is an open-source GDS-based CAD tool for Python 2 and 3 which extends
and simplifies the excellent gdspy. It strives to simplify GDSII geometry
creation by making the design process layout-driven, rather than
coordinate-driven. The base installation includes a large library of
simple shapes (e.g. rectangles, circles), photonic structures (e.g. sine
curve waveguides), and superconducting nanowire shapes (e.g. single
photon detectors) which are fully parameterized. It also has a built-in
quick-plotting function based on Qt (or matplotlib) which allows you view
the state of any GDS object, useful when scripting geometry-making
functions. It also has a very thorough tutorial as well which will walk you
through the process of getting acquainted with PHIDL.
WWW: https://github.com/amccaugh/phidl