wip/py-tinyarray: import py37-tinyarray-1.2.2

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.)
This commit is contained in:
K.I.A.Derouiche 2020-09-14 01:26:53 +01:00
parent eeb762336d
commit 788ff1b46b
4 changed files with 35 additions and 0 deletions

6
py-tinyarray/DESCR Normal file
View File

@ -0,0 +1,6 @@
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.)

17
py-tinyarray/Makefile Normal file
View File

@ -0,0 +1,17 @@
# $NetBSD$
DISTNAME= tinyarray-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= https://files.pythonhosted.org/packages/5e/3c/f212cbf3fc9b725913b5f63e1918ed3a3c9885e44e451e7a7200b02e987f/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= https://gitlab.kwant-project.org/kwant/tinyarray
COMMENT= Arrays of numbers for Python, optimized for small sizes
LICENSE= 2-clause-bsd
USE_LANGUAGES= c c++
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

6
py-tinyarray/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/tinyarray.so

6
py-tinyarray/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (tinyarray-1.2.2.tar.gz) = 42359c2798757339dd490831be596e2a77a00127
RMD160 (tinyarray-1.2.2.tar.gz) = 87f14a51609fbd27595fffaa19bd76c70916c804
SHA512 (tinyarray-1.2.2.tar.gz) = 1c9672bf088f81ea8551068c7ede49ee70e41bfea33ea4c154817195ec62802c9937d7b995d3d5d82a1a4d9af8de536b830008fb7775a124100841b5209c5586
Size (tinyarray-1.2.2.tar.gz) = 35801 bytes