Port details |
- py-cdecimal Fast drop-in replacement for the Decimal module
- 2.3_1 math
=0 2.3_1Version of this port present on the latest quarterly branch.
- DEPRECATED: upstream does not support it after Python-3.2
This port expired on: 2022-05-27
- There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
- Port Added: 2016-01-23 02:58:31
- Last Update: 2022-05-27 19:33:27
- Commit Hash: 6ed29ee
- License: BSD2CLAUSE
- WWW:
- http://www.bytereef.org/mpdecimal/index.html
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cdecimal>0:math/py-cdecimal@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py38-cdecimal
- Package flavors (<flavor>: <package>)
- distinfo:
- SHA256 (cdecimal-2.3.tar.gz) = d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b
SIZE (cdecimal-2.3.tar.gz) = 361809
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- Runtime dependencies:
-
- py38-setuptools>0 : devel/py-setuptools@py38
- python3.8 : lang/python38
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- math_py-cdecimal
- USES:
- python:3.6-3.8
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Port Moves |
- port deleted on 2022-05-27
REASON: Has expired: upstream does not support it after Python-3.2
|
Number of commits found: 9
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.3_1 27 May 2022 19:33:27 |
Rene Ladan (rene) |
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 |
2.3_1 27 Feb 2022 08:36:05 |
Antoine Brodin (antoine) |
math/py-cdecimal: set an expiration date |
2.3_1 12 Feb 2022 16:35:56 |
Thierry Thomas (thierry) |
math/py-cdecimal: deprecate and mark BROKEN with Python 3.9
Note: upstream does not support it after Python-3.2, and a fast C
implementation of the decimal module (_decimal) is bundled with Python.
PR: 261870 |
2.3_1 28 Oct 2021 11:46:08 |
Dmitry Marakasov (amdmi3) |
math/py-cdecimal: limit supported python version
cdecimal3.c:657:21: error: no member named 'tp_print' in 'struct _typeobject'
return PyDict_Type.tp_print(self, fp, flags); /* GCOV_NOT_REACHED */ |
2.3_1 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.3_1 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
2.3_1 24 Dec 2020 13:46:02 |
kai |
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python) |
2.3_1 24 Jan 2016 13:56:00 |
amdmi3 |
- Add LICENSE_FILE
- Strip library |
2.3 23 Jan 2016 02:58:20 |
sobomax |
Add py-cdecimal, a fast drop-in replacement for the Decimal module
in python < 3.3. |
Number of commits found: 9
|