From owner-svn-ports-all@freebsd.org Sun Mar 17 18:21:42 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE4741545F4F; Sun, 17 Mar 2019 18:21:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E3AA8AE49; Sun, 17 Mar 2019 18:21:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1BF1CDBF2; Sun, 17 Mar 2019 18:21:41 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2HILerf030256; Sun, 17 Mar 2019 18:21:40 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2HILeHl030252; Sun, 17 Mar 2019 18:21:40 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201903171821.x2HILeHl030252@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Mar 2019 18:21:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496085 - in head/science: . py-geometer X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/science: . py-geometer X-SVN-Commit-Revision: 496085 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6E3AA8AE49 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Mar 2019 18:21:42 -0000 Author: sunpoet Date: Sun Mar 17 18:21:39 2019 New Revision: 496085 URL: https://svnweb.freebsd.org/changeset/ports/496085 Log: Add py-geometer 0.1.2 Geometer is a geometry library for Python 3 that uses projective geometry and numpy for fast geometric computation. In projective geometry every point in 2D is represented by a three-dimensional vector and every point in 3D is represented by a four-dimensional vector. This has the following advantages: There are points at infinity that can be treated just like normal points. - Projective transformations are described by matrices but they can also represent affine transformations i.e. also translations. - Every two lines have a unique point of intersection if they lie in the same plane. Parallel lines have a point of intersection at infinity. - Points of intersection, planes or lines through given points can be calculated using simple cross products or tensor diagrams. - Special complex points at infinity and cross ratios can be used to calculate angles and to construct perpendicular geometric structures. - Most of the computation in the library done via tensor diagrams (using numpy.einsum). WWW: https://github.com/jan-mue/geometer Added: head/science/py-geometer/ head/science/py-geometer/Makefile (contents, props changed) head/science/py-geometer/distinfo (contents, props changed) head/science/py-geometer/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Sun Mar 17 18:21:33 2019 (r496084) +++ head/science/Makefile Sun Mar 17 18:21:39 2019 (r496085) @@ -226,6 +226,7 @@ SUBDIR += py-chempy SUBDIR += py-coards SUBDIR += py-dlib + SUBDIR += py-geometer SUBDIR += py-gpaw SUBDIR += py-gsd SUBDIR += py-h5py Added: head/science/py-geometer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-geometer/Makefile Sun Mar 17 18:21:39 2019 (r496085) @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= geometer +PORTVERSION= 0.1.2 +CATEGORIES= science python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python geometry package based on projective geometry and numpy + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>=1.3:math/py-sympy@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include Added: head/science/py-geometer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-geometer/distinfo Sun Mar 17 18:21:39 2019 (r496085) @@ -0,0 +1,3 @@ +TIMESTAMP = 1552844109 +SHA256 (geometer-0.1.2.tar.gz) = 03c3db58809e512da38f5d3c225642b2ab595a795329a9647e38d8cf4d4f2621 +SIZE (geometer-0.1.2.tar.gz) = 19422 Added: head/science/py-geometer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-geometer/pkg-descr Sun Mar 17 18:21:39 2019 (r496085) @@ -0,0 +1,18 @@ +Geometer is a geometry library for Python 3 that uses projective geometry and +numpy for fast geometric computation. In projective geometry every point in 2D +is represented by a three-dimensional vector and every point in 3D is +represented by a four-dimensional vector. This has the following advantages: + +There are points at infinity that can be treated just like normal points. +- Projective transformations are described by matrices but they can also + represent affine transformations i.e. also translations. +- Every two lines have a unique point of intersection if they lie in the same + plane. Parallel lines have a point of intersection at infinity. +- Points of intersection, planes or lines through given points can be calculated + using simple cross products or tensor diagrams. +- Special complex points at infinity and cross ratios can be used to calculate + angles and to construct perpendicular geometric structures. +- Most of the computation in the library done via tensor diagrams (using + numpy.einsum). + +WWW: https://github.com/jan-mue/geometer