math/py-mathics: Fix with mpmath 1.4 and llvmlite 0.45+ - mathics/core/atoms.py annotates Number.to_mpmath with mpmath.ctx_mp_python.mpf, which mpmath 1.4 renamed, so mathics.core.atoms and most builtins fail to import. Use the public mpmath.mpf. - mathics/compile/compile.py calls llvmlite.binding.initialize(), which raises RuntimeError since llvmlite 0.45 (initialization is automatic), breaking Compile and every builtin module that imports it (calculus, plot, ...). Drop the call, as upstream 10.0 did. While here, follow the Python Ports Policy, fix portlint warnings and document the patches. PR: 299971 MFC after: 5 daysb7b81887df
Port details
math/py-mathics9.0.0_6
General-purpose computer algebra system (CAS)
- Maintainer
- thierry@FreeBSD.org
- Packages
- py312-Mathics3 9.0.0_6
- Upstream
- Higher version available: 10.0.1
- CPE
- none, CVEs only via VuXML
- WWW
- https://mathics.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (49)
*/*: bump PORTREVISION after switching to NumPy 2.x2bf3834a19
*/*: Switch to NumPy 2.x PR: 294328 Exp-run: antoineb0b4d9e1ea
python.mk: retire ${PYNUMPY}
With both math/py-numpy (2) and math/py-numpy1, the variable stopped
making sense. Also remove the upper version bound.d04d23ae37math/py-numpy: switch all consumers to math/py-numpy1 ...and bump PORTREVISIONs of consumers with hard RUN_DEPENDS PR: 281470d4bd5ba72e
Mk/Uses/python.mk: Remove USE_PYTHON=cython3{,_run,_test}
- Convert all cython3 occurrence to USE_PYTHON=cython*
- Bump PORTREVISION dependent ports of USE_PYTHON=cython_run for dependency change
PR: 2917786d475ab2dcsecurity/libsodium: Update to 1.0.21 The API remains compatible but bumping all dependent ports as SHLIB has changed. Changelog: https://github.com/jedisct1/libsodium/releases/tag/1.0.21-RELEASE Security: https://00f.net/2025/12/30/libsodium-vulnerability/ PR: 2793478b878d88b4
math/py-mathics: switch to Cython 3ffc2776177
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml Currently, there are two versions of python XML processing library which conflict each other in the ports tree, namely: - devel/py-lxml5 (now at version 5.4.0) - devel/py-lxml (now at version 6.0.1) To avoid the situation that some ports depend on py-lxml5 and some others do on py-lxml (by switching dependencies individually), this commit switches the dependencies from py-lxml5 to py-lxml at once. Additional note: There are still two ports (textproc/py-rdflib and www/py-draftjs-exporter) depending on py-lxml5 since they limit upper version to less than 6. PR: 289491 Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd, crees, madpilot, delphij, marcus, nivit, kai, skreuzer, fluffy, bofh, thierry, stephen, sunpoet, 0mp, Eric Camachat <eric@camachat.org>a6233e5a2f
math/py-mathics: upgrade to 9.0.0 Release notes at https://github.com/Mathics3/mathics-core/releases/tag/9.0.0757e803b3b
all: bump PORTREVISION after updating graphics/libyuv Using the Tools/scripts/bump_revision.pl scriptb304d8ab18
*/*: update dependency on devel/py-lxml to devel/py-lxml5 www/py-beautifulsoup has switched dependency on devel/py-lxml to devel/py-lxml5. Ports which directly or indirectly depends on both www/py-beautifulsoup and devel/py-lxml must also switch their dependencies on devel/py-lxml to devel/py-lxml5 to avoid conflicts. PR: 288047 Approved by: portmgr (chase dependency change)230fb2661c
python.mk: rename PYTHON_EXT_SUFFIX to PYTHON_TAG, document, etc EXT_SUFFIX, according to PEP 3149, refers to the full tag and extension for compiled extension module objects, eg .cpython-311.so, .cpython-313t.so, etc. We do not use the correct semantic meaning, and this usage becomes ambiguous and confusing when tags do not match between bytecode and compiled extension module objects. Rename our PYTHON_EXT_SUFFIX to PYTHON_TAG to align with PEP 3147's specification of a magic tag, which consists of implementation name and shorthand version only. This is meant for bytecode and other files containing this tag in their filename that do not depend on a specific Python ABI for the same version. Chase all existing consumers. Introduce PYTHON_SOABI to align with PEP 3149's specification of a tag, which consists of implementation name, shorthand version and any ABI flags present (this and PYTHON_TAG are identical without ABI flags). This is meant for compiled extension module objects and other files that depend on a specific Python ABI for the same version. Add documentation for these variables that our PYTHON_EXT_SUFFIX never had. PR: 274671 Event: Kitchener-Waterloo Hackathon 2025064f0eba1efd
math/py-mathics: upgrade to 8.0.1 Release notes at https://github.com/Mathics3/mathics-core/releases/tag/8.0.1f435a6f8da
*/*: Fix mathics PKGNAME These show up with Poudriere's non-default BAD_PKGNAME_DEPS_ARE_FATAL=yesadcd0f424f
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
math/py-mathics: upgrade to 8.0.0 Releases notes at https://github.com/Mathics3/mathics-core/releases1f134fa182
math/py-mathics: Use USE_PYTHON=cython_run - Remove duplicate BUILD_DEPENDS Approved by: portmgr (blanket) With hat: python0f86374bc6
math/py-mathics: chase the upgrade of numpy0abdce54fe
security/libsodium: update to 1.0.19, bump dependent ports PR: 278259 Reported by: Andrey Korobkov <alster-vinterdalen.se>b66e4949cb
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil - Convert to USE_PYTHON=pep517 - Bump PORTREVISION of dependent ports for dependency change - While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of PKGNAMEPREFIX for *_DEPENDS84a372ad5f
math/py-mathics: upgrade to 6.0.4 Release notes at <https://github.com/Mathics3/mathics-core/releases/tag/6.0.4>.ca7082788a
math/py-mathics: upgrade to 6.0.3 Release notes at <https://github.com/Mathics3/mathics-core/releases/tag/6.0.3>.f1e1ce9758
math/py-mathics: upgrade to 6.0.21a9ee421ca
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9caudio/opus: bump consumers after update to 1.4feb1fa34f5
*: Bump PORTREVISIONs for math/mpc update to 1.3.18d3e020ed0
math/py-mathics: upgrade to 6.0.1 Release notes at <https://github.com/Mathics3/mathics-core/releases/tag/6.0.1>.b03d6b0066
math/py-mathics: allow to run with sympy-1.11.1d9acc3ed30
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
devel/py-ipykernel5: Remove in favor of devel/py-ipykernel Ports were switched to devel/py-ipykernel5 on 2020-05-07 because devel/py-ipykernel has expired at the time. Currently main consumers of devel/py-ipykernel - Jupyter and Spyder - work fine with devel/py-ipykernel. There is no reason to use an outdated devel/py-ipykernel5 everywhere.a2f2582c5c
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
*/*: bump all consumers after recent boost upgrade4cf39decb3
math/py-mathics: upgrade to 5.0.2 Releases notes at <https://github.com/Mathics3/mathics-core/releases>.aca9a63688
math: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Aaron Dalton <aaron@daltons.ca> * Alessando Sagratini <ale_sagra@hotmail.com> * Alex Dupre <ale@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Amarendra Godbole <amarendra.godbole@gmail.com> * Anders Nordby <anders@FreeBSD.org> * Andreas Fehlner (fehlner@gmx.de) * Andrew L. Neporada <andrew@chg.ru> * Andrey <gugu@zoo.rambler.ru> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@plab.ku.dk> * Anton Berezin <tobez@tobez.org> * Anton Shterenlikht * Anton Shterenlikht <mexas@bris.ac.uk> * Bob Eager <bob@eager.cx> * Charlie Kester <corky1951@comcast.net> * Cheng-Lung Sung <clsung@FreeBSD.org> * Cheng-Lung Sung <clsung@dragon2.net> * Chris D. Faulhaber <jedgar@fxp.org> * Christopher J. Ruwe * Christopher Key <cjk32@cam.ac.uk> * Chuck Hein <geekdude@pacbell.net> * Cyrille Szymanski <cnszym@gmail.com> * Dan Rue <drue@therub.org> * Danilo Egea Gondolfo <danilo@FreeBSD.org> * David Naylor <dbn@FreeBSD.org> * David Naylor <naylor.b.david@gmail.com> * Dereckson <dereckson@gmail.com> * Devin Teske <dteske@FreeBSD.org> * Dmitry Sivachenko <demon@FreeBSD.org> * Dmitry Sivachenko <mitya@yandex-team.ru> * Don Croyle <croyle@gelemna.org> * Douglas K. Rand (rand@meridian-enviro.com) * Dylan Simon <dylan@dylex.net> * Edwin Groothuis <edwin@mavetju.org> * Eijiro Shibusawa <ej-sib@ice.uec.ac.jp> * Emanuel Haupt <ehaupt@FreeBSD.org> * Eoin Lawless (eoin@maths.tcd.ie) * Eric A. Griff <eagriff@global2000.net> * Eric van Gyzen <vangyzen@stat.duke.edu> * Ewgenij Gawrilow <gawrilow@math.tu-berlin.de> * Fernan Aguero <fernan@iib.unsam.edu.ar> * Foxfair Hu <foxfair@FreeBSD.org> * Frederic Han <han@math.jussieu.fr> * Gabor Kovesdan <gabor@FreeBSD.org> * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> * Greg Larkin <glarkin@FreeBSD.org> * Guangyuan Yang <ygy@FreeBSD.org> * Gustau Perez i Querol <gustau.perez@gmail.com> * Heinz Tschabitscher * Horia Racoviceanu <horia@racoviceanu.com> * Hye-Shik Chang <perky@fallin.lv> * Iblis Lin <iblis@hs.ntnu.edu.tw> * Issei Suzuki <issei@jp.FreeBSD.ORG> * Janni * Jason Harris <jharris@widomaker.com> * Javad Kouhi <javad.kouhi@gmail.com> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> * Joe Marcus Clarke <marcus@FreeBSD.org> * Johannes Dieterich <dieterich@ogolem.org> * Johannes M Dieterich <jmd@FreeBSD.org> * Johannes Meixner <johannes@perceivon.net> * John Marino <marino@FreeBSD.org> * Joseph Koshy <jkoshy@FreeBSD.org> * Ju Pengfei <ju.pengfei@gmail.com> * Jukka A. Ukkonen <jau@iki.fi> * Kay Lehmann <kay_lehmann@web.de> * Kevin Lo <kevlo@FreeBSD.org> * Klaus T. Aehlig <aehlig@linta.de> * Kubilay Kocak <koobs@FreeBSD.org> * Kurt Jaeger <fbsd-ports@opsec.eu> * Lars Engels <lme@FreeBSD.org> * Lars Koeller <Lars.Koeller@Uni-Bielefeld.DE> * Lars Koeller <Lars.Koeller@Uni-Bielefeld.de> * Li-Wen Hsu <lwhsu@FreeBSD.org> * Li-Wen Hsu <lwhsu@lwhsu.org> * M. L. Dodson, <bdodson@scms.utmb.edu> * Maho Nakata <maho@FreeBSD.org> * Mario S F Ferreira <lioux@FreeBSD.org> * Mario S F Ferreira <lioux@linf.unb.br> et al. * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Mark R V Murray <markm@FreeBSD.org> * Martin Matuska <mm@FreeBSD.org> * Matthew Seaman <matthew@FreeBSD.org> * Maurice Castro <maurice@serc.rmit.edu.au> * Maxim Sobolev <sobomax@FreeBSD.org> * Maxime Henrion <mux@FreeBSD.org> * Michael Haro <mharo@FreeBSD.org> * Michael Johnson <ahze@FreeBSD.org> * Michael Johnson <ahze@ahze.net> * Michael Neumann <mneumann@ntecs.de> * Muhammad Moinur Rahmanh <5u623l20@gmail.com> * NAKATA Maho <chat95@mbox.kyoto-inet.or.jp> * NAKATA, Maho <maho@FreeBSD.org> * Nakata Maho <maho@FreeBSD.org> * Nicola Vitale <nivit@email.it> * Olivier Duchateau * Pedro F. Giffuni * Pedro F. Giffuni <giffunip@asme.org> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Pedro Giffuni <pfg@FreeBSD.org> * Peter Pentchev <roam@FreeBSD.org> * Philip Paeps <philip@FreeBSD.org> * Pierre-Paul Lavoie <ppl@nbnet.nb.ca> * Pietro Cerutti <gahr@FreeBSD.org> * Piotr Rybicki <meritus@innervision.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Rainer Hurling <rhurlin@gwdg.de> * Robert Jenssen * Robin Schilham * Rod Taylor <ports@rbt.ca> * Roman Neuhauser <neuhauser@sigpipe.cz> * Sander Vesik <sander@haldjas.folklore.ee> * Scott Flatman <sf@dsinw.com> * Seamus Venasse <svenasse@polaris.ca> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Akifyev <asa@agava.com> * Sergey Akifyev <asa@gascom.ru> * Sergey Skvortsov <skv@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Shell Hung <shell@shellhung.org> * Shin-ya MURAKAMI <murashin@gfd-dennou.org> * Stas Timokhin <devel@stasyan.com> * Stefan A. Deutscher (sad@mailaps.org) * Stefan Esser <se@StefanEsser.FreeBSD.org> * Stephen Montgomery-Smith <stephen@FreeBSD.edu> * Stephen Montgomery-Smith <stephen@FreeBSD.org> * Stephen Montgomery-Smith <stephen@math.missouri.edu> * Stephen Montgomery-Smith <stephen@missouri.edu> * Steve Wills <steve@mouf.net> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@FreeBSD.org> * Steven Kreuzer <skreuzer@f2o.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * TAKATSU Tomonari <tota@FreeBSD.org> * Thierry Thomas (<thierry@pompo.net>) * Thierry Thomas <thierry@pompo.net> * Thomas Gellekum <tg@FreeBSD.org> * Thomas Sandford <freebsduser@paradisegreen.co.uk> * Timothy Bourke <timbob@bigpond.com> * Tony Maher * Tz-Huan Huang <tzhuan@csie.org> * Vsevolod Stakhov <vsevolod@FreeBSD.org> * Vsevolod Stakhov <vsevolod@highsecure.ru> * Waitman Gobble <waitman@waitman.net> * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Will Andrews <andrews@technologist.com> * Yi-Hsuan Hsin <mhsin@mhsin.org> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yinghong.Liu <relaxbsd@gmail.com> * Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp> * Yukihiro Nakai <Nakai@technologist.com> * Yuri Victorovich <yuri@FreeBSD.org> * Yuri Victorovich <yuri@rawbw.com> * Yuri Victorovich <yuri@tsoft.com> * Zhen REN <bg1tpt@gmail.com> * amir.husaini@gmail.com * arved * asami * b.f. <bf@FreeBSD.org> * bart <lbartoletti@FreeBSD.org> * bauerm * bf <bf2006a@yahoo.com> * bf <bf@FreeBSD.org> * bf@FreeBSD.org * bremner@unb.ca * chinsan * chuckr@FreeBSD.org * dawe <daweonline@gmail.com> * dbader@ece.unm.edu * dd * demon@FreeBSD.org * dikshie * eserte * fenner * gahr * giffunip * gmarco@giovannelli.it * gurkan@phys.ethz.ch * ijliao * janek@gaja.ipan.lublin.pl * jhs@berklix.com / asami (original) * jmz * js@jeannot.org * keith@FreeBSD.org * ljo * mr * nobu@rd.isac.co.jp * pauls@utdallas.edu * pusto@web.de * reg@shale.csir.co.za * rfarmer@predatorlabs.net * stephen@FreeBSD.org * thierry@pompo.net * tobez * will * # Created by Matthias Fechner <mfechner@FreeBSD.org> With hat: portmgrf53eb28489
math/py-mathics: unbreak4a07ce0016
math/py-mathics: chase textproc/py-wordcloud + minor fixes.c6f6c222da
devel/py-pint: Update to 0.19.1 - Update USES=python of dependent ports Changes: https://github.com/hgrecco/pint/blob/master/CHANGESe8e275f53c
math/py-mathics: remove bogus sympy max version limitation This fixes this and dependent ports, including math/mathicsscript, which is confirmed by `make test` Approved by: portmgr blanketa6867d0979
math/py-mathics: upgrade to 4.0.0ae2dc35e15
math/py-mathics: upgrade to 2.2.0 Release notes at <https://github.com/mathics/Mathics/releases/tag/2.2.0>.8297b688a4
math/py-matplotlib: chase minimum Python version in dependent ports Since the previous update changed USES=python from 3.6+ to 3.7+, all dependent ports must have USES=python:3.7+ as well, otherwise it breaks the @py36 flavor. PR: 255347 Reported by: sunpoet1d44af5898
math/py-mathics: Fix packaging with Python 3.8+ PR: 253815 Approved by: python (with hat)a9608cd9fe
math/py-mathics: upgrade to 2.1.0 - Switch to CHEESESHOP, to keep all modules coherent - Release notes at <https://github.com/mathics/Mathics/releases/tag/2.1.0>.bbc16aaca8
Remove # $FreeBSD$ from Makefiles.305f148f48
- Upgrade to 2.0.0. - Release notes at <https://github.com/mathics/Mathics/releases/tag/2.0.0>.d6e3dcd520
Upgrade to 1.1.1 - Christmas 2020 - what a year! Release notes at <https://github.com/mathics/Mathics/releases/tag/1.1.1>.18639161bc
Adding Mathics, a general-purpose computer algebra system (CAS).02f2332b44