Add cad/py-lcapy, Symbolic MDA Analysis Package for Linear Circuits.

This commit is contained in:
Hiroki Sato 2016-05-16 17:34:37 +00:00
parent b1ab1d8fb8
commit d06c86d08a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415342
4 changed files with 47 additions and 0 deletions

View file

@ -62,6 +62,7 @@
SUBDIR += p5-Verilog-Perl SUBDIR += p5-Verilog-Perl
SUBDIR += pcb SUBDIR += pcb
SUBDIR += pdnmesh SUBDIR += pdnmesh
SUBDIR += py-lcapy
SUBDIR += py-pycam SUBDIR += py-pycam
SUBDIR += pythoncad SUBDIR += pythoncad
SUBDIR += qcad SUBDIR += qcad

33
cad/py-lcapy/Makefile Normal file
View file

@ -0,0 +1,33 @@
# $FreeBSD$
PORTNAME= lcapy
DISTVERSION= 40de0a2
CATEGORIES= cad python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Symbolic MDA Analysis Package for Linear Circuits
LICENSE= LGPL21
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy \
${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/matplotlib
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= mph-
PORTEXAMPLES= netlists \
networks \
notebooks \
schematics
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/doc/examples && \
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

3
cad/py-lcapy/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1463419670
SHA256 (mph--lcapy-40de0a2_GH0.tar.gz) = 5588fe619ee409ab3727a1d38245b7a0cf493726f00679a0dff6f33a6a815055
SIZE (mph--lcapy-40de0a2_GH0.tar.gz) = 976810

10
cad/py-lcapy/pkg-descr Normal file
View file

@ -0,0 +1,10 @@
Lcapy is an experimental Python package for teaching linear circuit
analysis. It uses SymPy for symbolic mathematics.
Lcapy can analyse circuits described with netlists using modified
nodal analysis.
Alternatively, Lcapy can analyse networks and circuits formed by
combining one, two, and (some) three port networks.
WWW: https://github.com/mph-/lcapy