Date: Thu, 29 Mar 2018 22:25:16 +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: r465934 - in head/math: . py-Diofant py-Diofant/files Message-ID: <201803292225.w2TMPGhM069767@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Thu Mar 29 22:25:16 2018 New Revision: 465934 URL: https://svnweb.freebsd.org/changeset/ports/465934 Log: New port: math/py-Diofant: Python library for symbolic mathematics Added: head/math/py-Diofant/ head/math/py-Diofant/Makefile (contents, props changed) head/math/py-Diofant/distinfo (contents, props changed) head/math/py-Diofant/files/ head/math/py-Diofant/files/patch-setup.py (contents, props changed) head/math/py-Diofant/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Thu Mar 29 22:02:53 2018 (r465933) +++ head/math/Makefile Thu Mar 29 22:25:16 2018 (r465934) @@ -621,6 +621,7 @@ SUBDIR += pspp SUBDIR += pure-mpfr SUBDIR += pure-rational + SUBDIR += py-Diofant SUBDIR += py-PyWavelets SUBDIR += py-altgraph SUBDIR += py-apgl Added: head/math/py-Diofant/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-Diofant/Makefile Thu Mar 29 22:25:16 2018 (r465934) @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= Diofant +DISTVERSION= 0.9.0 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python library for symbolic mathematics + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isort>0:devel/py-isort@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${FLAVOR} +# RUN_DEPENDS includes extra_reqs for convenience +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>0:devel/py-cachetools@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gmpy2>=2.0.8:math/py-gmpy2@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>2.1.1:math/py-matplotlib@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mpmath>=0.19:math/py-mpmath@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyparsing>2.1.2:devel/py-pyparsing@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}strategies>=0.2.3:devel/py-strategies@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}theano>=0.9.0:math/py-theano@${FLAVOR} \ + ${PYNUMPY} + +USES= python:3.5+ +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/math/py-Diofant/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-Diofant/distinfo Thu Mar 29 22:25:16 2018 (r465934) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522358534 +SHA256 (Diofant-0.9.0.tar.gz) = 2ad017257c4ae3ccb2bc065863bf411602a67fc82af4d417dfb6e21c85e775a8 +SIZE (Diofant-0.9.0.tar.gz) = 2309393 Added: head/math/py-Diofant/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-Diofant/files/patch-setup.py Thu Mar 29 22:25:16 2018 (r465934) @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-03-29 22:06:10 UTC ++++ setup.py +@@ -20,7 +20,7 @@ with open('diofant/__init__.py') as f: + if m: + __version__ = m.group(1) + +-setup_reqs = ['setuptools>=5.5.1', 'pip>=6.0', 'pytest-runner', 'isort'] ++setup_reqs = ['setuptools>=5.5.1', 'pytest-runner', 'isort'] + extra_reqs = {'exports': ['numpy>=1.12.1', 'scipy', 'Theano>=0.9.0'], + 'gmpy': ['gmpy2>=2.0.8'], + 'plot': ['pyparsing!=2.1.2', 'matplotlib!=2.1.1'], Added: head/math/py-Diofant/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-Diofant/pkg-descr Thu Mar 29 22:25:16 2018 (r465934) @@ -0,0 +1,7 @@ +Diofant is a Python library for symbolic mathematics. +It is able to symbolically differentiate, integrate functions, solve +algebraoc equations and a lot more. + +It can present results in a very cool pseudographics in your terminal. + +WWW: https://github.com/diofant/diofant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803292225.w2TMPGhM069767>