pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/py-tinyarray: import py37-tinyarray-1.2.2
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Mon Sep 14 01:26:53 2020 +0100
Changeset: 788ff1b46b32b9cf6beb8b51ca08b6b56199bc79
Added Files:
py-tinyarray/DESCR
py-tinyarray/Makefile
py-tinyarray/PLIST
py-tinyarray/distinfo
Log Message:
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.)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=788ff1b46b32b9cf6beb8b51ca08b6b56199bc79
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-tinyarray/DESCR | 6 ++++++
py-tinyarray/Makefile | 17 +++++++++++++++++
py-tinyarray/PLIST | 6 ++++++
py-tinyarray/distinfo | 6 ++++++
4 files changed, 35 insertions(+)
diffs:
diff --git a/py-tinyarray/DESCR b/py-tinyarray/DESCR
new file mode 100644
index 0000000000..cd9fd12060
--- /dev/null
+++ b/py-tinyarray/DESCR
@@ -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.)
diff --git a/py-tinyarray/Makefile b/py-tinyarray/Makefile
new file mode 100644
index 0000000000..0798b0ae7a
--- /dev/null
+++ b/py-tinyarray/Makefile
@@ -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@localhost
+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"
diff --git a/py-tinyarray/PLIST b/py-tinyarray/PLIST
new file mode 100644
index 0000000000..202dee54c3
--- /dev/null
+++ b/py-tinyarray/PLIST
@@ -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
diff --git a/py-tinyarray/distinfo b/py-tinyarray/distinfo
new file mode 100644
index 0000000000..ff4e34acda
--- /dev/null
+++ b/py-tinyarray/distinfo
@@ -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
Home |
Main Index |
Thread Index |
Old Index