pkgsrc-wip/py-bigfloat/Makefile
Kamel Ibn Aziz Derouiche a90330e8fd Import py26-bigfloat-0.2.1 as wip/py-bigfloat.
The bigfloat package is a Python package providing arbitrary-precision
correctly-rounded binary floating-point arithmetic.
Features

 * correct rounding on all operations; precisely defined semantics compatible
    with the IEEE 754-2008 standard.
 * support for mixed-type operations with Python integers and floats
 * support for emulating IEEE 754 arithmetic in any of the IEEE binary interchange
    formats described in IEEE 754-2008. Infinities, NaNs, signed zeros,
    and subnormals are all supported.
 * easy control of rounding modes and precisions, via Python's 'with' statement.
2010-09-06 13:54:52 +00:00

27 lines
791 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/09/06 13:54:52 jihbed Exp $
#
DISTNAME= bigfloat-0.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= http://pypi.python.org/packages/source/b/bigfloat/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://pypi.python.org/packages/source/b/bigfloat/
COMMENT= Arbitrary precision correctly-rounded floating point arithmetic
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/bigfloat-0.2.1
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
do-test:
${RUN} cd ${WRKSRC}/bigfloat; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test_bigfloat.py
.include "../../devel/py-ctypes/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"