Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2016 17:34:37 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415342 - in head/cad: . py-lcapy
Message-ID:  <201605161734.u4GHYb20069679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Mon May 16 17:34:37 2016
New Revision: 415342
URL: https://svnweb.freebsd.org/changeset/ports/415342

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

Added:
  head/cad/py-lcapy/
  head/cad/py-lcapy/Makefile   (contents, props changed)
  head/cad/py-lcapy/distinfo   (contents, props changed)
  head/cad/py-lcapy/pkg-descr   (contents, props changed)
Modified:
  head/cad/Makefile

Modified: head/cad/Makefile
==============================================================================
--- head/cad/Makefile	Mon May 16 17:00:57 2016	(r415341)
+++ head/cad/Makefile	Mon May 16 17:34:37 2016	(r415342)
@@ -62,6 +62,7 @@
     SUBDIR += p5-Verilog-Perl
     SUBDIR += pcb
     SUBDIR += pdnmesh
+    SUBDIR += py-lcapy
     SUBDIR += py-pycam
     SUBDIR += pythoncad
     SUBDIR += qcad

Added: head/cad/py-lcapy/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-lcapy/Makefile	Mon May 16 17:34:37 2016	(r415342)
@@ -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>

Added: head/cad/py-lcapy/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-lcapy/distinfo	Mon May 16 17:34:37 2016	(r415342)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1463419670
+SHA256 (mph--lcapy-40de0a2_GH0.tar.gz) = 5588fe619ee409ab3727a1d38245b7a0cf493726f00679a0dff6f33a6a815055
+SIZE (mph--lcapy-40de0a2_GH0.tar.gz) = 976810

Added: head/cad/py-lcapy/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/cad/py-lcapy/pkg-descr	Mon May 16 17:34:37 2016	(r415342)
@@ -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



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