diff options
author | richard <richard@pkgsrc.org> | 2013-08-15 14:23:01 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2013-08-15 14:23:01 +0000 |
commit | 97c49357c15027ec2f95fac1d15eda65dec50f62 (patch) | |
tree | a32be3054da8ffd3ca5a8545793cd4792022bf1d /math | |
parent | 0cce1119a214be33f74a80ae3a939c4f049528b4 (diff) | |
download | pkgsrc-97c49357c15027ec2f95fac1d15eda65dec50f62.tar.gz |
cdecimal
========
The cdecimal package is a fast drop-in replacement for the decimal module
in Python's standard library. Both modules provide complete implementations
of Mike Cowlishaw/IBM's General Decimal Arithmetic Specification.
This archive is identical to the mpdecimal package, except that library
tests and documentation have been removed.
For documentation, visit:
http://www.bytereef.org/mpdecimal/index.html
http://www.bytereef.org/mpdecimal/doc/index.html
Contact: Stefan Krah <skrah@bytereef.org>
Diffstat (limited to 'math')
-rw-r--r-- | math/py-cdecimal/DESCR | 3 | ||||
-rw-r--r-- | math/py-cdecimal/Makefile | 28 | ||||
-rw-r--r-- | math/py-cdecimal/PLIST | 3 | ||||
-rw-r--r-- | math/py-cdecimal/distinfo | 5 |
4 files changed, 39 insertions, 0 deletions
diff --git a/math/py-cdecimal/DESCR b/math/py-cdecimal/DESCR new file mode 100644 index 00000000000..972caec13c7 --- /dev/null +++ b/math/py-cdecimal/DESCR @@ -0,0 +1,3 @@ +The `cdecimal` package is a fast drop-in replacement for the `decimal` module +in Python's standard library. Both modules provide complete implementations of +Mike Cowlishaw/IBM's `General Decimal Arithmetic Specification`. diff --git a/math/py-cdecimal/Makefile b/math/py-cdecimal/Makefile new file mode 100644 index 00000000000..52e6a1a9a1b --- /dev/null +++ b/math/py-cdecimal/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2013/08/15 14:23:01 richard Exp $ + +DISTNAME= cdecimal-2.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= math python +MASTER_SITES= http://www.bytereef.org/software/mpdecimal/releases/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.bytereef.org/mpdecimal/ +COMMENT= Arbitrary precision decimal floating point arithmetic +LICENSE= 2-clause-bsd + +NO_CONFIGURE= YES + +USE_TOOLS+= gmake +USE_LANGUAGES= c +GNU_CONFIGURE= yes + +.include "../../lang/python/pyversion.mk" + +PYTHON_VERSIONS_INCLUDE_3X= YES +.if ${_PYTHON_VERSION} >= 33 +PKG_FAIL_REASON+= "${DISTNAME} is obsoleted by the builtin \`decimal\` in python3.3." +.endif + +#.include "../../devel/gmp/buildlink3.mk" +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/math/py-cdecimal/PLIST b/math/py-cdecimal/PLIST new file mode 100644 index 00000000000..f5a1c43ab11 --- /dev/null +++ b/math/py-cdecimal/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2013/08/15 14:23:01 richard Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/cdecimal.so diff --git a/math/py-cdecimal/distinfo b/math/py-cdecimal/distinfo new file mode 100644 index 00000000000..81393c20507 --- /dev/null +++ b/math/py-cdecimal/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/08/15 14:23:01 richard Exp $ + +SHA1 (cdecimal-2.3.tar.gz) = 9b75cd3ac2e15512ef89f90af13ba5191ac519d2 +RMD160 (cdecimal-2.3.tar.gz) = 29cb215de13da8909b9820103ff09005f723fed4 +Size (cdecimal-2.3.tar.gz) = 361809 bytes |