pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-fpconst initial import of py-fpconst-0.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e8f3137ad15
branches:  trunk
changeset: 465229:9e8f3137ad15
user:      recht <recht%pkgsrc.org@localhost>
date:      Wed Dec 24 10:56:27 2003 +0000

description:
initial import of py-fpconst-0.6.0

This python module implements constants and functions for working with IEEE754
double-precision special values. It provides constants for Not-a-Number (NaN),
Positive Infinity (Inf), and Negative Infinity (-Inf), as well as functions to
test for these values.

The code is implemented in pure python by taking advantage of the 'struct'
standard module. Care has been taken to generate proper results on both
big-endian and little-endian machines. Some efficiency could be gained by
translating the core routines into C.

diffstat:

 math/py-fpconst/DESCR    |   9 +++++++++
 math/py-fpconst/Makefile |  17 +++++++++++++++++
 math/py-fpconst/PLIST    |   4 ++++
 math/py-fpconst/distinfo |   4 ++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 532dff53bacb -r 9e8f3137ad15 math/py-fpconst/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-fpconst/DESCR     Wed Dec 24 10:56:27 2003 +0000
@@ -0,0 +1,9 @@
+This python module implements constants and functions for working with IEEE754
+double-precision special values. It provides constants for Not-a-Number (NaN),
+Positive Infinity (Inf), and Negative Infinity (-Inf), as well as functions to
+test for these values. 
+
+The code is implemented in pure python by taking advantage of the 'struct'
+standard module. Care has been taken to generate proper results on both
+big-endian and little-endian machines. Some efficiency could be gained by
+translating the core routines into C. 
diff -r 532dff53bacb -r 9e8f3137ad15 math/py-fpconst/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-fpconst/Makefile  Wed Dec 24 10:56:27 2003 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/24 10:56:27 recht Exp $
+#
+
+DISTNAME=      fpconst-0.6.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    math python
+MASTER_SITES=  http://www.analytics.washington.edu/Zope/projects/fpconst/
+
+MAINTAINER=    recht%NetBSD.org@localhost
+HOMEPAGE=      http://www.analytics.washington.edu/Zope/projects/fpconst/
+COMMENT=       IEEE 754 floating point special handling for Python
+
+USE_BUILDLINK2=        yes
+PYDISTUTILSPKG=        yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 532dff53bacb -r 9e8f3137ad15 math/py-fpconst/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-fpconst/PLIST     Wed Dec 24 10:56:27 2003 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/24 10:56:27 recht Exp $
+${PYSITELIB}/fpconst.py
+${PYSITELIB}/fpconst.pyc
+${PYSITELIB}/fpconst.pyo
diff -r 532dff53bacb -r 9e8f3137ad15 math/py-fpconst/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-fpconst/distinfo  Wed Dec 24 10:56:27 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/24 10:56:27 recht Exp $
+
+SHA1 (fpconst-0.6.0.tar.gz) = 65f21e3dc95005e1d903b8d091df73a957d35c71
+Size (fpconst-0.6.0.tar.gz) = 4837 bytes



Home | Main Index | Thread Index | Old Index