summaryrefslogtreecommitdiff
path: root/math/py-cdecimal
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-05-27 21:33:14 +0200
committerRene Ladan <rene@FreeBSD.org>2022-05-27 21:33:27 +0200
commit6ed29ee229b67a33e0e6fd92549a195e9db46451 (patch)
tree7f724d4227efd10582a7817c7e551b38b8802d7e /math/py-cdecimal
parentlang/njs: add flavors (diff)
cleanup: Remove expired ports:
2022-05-27 math/py-cdecimal: upstream does not support it after Python-3.2 2022-05-27 devel/py-meliae: does not build against Python-3.9
Diffstat (limited to 'math/py-cdecimal')
-rw-r--r--math/py-cdecimal/Makefile32
-rw-r--r--math/py-cdecimal/distinfo2
-rw-r--r--math/py-cdecimal/pkg-descr18
3 files changed, 0 insertions, 52 deletions
diff --git a/math/py-cdecimal/Makefile b/math/py-cdecimal/Makefile
deleted file mode 100644
index 6add208c6456..000000000000
--- a/math/py-cdecimal/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# Created by: Maksym Sobolyev <sobomax@FreeBSD.org>
-
-PORTNAME= cdecimal
-PORTVERSION= 2.3
-PORTREVISION= 1
-CATEGORIES= math
-MASTER_SITES= http://www.bytereef.org/software/mpdecimal/releases/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Fast drop-in replacement for the Decimal module
-
-LICENSE= BSD2CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-
-DEPRECATED= upstream does not support it after Python-3.2
-EXPIRATION_DATE= 2022-05-27
-
-USES= python:3.6-3.8
-USE_PYTHON= distutils autoplist
-
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == 3.9
-# Note: a fast C implementation of the decimal module (_decimal) is bundled with Python
-BROKEN= no member named 'tp_print' in 'struct _typeobject'
-.endif
-
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdecimal*.so
-
-.include <bsd.port.post.mk>
diff --git a/math/py-cdecimal/distinfo b/math/py-cdecimal/distinfo
deleted file mode 100644
index c475c7c77524..000000000000
--- a/math/py-cdecimal/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (cdecimal-2.3.tar.gz) = d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b
-SIZE (cdecimal-2.3.tar.gz) = 361809
diff --git a/math/py-cdecimal/pkg-descr b/math/py-cdecimal/pkg-descr
deleted file mode 100644
index a399745f69c2..000000000000
--- a/math/py-cdecimal/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-The cdecimal is a fast drop-in replacement for the decimal module in Python's
-standard library. Both modules provide complete implementations of the General
-Decimal Arithmetic Specification.
-
-Typical performance gains are between 30x for I/O heavy benchmarks and 80x for
-numerical programs. In a database benchmark, cdecimal exhibits a speedup of
-12x over decimal.py.
-
- decimal cdecimal speedup
-pi 42.75s 0.58s 74x
-telco 172.19s 5.68s 30x
-psycopg 3.57s 0.29s 12x
-
-All Python versions from 2.5 up to 3.2 are supported. For the few remaining
-differences, read the cdecimal documentation. cdecimal has been included in
-Python-3.3.
-
-WWW: http://www.bytereef.org/mpdecimal/index.html