Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2016 01:59:43 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409572 - in head/devel: . py-tinyarray
Message-ID:  <201602260159.u1Q1xhJE071234@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Fri Feb 26 01:59:43 2016
New Revision: 409572
URL: https://svnweb.freebsd.org/changeset/ports/409572

Log:
  Tinyarrays are similar to NumPy arrays, but optimized for small
  sizes. Common operations on very small arrays are to 3-7 times
  faster than with NumPy (with NumPy 1.6 it used to be up to 35
  times), and 3 times less memory is used to store them. Tinyarrays
  are useful if you need many small arrays of numbers, and cannot
  combine them into a few large ones. (The resulting code is still
  much slower than C, but it may now be fast enough.)
  
  WWW: https://gitlab.kwant-project.org/kwant/tinyarray

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb 26 01:14:17 2016	(r409571)
+++ head/devel/Makefile	Fri Feb 26 01:59:43 2016	(r409572)
@@ -4395,6 +4395,7 @@
     SUBDIR += py-tgMochiKit
     SUBDIR += py-thrift
     SUBDIR += py-timelib
+    SUBDIR += py-tinyarray
     SUBDIR += py-tipper
     SUBDIR += py-total-ordering
     SUBDIR += py-tox

Added: head/devel/py-tinyarray/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-tinyarray/Makefile	Fri Feb 26 01:59:43 2016	(r409572)
@@ -0,0 +1,20 @@
+# Created by: Wen Heping<wenheping@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	tinyarray
+PORTVERSION=	1.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	Arrays of numbers for Python, optimized for small sizes
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:${PORTSDIR}/devel/py-nose
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>

Added: head/devel/py-tinyarray/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-tinyarray/distinfo	Fri Feb 26 01:59:43 2016	(r409572)
@@ -0,0 +1,2 @@
+SHA256 (tinyarray-1.1.0.tar.gz) = d8c9c5f69c5be8ac00713eea3e82cf9f57353f09e1713be18f689efe08515f38
+SIZE (tinyarray-1.1.0.tar.gz) = 31712

Added: head/devel/py-tinyarray/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-tinyarray/pkg-descr	Fri Feb 26 01:59:43 2016	(r409572)
@@ -0,0 +1,9 @@
+Tinyarrays are similar to NumPy arrays, but optimized for small
+sizes. Common operations on very small arrays are to 3-7 times
+faster than with NumPy (with NumPy 1.6 it used to be up to 35
+times), and 3 times less memory is used to store them. Tinyarrays
+are useful if you need many small arrays of numbers, and cannot
+combine them into a few large ones. (The resulting code is still
+much slower than C, but it may now be fast enough.)
+
+WWW: https://gitlab.kwant-project.org/kwant/tinyarray



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