Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2018 23:45:54 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465939 - in head/math: . py-symcxx
Message-ID:  <201803292345.w2TNjsX6010242@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Mar 29 23:45:54 2018
New Revision: 465939
URL: https://svnweb.freebsd.org/changeset/ports/465939

Log:
  New port: math/py-symcxx: Minimal symbolic manipulation python package written in C++

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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Thu Mar 29 23:28:15 2018	(r465938)
+++ head/math/Makefile	Thu Mar 29 23:45:54 2018	(r465939)
@@ -676,6 +676,7 @@
     SUBDIR += py-seaborn
     SUBDIR += py-statsmodels
     SUBDIR += py-svgmath
+    SUBDIR += py-symcxx
     SUBDIR += py-symeig
     SUBDIR += py-sympy
     SUBDIR += py-theano

Added: head/math/py-symcxx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-symcxx/Makefile	Thu Mar 29 23:45:54 2018	(r465939)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	symcxx
+DISTVERSION=	0.1.9
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Minimal symbolic manipulation python package written in C++
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYNUMPY}
+
+USES=		fortran python # fortran because otherwise "import numpy" fails with wrong libgcc_s.so message
+USE_PYTHON=	distutils autoplist
+
+post-patch:
+	@truncate -s 0 ${WRKSRC}/README.rst # workaround for https://github.com/bjodah/symcxx/issues/19
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/symcxx/_symcxx.so
+
+.include <bsd.port.mk>

Added: head/math/py-symcxx/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-symcxx/distinfo	Thu Mar 29 23:45:54 2018	(r465939)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1522365597
+SHA256 (symcxx-0.1.9.tar.gz) = 5ac726823920f3b9880fa6e32845aa6fb3d6bd9baebfa0fea2181eb9ed8a27b8
+SIZE (symcxx-0.1.9.tar.gz) = 214680

Added: head/math/py-symcxx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-symcxx/pkg-descr	Thu Mar 29 23:45:54 2018	(r465939)
@@ -0,0 +1,7 @@
+SymCXX is an experimental Python package (with its core implemented in C++)
+for symbolic manipulation with limited scope (as in minimal). It tries to stay
+compatible with the API of SymPy. Its main goal is to explore designs related
+to automatic differentiation and numerical evaluation similar to SymEngine's
+Lambdify functionality.
+
+WWW: https://github.com/bjodah/symcxx



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