Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed version identical to sagemath-v1. Full commit message history follows: 1. New package: sage-9.5.beta5 2. sagemath: update to sage-9.5.beta6 Also: - rename pkg from sage to sagemath - now it will build sage in-place at /usr/lib/sage-$version - the resulting pkg contains a lot of useless stuff that comes with the distribution; we'll have to clean up. E.g. SAGE_ROOT/upstream is definitely unnecessary (1.2G); possibly SAGE_ROOT/pkgs or at least SAGE_ROOT/pkgs/sagemath-standard/build (2.6G). 3. sagemath: revbump for changes - include patch fixing build of pyzmq on musl - add gengetopts and texinfo to makedepends - first attempt at cleanup: remove upstream sources and build artifacts 4. sagemath: revbump to 9.5.beta6_3 for changes - add depends needed for runtime and for testing - add python_version=3 - disable skipping 03-rewrite-python-shebang as it seems to be harmless after adding python_version=3 - fix cleaning up of $wrksrc and $_SAGE_ROOT - use sage-${version}_${revision} for the binary symlink; this way it won't override whatever sage is installed in the system so I can test on a live system. 5. sagemath: update to 9.5.beta7. 6. sagemath: add more dependencies Also: - add patches so more doctests pass - add do_check() to skip building docs - use https for distfiles 7. sagemath: more changes - do not install pytest, which is still broken (pending trac 31924) - add patch from sagemath trac 32892 - replace the patch to fix the build of pyzmq on musl by a different one from sagemath trac 32828 which is what will be merged upstream - patch to fix doctest failure on musl (src/sage/misc/gperftools.py) - rebase on latest sympow rev to fix doctest failure on musl (src/sage/lfunctions/sympow.py) - enable check on CI to see what happens... 8. sagemath: more changes - skip a doctest which fails due to giac 1.7.0 - rename patches to include trac ticket # - add a patch to use system linbox (needs to run ./bootstrap) - look for an optional file ${XBPS_DISTDIR}/sagemath-check ; if that file exists, its contents are used as arguments for sage check Intended usage: place the names of files that you want to doctest instead of all files (useful when you have a few failing doctests you are trying to fix) 9. sagemath: use system maxima Also: add patch to use relative symlinks in gap where absolute symlinks are now used -- otherwise xbps-create gets confused 10. sagemath: don't rewrite python shebangs This is still causing some issues, even if main sage and doctest works ok with rewrite enabled, some scripts are broken as reported in the PR. This is still a temporary workaround as we are hoping for system python-3.10 support at some point. Also in this commit: add some depends 11. sagemath: change patch for cmdline args to disable dochtml testing 12. sagemath: update to 9.5.beta8. 13. sagemath: more changes - cleanup and rename some patches - make symlink relative so it works ok outside the chroot - add graphviz to depends (not implied by graphviz-devel) - add primecount and primesieve to depends 14. sagemath: use system python 3.10 15. sagemath: more changes - setup trigger to compile python code on install - more cleanup - add some empty dirs needed to pass doctests after installation, since the tree is readonly; maybe a different fix is patch those doctests with the tag "# optional - dochtml" so they only run when we install the documentation. - temporarily keep pkgs/*/build which is needed by a doctest, but this is a lot of useless stuff on a readonly tree so I'll fix it in a different way later (patch the doctest so it works both when this directory is present and when it's not) - a patch to pass doctest on readonly tree (https://trac.sagemath.org/33064) - more patches to remove deprecation warnings - patch to avoid a warning when byte-compiling sagetexparse.py - patch to remove a slow doctest - rename patches to match trac tickets 16. sagemath: more changes - add debug build option - fix pycompile_dirs - set MAKE with -j option before configure - improve handling of comments in ${XBPS_DISTDIR}/sagemath-check 17. sagemath: update to 9.5.beta9. 18. sagemath: change do_install() The new way installs by whitelist, only what is necessary (it's possible that something else can be removed in src, but not a lot since src/sage is required for the internal help) Also add two more patches: the last remaining issue on i686 and a patch that avoids the need to install the build directory. Hopefully now all tests pass on x86_64, x86_64-musl, and i686. Both when running in the build chroot by xbps-src check, and also when running after installation by sage --testall. 19. sagemath: fix license and tests Now tests can be run with -Q (normal) or -K (--long) 20. sagemath: fix long time test 21. sagemath: use system python site-packages - patch from void-linux#29665 for that - patch on top of that to allow a few more python packages: gmpy2, sphinx, typing_extensions, ptyprocess - add all available python packages to makedepends and depends - add ffmpeg and ImageMagick to makedepends - in standard check (-Q) warn if individual test > 5.0s 22. sagemath: use small source tarball + upstream packages 23. sagemath: for CI use fixed random-seed=0 24. sagemath: upstream two patches 25. sagemath: reorder upstream sources and add two missing ones 26. sagemath: do not download anything patch 27. sagemath: update to 9.5.rc0. 28. sagemath: use system gap 29. sagemath: fixes for system gap 30. sagemath: skip doctest for rewritten shebang 31. sagemath: cleanup and one patch 32. sagemath: update to 9.5.rc1. 33. sagemath: patch not needed with singular 4.3.0 34. sagemath: install /usr/bin/sage 35. sagemath: rearrange upstream packages and indent This doesn't change anything, it separates _upstream and checksum in three blocks to make it easier to edit. 36. sagemath: use system cvxopt and importlib_resources 37. sagemath: disallow fuzz in patches 38. sagemath: disable packages that are not needed - appnope: only needed for macos - fonttools: only needed to build matplotlib - importlib_resources: only needed for old python - pycygwin: only needed for cygwin - setuptools_scm_git_archive: only needed to build matplotlib - setuptools_wheel: not needed - sphinxcontrib_websupport: only needed to build sphinx - cppy: force use from system python3-cppy 39. sagemath: use system Cython, cysignals, cypari2, pplpy, fpylll 40. sagemath: update to 9.5.rc2. 41. sagemath: add timing information for doctests This makes doctesting faster on many threads 42. sagemath: round timings to power of 2 for stability 43. sagemath: all but two packages from system 44. sagemath: fix do_install() 45. sagemath: minor adjustments in do_check() 46. sagemath: use system primecountpy 47. sagemath: no upstream packages, cleanup 48. sagemath: patches for arb-2.22.0 and no-threejs 49. sagemath: remove patch for sphinx, unneeded 50. sagemath: update to 9.5.rc3.
- Loading branch information