Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: sagemath-9.5.rc3
Date: Tue, 25 Jan 2022 21:37:29 +0100	[thread overview]
Message-ID: <20220125203729.JB-tqd1itjaZHy85ewsjqvF_No4pYk7MR9vnzl2PUpA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34030@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

There is an updated pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages sagemath
https://github.com/void-linux/void-packages/pull/34030

[WIP] New package: sagemath-9.5.rc3
This is WIP, so I can get feedback.

Supported architectures: x86_64, x86_64-musl, i686. We also try to make sure it works with musl-1.2.

The testsuite can be run normal (-Q) or long (-K). For CI it runs normal (~ 1/2 time) and it uses a fixed random seed 0 to avoid random failures. When running locally, the random seed is random so one may get occasional test failures that depend on a particular value of the random seed.

The package `sagemath-test` is a dummy package whose purpose is to run the testsuite with sage installed as a package and without the build directory. For this to make sense, the masterdir has to be clean (without traces of the sagemath build, this should be ok after running "pkg" or "pkg -Q").

A patch file from https://github.com/void-linux/void-packages/pull/34030.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sagemath-34030.patch --]
[-- Type: text/x-diff, Size: 603752 bytes --]

From 7c669199fe76e1edc3105fdda528f2d5e4226e1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 11 Nov 2021 10:36:03 -0300
Subject: [PATCH 1/9] New package: sage-9.5.rc3

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 #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.
---
 srcpkgs/sagemath/files/timings2.json          |  398 ++
 .../patches/00-Do_not_download_anything.patch |   11 +
 ...13e88ee188d516e4956832a23f985a73917a.patch |   31 +
 ...ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch |   23 +
 ...f491e5ce599ba185f5e93f02e0fcebd76c9e.patch |   57 +
 ...184f7498a2046065e669723e68efe2d65cee.patch | 5629 +++++++++++++++++
 ...aba734cb4ded0b04165fa142b5cf4c38fd23.patch |  247 +
 ...0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch |   64 +
 ...26e3db5ea06b962fac386fa3c7223f9a14fb.patch |   51 +
 ...93f4f32246ad9ded6d37f1f2f12a589a81f4.patch |   32 +
 ...9f3a1611fed0cc66fb838eb85739646dd34d.patch |  131 +
 ...e0923cb3d44d010e3e2f9bd7bc75d5c30234.patch |   43 +
 ...d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch |   35 +
 ...2ddd4e2dc92469c1590ebf0c40f8f69bf579.patch |  126 +
 .../zzz-dont_run_pytest--see_31924.patch      |   27 +
 .../zzz-fix_long_time_test--see_33091.patch   |   13 +
 .../patches/zzz-fix_no_SAGE_BIN.patch         |   12 +
 .../patches/zzz-fix_no_venv_packages.patch    |   13 +
 .../zzz-fixes_for_system_gap--see_29644.patch |   96 +
 .../zzz-more_site_packages_not_in_29665.patch |   42 +
 .../patches/zzz-remove_ratpoints.patch        |  887 +++
 ...z-skip_doctest_giac-1.7.0--see_31563.patch |   14 +
 .../patches/zzz-skip_doctest_no_threejs.patch |   13 +
 .../zzz-skip_doctest_sage_setup_find.patch    |   12 +
 .../patches/zzz-skip_doctest_shebang.patch    |   11 +
 srcpkgs/sagemath/template                     |  251 +
 srcpkgs/sagemath/update                       |    4 +
 27 files changed, 8273 insertions(+)
 create mode 100644 srcpkgs/sagemath/files/timings2.json
 create mode 100644 srcpkgs/sagemath/patches/00-Do_not_download_anything.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33064-sage_docbuild_ignore_cache_save_permission_error-e89193f4f32246ad9ded6d37f1f2f12a589a81f4.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33085-pass_doctests_without_dochtml-88dd9f3a1611fed0cc66fb838eb85739646dd34d.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33127-test_sage_site_executable-424de0923cb3d44d010e3e2f9bd7bc75d5c30234.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch
 create mode 100644 srcpkgs/sagemath/patches/trac-33189-fix_doctests_for_arb_2.22-53532ddd4e2dc92469c1590ebf0c40f8f69bf579.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-dont_run_pytest--see_31924.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-fix_long_time_test--see_33091.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-fix_no_SAGE_BIN.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-fix_no_venv_packages.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-fixes_for_system_gap--see_29644.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-skip_doctest_giac-1.7.0--see_31563.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-skip_doctest_no_threejs.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-skip_doctest_sage_setup_find.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-skip_doctest_shebang.patch
 create mode 100644 srcpkgs/sagemath/template
 create mode 100644 srcpkgs/sagemath/update

diff --git a/srcpkgs/sagemath/files/timings2.json b/srcpkgs/sagemath/files/timings2.json
new file mode 100644
index 000000000000..71a9aa84ce58
--- /dev/null
+++ b/srcpkgs/sagemath/files/timings2.json
@@ -0,0 +1,398 @@
+{
+  "doc.ca.intro.index": {"walltime": 8},
+  "doc.en.constructions.calculus": {"walltime": 64},
+  "doc.en.constructions.plotting": {"walltime": 32},
+  "doc.en.prep.Advanced-2DPlotting": {"walltime": 16},
+  "doc.en.prep.Calculus": {"walltime": 8},
+  "doc.en.prep.Symbolics-and-Basic-Plotting": {"walltime": 8},
+  "doc.en.thematic_tutorials.explicit_methods_in_number_theory.birds_other": {"walltime": 8},
+  "doc.en.thematic_tutorials.explicit_methods_in_number_theory.elliptic_curves": {"walltime": 8},
+  "doc.en.thematic_tutorials.geometry.polyhedra_tutorial": {"walltime": 16},
+  "doc.en.thematic_tutorials.sandpile": {"walltime": 16},
+  "doc.en.thematic_tutorials.vector_calculus.vector_calc_advanced": {"walltime": 32},
+  "doc.en.thematic_tutorials.vector_calculus.vector_calc_cartesian": {"walltime": 32},
+  "doc.en.thematic_tutorials.vector_calculus.vector_calc_change": {"walltime": 32},
+  "doc.en.thematic_tutorials.vector_calculus.vector_calc_curvilinear": {"walltime": 32},
+  "doc.en.thematic_tutorials.vector_calculus.vector_calc_plane": {"walltime": 16},
+  "doc.ja.tutorial.tour_plotting": {"walltime": 8},
+  "sage.algebras.cluster_algebra": {"walltime": 8},
+  "sage.algebras.commutative_dga": {"walltime": 16},
+  "sage.algebras.hecke_algebras.ariki_koike_algebra": {"walltime": 8},
+  "sage.algebras.iwahori_hecke_algebra": {"walltime": 8},
+  "sage.algebras.lie_algebras.classical_lie_algebra": {"walltime": 128},
+  "sage.algebras.lie_algebras.nilpotent_lie_algebra": {"walltime": 16},
+  "sage.algebras.quantum_clifford": {"walltime": 16},
+  "sage.algebras.quantum_groups.fock_space": {"walltime": 8},
+  "sage.algebras.quatalg.quaternion_algebra": {"walltime": 8},
+  "sage.algebras.steenrod.steenrod_algebra": {"walltime": 64},
+  "sage.algebras.steenrod.steenrod_algebra_bases": {"walltime": 8},
+  "sage.algebras.yangian": {"walltime": 8},
+  "sage.arith.misc": {"walltime": 32},
+  "sage.calculus.calculus": {"walltime": 16},
+  "sage.calculus.desolvers": {"walltime": 8},
+  "sage.calculus.functional": {"walltime": 8},
+  "sage.calculus.riemann": {"walltime": 64},
+  "sage.calculus.tests": {"walltime": 16},
+  "sage.calculus.transforms.dwt": {"walltime": 16},
+  "sage.calculus.transforms.fft": {"walltime": 8},
+  "sage.categories.coxeter_groups": {"walltime": 8},
+  "sage.categories.finite_monoids": {"walltime": 16},
+  "sage.categories.lie_conformal_algebras": {"walltime": 8},
+  "sage.categories.loop_crystals": {"walltime": 8},
+  "sage.categories.pushout": {"walltime": 8},
+  "sage.categories.super_hopf_algebras_with_basis": {"walltime": 32},
+  "sage.categories.super_lie_conformal_algebras": {"walltime": 8},
+  "sage.coding.ag_code": {"walltime": 64},
+  "sage.coding.ag_code_decoders": {"walltime": 128},
+  "sage.coding.binary_code": {"walltime": 8},
+  "sage.coding.linear_code": {"walltime": 16},
+  "sage.combinat.backtrack": {"walltime": 32},
+  "sage.combinat.chas.wqsym": {"walltime": 32},
+  "sage.combinat.cluster_algebra_quiver.cluster_seed": {"walltime": 64},
+  "sage.combinat.cluster_algebra_quiver.quiver": {"walltime": 128},
+  "sage.combinat.crystals.affine_factorization": {"walltime": 16},
+  "sage.combinat.crystals.alcove_path": {"walltime": 32},
+  "sage.combinat.crystals.highest_weight_crystals": {"walltime": 8},
+  "sage.combinat.crystals.kirillov_reshetikhin": {"walltime": 16},
+  "sage.combinat.crystals.letters": {"walltime": 8},
+  "sage.combinat.crystals.littelmann_path": {"walltime": 16},
+  "sage.combinat.crystals.mv_polytopes": {"walltime": 16},
+  "sage.combinat.crystals.pbw_crystal": {"walltime": 16},
+  "sage.combinat.crystals.star_crystal": {"walltime": 8},
+  "sage.combinat.designs.bibd": {"walltime": 8},
+  "sage.combinat.designs.database": {"walltime": 16},
+  "sage.combinat.designs.difference_family": {"walltime": 8},
+  "sage.combinat.designs.gen_quadrangles_with_spread": {"walltime": 128},
+  "sage.combinat.designs.orthogonal_arrays_build_recursive": {"walltime": 16},
+  "sage.combinat.designs.orthogonal_arrays_find_recursive": {"walltime": 8},
+  "sage.combinat.diagram_algebras": {"walltime": 64},
+  "sage.combinat.fqsym": {"walltime": 32},
+  "sage.combinat.free_prelie_algebra": {"walltime": 8},
+  "sage.combinat.fully_commutative_elements": {"walltime": 8},
+  "sage.combinat.grossman_larson_algebras": {"walltime": 8},
+  "sage.combinat.interval_posets": {"walltime": 8},
+  "sage.combinat.k_regular_sequence": {"walltime": 8},
+  "sage.combinat.k_tableau": {"walltime": 16},
+  "sage.combinat.matrices.hadamard_matrix": {"walltime": 8},
+  "sage.combinat.multiset_partition_into_sets_ordered": {"walltime": 8},
+  "sage.combinat.ncsf_qsym.ncsf": {"walltime": 16},
+  "sage.combinat.ncsf_qsym.qsym": {"walltime": 16},
+  "sage.combinat.partition": {"walltime": 16},
+  "sage.combinat.partition_kleshchev": {"walltime": 16},
+  "sage.combinat.partition_tuple": {"walltime": 8},
+  "sage.combinat.posets.moebius_algebra": {"walltime": 16},
+  "sage.combinat.posets.posets": {"walltime": 8},
+  "sage.combinat.rigged_configurations.kr_tableaux": {"walltime": 32},
+  "sage.combinat.rigged_configurations.rigged_configurations": {"walltime": 16},
+  "sage.combinat.rigged_configurations.tensor_product_kr_tableaux": {"walltime": 16},
+  "sage.combinat.root_system.associahedron": {"walltime": 8},
+  "sage.combinat.root_system.branching_rules": {"walltime": 8},
+  "sage.combinat.root_system.fusion_ring": {"walltime": 8},
+  "sage.combinat.root_system.integrable_representations": {"walltime": 16},
+  "sage.combinat.root_system.non_symmetric_macdonald_polynomials": {"walltime": 16},
+  "sage.combinat.root_system.pieri_factors": {"walltime": 8},
+  "sage.combinat.root_system.plot": {"walltime": 32},
+  "sage.combinat.root_system.root_lattice_realization_algebras": {"walltime": 16},
+  "sage.combinat.root_system.root_lattice_realizations": {"walltime": 16},
+  "sage.combinat.root_system.root_system": {"walltime": 8},
+  "sage.combinat.root_system.weyl_group": {"walltime": 8},
+  "sage.combinat.rsk": {"walltime": 32},
+  "sage.combinat.sf.classical": {"walltime": 16},
+  "sage.combinat.sf.jack": {"walltime": 16},
+  "sage.combinat.sf.k_dual": {"walltime": 16},
+  "sage.combinat.sf.llt": {"walltime": 16},
+  "sage.combinat.sf.macdonald": {"walltime": 64},
+  "sage.combinat.sf.new_kschur": {"walltime": 8},
+  "sage.combinat.sf.sfa": {"walltime": 32},
+  "sage.combinat.shifted_primed_tableau": {"walltime": 16},
+  "sage.combinat.skew_tableau": {"walltime": 8},
+  "sage.combinat.symmetric_group_algebra": {"walltime": 16},
+  "sage.combinat.tableau": {"walltime": 32},
+  "sage.combinat.tableau_tuple": {"walltime": 32},
+  "sage.combinat.tiling": {"walltime": 256},
+  "sage.combinat.tutorial": {"walltime": 16},
+  "sage.combinat.words.paths": {"walltime": 64},
+  "sage.crypto.block_cipher.des": {"walltime": 16},
+  "sage.crypto.mq.sr": {"walltime": 64},
+  "sage.crypto.sbox": {"walltime": 16},
+  "sage.crypto.sboxes": {"walltime": 8},
+  "sage.doctest.forker": {"walltime": 16},
+  "sage.doctest.sources": {"walltime": 64},
+  "sage.doctest.test": {"walltime": 128},
+  "sage.dynamics.arithmetic_dynamics.projective_ds": {"walltime": 64},
+  "sage.dynamics.arithmetic_dynamics.wehlerK3": {"walltime": 8},
+  "sage.dynamics.cellular_automata.glca": {"walltime": 8},
+  "sage.dynamics.cellular_automata.solitons": {"walltime": 8},
+  "sage.dynamics.complex_dynamics.mandel_julia": {"walltime": 16},
+  "sage.functions.bessel": {"walltime": 16},
+  "sage.functions.exp_integral": {"walltime": 8},
+  "sage.functions.hypergeometric": {"walltime": 8},
+  "sage.functions.other": {"walltime": 16},
+  "sage.functions.piecewise": {"walltime": 8},
+  "sage.games.quantumino": {"walltime": 8},
+  "sage.geometry.cone": {"walltime": 32},
+  "sage.geometry.fan": {"walltime": 8},
+  "sage.geometry.hyperbolic_space.hyperbolic_geodesic": {"walltime": 8},
+  "sage.geometry.hyperplane_arrangement.arrangement": {"walltime": 16},
+  "sage.geometry.hyperplane_arrangement.library": {"walltime": 8},
+  "sage.geometry.hyperplane_arrangement.plot": {"walltime": 8},
+  "sage.geometry.lattice_polytope": {"walltime": 16},
+  "sage.geometry.polyhedral_complex": {"walltime": 8},
+  "sage.geometry.polyhedron.base": {"walltime": 32},
+  "sage.geometry.polyhedron.library": {"walltime": 32},
+  "sage.geometry.polyhedron.plot": {"walltime": 8},
+  "sage.geometry.riemannian_manifolds.parametrized_surface3d": {"walltime": 16},
+  "sage.geometry.triangulation.base": {"walltime": 32},
+  "sage.geometry.triangulation.point_configuration": {"walltime": 16},
+  "sage.graphs.chrompoly": {"walltime": 8},
+  "sage.graphs.connectivity": {"walltime": 16},
+  "sage.graphs.generators.basic": {"walltime": 16},
+  "sage.graphs.generators.classical_geometries": {"walltime": 32},
+  "sage.graphs.generators.distance_regular": {"walltime": 256},
+  "sage.graphs.generators.families": {"walltime": 32},
+  "sage.graphs.generators.smallgraphs": {"walltime": 16},
+  "sage.graphs.generic_graph": {"walltime": 32},
+  "sage.graphs.genus": {"walltime": 16},
+  "sage.graphs.graph": {"walltime": 16},
+  "sage.graphs.graph_generators": {"walltime": 8},
+  "sage.graphs.graph_list": {"walltime": 8},
+  "sage.graphs.graph_plot": {"walltime": 8},
+  "sage.graphs.strongly_regular_db": {"walltime": 16},
+  "sage.groups.cubic_braid": {"walltime": 16},
+  "sage.groups.fqf_orthogonal": {"walltime": 16},
+  "sage.groups.libgap_mixin": {"walltime": 8},
+  "sage.groups.libgap_morphism": {"walltime": 8},
+  "sage.groups.lie_gps.nilpotent_lie_group": {"walltime": 16},
+  "sage.groups.matrix_gps.finitely_generated": {"walltime": 8},
+  "sage.groups.matrix_gps.heisenberg": {"walltime": 32},
+  "sage.groups.matrix_gps.linear": {"walltime": 8},
+  "sage.groups.perm_gps.cubegroup": {"walltime": 16},
+  "sage.groups.perm_gps.partn_ref.refinement_graphs": {"walltime": 8},
+  "sage.groups.perm_gps.permgroup": {"walltime": 8},
+  "sage.groups.perm_gps.permgroup_named": {"walltime": 8},
+  "sage.homology.hochschild_complex": {"walltime": 8},
+  "sage.homology.homology_vector_space_with_basis": {"walltime": 8},
+  "sage.interacts.test_jupyter": {"walltime": 16},
+  "sage.interfaces.ecm": {"walltime": 8},
+  "sage.interfaces.expect": {"walltime": 8},
+  "sage.interfaces.gap": {"walltime": 16},
+  "sage.interfaces.maxima": {"walltime": 8},
+  "sage.interfaces.maxima_abstract": {"walltime": 64},
+  "sage.interfaces.psage": {"walltime": 8},
+  "sage.interfaces.sage0": {"walltime": 8},
+  "sage.lfunctions.zero_sums": {"walltime": 8},
+  "sage.libs.eclib.interface": {"walltime": 16},
+  "sage.libs.eclib.mwrank": {"walltime": 16},
+  "sage.libs.gap.test_long": {"walltime": 32},
+  "sage.libs.giac": {"walltime": 32},
+  "sage.manifolds.catalog": {"walltime": 8},
+  "sage.manifolds.chart": {"walltime": 32},
+  "sage.manifolds.chart_func": {"walltime": 8},
+  "sage.manifolds.continuous_map": {"walltime": 8},
+  "sage.manifolds.differentiable.affine_connection": {"walltime": 128},
+  "sage.manifolds.differentiable.automorphismfield": {"walltime": 32},
+  "sage.manifolds.differentiable.automorphismfield_group": {"walltime": 8},
+  "sage.manifolds.differentiable.bundle_connection": {"walltime": 8},
+  "sage.manifolds.differentiable.characteristic_cohomology_class": {"walltime": 256},
+  "sage.manifolds.differentiable.curve": {"walltime": 16},
+  "sage.manifolds.differentiable.degenerate": {"walltime": 32},
+  "sage.manifolds.differentiable.degenerate_submanifold": {"walltime": 256},
+  "sage.manifolds.differentiable.diff_form": {"walltime": 64},
+  "sage.manifolds.differentiable.diff_map": {"walltime": 8},
+  "sage.manifolds.differentiable.examples.euclidean": {"walltime": 32},
+  "sage.manifolds.differentiable.examples.sphere": {"walltime": 32},
+  "sage.manifolds.differentiable.integrated_curve": {"walltime": 32},
+  "sage.manifolds.differentiable.levi_civita_connection": {"walltime": 32},
+  "sage.manifolds.differentiable.manifold": {"walltime": 16},
+  "sage.manifolds.differentiable.manifold_homset": {"walltime": 16},
+  "sage.manifolds.differentiable.metric": {"walltime": 64},
+  "sage.manifolds.differentiable.mixed_form": {"walltime": 16},
+  "sage.manifolds.differentiable.mixed_form_algebra": {"walltime": 8},
+  "sage.manifolds.differentiable.multivectorfield": {"walltime": 64},
+  "sage.manifolds.differentiable.pseudo_riemannian": {"walltime": 16},
+  "sage.manifolds.differentiable.pseudo_riemannian_submanifold": {"walltime": 128},
+  "sage.manifolds.differentiable.scalarfield": {"walltime": 16},
+  "sage.manifolds.differentiable.scalarfield_algebra": {"walltime": 8},
+  "sage.manifolds.differentiable.tangent_vector": {"walltime": 16},
+  "sage.manifolds.differentiable.tensorfield": {"walltime": 128},
+  "sage.manifolds.differentiable.tensorfield_paral": {"walltime": 16},
+  "sage.manifolds.differentiable.vector_bundle": {"walltime": 16},
+  "sage.manifolds.differentiable.vectorfield": {"walltime": 64},
+  "sage.manifolds.differentiable.vectorframe": {"walltime": 8},
+  "sage.manifolds.point": {"walltime": 16},
+  "sage.manifolds.scalarfield": {"walltime": 16},
+  "sage.manifolds.scalarfield_algebra": {"walltime": 8},
+  "sage.manifolds.section": {"walltime": 32},
+  "sage.manifolds.trivialization": {"walltime": 8},
+  "sage.manifolds.vector_bundle": {"walltime": 8},
+  "sage.matrix.benchmark": {"walltime": 8},
+  "sage.matrix.matrix2": {"walltime": 16},
+  "sage.matrix.matrix_integer_dense": {"walltime": 16},
+  "sage.matrix.matrix_integer_dense_hnf": {"walltime": 32},
+  "sage.matrix.matrix_mod2_dense": {"walltime": 8},
+  "sage.matrix.matrix_rational_dense": {"walltime": 8},
+  "sage.matrix.special": {"walltime": 8},
+  "sage.matroids.catalog": {"walltime": 64},
+  "sage.misc.cachefunc": {"walltime": 16},
+  "sage.misc.cython": {"walltime": 8},
+  "sage.misc.functional": {"walltime": 8},
+  "sage.misc.randstate": {"walltime": 16},
+  "sage.misc.sagedoc": {"walltime": 64},
+  "sage.misc.sageinspect": {"walltime": 32},
+  "sage.modular.abvar.abvar": {"walltime": 16},
+  "sage.modular.abvar.homspace": {"walltime": 8},
+  "sage.modular.abvar.lseries": {"walltime": 8},
+  "sage.modular.arithgroup.arithgroup_perm": {"walltime": 8},
+  "sage.modular.arithgroup.tests": {"walltime": 8},
+  "sage.modular.btquotients.pautomorphicform": {"walltime": 32},
+  "sage.modular.hypergeometric_motive": {"walltime": 16},
+  "sage.modular.local_comp.local_comp": {"walltime": 32},
+  "sage.modular.local_comp.type_space": {"walltime": 16},
+  "sage.modular.modform.ambient_R": {"walltime": 16},
+  "sage.modular.modform.constructor": {"walltime": 8},
+  "sage.modular.modform.cuspidal_submodule": {"walltime": 16},
+  "sage.modular.modform.element": {"walltime": 64},
+  "sage.modular.modform.ring": {"walltime": 64},
+  "sage.modular.modform.space": {"walltime": 8},
+  "sage.modular.modform_hecketriangle.abstract_space": {"walltime": 16},
+  "sage.modular.modform_hecketriangle.graded_ring_element": {"walltime": 16},
+  "sage.modular.modform_hecketriangle.hecke_triangle_group_element": {"walltime": 32},
+  "sage.modular.modform_hecketriangle.readme": {"walltime": 16},
+  "sage.modular.modform_hecketriangle.space": {"walltime": 8},
+  "sage.modular.modsym.ambient": {"walltime": 16},
+  "sage.modular.modsym.space": {"walltime": 8},
+  "sage.modular.pollack_stevens.modsym": {"walltime": 64},
+  "sage.modular.pollack_stevens.padic_lseries": {"walltime": 32},
+  "sage.modules.finite_submodule_iter": {"walltime": 16},
+  "sage.modules.free_module": {"walltime": 16},
+  "sage.modules.free_module_element": {"walltime": 8},
+  "sage.modules.free_module_integer": {"walltime": 32},
+  "sage.modules.free_quadratic_module_integer_symmetric": {"walltime": 8},
+  "sage.modules.torsion_quadratic_module": {"walltime": 16},
+  "sage.parallel.map_reduce": {"walltime": 8},
+  "sage.plot.animate": {"walltime": 128},
+  "sage.plot.arrow": {"walltime": 8},
+  "sage.plot.circle": {"walltime": 8},
+  "sage.plot.complex_plot": {"walltime": 8},
+  "sage.plot.contour_plot": {"walltime": 32},
+  "sage.plot.density_plot": {"walltime": 8},
+  "sage.plot.graphics": {"walltime": 32},
+  "sage.plot.line": {"walltime": 8},
+  "sage.plot.matrix_plot": {"walltime": 16},
+  "sage.plot.multigraphics": {"walltime": 16},
+  "sage.plot.plot": {"walltime": 64},
+  "sage.plot.plot3d.base": {"walltime": 8},
+  "sage.plot.plot3d.implicit_plot3d": {"walltime": 16},
+  "sage.plot.plot3d.implicit_surface": {"walltime": 8},
+  "sage.plot.plot3d.parametric_plot3d": {"walltime": 8},
+  "sage.plot.plot3d.parametric_surface": {"walltime": 8},
+  "sage.plot.plot3d.plot3d": {"walltime": 16},
+  "sage.plot.plot3d.tachyon": {"walltime": 8},
+  "sage.plot.plot3d.transform": {"walltime": 32},
+  "sage.plot.point": {"walltime": 8},
+  "sage.plot.polygon": {"walltime": 8},
+  "sage.plot.streamline_plot": {"walltime": 8},
+  "sage.quadratic_forms.genera.genus": {"walltime": 16},
+  "sage.quadratic_forms.quadratic_form__automorphisms": {"walltime": 8},
+  "sage.quadratic_forms.quadratic_form__local_representation_conditions": {"walltime": 64},
+  "sage.quadratic_forms.quadratic_form__neighbors": {"walltime": 8},
+  "sage.quadratic_forms.quadratic_form__siegel_product": {"walltime": 8},
+  "sage.repl.ipython_extension": {"walltime": 8},
+  "sage.rings.asymptotic.asymptotic_expansion_generators": {"walltime": 64},
+  "sage.rings.asymptotic.asymptotic_ring": {"walltime": 8},
+  "sage.rings.asymptotic.asymptotics_multivariate_generating_functions": {"walltime": 32},
+  "sage.rings.asymptotic.term_monoid": {"walltime": 8},
+  "sage.rings.continued_fraction": {"walltime": 8},
+  "sage.rings.finite_rings.finite_field_base": {"walltime": 8},
+  "sage.rings.function_field.function_field": {"walltime": 256},
+  "sage.rings.function_field.function_field_valuation": {"walltime": 64},
+  "sage.rings.function_field.ideal": {"walltime": 8},
+  "sage.rings.function_field.place": {"walltime": 8},
+  "sage.rings.integer": {"walltime": 128},
+  "sage.rings.invariants.invariant_theory": {"walltime": 8},
+  "sage.rings.number_field.bdd_height": {"walltime": 8},
+  "sage.rings.number_field.number_field": {"walltime": 64},
+  "sage.rings.number_field.number_field_element": {"walltime": 16},
+  "sage.rings.number_field.splitting_field": {"walltime": 8},
+  "sage.rings.number_field.totallyreal": {"walltime": 16},
+  "sage.rings.number_field.totallyreal_rel": {"walltime": 8},
+  "sage.rings.padics.padic_base_leaves": {"walltime": 64},
+  "sage.rings.padics.padic_extension_leaves": {"walltime": 64},
+  "sage.rings.padics.padic_generic_element": {"walltime": 16},
+  "sage.rings.padics.padic_lattice_element": {"walltime": 32},
+  "sage.rings.padics.relative_extension_leaves": {"walltime": 32},
+  "sage.rings.polynomial.multi_polynomial_ideal": {"walltime": 8},
+  "sage.rings.polynomial.multi_polynomial_sequence": {"walltime": 8},
+  "sage.rings.polynomial.ore_function_element": {"walltime": 8},
+  "sage.rings.polynomial.polynomial_element": {"walltime": 16},
+  "sage.rings.polynomial.polynomial_rational_flint": {"walltime": 8},
+  "sage.rings.polynomial.polynomial_zmod_flint": {"walltime": 512},
+  "sage.rings.qqbar": {"walltime": 16},
+  "sage.rings.tests": {"walltime": 16},
+  "sage.rings.valuation.augmented_valuation": {"walltime": 32},
+  "sage.rings.valuation.mapped_valuation": {"walltime": 64},
+  "sage.rings.valuation.valuation": {"walltime": 8},
+  "sage.sandpiles.sandpile": {"walltime": 16},
+  "sage.schemes.curves.affine_curve": {"walltime": 16},
+  "sage.schemes.curves.closed_point": {"walltime": 8},
+  "sage.schemes.curves.projective_curve": {"walltime": 32},
+  "sage.schemes.cyclic_covers.cycliccover_finite_field": {"walltime": 64},
+  "sage.schemes.elliptic_curves.BSD": {"walltime": 8},
+  "sage.schemes.elliptic_curves.Qcurves": {"walltime": 8},
+  "sage.schemes.elliptic_curves.constructor": {"walltime": 32},
+  "sage.schemes.elliptic_curves.ell_curve_isogeny": {"walltime": 16},
+  "sage.schemes.elliptic_curves.ell_egros": {"walltime": 32},
+  "sage.schemes.elliptic_curves.ell_finite_field": {"walltime": 8},
+  "sage.schemes.elliptic_curves.ell_generic": {"walltime": 8},
+  "sage.schemes.elliptic_curves.ell_modular_symbols": {"walltime": 16},
+  "sage.schemes.elliptic_curves.ell_number_field": {"walltime": 128},
+  "sage.schemes.elliptic_curves.ell_point": {"walltime": 8},
+  "sage.schemes.elliptic_curves.ell_rational_field": {"walltime": 128},
+  "sage.schemes.elliptic_curves.gal_reps_number_field": {"walltime": 32},
+  "sage.schemes.elliptic_curves.gp_simon": {"walltime": 16},
+  "sage.schemes.elliptic_curves.heegner": {"walltime": 32},
+  "sage.schemes.elliptic_curves.height": {"walltime": 64},
+  "sage.schemes.elliptic_curves.isogeny_class": {"walltime": 32},
+  "sage.schemes.elliptic_curves.isogeny_small_degree": {"walltime": 256},
+  "sage.schemes.elliptic_curves.kraus": {"walltime": 16},
+  "sage.schemes.elliptic_curves.mod_sym_num": {"walltime": 8},
+  "sage.schemes.elliptic_curves.padic_lseries": {"walltime": 8},
+  "sage.schemes.elliptic_curves.padics": {"walltime": 16},
+  "sage.schemes.elliptic_curves.saturation": {"walltime": 16},
+  "sage.schemes.elliptic_curves.sha_tate": {"walltime": 32},
+  "sage.schemes.hyperelliptic_curves.hyperelliptic_finite_field": {"walltime": 64},
+  "sage.schemes.hyperelliptic_curves.hyperelliptic_generic": {"walltime": 8},
+  "sage.schemes.hyperelliptic_curves.hyperelliptic_padic_field": {"walltime": 32},
+  "sage.schemes.hyperelliptic_curves.monsky_washnitzer": {"walltime": 8},
+  "sage.schemes.projective.projective_rational_point": {"walltime": 8},
+  "sage.schemes.riemann_surfaces.riemann_surface": {"walltime": 64},
+  "sage.schemes.toric.chow_group": {"walltime": 8},
+  "sage.schemes.toric.sheaf.klyachko": {"walltime": 8},
+  "sage.stats.distributions.discrete_gaussian_integer": {"walltime": 8},
+  "sage.stats.time_series": {"walltime": 8},
+  "sage.structure.coerce_dict": {"walltime": 32},
+  "sage.structure.element": {"walltime": 16},
+  "sage.structure.sage_object": {"walltime": 8},
+  "sage.symbolic.expression": {"walltime": 32},
+  "sage.symbolic.integration.integral": {"walltime": 32},
+  "sage.symbolic.random_tests": {"walltime": 32},
+  "sage.symbolic.relation": {"walltime": 8},
+  "sage.tests.book_schilling_zabrocki_kschur_primer": {"walltime": 32},
+  "sage.tests.book_stein_ent": {"walltime": 16},
+  "sage.tests.books.computational-mathematics-with-sagemath.combinat_doctest": {"walltime": 32},
+  "sage.tests.books.computational-mathematics-with-sagemath.float_doctest": {"walltime": 16},
+  "sage.tests.books.computational-mathematics-with-sagemath.graphique_doctest": {"walltime": 32},
+  "sage.tests.books.computational-mathematics-with-sagemath.graphtheory_doctest": {"walltime": 8},
+  "sage.tests.books.computational-mathematics-with-sagemath.integration_doctest": {"walltime": 32},
+  "sage.tests.books.computational-mathematics-with-sagemath.mpoly_doctest": {"walltime": 8},
+  "sage.tests.books.computational-mathematics-with-sagemath.nonlinear_doctest": {"walltime": 8},
+  "sage.tests.books.computational-mathematics-with-sagemath.recequadiff_doctest": {"walltime": 8},
+  "sage.tests.books.computational-mathematics-with-sagemath.sol.graphique_doctest": {"walltime": 16},
+  "sage.tests.books.computational-mathematics-with-sagemath.sol.numbertheory_doctest": {"walltime": 16},
+  "sage.tests.books.computational-mathematics-with-sagemath.sol.polynomes_doctest": {"walltime": 16},
+  "sage.tests.cmdline": {"walltime": 64},
+  "sage.tests.gosper-sum": {"walltime": 16},
+  "sage.tests.parigp": {"walltime": 8},
+  "sage.topology.simplicial_complex": {"walltime": 8},
+  "sage.topology.simplicial_complex_examples": {"walltime": 16}
+}
diff --git a/srcpkgs/sagemath/patches/00-Do_not_download_anything.patch b/srcpkgs/sagemath/patches/00-Do_not_download_anything.patch
new file mode 100644
index 000000000000..35aef7b8d456
--- /dev/null
+++ b/srcpkgs/sagemath/patches/00-Do_not_download_anything.patch
@@ -0,0 +1,11 @@
+--- a/build/sage_bootstrap/tarball.py	2022-01-07 19:17:06.754747955 -0300
++++ b/build/sage_bootstrap/tarball.py	2022-01-07 19:25:31.844139381 -0300
+@@ -158,6 +158,8 @@
+                             .format(destination=destination))
+         successful_download = False
+         log.info('Attempting to download package {0} from mirrors'.format(self.filename))
++        log.info('ERROR: downloading is disabled, add file to template instead')
++        return
+         for mirror in MirrorList():
+             url = mirror + '/'.join(['spkg', 'upstream', self.package.name, self.filename])
+             log.info(url)
diff --git a/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch b/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
new file mode 100644
index 000000000000..483dbe2c2597
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
@@ -0,0 +1,31 @@
+From 794713e88ee188d516e4956832a23f985a73917a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 12 Nov 2021 10:07:44 -0500
+Subject: Trac #29631: new spkg-configure.m4 for linbox.
+
+This is essentially the file posted as an attachment on Trac 29631 by
+Thierry Thomas. I've chosen to leave the lower bound at the latest
+v1.6.3, since in the intervening months most distributions appear to
+have updated.
+---
+ build/pkgs/linbox/spkg-configure.m4 | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+ create mode 100644 build/pkgs/linbox/spkg-configure.m4
+
+diff --git a/build/pkgs/linbox/spkg-configure.m4 b/build/pkgs/linbox/spkg-configure.m4
+new file mode 100644
+index 00000000..fbf405c
+--- /dev/null
++++ b/build/pkgs/linbox/spkg-configure.m4
+@@ -0,0 +1,8 @@
++SAGE_SPKG_CONFIGURE([linbox], [
++  SAGE_SPKG_DEPCHECK([fflas-ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
++    PKG_CHECK_MODULES([LINBOX],
++                      [linbox >= 1.6.3],
++                      [],
++                      [sage_spkg_install_linbox=yes])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch b/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
new file mode 100644
index 000000000000..3b20d13100e7
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
@@ -0,0 +1,23 @@
+From 7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5 Mon Sep 17 00:00:00 2001
+From: Dima Pasechnik <dima@pasechnik.info>
+Date: Sun, 5 Dec 2021 10:59:34 +0000
+Subject: correct the package name: `-`->`_`
+
+---
+ build/pkgs/linbox/spkg-configure.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/pkgs/linbox/spkg-configure.m4 b/build/pkgs/linbox/spkg-configure.m4
+index fbf405c..f54b210 100644
+--- a/build/pkgs/linbox/spkg-configure.m4
++++ b/build/pkgs/linbox/spkg-configure.m4
+@@ -1,5 +1,5 @@
+ SAGE_SPKG_CONFIGURE([linbox], [
+-  SAGE_SPKG_DEPCHECK([fflas-ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
++  SAGE_SPKG_DEPCHECK([fflas_ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
+     PKG_CHECK_MODULES([LINBOX],
+                       [linbox >= 1.6.3],
+                       [],
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch b/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
new file mode 100644
index 000000000000..da88a369db0d
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
@@ -0,0 +1,57 @@
+From 2c981351bb60089530b0598d3e9a909a23d4d4d8 Mon Sep 17 00:00:00 2001
+From: Thierry Thomas <thierry@FreeBSD.org>
+Date: Mon, 22 Mar 2021 03:04:12 +0100
+Subject: 29644: Add spkg-configure.m4 for gap
+
+---
+ build/pkgs/gap/spkg-configure.m4 | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+ create mode 100644 build/pkgs/gap/spkg-configure.m4
+
+diff --git a/build/pkgs/gap/spkg-configure.m4 b/build/pkgs/gap/spkg-configure.m4
+new file mode 100644
+index 00000000..91cd089
+--- /dev/null
++++ b/build/pkgs/gap/spkg-configure.m4
+@@ -0,0 +1,8 @@
++SAGE_SPKG_CONFIGURE([gap], [
++    SAGE_SPKG_DEPCHECK([gmp], [
++       AC_CHECK_HEADER([gap/system.h], [
++        AC_SEARCH_LIBS([GAP_COMM], [gap], [
++        ], [sage_spkg_install_gap=yes])
++       ], [sage_spkg_install_gap=yes])
++    ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 2a41f491e5ce599ba185f5e93f02e0fcebd76c9e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Samuel=20Leli=C3=A8vre?= <samuel.lelievre@gmail.com>
+Date: Mon, 22 Mar 2021 03:05:31 +0100
+Subject: 29644: Add distro information for gap
+
+---
+ build/pkgs/gap/distros/fedora.txt | 1 +
+ build/pkgs/gap/distros/gentoo.txt | 1 +
+ 2 files changed, 2 insertions(+)
+ create mode 100644 build/pkgs/gap/distros/fedora.txt
+ create mode 100644 build/pkgs/gap/distros/gentoo.txt
+
+diff --git a/build/pkgs/gap/distros/fedora.txt b/build/pkgs/gap/distros/fedora.txt
+new file mode 100644
+index 00000000..ea4feae
+--- /dev/null
++++ b/build/pkgs/gap/distros/fedora.txt
+@@ -0,0 +1 @@
++gap
+diff --git a/build/pkgs/gap/distros/gentoo.txt b/build/pkgs/gap/distros/gentoo.txt
+new file mode 100644
+index 00000000..ea64ec9
+--- /dev/null
++++ b/build/pkgs/gap/distros/gentoo.txt
+@@ -0,0 +1 @@
++sci-mathematics/gap
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch b/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
new file mode 100644
index 000000000000..0ecb27c593cd
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
@@ -0,0 +1,5629 @@
+From 05fcaabe95082f42ba134780d579390d7b6153e2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 19:30:58 -0400
+Subject: Trac #29665: add --enable-system-site-packages option to ./configure.
+
+This new option is experimental and disabled by default. When it is
+enabled, the string "--system-site-packages" is appended to a new
+environment variable SAGE_VENV_FLAGS that is then passed to the
+sage-venv command during the build using autoconf substitution.
+Thusly the correct setting finds its way into local/pyvenv.cfg.
+---
+ build/make/Makefile.in |  2 +-
+ configure.ac           | 11 +++++++++++
+ 2 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/build/make/Makefile.in b/build/make/Makefile.in
+index f870cc3..68627ab 100644
+--- a/build/make/Makefile.in
++++ b/build/make/Makefile.in
+@@ -211,7 +211,7 @@ endif
+ inst_python3_venv = $(SAGE_VENV)/pyvenv.cfg
+ 
+ $(inst_python3_venv):
+-	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv "$(SAGE_VENV)"
++	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv @SAGE_VENV_FLAGS@ "$(SAGE_VENV)"
+ endif
+ 
+ # Build everything and start Sage.
+diff --git a/configure.ac b/configure.ac
+index 351f487..db30a91 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -435,6 +435,17 @@ AC_ARG_ENABLE([download-from-upstream-url],
+   [AS_HELP_STRING([--enable-download-from-upstream-url],
+     [allow downloading packages from their upstream URL if they cannot be found on the Sage mirrors])])
+ 
++AC_ARG_ENABLE(
++  [system-site-packages], [AS_HELP_STRING(
++    [--enable-system-site-packages],
++    [allow sage to use python packages from the system (experimental; default: no)]
++  )], [
++  AS_IF([test "x$enable_system_site_packages" = "xyes"], [
++    SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
++  ])
++])
++AC_SUBST([SAGE_VENV_FLAGS])
++
+ SAGE_SPKG_OPTIONS=""
+ AS_IF([test "x$enable_experimental_packages" = "xyes"], [
+   AS_VAR_APPEND([SAGE_SPKG_OPTIONS], [" -y"])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9372d1f663edf4e89f9c186336815ca04cff59dc Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 19:41:14 -0400
+Subject: Trac #29665: new SAGE_PYTHON_PACKAGE_CHECK() autoconf macro.
+
+This new macro encapsulates the check for system installations of
+python packages. It uses setuptools.version's pkg_resources to
+check if the contents of install-requires.txt are satisfied for
+the given package; and if not, tells the build system to install
+the SPKG instead.
+---
+ m4/sage_python_package_check.m4 | 49 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 49 insertions(+)
+ create mode 100644 m4/sage_python_package_check.m4
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+new file mode 100644
+index 00000000..77b0a0c
+--- /dev/null
++++ b/m4/sage_python_package_check.m4
+@@ -0,0 +1,49 @@
++#
++# SYNOPSIS
++#
++#   SAGE_PYTHON_PACKAGE_CHECK(package)
++#
++# DESCRIPTION
++#
++#   Determine if the system copy of a python package can be used by sage.
++#
++#   This macro uses setuptools.version's pkg_resources to check that the
++#   "install-requires.txt" file for the named package is satisfied, and
++#   it can typically fail in four ways:
++#
++#     1. If --enable-system-site-packages was not passed to ./configure,
++#
++#     2. If we are not using the system python (no $PYTHON_FOR_VENV),
++#
++#     3. If setuptools is not available to the system python,
++#
++#     4. If the contents of install-requires.txt are not met (wrong
++#        version, no version, etc.) by the system python.
++#
++#   In any of those cases, we set sage_spkg_install_$package to "yes"
++#   so that the corresponding SPKG is installed. Otherwise, we do
++#   nothing, since the default value of sage_spkg_install_$package
++#   is "no" (to use the system copy).
++#
++#   The SAGE_SPKG_CONFIGURE_PYTHON3() macro is AC_REQUIRE'd to ensure
++#   that $PYTHON_FOR_VENV is available, if it is going to be available.
++#
++
++AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
++  AS_IF([test "${enable_system_site_packages}" = "yes"], [
++    AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
++
++    dnl strip all comments from install-requires.txt; this should leave
++    dnl only a single line containing the version specification for this
++    dnl package.
++    SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
++    AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
++    AS_IF(
++      ["${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())"],
++      [AC_MSG_RESULT(yes)],
++      [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
++    )
++  ], [
++    sage_spkg_install_$1=yes
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From a0dac8ad81ad6369d479bba30d2388de59e5cecb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 20:21:29 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for py.
+
+---
+ build/pkgs/py/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/py/spkg-configure.m4
+
+diff --git a/build/pkgs/py/spkg-configure.m4 b/build/pkgs/py/spkg-configure.m4
+new file mode 100644
+index 00000000..ded7034
+--- /dev/null
++++ b/build/pkgs/py/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([py], [SAGE_PYTHON_PACKAGE_CHECK([py])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 87c463a25ab4432dc1fba4f7a9703284e5b8f620 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 20:24:15 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for wheel.
+
+---
+ build/pkgs/wheel/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/wheel/spkg-configure.m4
+
+diff --git a/build/pkgs/wheel/spkg-configure.m4 b/build/pkgs/wheel/spkg-configure.m4
+new file mode 100644
+index 00000000..7897ea9
+--- /dev/null
++++ b/build/pkgs/wheel/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([wheel], [SAGE_PYTHON_PACKAGE_CHECK([wheel])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 804094b3a980f262f4d53d7be8b1be43ac0c55e0 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 20:25:15 -0400
+Subject: Trac #29665: new spkg-configure.m4 for cvxopt.
+
+This includes a SAGE_SPKG_DEPCHECK([gsl glpk suitesparse],... because
+those C dependencies wind up linked into shared libraries like,
+
+  /usr/.../cvxopt/glpk.cpython-39-x86_64-linux-gnu.so
+
+that could potentially conflict with (for example) the glpk SPKG.
+---
+ build/pkgs/cvxopt/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/cvxopt/spkg-configure.m4
+
+diff --git a/build/pkgs/cvxopt/spkg-configure.m4 b/build/pkgs/cvxopt/spkg-configure.m4
+new file mode 100644
+index 00000000..c4aa619
+--- /dev/null
++++ b/build/pkgs/cvxopt/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([cvxopt], [
++  SAGE_SPKG_DEPCHECK([gsl glpk suitesparse], [
++    SAGE_PYTHON_PACKAGE_CHECK([cvxopt])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 3f171955ff8d15da2c98aee0d2e254e95a55a2b5 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 20:28:10 -0400
+Subject: Trac #29665: new spkg-configure.m4 for pyzmq.
+
+This includes a SAGE_SPKG_DEPCHECK([zeromq],... because libzmq winds
+up linked into shared libraries like,
+
+  /usr/.../zmq/backend/cython/message.cpython-39-x86_64-linux-gnu.so
+
+that potentially conflict with the zeromq SPKG.
+---
+ build/pkgs/pyzmq/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/pyzmq/spkg-configure.m4
+
+diff --git a/build/pkgs/pyzmq/spkg-configure.m4 b/build/pkgs/pyzmq/spkg-configure.m4
+new file mode 100644
+index 00000000..ae2b126
+--- /dev/null
++++ b/build/pkgs/pyzmq/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([pyzmq], [
++  SAGE_SPKG_DEPCHECK([zeromq], [
++    SAGE_PYTHON_PACKAGE_CHECK([pyzmq])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 20d3aa9da9fc98a6e6a47599cd1b6d1d3785a4c4 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 20:31:24 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for requests.
+
+---
+ build/pkgs/requests/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/requests/spkg-configure.m4
+
+diff --git a/build/pkgs/requests/spkg-configure.m4 b/build/pkgs/requests/spkg-configure.m4
+new file mode 100644
+index 00000000..f50a66c
+--- /dev/null
++++ b/build/pkgs/requests/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([requests], [SAGE_PYTHON_PACKAGE_CHECK([requests])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 4df57ee47f2576b6b7bf9265248e06e90616b689 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 10 Oct 2021 18:13:34 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for six.
+
+---
+ build/pkgs/six/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/six/spkg-configure.m4
+
+diff --git a/build/pkgs/six/spkg-configure.m4 b/build/pkgs/six/spkg-configure.m4
+new file mode 100644
+index 00000000..a382b81
+--- /dev/null
++++ b/build/pkgs/six/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([six], [SAGE_PYTHON_PACKAGE_CHECK([six])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f4462652d02ca729cc6d7cb36ee4d7d662deafb0 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 10 Oct 2021 18:14:29 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for packaging.
+
+---
+ build/pkgs/packaging/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/packaging/spkg-configure.m4
+
+diff --git a/build/pkgs/packaging/spkg-configure.m4 b/build/pkgs/packaging/spkg-configure.m4
+new file mode 100644
+index 00000000..398f9e1
+--- /dev/null
++++ b/build/pkgs/packaging/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([packaging], [SAGE_PYTHON_PACKAGE_CHECK([packaging])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 4d64677fffce48077e4bc3e20ec833c70e6e9b65 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 10 Oct 2021 18:18:53 -0400
+Subject: Trac #29665: new spkg-configure.m4 for numpy.
+
+This includes a SAGE_SPKG_DEPCHECK([openblas],... because blas/lapack
+wind up linked into shared libraries like,
+
+  /usr/.../numpy/linalg/lapack_lite.cpython-39-x86_64-linux-gnu.so
+
+that potentially conflict with the openblas SPKG.
+---
+ build/pkgs/numpy/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/numpy/spkg-configure.m4
+
+diff --git a/build/pkgs/numpy/spkg-configure.m4 b/build/pkgs/numpy/spkg-configure.m4
+new file mode 100644
+index 00000000..16f9a90
+--- /dev/null
++++ b/build/pkgs/numpy/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([numpy], [
++  SAGE_SPKG_DEPCHECK([openblas], [
++   SAGE_PYTHON_PACKAGE_CHECK([numpy])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 85dfe5bb32f3c470966b477bae68a921e846d11f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 10 Oct 2021 18:58:48 -0400
+Subject: Trac #29665: new spkg-configure.m4 for scipy.
+
+This includes a SAGE_SPKG_DEPCHECK([openblas],... because blas/lapack
+wind up linked into shared libraries like,
+
+  /usr/.../scipy/linalg/_flinalg.cpython-39-x86_64-linux-gnu.so
+
+that potentially conflict with the openblas SPKG.
+---
+ build/pkgs/scipy/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/scipy/spkg-configure.m4
+
+diff --git a/build/pkgs/scipy/spkg-configure.m4 b/build/pkgs/scipy/spkg-configure.m4
+new file mode 100644
+index 00000000..0b7294a
+--- /dev/null
++++ b/build/pkgs/scipy/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([scipy], [
++  SAGE_SPKG_DEPCHECK([openblas], [
++    SAGE_PYTHON_PACKAGE_CHECK([scipy])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5616f1491036fda95f4d3e840c8c8b531c97323b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 07:19:24 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pluggy.
+
+---
+ build/pkgs/pluggy/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pluggy/spkg-configure.m4
+
+diff --git a/build/pkgs/pluggy/spkg-configure.m4 b/build/pkgs/pluggy/spkg-configure.m4
+new file mode 100644
+index 00000000..11b1fce
+--- /dev/null
++++ b/build/pkgs/pluggy/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pluggy], [SAGE_PYTHON_PACKAGE_CHECK([pluggy])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6bceae3d356878cfe5fce40c9998dead003a3844 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 07:24:12 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pickleshare.
+
+---
+ build/pkgs/pickleshare/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pickleshare/spkg-configure.m4
+
+diff --git a/build/pkgs/pickleshare/spkg-configure.m4 b/build/pkgs/pickleshare/spkg-configure.m4
+new file mode 100644
+index 00000000..80e9b7c
+--- /dev/null
++++ b/build/pkgs/pickleshare/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pickleshare], [SAGE_PYTHON_PACKAGE_CHECK([pickleshare])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From da2ab534f4a256c82ed4f1c5f0f5c320529b5e9f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 08:53:29 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for html5lib.
+
+---
+ build/pkgs/html5lib/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/html5lib/spkg-configure.m4
+
+diff --git a/build/pkgs/html5lib/spkg-configure.m4 b/build/pkgs/html5lib/spkg-configure.m4
+new file mode 100644
+index 00000000..f421b7e
+--- /dev/null
++++ b/build/pkgs/html5lib/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([html5lib], [SAGE_PYTHON_PACKAGE_CHECK([html5lib])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5e464134afdf6055b7b5804208f759561c5435cd Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 18:30:47 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for networkx.
+
+---
+ build/pkgs/networkx/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/networkx/spkg-configure.m4
+
+diff --git a/build/pkgs/networkx/spkg-configure.m4 b/build/pkgs/networkx/spkg-configure.m4
+new file mode 100644
+index 00000000..926671e
+--- /dev/null
++++ b/build/pkgs/networkx/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([networkx], [SAGE_PYTHON_PACKAGE_CHECK([networkx])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From c4d40770cd9c7fda811e31759a5f4aedc320f3f9 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:33:24 -0400
+Subject: Trac #29665: new spkg-configure.m4 for matplotlib.
+
+This includes a SAGE_SPKG_DEPCHECK([bzip2 freetype libpng qhull],...
+because those dependencies wind up linked into shared libraries like,
+
+  /usr/lib/.../matplotlib/ft2font.cpython-39-x86_64-linux-gnu.so
+
+that potentially conflict with their SPKG counterparts.
+---
+ build/pkgs/matplotlib/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/matplotlib/spkg-configure.m4
+
+diff --git a/build/pkgs/matplotlib/spkg-configure.m4 b/build/pkgs/matplotlib/spkg-configure.m4
+new file mode 100644
+index 00000000..39c2d29
+--- /dev/null
++++ b/build/pkgs/matplotlib/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([matplotlib], [
++  SAGE_SPKG_DEPCHECK([bzip2 freetype libpng qhull], [
++    SAGE_PYTHON_PACKAGE_CHECK([matplotlib])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 7834dc3ac349201af632f89a9de7cd1967931010 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:35:00 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for bleach.
+
+---
+ build/pkgs/bleach/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/bleach/spkg-configure.m4
+
+diff --git a/build/pkgs/bleach/spkg-configure.m4 b/build/pkgs/bleach/spkg-configure.m4
+new file mode 100644
+index 00000000..3c9bb26
+--- /dev/null
++++ b/build/pkgs/bleach/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([bleach], [SAGE_PYTHON_PACKAGE_CHECK([bleach])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 84cad343287a2c69a4a21b9fa3b92301ff88645b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:37:03 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for decorator.
+
+---
+ build/pkgs/decorator/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/decorator/spkg-configure.m4
+
+diff --git a/build/pkgs/decorator/spkg-configure.m4 b/build/pkgs/decorator/spkg-configure.m4
+new file mode 100644
+index 00000000..e062778
+--- /dev/null
++++ b/build/pkgs/decorator/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([decorator], [SAGE_PYTHON_PACKAGE_CHECK([decorator])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 25693212572e69d452bc95c923ada13744359eb7 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:38:03 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for idna.
+
+---
+ build/pkgs/idna/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/idna/spkg-configure.m4
+
+diff --git a/build/pkgs/idna/spkg-configure.m4 b/build/pkgs/idna/spkg-configure.m4
+new file mode 100644
+index 00000000..9d363f2
+--- /dev/null
++++ b/build/pkgs/idna/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([idna], [SAGE_PYTHON_PACKAGE_CHECK([idna])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6d5616472f6cdc6cf496bba6fe07bd4ef44dfdaf Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:39:23 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for certifi.
+
+---
+ build/pkgs/certifi/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/certifi/spkg-configure.m4
+
+diff --git a/build/pkgs/certifi/spkg-configure.m4 b/build/pkgs/certifi/spkg-configure.m4
+new file mode 100644
+index 00000000..ddd4061
+--- /dev/null
++++ b/build/pkgs/certifi/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([certifi], [SAGE_PYTHON_PACKAGE_CHECK([certifi])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9412a07023b275e29e8d1af9b8ee3e767042e7fd Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:40:59 -0400
+Subject: Trac #29665: new spkg-configure.m4 for pillow.
+
+This includes an SAGE_SPKG_DEPCHECK([bzip2 freetype libpng zlib],...
+because those dependencies wind up linked into shared libraries like,
+
+  /usr/.../PIL/_imagingft.cpython-39-x86_64-linux-gnu.so
+
+and potentially conflict with their SPKG counterparts.
+---
+ build/pkgs/pillow/spkg-configure.m4 | 5 +++++
+ 1 file changed, 5 insertions(+)
+ create mode 100644 build/pkgs/pillow/spkg-configure.m4
+
+diff --git a/build/pkgs/pillow/spkg-configure.m4 b/build/pkgs/pillow/spkg-configure.m4
+new file mode 100644
+index 00000000..f2e68e2
+--- /dev/null
++++ b/build/pkgs/pillow/spkg-configure.m4
+@@ -0,0 +1,5 @@
++SAGE_SPKG_CONFIGURE([pillow], [
++  SAGE_SPKG_DEPCHECK([bzip2 freetype libpng zlib], [
++    SAGE_PYTHON_PACKAGE_CHECK([pillow])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From eede914311481fdb75b363b7a799075e876a2b4f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:44:13 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for mpmath.
+
+---
+ build/pkgs/mpmath/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/mpmath/spkg-configure.m4
+
+diff --git a/build/pkgs/mpmath/spkg-configure.m4 b/build/pkgs/mpmath/spkg-configure.m4
+new file mode 100644
+index 00000000..f43c838
+--- /dev/null
++++ b/build/pkgs/mpmath/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([mpmath], [SAGE_PYTHON_PACKAGE_CHECK([mpmath])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 363a825885832c0b580ff53fe61f5c79e70c4728 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:44:56 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for sympy.
+
+---
+ build/pkgs/sympy/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sympy/spkg-configure.m4
+
+diff --git a/build/pkgs/sympy/spkg-configure.m4 b/build/pkgs/sympy/spkg-configure.m4
+new file mode 100644
+index 00000000..fa0f1f5
+--- /dev/null
++++ b/build/pkgs/sympy/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([sympy], [SAGE_PYTHON_PACKAGE_CHECK([sympy])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0667964c914e4a01dda697190a054ff96cea92d6 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:47:06 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pygments.
+
+---
+ build/pkgs/pygments/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pygments/spkg-configure.m4
+
+diff --git a/build/pkgs/pygments/spkg-configure.m4 b/build/pkgs/pygments/spkg-configure.m4
+new file mode 100644
+index 00000000..99f29e3
+--- /dev/null
++++ b/build/pkgs/pygments/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pygments], [SAGE_PYTHON_PACKAGE_CHECK([pygments])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f787c233aa05d8e90f7c6ad18f76bd2fa36bfbfb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 11 Oct 2021 20:48:50 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for jinja2.
+
+---
+ build/pkgs/jinja2/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jinja2/spkg-configure.m4
+
+diff --git a/build/pkgs/jinja2/spkg-configure.m4 b/build/pkgs/jinja2/spkg-configure.m4
+new file mode 100644
+index 00000000..0970d1c
+--- /dev/null
++++ b/build/pkgs/jinja2/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([jinja2], [SAGE_PYTHON_PACKAGE_CHECK([jinja2])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 309d8f8e2b7078b5efbbe824b69ec1d9b1e639f0 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 12 Oct 2021 08:43:24 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pandocfilters.
+
+---
+ build/pkgs/pandocfilters/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/pandocfilters/spkg-configure.m4
+
+diff --git a/build/pkgs/pandocfilters/spkg-configure.m4 b/build/pkgs/pandocfilters/spkg-configure.m4
+new file mode 100644
+index 00000000..3e9537f
+--- /dev/null
++++ b/build/pkgs/pandocfilters/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([pandocfilters], [
++  SAGE_PYTHON_PACKAGE_CHECK([pandocfilters])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f57bfda49777a6ba1cd123553acd75dc347c5521 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 12 Oct 2021 08:44:46 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for webencodings.
+
+---
+ build/pkgs/webencodings/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/webencodings/spkg-configure.m4
+
+diff --git a/build/pkgs/webencodings/spkg-configure.m4 b/build/pkgs/webencodings/spkg-configure.m4
+new file mode 100644
+index 00000000..1b9a5c4
+--- /dev/null
++++ b/build/pkgs/webencodings/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([webencodings], [
++  SAGE_PYTHON_PACKAGE_CHECK([webencodings])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 7f193a62d7a2ea0b6a3ca6beb12390d91c25bbfb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 12 Oct 2021 08:48:26 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pytz.
+
+---
+ build/pkgs/pytz/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pytz/spkg-configure.m4
+
+diff --git a/build/pkgs/pytz/spkg-configure.m4 b/build/pkgs/pytz/spkg-configure.m4
+new file mode 100644
+index 00000000..366521b
+--- /dev/null
++++ b/build/pkgs/pytz/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pytz], [SAGE_PYTHON_PACKAGE_CHECK([pytz])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From bfd3fdd887c3465c03465248de4997eed4a82915 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 12 Oct 2021 08:51:16 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for texttable.
+
+---
+ build/pkgs/texttable/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/texttable/spkg-configure.m4
+
+diff --git a/build/pkgs/texttable/spkg-configure.m4 b/build/pkgs/texttable/spkg-configure.m4
+new file mode 100644
+index 00000000..42a3de1
+--- /dev/null
++++ b/build/pkgs/texttable/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([texttable], [SAGE_PYTHON_PACKAGE_CHECK([texttable])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 914bf0cc57abc46129b27c1525782dbe16da31a2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 12 Oct 2021 08:53:41 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for babel.
+
+---
+ build/pkgs/babel/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/babel/spkg-configure.m4
+
+diff --git a/build/pkgs/babel/spkg-configure.m4 b/build/pkgs/babel/spkg-configure.m4
+new file mode 100644
+index 00000000..d7b9a71
+--- /dev/null
++++ b/build/pkgs/babel/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([babel], [SAGE_PYTHON_PACKAGE_CHECK([babel])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 56977abd1eafbc87c765a2892cfe525382648259 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 14 Oct 2021 08:06:59 -0400
+Subject: Trac #29665: force system python3 with --enable-system-site-packages.
+
+When the python SPKG is used, the --enable-system-site-packages flag
+will essentially do nothing, and that may confuse users who have
+wasted a few hours building sage. (Generally, they will want to fix
+detection of their system python3 first.)
+
+To forestall that, we now set "--with-system-python3=force" whenever
+the "--enable-system-site-packages" flag is passed.
+---
+ configure.ac | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index db30a91..6fafb83 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -438,10 +438,19 @@ AC_ARG_ENABLE([download-from-upstream-url],
+ AC_ARG_ENABLE(
+   [system-site-packages], [AS_HELP_STRING(
+     [--enable-system-site-packages],
+-    [allow sage to use python packages from the system (experimental; default: no)]
++    [allow the use of python packages from the system (experimental; default: no)]
+   )], [
+   AS_IF([test "x$enable_system_site_packages" = "xyes"], [
+     SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
++
++    dnl We want to raise an error if the user asked for "system site
++    dnl packages" but the system python will not be used. Technically
++    dnl that causes no problems (SAGE_PYTHON_PACKAGE_CHECK always fails,
++    dnl so SPKGs are used for all python packages), but it may be confusing
++    dnl to end users who expect the flag to actually give them access to
++    dnl their system python packages and who may not be paying close
++    dnl attention to their ./configure output.
++    with_system_python3="force"
+   ])
+ ])
+ AC_SUBST([SAGE_VENV_FLAGS])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 02b369fd24ef7cf8997082e7850b9cf022cae34b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 15 Oct 2021 01:18:35 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for setuptools.
+
+---
+ build/pkgs/setuptools/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/setuptools/spkg-configure.m4
+
+diff --git a/build/pkgs/setuptools/spkg-configure.m4 b/build/pkgs/setuptools/spkg-configure.m4
+new file mode 100644
+index 00000000..a2ad811
+--- /dev/null
++++ b/build/pkgs/setuptools/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([setuptools], [SAGE_PYTHON_PACKAGE_CHECK([setuptools])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 05117317d38693978efaf36e81d8b02bae44b257 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 15 Oct 2021 01:15:48 -0400
+Subject: Trac #29665: poison PYTHONUSERBASE when testing for "system"
+ packages.
+
+When we're detecting system installations of python packages, we want
+to hide anything that was installed with e.g. "pip install --user". To
+accomplish that, we mimic the PYTHONUSERBASE poisoning from sage-env
+within the SAGE_PYTHON_PACKAGE_CHECK() macro.
+---
+ m4/sage_python_package_check.m4 | 18 +++++++++++++++++-
+ 1 file changed, 17 insertions(+), 1 deletion(-)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 77b0a0c..b8cdba4 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -38,11 +38,27 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+     dnl package.
+     SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
+     AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
++
++    dnl To prevent user-site (pip install --user) packages from being
++    dnl detected as "system" packages, we poison PYTHONUSERBASE. The
++    dnl sage-env script also does this at runtime; we mimic that
++    dnl implementation to ensure that the behaviors at ./configure and
++    dnl runtime are identical. Beware that (as in sage-env) the poisoning
++    dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
++    dnl user points PYTHONUSERBASE to any path (even the default), then
++    dnl his local pip packages will be detected.
++    PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
++    AS_IF([test -z "${PYTHONUSERBASE}"], [
++      PYTHONUSERBASE="${HOME}/.sage/local"
++    ])
++
+     AS_IF(
+-      ["${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())"],
++      [PYTHONUSERBASE="${PYTHONUSERBASE}" "${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" 2>/dev/null],
+       [AC_MSG_RESULT(yes)],
+       [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
+     )
++
++    PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
+   ], [
+     sage_spkg_install_$1=yes
+   ])
+-- 
+cgit v1.0-1-gd88e
+
+
+From d75c1492f63a584b5ec5f424ddd7f7c4a6d502d3 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 15 Oct 2021 11:20:04 -0400
+Subject: Trac #29665: run SAGE_PYTHON_PACKAGE_CHECK() inside a venv.
+
+To recreate the runtime environment as closely as possible, we now use
+a venv (with system site packages enabled) when checking for system
+copies of python packages.
+---
+ m4/sage_python_package_check.m4 | 76 +++++++++++++++++++++++++++--------------
+ 1 file changed, 51 insertions(+), 25 deletions(-)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index b8cdba4..7cbd6c0 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -15,9 +15,11 @@
+ #
+ #     2. If we are not using the system python (no $PYTHON_FOR_VENV),
+ #
+-#     3. If setuptools is not available to the system python,
++#     3. If we are unable to create a venv with the system python,
+ #
+-#     4. If the contents of install-requires.txt are not met (wrong
++#     4. If setuptools is not available to the system python,
++#
++#     5. If the contents of install-requires.txt are not met (wrong
+ #        version, no version, etc.) by the system python.
+ #
+ #   In any of those cases, we set sage_spkg_install_$package to "yes"
+@@ -27,38 +29,62 @@
+ #
+ #   The SAGE_SPKG_CONFIGURE_PYTHON3() macro is AC_REQUIRE'd to ensure
+ #   that $PYTHON_FOR_VENV is available, if it is going to be available.
++#   The check is run inside a new venv, and with the PYTHONUSERBASE
++#   variable poisoned in the same manner as sage-env poisons it, to
++#   ensure that the ./configure- and run-time views of the system
++#   are as similar as possible.
+ #
+ 
+ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+   AS_IF([test "${enable_system_site_packages}" = "yes"], [
+     AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
+ 
+-    dnl strip all comments from install-requires.txt; this should leave
+-    dnl only a single line containing the version specification for this
+-    dnl package.
+-    SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
+-    AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
++    dnl We run this check inside a python venv, because that's ultimately
++    dnl how the system $PYTHON_FOR_VENV will be used.
++    AC_MSG_CHECKING([if we can create a python venv in config.venv])
+ 
+-    dnl To prevent user-site (pip install --user) packages from being
+-    dnl detected as "system" packages, we poison PYTHONUSERBASE. The
+-    dnl sage-env script also does this at runtime; we mimic that
+-    dnl implementation to ensure that the behaviors at ./configure and
+-    dnl runtime are identical. Beware that (as in sage-env) the poisoning
+-    dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
+-    dnl user points PYTHONUSERBASE to any path (even the default), then
+-    dnl his local pip packages will be detected.
+-    PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
+-    AS_IF([test -z "${PYTHONUSERBASE}"], [
+-      PYTHONUSERBASE="${HOME}/.sage/local"
+-    ])
++    dnl Use --clear because ./configure typically clobbers its output files.
++    AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
++                                        --clear                dnl
++                                        --without-pip          dnl
++					config.venv], [
++      AC_MSG_RESULT(yes)
++      dnl strip all comments from install-requires.txt; this should leave
++      dnl only a single line containing the version specification for this
++      dnl package.
++      SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
++      AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
++
++      dnl To prevent user-site (pip install --user) packages from being
++      dnl detected as "system" packages, we poison PYTHONUSERBASE. The
++      dnl sage-env script also does this at runtime; we mimic that
++      dnl implementation to ensure that the behaviors at ./configure and
++      dnl runtime are identical. Beware that (as in sage-env) the poisoning
++      dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
++      dnl user points PYTHONUSERBASE to any path (even the default), then
++      dnl his local pip packages will be detected.
++      PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
++      AS_IF([test -z "${PYTHONUSERBASE}"], [
++        PYTHONUSERBASE="${HOME}/.sage/local"
++      ])
+ 
+-    AS_IF(
+-      [PYTHONUSERBASE="${PYTHONUSERBASE}" "${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" 2>/dev/null],
+-      [AC_MSG_RESULT(yes)],
+-      [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
+-    )
++      AS_IF(
++        [PYTHONUSERBASE="${PYTHONUSERBASE}" config.venv/bin/python3 -c dnl
++           "from setuptools.version import pkg_resources;              dnl
++            pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" dnl
++	 2>/dev/null],
++        [AC_MSG_RESULT(yes)],
++        [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
++      )
++
++      PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
++    ], [
++      dnl failed to create a venv for some reason
++      AC_MSG_RESULT(no)
++      sage_spkg_install_$1=yes
++    ])
+ 
+-    PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
++    rm -rf config.venv
+   ], [
+     sage_spkg_install_$1=yes
+   ])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 87646c3264a04ffd98a12d67074f93e1943a1e96 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 15 Oct 2021 11:38:08 -0400
+Subject: Trac #29665: log SAGE_PYTHON_PACKAGE_CHECK() failures to config.log.
+
+---
+ m4/sage_python_package_check.m4 | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 7cbd6c0..e0e0b9f 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -47,7 +47,8 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+     AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
+                                         --clear                dnl
+                                         --without-pip          dnl
+-					config.venv], [
++                                        config.venv            dnl
++                                        2>&AS_MESSAGE_LOG_FD], [
+       AC_MSG_RESULT(yes)
+       dnl strip all comments from install-requires.txt; this should leave
+       dnl only a single line containing the version specification for this
+@@ -72,7 +73,7 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+         [PYTHONUSERBASE="${PYTHONUSERBASE}" config.venv/bin/python3 -c dnl
+            "from setuptools.version import pkg_resources;              dnl
+             pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" dnl
+-	 2>/dev/null],
++	 2>&AS_MESSAGE_LOG_FD],
+         [AC_MSG_RESULT(yes)],
+         [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
+       )
+-- 
+cgit v1.0-1-gd88e
+
+
+From f7dfffd1c64816e2ae4e0f420b22065c5c5bf2cb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 15 Oct 2021 11:45:37 -0400
+Subject: Trac #29665: don't clobber a plain file named config.venv.
+
+When SAGE_PYTHON_PACKAGE_CHECK() is cleaning up, we no longer remove
+"config.venv" unconditionally. Instead, we remove it only if it is a
+directory. This is also how "pyvenv --clear" works.
+---
+ m4/sage_python_package_check.m4 | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index e0e0b9f..127a078 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -85,7 +85,9 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+       sage_spkg_install_$1=yes
+     ])
+ 
+-    rm -rf config.venv
++    dnl Clean up config.venv, but only if we could have created it.
++    dnl (The --clear flag to pyvenv will not clobber a plain file.)
++    AS_IF([test -d config.venv], [rm -rf config.venv])
+   ], [
+     sage_spkg_install_$1=yes
+   ])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9849c77313b895dcfb786d2ea54e36585bd31ce2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 16 Oct 2021 08:14:42 -0400
+Subject: Trac #29665: don't announce system python packages that won't be
+ used.
+
+When --enable-system-site-packages was not given, the python packages
+using SAGE_PYTHON_PACKAGE_CHECK() in spkg-configure.m4 cannot be used.
+Rather than suggest that users install them anyway, that macro now
+hacks the value of sage_use_system_$package to be "no" when the use
+of system site packages is disabled at the python level.
+---
+ m4/sage_python_package_check.m4 | 17 +++++++++++++++++
+ 1 file changed, 17 insertions(+)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 127a078..7ee82a7 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -89,6 +89,23 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+     dnl (The --clear flag to pyvenv will not clobber a plain file.)
+     AS_IF([test -d config.venv], [rm -rf config.venv])
+   ], [
++    dnl System site packages are disabled.
+     sage_spkg_install_$1=yes
++
++    dnl We have to retroactively hack the --with-system-foo={no,yes,force}
++    dnl mechanism here because it wasn't designed with the ability to
++    dnl disable arbitrary chunks of system packages in mind. The easy cases
++    dnl are "no" and "force" which require no action; "no" means we won't
++    dnl suggest the package anyway, and "force" will raise an error when
++    dnl the system-package check fails.
++    dnl
++    dnl The default of "yes" is more troubling because it is the default. To
++    dnl avoid prompting users to install packages that won't be used, we want
++    dnl to ignore "yes" when reporting the "hint: install these packages..."
++    dnl at the end of ./configure. To accomplish that, we change "yes" to
++    dnl "no" here, essentially changing the default for packages using this
++    dnl macro when --enable-system-site-packages is disabled. Packages with
++    dnl "no" are not suggested to the user.
++    AS_IF([test "${sage_use_system_$1}" = "yes"],[sage_use_system_$1=no])
+   ])
+ ])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 3e6ad737b94aaac234d615ecaf1a2455eb607f1a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 17 Oct 2021 06:16:21 -0400
+Subject: Trac #29665: add Gentoo package information for python packages.
+
+---
+ build/pkgs/babel/distros/gentoo.txt         | 1 +
+ build/pkgs/bleach/distros/gentoo.txt        | 1 +
+ build/pkgs/certifi/distros/gentoo.txt       | 1 +
+ build/pkgs/cvxopt/distros/gentoo.txt        | 1 +
+ build/pkgs/decorator/distros/gentoo.txt     | 1 +
+ build/pkgs/html5lib/distros/gentoo.txt      | 1 +
+ build/pkgs/idna/distros/gentoo.txt          | 1 +
+ build/pkgs/jinja2/distros/gentoo.txt        | 1 +
+ build/pkgs/matplotlib/distros/gentoo.txt    | 1 +
+ build/pkgs/mpmath/distros/gentoo.txt        | 1 +
+ build/pkgs/networkx/distros/gentoo.txt      | 1 +
+ build/pkgs/numpy/distros/gentoo.txt         | 1 +
+ build/pkgs/packaging/distros/gentoo.txt     | 1 +
+ build/pkgs/pandocfilters/distros/gentoo.txt | 1 +
+ build/pkgs/pickleshare/distros/gentoo.txt   | 1 +
+ build/pkgs/pillow/distros/gentoo.txt        | 1 +
+ build/pkgs/pluggy/distros/gentoo.txt        | 1 +
+ build/pkgs/pygments/distros/gentoo.txt      | 1 +
+ build/pkgs/pytz/distros/gentoo.txt          | 1 +
+ build/pkgs/pyzmq/distros/gentoo.txt         | 1 +
+ build/pkgs/requests/distros/gentoo.txt      | 1 +
+ build/pkgs/scipy/distros/gentoo.txt         | 1 +
+ build/pkgs/setuptools/distros/gentoo.txt    | 1 +
+ build/pkgs/six/distros/gentoo.txt           | 1 +
+ build/pkgs/sympy/distros/gentoo.txt         | 1 +
+ build/pkgs/texttable/distros/gentoo.txt     | 1 +
+ build/pkgs/toml/distros/gentoo.txt          | 1 +
+ build/pkgs/webencodings/distros/gentoo.txt  | 1 +
+ 28 files changed, 28 insertions(+)
+ create mode 100644 build/pkgs/babel/distros/gentoo.txt
+ create mode 100644 build/pkgs/bleach/distros/gentoo.txt
+ create mode 100644 build/pkgs/certifi/distros/gentoo.txt
+ create mode 100644 build/pkgs/cvxopt/distros/gentoo.txt
+ create mode 100644 build/pkgs/decorator/distros/gentoo.txt
+ create mode 100644 build/pkgs/html5lib/distros/gentoo.txt
+ create mode 100644 build/pkgs/idna/distros/gentoo.txt
+ create mode 100644 build/pkgs/jinja2/distros/gentoo.txt
+ create mode 100644 build/pkgs/matplotlib/distros/gentoo.txt
+ create mode 100644 build/pkgs/mpmath/distros/gentoo.txt
+ create mode 100644 build/pkgs/networkx/distros/gentoo.txt
+ create mode 100644 build/pkgs/numpy/distros/gentoo.txt
+ create mode 100644 build/pkgs/packaging/distros/gentoo.txt
+ create mode 100644 build/pkgs/pandocfilters/distros/gentoo.txt
+ create mode 100644 build/pkgs/pickleshare/distros/gentoo.txt
+ create mode 100644 build/pkgs/pillow/distros/gentoo.txt
+ create mode 100644 build/pkgs/pluggy/distros/gentoo.txt
+ create mode 100644 build/pkgs/pygments/distros/gentoo.txt
+ create mode 100644 build/pkgs/pytz/distros/gentoo.txt
+ create mode 100644 build/pkgs/pyzmq/distros/gentoo.txt
+ create mode 100644 build/pkgs/requests/distros/gentoo.txt
+ create mode 100644 build/pkgs/scipy/distros/gentoo.txt
+ create mode 100644 build/pkgs/setuptools/distros/gentoo.txt
+ create mode 100644 build/pkgs/six/distros/gentoo.txt
+ create mode 100644 build/pkgs/sympy/distros/gentoo.txt
+ create mode 100644 build/pkgs/texttable/distros/gentoo.txt
+ create mode 100644 build/pkgs/toml/distros/gentoo.txt
+ create mode 100644 build/pkgs/webencodings/distros/gentoo.txt
+
+diff --git a/build/pkgs/babel/distros/gentoo.txt b/build/pkgs/babel/distros/gentoo.txt
+new file mode 100644
+index 00000000..2d2c34f
+--- /dev/null
++++ b/build/pkgs/babel/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/Babel
+diff --git a/build/pkgs/bleach/distros/gentoo.txt b/build/pkgs/bleach/distros/gentoo.txt
+new file mode 100644
+index 00000000..b4f9744
+--- /dev/null
++++ b/build/pkgs/bleach/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/bleach
+diff --git a/build/pkgs/certifi/distros/gentoo.txt b/build/pkgs/certifi/distros/gentoo.txt
+new file mode 100644
+index 00000000..72e2e91
+--- /dev/null
++++ b/build/pkgs/certifi/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/certifi
+diff --git a/build/pkgs/cvxopt/distros/gentoo.txt b/build/pkgs/cvxopt/distros/gentoo.txt
+new file mode 100644
+index 00000000..b312391
+--- /dev/null
++++ b/build/pkgs/cvxopt/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/cvxopt
+diff --git a/build/pkgs/decorator/distros/gentoo.txt b/build/pkgs/decorator/distros/gentoo.txt
+new file mode 100644
+index 00000000..fea5a67
+--- /dev/null
++++ b/build/pkgs/decorator/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/decorator
+diff --git a/build/pkgs/html5lib/distros/gentoo.txt b/build/pkgs/html5lib/distros/gentoo.txt
+new file mode 100644
+index 00000000..6c2be76
+--- /dev/null
++++ b/build/pkgs/html5lib/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/html5lib
+diff --git a/build/pkgs/idna/distros/gentoo.txt b/build/pkgs/idna/distros/gentoo.txt
+new file mode 100644
+index 00000000..68ef51c
+--- /dev/null
++++ b/build/pkgs/idna/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/idna
+diff --git a/build/pkgs/jinja2/distros/gentoo.txt b/build/pkgs/jinja2/distros/gentoo.txt
+new file mode 100644
+index 00000000..15a27ae
+--- /dev/null
++++ b/build/pkgs/jinja2/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jinja
+diff --git a/build/pkgs/matplotlib/distros/gentoo.txt b/build/pkgs/matplotlib/distros/gentoo.txt
+new file mode 100644
+index 00000000..bcfefb5
+--- /dev/null
++++ b/build/pkgs/matplotlib/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/matplotlib
+diff --git a/build/pkgs/mpmath/distros/gentoo.txt b/build/pkgs/mpmath/distros/gentoo.txt
+new file mode 100644
+index 00000000..946c62d
+--- /dev/null
++++ b/build/pkgs/mpmath/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/mpmath
+diff --git a/build/pkgs/networkx/distros/gentoo.txt b/build/pkgs/networkx/distros/gentoo.txt
+new file mode 100644
+index 00000000..dd97742
+--- /dev/null
++++ b/build/pkgs/networkx/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/networkx
+diff --git a/build/pkgs/numpy/distros/gentoo.txt b/build/pkgs/numpy/distros/gentoo.txt
+new file mode 100644
+index 00000000..d2179d4
+--- /dev/null
++++ b/build/pkgs/numpy/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/numpy
+diff --git a/build/pkgs/packaging/distros/gentoo.txt b/build/pkgs/packaging/distros/gentoo.txt
+new file mode 100644
+index 00000000..e5309ed
+--- /dev/null
++++ b/build/pkgs/packaging/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/packaging
+diff --git a/build/pkgs/pandocfilters/distros/gentoo.txt b/build/pkgs/pandocfilters/distros/gentoo.txt
+new file mode 100644
+index 00000000..a726fda
+--- /dev/null
++++ b/build/pkgs/pandocfilters/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pandocfilters
+diff --git a/build/pkgs/pickleshare/distros/gentoo.txt b/build/pkgs/pickleshare/distros/gentoo.txt
+new file mode 100644
+index 00000000..14fad0f
+--- /dev/null
++++ b/build/pkgs/pickleshare/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pickleshare
+diff --git a/build/pkgs/pillow/distros/gentoo.txt b/build/pkgs/pillow/distros/gentoo.txt
+new file mode 100644
+index 00000000..1243649
+--- /dev/null
++++ b/build/pkgs/pillow/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pillow
+diff --git a/build/pkgs/pluggy/distros/gentoo.txt b/build/pkgs/pluggy/distros/gentoo.txt
+new file mode 100644
+index 00000000..7b33876
+--- /dev/null
++++ b/build/pkgs/pluggy/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pluggy
+diff --git a/build/pkgs/pygments/distros/gentoo.txt b/build/pkgs/pygments/distros/gentoo.txt
+new file mode 100644
+index 00000000..a584f32
+--- /dev/null
++++ b/build/pkgs/pygments/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pygments
+diff --git a/build/pkgs/pytz/distros/gentoo.txt b/build/pkgs/pytz/distros/gentoo.txt
+new file mode 100644
+index 00000000..902a18b
+--- /dev/null
++++ b/build/pkgs/pytz/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pytz
+diff --git a/build/pkgs/pyzmq/distros/gentoo.txt b/build/pkgs/pyzmq/distros/gentoo.txt
+new file mode 100644
+index 00000000..77c2429
+--- /dev/null
++++ b/build/pkgs/pyzmq/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pyzmq
+diff --git a/build/pkgs/requests/distros/gentoo.txt b/build/pkgs/requests/distros/gentoo.txt
+new file mode 100644
+index 00000000..d3dc941
+--- /dev/null
++++ b/build/pkgs/requests/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/requests
+diff --git a/build/pkgs/scipy/distros/gentoo.txt b/build/pkgs/scipy/distros/gentoo.txt
+new file mode 100644
+index 00000000..11dabd2
+--- /dev/null
++++ b/build/pkgs/scipy/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/scipy
+diff --git a/build/pkgs/setuptools/distros/gentoo.txt b/build/pkgs/setuptools/distros/gentoo.txt
+new file mode 100644
+index 00000000..3a4fa34
+--- /dev/null
++++ b/build/pkgs/setuptools/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/setuptools
+diff --git a/build/pkgs/six/distros/gentoo.txt b/build/pkgs/six/distros/gentoo.txt
+new file mode 100644
+index 00000000..f73f648
+--- /dev/null
++++ b/build/pkgs/six/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/six
+diff --git a/build/pkgs/sympy/distros/gentoo.txt b/build/pkgs/sympy/distros/gentoo.txt
+new file mode 100644
+index 00000000..b5a5034
+--- /dev/null
++++ b/build/pkgs/sympy/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sympy
+diff --git a/build/pkgs/texttable/distros/gentoo.txt b/build/pkgs/texttable/distros/gentoo.txt
+new file mode 100644
+index 00000000..b33a7a7
+--- /dev/null
++++ b/build/pkgs/texttable/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/texttable
+diff --git a/build/pkgs/toml/distros/gentoo.txt b/build/pkgs/toml/distros/gentoo.txt
+new file mode 100644
+index 00000000..64fcea3
+--- /dev/null
++++ b/build/pkgs/toml/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/toml
+diff --git a/build/pkgs/webencodings/distros/gentoo.txt b/build/pkgs/webencodings/distros/gentoo.txt
+new file mode 100644
+index 00000000..7539b0f
+--- /dev/null
++++ b/build/pkgs/webencodings/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/webencodings
+-- 
+cgit v1.0-1-gd88e
+
+
+From 088380f884124c9608160b613ba031c5f023f604 Mon Sep 17 00:00:00 2001
+From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
+Date: Sun, 17 Oct 2021 18:43:04 -0700
+Subject: build/pkgs: Add distros/fedora.txt for Python packages
+
+---
+ build/pkgs/babel/distros/fedora.txt         | 1 +
+ build/pkgs/bleach/distros/fedora.txt        | 1 +
+ build/pkgs/certifi/distros/fedora.txt       | 1 +
+ build/pkgs/cvxopt/distros/fedora.txt        | 1 +
+ build/pkgs/decorator/distros/fedora.txt     | 1 +
+ build/pkgs/html5lib/distros/fedora.txt      | 1 +
+ build/pkgs/idna/distros/fedora.txt          | 1 +
+ build/pkgs/jinja2/distros/fedora.txt        | 1 +
+ build/pkgs/matplotlib/distros/fedora.txt    | 1 +
+ build/pkgs/mpmath/distros/fedora.txt        | 1 +
+ build/pkgs/networkx/distros/fedora.txt      | 1 +
+ build/pkgs/numpy/distros/fedora.txt         | 1 +
+ build/pkgs/packaging/distros/fedora.txt     | 1 +
+ build/pkgs/pandocfilters/distros/fedora.txt | 1 +
+ build/pkgs/pickleshare/distros/fedora.txt   | 1 +
+ build/pkgs/pillow/distros/fedora.txt        | 1 +
+ build/pkgs/pluggy/distros/fedora.txt        | 1 +
+ build/pkgs/py/distros/fedora.txt            | 1 +
+ build/pkgs/pygments/distros/fedora.txt      | 1 +
+ build/pkgs/pytz/distros/fedora.txt          | 1 +
+ build/pkgs/pyzmq/distros/fedora.txt         | 1 +
+ build/pkgs/requests/distros/fedora.txt      | 1 +
+ build/pkgs/scipy/distros/fedora.txt         | 1 +
+ build/pkgs/setuptools/distros/fedora.txt    | 1 +
+ build/pkgs/six/distros/fedora.txt           | 1 +
+ build/pkgs/sympy/distros/fedora.txt         | 1 +
+ build/pkgs/texttable/distros/fedora.txt     | 1 +
+ build/pkgs/toml/distros/fedora.txt          | 1 +
+ build/pkgs/webencodings/distros/fedora.txt  | 1 +
+ build/pkgs/wheel/distros/fedora.txt         | 1 +
+ 30 files changed, 30 insertions(+)
+ create mode 100644 build/pkgs/babel/distros/fedora.txt
+ create mode 100644 build/pkgs/bleach/distros/fedora.txt
+ create mode 100644 build/pkgs/certifi/distros/fedora.txt
+ create mode 100644 build/pkgs/cvxopt/distros/fedora.txt
+ create mode 100644 build/pkgs/decorator/distros/fedora.txt
+ create mode 100644 build/pkgs/html5lib/distros/fedora.txt
+ create mode 100644 build/pkgs/idna/distros/fedora.txt
+ create mode 100644 build/pkgs/jinja2/distros/fedora.txt
+ create mode 100644 build/pkgs/matplotlib/distros/fedora.txt
+ create mode 100644 build/pkgs/mpmath/distros/fedora.txt
+ create mode 100644 build/pkgs/networkx/distros/fedora.txt
+ create mode 100644 build/pkgs/numpy/distros/fedora.txt
+ create mode 100644 build/pkgs/packaging/distros/fedora.txt
+ create mode 100644 build/pkgs/pandocfilters/distros/fedora.txt
+ create mode 100644 build/pkgs/pickleshare/distros/fedora.txt
+ create mode 100644 build/pkgs/pillow/distros/fedora.txt
+ create mode 100644 build/pkgs/pluggy/distros/fedora.txt
+ create mode 100644 build/pkgs/py/distros/fedora.txt
+ create mode 100644 build/pkgs/pygments/distros/fedora.txt
+ create mode 100644 build/pkgs/pytz/distros/fedora.txt
+ create mode 100644 build/pkgs/pyzmq/distros/fedora.txt
+ create mode 100644 build/pkgs/requests/distros/fedora.txt
+ create mode 100644 build/pkgs/scipy/distros/fedora.txt
+ create mode 100644 build/pkgs/setuptools/distros/fedora.txt
+ create mode 100644 build/pkgs/six/distros/fedora.txt
+ create mode 100644 build/pkgs/sympy/distros/fedora.txt
+ create mode 100644 build/pkgs/texttable/distros/fedora.txt
+ create mode 100644 build/pkgs/toml/distros/fedora.txt
+ create mode 100644 build/pkgs/webencodings/distros/fedora.txt
+ create mode 100644 build/pkgs/wheel/distros/fedora.txt
+
+diff --git a/build/pkgs/babel/distros/fedora.txt b/build/pkgs/babel/distros/fedora.txt
+new file mode 100644
+index 00000000..98f6593
+--- /dev/null
++++ b/build/pkgs/babel/distros/fedora.txt
+@@ -0,0 +1 @@
++babel
+diff --git a/build/pkgs/bleach/distros/fedora.txt b/build/pkgs/bleach/distros/fedora.txt
+new file mode 100644
+index 00000000..c5422cc
+--- /dev/null
++++ b/build/pkgs/bleach/distros/fedora.txt
+@@ -0,0 +1 @@
++python-bleach
+diff --git a/build/pkgs/certifi/distros/fedora.txt b/build/pkgs/certifi/distros/fedora.txt
+new file mode 100644
+index 00000000..be421c8
+--- /dev/null
++++ b/build/pkgs/certifi/distros/fedora.txt
+@@ -0,0 +1 @@
++python-certifi
+diff --git a/build/pkgs/cvxopt/distros/fedora.txt b/build/pkgs/cvxopt/distros/fedora.txt
+new file mode 100644
+index 00000000..f15770f
+--- /dev/null
++++ b/build/pkgs/cvxopt/distros/fedora.txt
+@@ -0,0 +1 @@
++python-cvxopt
+diff --git a/build/pkgs/decorator/distros/fedora.txt b/build/pkgs/decorator/distros/fedora.txt
+new file mode 100644
+index 00000000..0795604
+--- /dev/null
++++ b/build/pkgs/decorator/distros/fedora.txt
+@@ -0,0 +1 @@
++python-decorator
+diff --git a/build/pkgs/html5lib/distros/fedora.txt b/build/pkgs/html5lib/distros/fedora.txt
+new file mode 100644
+index 00000000..b821491
+--- /dev/null
++++ b/build/pkgs/html5lib/distros/fedora.txt
+@@ -0,0 +1 @@
++python-html5lib
+diff --git a/build/pkgs/idna/distros/fedora.txt b/build/pkgs/idna/distros/fedora.txt
+new file mode 100644
+index 00000000..a73e70c
+--- /dev/null
++++ b/build/pkgs/idna/distros/fedora.txt
+@@ -0,0 +1 @@
++python-idna
+diff --git a/build/pkgs/jinja2/distros/fedora.txt b/build/pkgs/jinja2/distros/fedora.txt
+new file mode 100644
+index 00000000..f5f3caf
+--- /dev/null
++++ b/build/pkgs/jinja2/distros/fedora.txt
+@@ -0,0 +1 @@
++python-jinja2
+diff --git a/build/pkgs/matplotlib/distros/fedora.txt b/build/pkgs/matplotlib/distros/fedora.txt
+new file mode 100644
+index 00000000..f6d856e
+--- /dev/null
++++ b/build/pkgs/matplotlib/distros/fedora.txt
+@@ -0,0 +1 @@
++python-matplotlib
+diff --git a/build/pkgs/mpmath/distros/fedora.txt b/build/pkgs/mpmath/distros/fedora.txt
+new file mode 100644
+index 00000000..a7dc8d5
+--- /dev/null
++++ b/build/pkgs/mpmath/distros/fedora.txt
+@@ -0,0 +1 @@
++python-mpmath
+diff --git a/build/pkgs/networkx/distros/fedora.txt b/build/pkgs/networkx/distros/fedora.txt
+new file mode 100644
+index 00000000..293f943
+--- /dev/null
++++ b/build/pkgs/networkx/distros/fedora.txt
+@@ -0,0 +1 @@
++python-networkx
+diff --git a/build/pkgs/numpy/distros/fedora.txt b/build/pkgs/numpy/distros/fedora.txt
+new file mode 100644
+index 00000000..c8722b9
+--- /dev/null
++++ b/build/pkgs/numpy/distros/fedora.txt
+@@ -0,0 +1 @@
++python-numpy
+diff --git a/build/pkgs/packaging/distros/fedora.txt b/build/pkgs/packaging/distros/fedora.txt
+new file mode 100644
+index 00000000..02ad855
+--- /dev/null
++++ b/build/pkgs/packaging/distros/fedora.txt
+@@ -0,0 +1 @@
++python-packaging
+diff --git a/build/pkgs/pandocfilters/distros/fedora.txt b/build/pkgs/pandocfilters/distros/fedora.txt
+new file mode 100644
+index 00000000..e7a86d0
+--- /dev/null
++++ b/build/pkgs/pandocfilters/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pandocfilters
+diff --git a/build/pkgs/pickleshare/distros/fedora.txt b/build/pkgs/pickleshare/distros/fedora.txt
+new file mode 100644
+index 00000000..6d991a2
+--- /dev/null
++++ b/build/pkgs/pickleshare/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pickleshare
+diff --git a/build/pkgs/pillow/distros/fedora.txt b/build/pkgs/pillow/distros/fedora.txt
+new file mode 100644
+index 00000000..86dbb1d
+--- /dev/null
++++ b/build/pkgs/pillow/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pillow
+diff --git a/build/pkgs/pluggy/distros/fedora.txt b/build/pkgs/pluggy/distros/fedora.txt
+new file mode 100644
+index 00000000..c869e54
+--- /dev/null
++++ b/build/pkgs/pluggy/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pluggy
+diff --git a/build/pkgs/py/distros/fedora.txt b/build/pkgs/py/distros/fedora.txt
+new file mode 100644
+index 00000000..b348d39
+--- /dev/null
++++ b/build/pkgs/py/distros/fedora.txt
+@@ -0,0 +1 @@
++python-py
+diff --git a/build/pkgs/pygments/distros/fedora.txt b/build/pkgs/pygments/distros/fedora.txt
+new file mode 100644
+index 00000000..f3e72a8
+--- /dev/null
++++ b/build/pkgs/pygments/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pygments
+diff --git a/build/pkgs/pytz/distros/fedora.txt b/build/pkgs/pytz/distros/fedora.txt
+new file mode 100644
+index 00000000..2cccc9e
+--- /dev/null
++++ b/build/pkgs/pytz/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pytz
+diff --git a/build/pkgs/pyzmq/distros/fedora.txt b/build/pkgs/pyzmq/distros/fedora.txt
+new file mode 100644
+index 00000000..23f64d1
+--- /dev/null
++++ b/build/pkgs/pyzmq/distros/fedora.txt
+@@ -0,0 +1 @@
++python-pyzmq
+diff --git a/build/pkgs/requests/distros/fedora.txt b/build/pkgs/requests/distros/fedora.txt
+new file mode 100644
+index 00000000..93a7bc1
+--- /dev/null
++++ b/build/pkgs/requests/distros/fedora.txt
+@@ -0,0 +1 @@
++python-requests
+diff --git a/build/pkgs/scipy/distros/fedora.txt b/build/pkgs/scipy/distros/fedora.txt
+new file mode 100644
+index 00000000..7ff2882
+--- /dev/null
++++ b/build/pkgs/scipy/distros/fedora.txt
+@@ -0,0 +1 @@
++python-scipy
+diff --git a/build/pkgs/setuptools/distros/fedora.txt b/build/pkgs/setuptools/distros/fedora.txt
+new file mode 100644
+index 00000000..e1ad178
+--- /dev/null
++++ b/build/pkgs/setuptools/distros/fedora.txt
+@@ -0,0 +1 @@
++python-setuptools
+diff --git a/build/pkgs/six/distros/fedora.txt b/build/pkgs/six/distros/fedora.txt
+new file mode 100644
+index 00000000..787c530
+--- /dev/null
++++ b/build/pkgs/six/distros/fedora.txt
+@@ -0,0 +1 @@
++python-six
+diff --git a/build/pkgs/sympy/distros/fedora.txt b/build/pkgs/sympy/distros/fedora.txt
+new file mode 100644
+index 00000000..126c88a
+--- /dev/null
++++ b/build/pkgs/sympy/distros/fedora.txt
+@@ -0,0 +1 @@
++python-sympy
+diff --git a/build/pkgs/texttable/distros/fedora.txt b/build/pkgs/texttable/distros/fedora.txt
+new file mode 100644
+index 00000000..8d1ccec
+--- /dev/null
++++ b/build/pkgs/texttable/distros/fedora.txt
+@@ -0,0 +1 @@
++python-texttable
+diff --git a/build/pkgs/toml/distros/fedora.txt b/build/pkgs/toml/distros/fedora.txt
+new file mode 100644
+index 00000000..821ee77
+--- /dev/null
++++ b/build/pkgs/toml/distros/fedora.txt
+@@ -0,0 +1 @@
++python-toml
+diff --git a/build/pkgs/webencodings/distros/fedora.txt b/build/pkgs/webencodings/distros/fedora.txt
+new file mode 100644
+index 00000000..12ddba9
+--- /dev/null
++++ b/build/pkgs/webencodings/distros/fedora.txt
+@@ -0,0 +1 @@
++python-webencodings
+diff --git a/build/pkgs/wheel/distros/fedora.txt b/build/pkgs/wheel/distros/fedora.txt
+new file mode 100644
+index 00000000..ae4cbb9
+--- /dev/null
++++ b/build/pkgs/wheel/distros/fedora.txt
+@@ -0,0 +1 @@
++python-wheel
+-- 
+cgit v1.0-1-gd88e
+
+
+From ad1d5a20380b147c774903066031442f31094626 Mon Sep 17 00:00:00 2001
+From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
+Date: Sun, 17 Oct 2021 21:04:04 -0700
+Subject: build/pkgs: Add distros/arch.txt for Python packages
+
+---
+ build/pkgs/babel/distros/arch.txt         | 1 +
+ build/pkgs/bleach/distros/arch.txt        | 1 +
+ build/pkgs/certifi/distros/arch.txt       | 1 +
+ build/pkgs/cvxopt/distros/arch.txt        | 1 +
+ build/pkgs/decorator/distros/arch.txt     | 1 +
+ build/pkgs/html5lib/distros/arch.txt      | 1 +
+ build/pkgs/idna/distros/arch.txt          | 1 +
+ build/pkgs/matplotlib/distros/arch.txt    | 1 +
+ build/pkgs/mpmath/distros/arch.txt        | 1 +
+ build/pkgs/networkx/distros/arch.txt      | 1 +
+ build/pkgs/numpy/distros/arch.txt         | 1 +
+ build/pkgs/packaging/distros/arch.txt     | 1 +
+ build/pkgs/pandocfilters/distros/arch.txt | 1 +
+ build/pkgs/pickleshare/distros/arch.txt   | 1 +
+ build/pkgs/pillow/distros/arch.txt        | 1 +
+ build/pkgs/pluggy/distros/arch.txt        | 1 +
+ build/pkgs/py/distros/arch.txt            | 1 +
+ build/pkgs/pygments/distros/arch.txt      | 1 +
+ build/pkgs/pytz/distros/arch.txt          | 1 +
+ build/pkgs/pyzmq/distros/arch.txt         | 1 +
+ build/pkgs/requests/distros/arch.txt      | 1 +
+ build/pkgs/scipy/distros/arch.txt         | 1 +
+ build/pkgs/setuptools/distros/arch.txt    | 1 +
+ build/pkgs/six/distros/arch.txt           | 1 +
+ build/pkgs/sympy/distros/arch.txt         | 1 +
+ build/pkgs/texttable/distros/arch.txt     | 1 +
+ build/pkgs/toml/distros/arch.txt          | 1 +
+ build/pkgs/webencodings/distros/arch.txt  | 1 +
+ build/pkgs/wheel/distros/arch.txt         | 1 +
+ 29 files changed, 29 insertions(+)
+ create mode 100644 build/pkgs/babel/distros/arch.txt
+ create mode 100644 build/pkgs/bleach/distros/arch.txt
+ create mode 100644 build/pkgs/certifi/distros/arch.txt
+ create mode 100644 build/pkgs/cvxopt/distros/arch.txt
+ create mode 100644 build/pkgs/decorator/distros/arch.txt
+ create mode 100644 build/pkgs/html5lib/distros/arch.txt
+ create mode 100644 build/pkgs/idna/distros/arch.txt
+ create mode 100644 build/pkgs/matplotlib/distros/arch.txt
+ create mode 100644 build/pkgs/mpmath/distros/arch.txt
+ create mode 100644 build/pkgs/networkx/distros/arch.txt
+ create mode 100644 build/pkgs/numpy/distros/arch.txt
+ create mode 100644 build/pkgs/packaging/distros/arch.txt
+ create mode 100644 build/pkgs/pandocfilters/distros/arch.txt
+ create mode 100644 build/pkgs/pickleshare/distros/arch.txt
+ create mode 100644 build/pkgs/pillow/distros/arch.txt
+ create mode 100644 build/pkgs/pluggy/distros/arch.txt
+ create mode 100644 build/pkgs/py/distros/arch.txt
+ create mode 100644 build/pkgs/pygments/distros/arch.txt
+ create mode 100644 build/pkgs/pytz/distros/arch.txt
+ create mode 100644 build/pkgs/pyzmq/distros/arch.txt
+ create mode 100644 build/pkgs/requests/distros/arch.txt
+ create mode 100644 build/pkgs/scipy/distros/arch.txt
+ create mode 100644 build/pkgs/setuptools/distros/arch.txt
+ create mode 100644 build/pkgs/six/distros/arch.txt
+ create mode 100644 build/pkgs/sympy/distros/arch.txt
+ create mode 100644 build/pkgs/texttable/distros/arch.txt
+ create mode 100644 build/pkgs/toml/distros/arch.txt
+ create mode 100644 build/pkgs/webencodings/distros/arch.txt
+ create mode 100644 build/pkgs/wheel/distros/arch.txt
+
+diff --git a/build/pkgs/babel/distros/arch.txt b/build/pkgs/babel/distros/arch.txt
+new file mode 100644
+index 00000000..f2d828c
+--- /dev/null
++++ b/build/pkgs/babel/distros/arch.txt
+@@ -0,0 +1 @@
++python-babel
+diff --git a/build/pkgs/bleach/distros/arch.txt b/build/pkgs/bleach/distros/arch.txt
+new file mode 100644
+index 00000000..c5422cc
+--- /dev/null
++++ b/build/pkgs/bleach/distros/arch.txt
+@@ -0,0 +1 @@
++python-bleach
+diff --git a/build/pkgs/certifi/distros/arch.txt b/build/pkgs/certifi/distros/arch.txt
+new file mode 100644
+index 00000000..be421c8
+--- /dev/null
++++ b/build/pkgs/certifi/distros/arch.txt
+@@ -0,0 +1 @@
++python-certifi
+diff --git a/build/pkgs/cvxopt/distros/arch.txt b/build/pkgs/cvxopt/distros/arch.txt
+new file mode 100644
+index 00000000..f15770f
+--- /dev/null
++++ b/build/pkgs/cvxopt/distros/arch.txt
+@@ -0,0 +1 @@
++python-cvxopt
+diff --git a/build/pkgs/decorator/distros/arch.txt b/build/pkgs/decorator/distros/arch.txt
+new file mode 100644
+index 00000000..0795604
+--- /dev/null
++++ b/build/pkgs/decorator/distros/arch.txt
+@@ -0,0 +1 @@
++python-decorator
+diff --git a/build/pkgs/html5lib/distros/arch.txt b/build/pkgs/html5lib/distros/arch.txt
+new file mode 100644
+index 00000000..b821491
+--- /dev/null
++++ b/build/pkgs/html5lib/distros/arch.txt
+@@ -0,0 +1 @@
++python-html5lib
+diff --git a/build/pkgs/idna/distros/arch.txt b/build/pkgs/idna/distros/arch.txt
+new file mode 100644
+index 00000000..a73e70c
+--- /dev/null
++++ b/build/pkgs/idna/distros/arch.txt
+@@ -0,0 +1 @@
++python-idna
+diff --git a/build/pkgs/matplotlib/distros/arch.txt b/build/pkgs/matplotlib/distros/arch.txt
+new file mode 100644
+index 00000000..f6d856e
+--- /dev/null
++++ b/build/pkgs/matplotlib/distros/arch.txt
+@@ -0,0 +1 @@
++python-matplotlib
+diff --git a/build/pkgs/mpmath/distros/arch.txt b/build/pkgs/mpmath/distros/arch.txt
+new file mode 100644
+index 00000000..a7dc8d5
+--- /dev/null
++++ b/build/pkgs/mpmath/distros/arch.txt
+@@ -0,0 +1 @@
++python-mpmath
+diff --git a/build/pkgs/networkx/distros/arch.txt b/build/pkgs/networkx/distros/arch.txt
+new file mode 100644
+index 00000000..293f943
+--- /dev/null
++++ b/build/pkgs/networkx/distros/arch.txt
+@@ -0,0 +1 @@
++python-networkx
+diff --git a/build/pkgs/numpy/distros/arch.txt b/build/pkgs/numpy/distros/arch.txt
+new file mode 100644
+index 00000000..c8722b9
+--- /dev/null
++++ b/build/pkgs/numpy/distros/arch.txt
+@@ -0,0 +1 @@
++python-numpy
+diff --git a/build/pkgs/packaging/distros/arch.txt b/build/pkgs/packaging/distros/arch.txt
+new file mode 100644
+index 00000000..02ad855
+--- /dev/null
++++ b/build/pkgs/packaging/distros/arch.txt
+@@ -0,0 +1 @@
++python-packaging
+diff --git a/build/pkgs/pandocfilters/distros/arch.txt b/build/pkgs/pandocfilters/distros/arch.txt
+new file mode 100644
+index 00000000..e7a86d0
+--- /dev/null
++++ b/build/pkgs/pandocfilters/distros/arch.txt
+@@ -0,0 +1 @@
++python-pandocfilters
+diff --git a/build/pkgs/pickleshare/distros/arch.txt b/build/pkgs/pickleshare/distros/arch.txt
+new file mode 100644
+index 00000000..6d991a2
+--- /dev/null
++++ b/build/pkgs/pickleshare/distros/arch.txt
+@@ -0,0 +1 @@
++python-pickleshare
+diff --git a/build/pkgs/pillow/distros/arch.txt b/build/pkgs/pillow/distros/arch.txt
+new file mode 100644
+index 00000000..86dbb1d
+--- /dev/null
++++ b/build/pkgs/pillow/distros/arch.txt
+@@ -0,0 +1 @@
++python-pillow
+diff --git a/build/pkgs/pluggy/distros/arch.txt b/build/pkgs/pluggy/distros/arch.txt
+new file mode 100644
+index 00000000..c869e54
+--- /dev/null
++++ b/build/pkgs/pluggy/distros/arch.txt
+@@ -0,0 +1 @@
++python-pluggy
+diff --git a/build/pkgs/py/distros/arch.txt b/build/pkgs/py/distros/arch.txt
+new file mode 100644
+index 00000000..b348d39
+--- /dev/null
++++ b/build/pkgs/py/distros/arch.txt
+@@ -0,0 +1 @@
++python-py
+diff --git a/build/pkgs/pygments/distros/arch.txt b/build/pkgs/pygments/distros/arch.txt
+new file mode 100644
+index 00000000..f3e72a8
+--- /dev/null
++++ b/build/pkgs/pygments/distros/arch.txt
+@@ -0,0 +1 @@
++python-pygments
+diff --git a/build/pkgs/pytz/distros/arch.txt b/build/pkgs/pytz/distros/arch.txt
+new file mode 100644
+index 00000000..2cccc9e
+--- /dev/null
++++ b/build/pkgs/pytz/distros/arch.txt
+@@ -0,0 +1 @@
++python-pytz
+diff --git a/build/pkgs/pyzmq/distros/arch.txt b/build/pkgs/pyzmq/distros/arch.txt
+new file mode 100644
+index 00000000..23f64d1
+--- /dev/null
++++ b/build/pkgs/pyzmq/distros/arch.txt
+@@ -0,0 +1 @@
++python-pyzmq
+diff --git a/build/pkgs/requests/distros/arch.txt b/build/pkgs/requests/distros/arch.txt
+new file mode 100644
+index 00000000..93a7bc1
+--- /dev/null
++++ b/build/pkgs/requests/distros/arch.txt
+@@ -0,0 +1 @@
++python-requests
+diff --git a/build/pkgs/scipy/distros/arch.txt b/build/pkgs/scipy/distros/arch.txt
+new file mode 100644
+index 00000000..7ff2882
+--- /dev/null
++++ b/build/pkgs/scipy/distros/arch.txt
+@@ -0,0 +1 @@
++python-scipy
+diff --git a/build/pkgs/setuptools/distros/arch.txt b/build/pkgs/setuptools/distros/arch.txt
+new file mode 100644
+index 00000000..e1ad178
+--- /dev/null
++++ b/build/pkgs/setuptools/distros/arch.txt
+@@ -0,0 +1 @@
++python-setuptools
+diff --git a/build/pkgs/six/distros/arch.txt b/build/pkgs/six/distros/arch.txt
+new file mode 100644
+index 00000000..787c530
+--- /dev/null
++++ b/build/pkgs/six/distros/arch.txt
+@@ -0,0 +1 @@
++python-six
+diff --git a/build/pkgs/sympy/distros/arch.txt b/build/pkgs/sympy/distros/arch.txt
+new file mode 100644
+index 00000000..126c88a
+--- /dev/null
++++ b/build/pkgs/sympy/distros/arch.txt
+@@ -0,0 +1 @@
++python-sympy
+diff --git a/build/pkgs/texttable/distros/arch.txt b/build/pkgs/texttable/distros/arch.txt
+new file mode 100644
+index 00000000..8d1ccec
+--- /dev/null
++++ b/build/pkgs/texttable/distros/arch.txt
+@@ -0,0 +1 @@
++python-texttable
+diff --git a/build/pkgs/toml/distros/arch.txt b/build/pkgs/toml/distros/arch.txt
+new file mode 100644
+index 00000000..821ee77
+--- /dev/null
++++ b/build/pkgs/toml/distros/arch.txt
+@@ -0,0 +1 @@
++python-toml
+diff --git a/build/pkgs/webencodings/distros/arch.txt b/build/pkgs/webencodings/distros/arch.txt
+new file mode 100644
+index 00000000..12ddba9
+--- /dev/null
++++ b/build/pkgs/webencodings/distros/arch.txt
+@@ -0,0 +1 @@
++python-webencodings
+diff --git a/build/pkgs/wheel/distros/arch.txt b/build/pkgs/wheel/distros/arch.txt
+new file mode 100644
+index 00000000..ae4cbb9
+--- /dev/null
++++ b/build/pkgs/wheel/distros/arch.txt
+@@ -0,0 +1 @@
++python-wheel
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5087abee08f2a89ddaf422ec72a84575fe724a79 Mon Sep 17 00:00:00 2001
+From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
+Date: Sun, 17 Oct 2021 21:20:56 -0700
+Subject: build/pkgs: Add distros/opensuse.txt for Python packages
+
+---
+ build/pkgs/bleach/distros/opensuse.txt        | 1 +
+ build/pkgs/cvxopt/distros/opensuse.txt        | 1 +
+ build/pkgs/html5lib/distros/opensuse.txt      | 1 +
+ build/pkgs/idna/distros/opensuse.txt          | 1 +
+ build/pkgs/jinja2/distros/opensuse.txt        | 2 +-
+ build/pkgs/mpmath/distros/opensuse.txt        | 1 +
+ build/pkgs/numpy/distros/opensuse.txt         | 1 +
+ build/pkgs/packaging/distros/opensuse.txt     | 1 +
+ build/pkgs/pandocfilters/distros/opensuse.txt | 1 +
+ build/pkgs/pluggy/distros/opensuse.txt        | 1 +
+ build/pkgs/py/distros/opensuse.txt            | 1 +
+ build/pkgs/pygments/distros/opensuse.txt      | 2 +-
+ build/pkgs/sympy/distros/opensuse.txt         | 1 +
+ build/pkgs/texttable/distros/opensuse.txt     | 1 +
+ build/pkgs/toml/distros/opensuse.txt          | 1 +
+ 15 files changed, 15 insertions(+), 2 deletions(-)
+ create mode 100644 build/pkgs/bleach/distros/opensuse.txt
+ create mode 100644 build/pkgs/cvxopt/distros/opensuse.txt
+ create mode 100644 build/pkgs/html5lib/distros/opensuse.txt
+ create mode 100644 build/pkgs/idna/distros/opensuse.txt
+ create mode 100644 build/pkgs/mpmath/distros/opensuse.txt
+ create mode 100644 build/pkgs/numpy/distros/opensuse.txt
+ create mode 100644 build/pkgs/packaging/distros/opensuse.txt
+ create mode 100644 build/pkgs/pandocfilters/distros/opensuse.txt
+ create mode 100644 build/pkgs/pluggy/distros/opensuse.txt
+ create mode 100644 build/pkgs/py/distros/opensuse.txt
+ create mode 100644 build/pkgs/sympy/distros/opensuse.txt
+ create mode 100644 build/pkgs/texttable/distros/opensuse.txt
+ create mode 100644 build/pkgs/toml/distros/opensuse.txt
+
+diff --git a/build/pkgs/bleach/distros/opensuse.txt b/build/pkgs/bleach/distros/opensuse.txt
+new file mode 100644
+index 00000000..6d37c4c
+--- /dev/null
++++ b/build/pkgs/bleach/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-bleach
+diff --git a/build/pkgs/cvxopt/distros/opensuse.txt b/build/pkgs/cvxopt/distros/opensuse.txt
+new file mode 100644
+index 00000000..2bb6ad1
+--- /dev/null
++++ b/build/pkgs/cvxopt/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-cvxopt
+diff --git a/build/pkgs/html5lib/distros/opensuse.txt b/build/pkgs/html5lib/distros/opensuse.txt
+new file mode 100644
+index 00000000..6d7b8df
+--- /dev/null
++++ b/build/pkgs/html5lib/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-html5lib
+diff --git a/build/pkgs/idna/distros/opensuse.txt b/build/pkgs/idna/distros/opensuse.txt
+new file mode 100644
+index 00000000..de48e70
+--- /dev/null
++++ b/build/pkgs/idna/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-idna
+diff --git a/build/pkgs/jinja2/distros/opensuse.txt b/build/pkgs/jinja2/distros/opensuse.txt
+index 5d90a22..f2db865 100644
+--- a/build/pkgs/jinja2/distros/opensuse.txt
++++ b/build/pkgs/jinja2/distros/opensuse.txt
+@@ -1 +1 @@
+-python3-Jinja2
++python3-jinja2
+diff --git a/build/pkgs/mpmath/distros/opensuse.txt b/build/pkgs/mpmath/distros/opensuse.txt
+new file mode 100644
+index 00000000..fbc82a9
+--- /dev/null
++++ b/build/pkgs/mpmath/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-mpmath
+diff --git a/build/pkgs/numpy/distros/opensuse.txt b/build/pkgs/numpy/distros/opensuse.txt
+new file mode 100644
+index 00000000..79d5c5a
+--- /dev/null
++++ b/build/pkgs/numpy/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-numpy
+diff --git a/build/pkgs/packaging/distros/opensuse.txt b/build/pkgs/packaging/distros/opensuse.txt
+new file mode 100644
+index 00000000..8f1c0ff
+--- /dev/null
++++ b/build/pkgs/packaging/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-packaging
+diff --git a/build/pkgs/pandocfilters/distros/opensuse.txt b/build/pkgs/pandocfilters/distros/opensuse.txt
+new file mode 100644
+index 00000000..d0d4c24
+--- /dev/null
++++ b/build/pkgs/pandocfilters/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-pandocfilters
+diff --git a/build/pkgs/pluggy/distros/opensuse.txt b/build/pkgs/pluggy/distros/opensuse.txt
+new file mode 100644
+index 00000000..43a3acf
+--- /dev/null
++++ b/build/pkgs/pluggy/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-pluggy
+diff --git a/build/pkgs/py/distros/opensuse.txt b/build/pkgs/py/distros/opensuse.txt
+new file mode 100644
+index 00000000..81fefe6
+--- /dev/null
++++ b/build/pkgs/py/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-py
+diff --git a/build/pkgs/pygments/distros/opensuse.txt b/build/pkgs/pygments/distros/opensuse.txt
+index 9ff5740..3ab3792 100644
+--- a/build/pkgs/pygments/distros/opensuse.txt
++++ b/build/pkgs/pygments/distros/opensuse.txt
+@@ -1 +1 @@
+-python3-Pygments
++python3-pygments
+diff --git a/build/pkgs/sympy/distros/opensuse.txt b/build/pkgs/sympy/distros/opensuse.txt
+new file mode 100644
+index 00000000..db423c8
+--- /dev/null
++++ b/build/pkgs/sympy/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-sympy
+diff --git a/build/pkgs/texttable/distros/opensuse.txt b/build/pkgs/texttable/distros/opensuse.txt
+new file mode 100644
+index 00000000..8f8e7e2
+--- /dev/null
++++ b/build/pkgs/texttable/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-texttable
+diff --git a/build/pkgs/toml/distros/opensuse.txt b/build/pkgs/toml/distros/opensuse.txt
+new file mode 100644
+index 00000000..543e89d
+--- /dev/null
++++ b/build/pkgs/toml/distros/opensuse.txt
+@@ -0,0 +1 @@
++python3-toml
+-- 
+cgit v1.0-1-gd88e
+
+
+From a480ba7ace1370d106ae831e904ea22b72af1be7 Mon Sep 17 00:00:00 2001
+From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
+Date: Sun, 17 Oct 2021 22:45:04 -0700
+Subject: build/pkgs: Add distros/debian.txt for Python packages
+
+---
+ build/pkgs/babel/distros/debian.txt         | 1 +
+ build/pkgs/bleach/distros/debian.txt        | 1 +
+ build/pkgs/certifi/distros/debian.txt       | 1 +
+ build/pkgs/cvxopt/distros/debian.txt        | 1 +
+ build/pkgs/decorator/distros/debian.txt     | 1 +
+ build/pkgs/html5lib/distros/debian.txt      | 1 +
+ build/pkgs/idna/distros/debian.txt          | 1 +
+ build/pkgs/jinja2/distros/debian.txt        | 1 +
+ build/pkgs/matplotlib/distros/debian.txt    | 1 +
+ build/pkgs/mpmath/distros/debian.txt        | 1 +
+ build/pkgs/networkx/distros/debian.txt      | 1 +
+ build/pkgs/numpy/distros/debian.txt         | 1 +
+ build/pkgs/packaging/distros/debian.txt     | 1 +
+ build/pkgs/pandocfilters/distros/debian.txt | 1 +
+ build/pkgs/pickleshare/distros/debian.txt   | 1 +
+ build/pkgs/pillow/distros/debian.txt        | 1 +
+ build/pkgs/pluggy/distros/debian.txt        | 1 +
+ build/pkgs/py/distros/debian.txt            | 1 +
+ build/pkgs/pygments/distros/debian.txt      | 1 +
+ build/pkgs/pytz/distros/debian.txt          | 1 +
+ build/pkgs/requests/distros/debian.txt      | 1 +
+ build/pkgs/scipy/distros/debian.txt         | 1 +
+ build/pkgs/setuptools/distros/debian.txt    | 1 +
+ build/pkgs/six/distros/debian.txt           | 1 +
+ build/pkgs/sympy/distros/debian.txt         | 1 +
+ build/pkgs/texttable/distros/debian.txt     | 1 +
+ build/pkgs/toml/distros/debian.txt          | 1 +
+ build/pkgs/webencodings/distros/debian.txt  | 1 +
+ build/pkgs/wheel/distros/debian.txt         | 1 +
+ 29 files changed, 29 insertions(+)
+ create mode 100644 build/pkgs/babel/distros/debian.txt
+ create mode 100644 build/pkgs/bleach/distros/debian.txt
+ create mode 100644 build/pkgs/certifi/distros/debian.txt
+ create mode 100644 build/pkgs/cvxopt/distros/debian.txt
+ create mode 100644 build/pkgs/decorator/distros/debian.txt
+ create mode 100644 build/pkgs/html5lib/distros/debian.txt
+ create mode 100644 build/pkgs/idna/distros/debian.txt
+ create mode 100644 build/pkgs/jinja2/distros/debian.txt
+ create mode 100644 build/pkgs/matplotlib/distros/debian.txt
+ create mode 100644 build/pkgs/mpmath/distros/debian.txt
+ create mode 100644 build/pkgs/networkx/distros/debian.txt
+ create mode 100644 build/pkgs/numpy/distros/debian.txt
+ create mode 100644 build/pkgs/packaging/distros/debian.txt
+ create mode 100644 build/pkgs/pandocfilters/distros/debian.txt
+ create mode 100644 build/pkgs/pickleshare/distros/debian.txt
+ create mode 100644 build/pkgs/pillow/distros/debian.txt
+ create mode 100644 build/pkgs/pluggy/distros/debian.txt
+ create mode 100644 build/pkgs/py/distros/debian.txt
+ create mode 100644 build/pkgs/pygments/distros/debian.txt
+ create mode 100644 build/pkgs/pytz/distros/debian.txt
+ create mode 100644 build/pkgs/requests/distros/debian.txt
+ create mode 100644 build/pkgs/scipy/distros/debian.txt
+ create mode 100644 build/pkgs/setuptools/distros/debian.txt
+ create mode 100644 build/pkgs/six/distros/debian.txt
+ create mode 100644 build/pkgs/sympy/distros/debian.txt
+ create mode 100644 build/pkgs/texttable/distros/debian.txt
+ create mode 100644 build/pkgs/toml/distros/debian.txt
+ create mode 100644 build/pkgs/webencodings/distros/debian.txt
+ create mode 100644 build/pkgs/wheel/distros/debian.txt
+
+diff --git a/build/pkgs/babel/distros/debian.txt b/build/pkgs/babel/distros/debian.txt
+new file mode 100644
+index 00000000..e623eb6
+--- /dev/null
++++ b/build/pkgs/babel/distros/debian.txt
+@@ -0,0 +1 @@
++python3-babel
+diff --git a/build/pkgs/bleach/distros/debian.txt b/build/pkgs/bleach/distros/debian.txt
+new file mode 100644
+index 00000000..6d37c4c
+--- /dev/null
++++ b/build/pkgs/bleach/distros/debian.txt
+@@ -0,0 +1 @@
++python3-bleach
+diff --git a/build/pkgs/certifi/distros/debian.txt b/build/pkgs/certifi/distros/debian.txt
+new file mode 100644
+index 00000000..f585a82
+--- /dev/null
++++ b/build/pkgs/certifi/distros/debian.txt
+@@ -0,0 +1 @@
++python3-certifi
+diff --git a/build/pkgs/cvxopt/distros/debian.txt b/build/pkgs/cvxopt/distros/debian.txt
+new file mode 100644
+index 00000000..2bb6ad1
+--- /dev/null
++++ b/build/pkgs/cvxopt/distros/debian.txt
+@@ -0,0 +1 @@
++python3-cvxopt
+diff --git a/build/pkgs/decorator/distros/debian.txt b/build/pkgs/decorator/distros/debian.txt
+new file mode 100644
+index 00000000..46c478e
+--- /dev/null
++++ b/build/pkgs/decorator/distros/debian.txt
+@@ -0,0 +1 @@
++python3-decorator
+diff --git a/build/pkgs/html5lib/distros/debian.txt b/build/pkgs/html5lib/distros/debian.txt
+new file mode 100644
+index 00000000..6d7b8df
+--- /dev/null
++++ b/build/pkgs/html5lib/distros/debian.txt
+@@ -0,0 +1 @@
++python3-html5lib
+diff --git a/build/pkgs/idna/distros/debian.txt b/build/pkgs/idna/distros/debian.txt
+new file mode 100644
+index 00000000..de48e70
+--- /dev/null
++++ b/build/pkgs/idna/distros/debian.txt
+@@ -0,0 +1 @@
++python3-idna
+diff --git a/build/pkgs/jinja2/distros/debian.txt b/build/pkgs/jinja2/distros/debian.txt
+new file mode 100644
+index 00000000..f2db865
+--- /dev/null
++++ b/build/pkgs/jinja2/distros/debian.txt
+@@ -0,0 +1 @@
++python3-jinja2
+diff --git a/build/pkgs/matplotlib/distros/debian.txt b/build/pkgs/matplotlib/distros/debian.txt
+new file mode 100644
+index 00000000..1374329
+--- /dev/null
++++ b/build/pkgs/matplotlib/distros/debian.txt
+@@ -0,0 +1 @@
++python3-matplotlib
+diff --git a/build/pkgs/mpmath/distros/debian.txt b/build/pkgs/mpmath/distros/debian.txt
+new file mode 100644
+index 00000000..fbc82a9
+--- /dev/null
++++ b/build/pkgs/mpmath/distros/debian.txt
+@@ -0,0 +1 @@
++python3-mpmath
+diff --git a/build/pkgs/networkx/distros/debian.txt b/build/pkgs/networkx/distros/debian.txt
+new file mode 100644
+index 00000000..6779066
+--- /dev/null
++++ b/build/pkgs/networkx/distros/debian.txt
+@@ -0,0 +1 @@
++python3-networkx
+diff --git a/build/pkgs/numpy/distros/debian.txt b/build/pkgs/numpy/distros/debian.txt
+new file mode 100644
+index 00000000..79d5c5a
+--- /dev/null
++++ b/build/pkgs/numpy/distros/debian.txt
+@@ -0,0 +1 @@
++python3-numpy
+diff --git a/build/pkgs/packaging/distros/debian.txt b/build/pkgs/packaging/distros/debian.txt
+new file mode 100644
+index 00000000..8f1c0ff
+--- /dev/null
++++ b/build/pkgs/packaging/distros/debian.txt
+@@ -0,0 +1 @@
++python3-packaging
+diff --git a/build/pkgs/pandocfilters/distros/debian.txt b/build/pkgs/pandocfilters/distros/debian.txt
+new file mode 100644
+index 00000000..d0d4c24
+--- /dev/null
++++ b/build/pkgs/pandocfilters/distros/debian.txt
+@@ -0,0 +1 @@
++python3-pandocfilters
+diff --git a/build/pkgs/pickleshare/distros/debian.txt b/build/pkgs/pickleshare/distros/debian.txt
+new file mode 100644
+index 00000000..a00907d
+--- /dev/null
++++ b/build/pkgs/pickleshare/distros/debian.txt
+@@ -0,0 +1 @@
++python3-pickleshare
+diff --git a/build/pkgs/pillow/distros/debian.txt b/build/pkgs/pillow/distros/debian.txt
+new file mode 100644
+index 00000000..3319fcd
+--- /dev/null
++++ b/build/pkgs/pillow/distros/debian.txt
+@@ -0,0 +1 @@
++python3-pillow
+diff --git a/build/pkgs/pluggy/distros/debian.txt b/build/pkgs/pluggy/distros/debian.txt
+new file mode 100644
+index 00000000..43a3acf
+--- /dev/null
++++ b/build/pkgs/pluggy/distros/debian.txt
+@@ -0,0 +1 @@
++python3-pluggy
+diff --git a/build/pkgs/py/distros/debian.txt b/build/pkgs/py/distros/debian.txt
+new file mode 100644
+index 00000000..81fefe6
+--- /dev/null
++++ b/build/pkgs/py/distros/debian.txt
+@@ -0,0 +1 @@
++python3-py
+diff --git a/build/pkgs/pygments/distros/debian.txt b/build/pkgs/pygments/distros/debian.txt
+new file mode 100644
+index 00000000..3ab3792
+--- /dev/null
++++ b/build/pkgs/pygments/distros/debian.txt
+@@ -0,0 +1 @@
++python3-pygments
+diff --git a/build/pkgs/pytz/distros/debian.txt b/build/pkgs/pytz/distros/debian.txt
+new file mode 100644
+index 00000000..db20908
+--- /dev/null
++++ b/build/pkgs/pytz/distros/debian.txt
+@@ -0,0 +1 @@
++python3-tz
+diff --git a/build/pkgs/requests/distros/debian.txt b/build/pkgs/requests/distros/debian.txt
+new file mode 100644
+index 00000000..43147b2
+--- /dev/null
++++ b/build/pkgs/requests/distros/debian.txt
+@@ -0,0 +1 @@
++python3-requests
+diff --git a/build/pkgs/scipy/distros/debian.txt b/build/pkgs/scipy/distros/debian.txt
+new file mode 100644
+index 00000000..12b3666
+--- /dev/null
++++ b/build/pkgs/scipy/distros/debian.txt
+@@ -0,0 +1 @@
++python3-scipy
+diff --git a/build/pkgs/setuptools/distros/debian.txt b/build/pkgs/setuptools/distros/debian.txt
+new file mode 100644
+index 00000000..1c0901c
+--- /dev/null
++++ b/build/pkgs/setuptools/distros/debian.txt
+@@ -0,0 +1 @@
++python3-setuptools
+diff --git a/build/pkgs/six/distros/debian.txt b/build/pkgs/six/distros/debian.txt
+new file mode 100644
+index 00000000..68ff859
+--- /dev/null
++++ b/build/pkgs/six/distros/debian.txt
+@@ -0,0 +1 @@
++python3-six
+diff --git a/build/pkgs/sympy/distros/debian.txt b/build/pkgs/sympy/distros/debian.txt
+new file mode 100644
+index 00000000..db423c8
+--- /dev/null
++++ b/build/pkgs/sympy/distros/debian.txt
+@@ -0,0 +1 @@
++python3-sympy
+diff --git a/build/pkgs/texttable/distros/debian.txt b/build/pkgs/texttable/distros/debian.txt
+new file mode 100644
+index 00000000..8f8e7e2
+--- /dev/null
++++ b/build/pkgs/texttable/distros/debian.txt
+@@ -0,0 +1 @@
++python3-texttable
+diff --git a/build/pkgs/toml/distros/debian.txt b/build/pkgs/toml/distros/debian.txt
+new file mode 100644
+index 00000000..543e89d
+--- /dev/null
++++ b/build/pkgs/toml/distros/debian.txt
+@@ -0,0 +1 @@
++python3-toml
+diff --git a/build/pkgs/webencodings/distros/debian.txt b/build/pkgs/webencodings/distros/debian.txt
+new file mode 100644
+index 00000000..ac30c2f
+--- /dev/null
++++ b/build/pkgs/webencodings/distros/debian.txt
+@@ -0,0 +1 @@
++python3-webencodings
+diff --git a/build/pkgs/wheel/distros/debian.txt b/build/pkgs/wheel/distros/debian.txt
+new file mode 100644
+index 00000000..3c066725
+--- /dev/null
++++ b/build/pkgs/wheel/distros/debian.txt
+@@ -0,0 +1 @@
++python3-wheel
+-- 
+cgit v1.0-1-gd88e
+
+
+From 93bf30d7de292551c3050e2dd74651d69ba4bd46 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 18 Oct 2021 07:50:34 -0400
+Subject: Trac #29665: add more documentation for SAGE_PYTHON_PACKAGE_CHECK().
+
+An earlier commit allows SAGE_PYTHON_PACKAGE_CHECK(package) to tweak the
+value of sage_use_system_$package if --enable-system-site-packages was
+not used. This essentially changes the default --with-system-$package=yes
+to "no" in that case. Here we update the documentation to reflect it.
+---
+ m4/sage_python_package_check.m4 | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 7ee82a7..95eefd0 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -34,6 +34,10 @@
+ #   ensure that the ./configure- and run-time views of the system
+ #   are as similar as possible.
+ #
++#   To avoid suggesting these system packages to users who have not
++#   set --enable-system-site-packages, this macro also changes the
++#   default for --with-system-foo from "yes" to "no" in that case.
++#
+ 
+ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+   AS_IF([test "${enable_system_site_packages}" = "yes"], [
+-- 
+cgit v1.0-1-gd88e
+
+
+From d771e49d57ecdf3622434bc09cbfb87ad3bb7744 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Mon, 18 Oct 2021 07:42:46 -0400
+Subject: Trac #29665: improve SAGE_PYTHON_PACKAGE_CHECK() failure message.
+
+When --enable-system-site-packages is off, SAGE_PYTHON_PACKAGE_CHECK()
+will always install the corresponding SPKG. We improve the ./configure
+output in that case to make it clear that the decision was based on
+the value of --enable-system-site-packages and not the "real" check.
+---
+ m4/sage_python_package_check.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 95eefd0..5f0f084 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -40,7 +40,9 @@
+ #
+ 
+ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
++  AC_MSG_CHECKING([if --enable-system-site-packages was used])
+   AS_IF([test "${enable_system_site_packages}" = "yes"], [
++    AC_MSG_RESULT(yes)
+     AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
+ 
+     dnl We run this check inside a python venv, because that's ultimately
+@@ -94,6 +96,7 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+     AS_IF([test -d config.venv], [rm -rf config.venv])
+   ], [
+     dnl System site packages are disabled.
++    AC_MSG_RESULT(no; skipping check)
+     sage_spkg_install_$1=yes
+ 
+     dnl We have to retroactively hack the --with-system-foo={no,yes,force}
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5bb43c1b78a1deb3364f235305937c2f823e5e18 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sun, 24 Oct 2021 20:29:25 -0400
+Subject: Trac #29665: use sage-venv in SAGE_PYTHON_PACKAGE_CHECK().
+
+For consistency with the rest of the build system, we now use the
+build/bin/sage-venv script to create the venv in this autoconf macro
+rather than invoking $PYTHON_FOR_VENV with "-m venv" directly.
+---
+ m4/sage_python_package_check.m4 | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
+index 5f0f084..5547b35 100644
+--- a/m4/sage_python_package_check.m4
++++ b/m4/sage_python_package_check.m4
+@@ -50,11 +50,11 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
+     AC_MSG_CHECKING([if we can create a python venv in config.venv])
+ 
+     dnl Use --clear because ./configure typically clobbers its output files.
+-    AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
+-                                        --clear                dnl
+-                                        --without-pip          dnl
+-                                        config.venv            dnl
+-                                        2>&AS_MESSAGE_LOG_FD], [
++    AS_IF(["${PYTHON_FOR_VENV}" build/bin/sage-venv      dnl
++                                  --system-site-packages dnl
++                                  --clear                dnl
++                                  config.venv            dnl
++                                  2>&AS_MESSAGE_LOG_FD], [
+       AC_MSG_RESULT(yes)
+       dnl strip all comments from install-requires.txt; this should leave
+       dnl only a single line containing the version specification for this
+-- 
+cgit v1.0-1-gd88e
+
+
+From c78363d6326addff16ca5abac897949a6be72bf4 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:10:30 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for urllib3.
+
+---
+ build/pkgs/urllib3/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/urllib3/spkg-configure.m4
+
+diff --git a/build/pkgs/urllib3/spkg-configure.m4 b/build/pkgs/urllib3/spkg-configure.m4
+new file mode 100644
+index 00000000..d7ef3e1
+--- /dev/null
++++ b/build/pkgs/urllib3/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([urllib3], [SAGE_PYTHON_PACKAGE_CHECK([urllib3])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f416d5abcae495ea8301fad024b279ea9e997b29 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:15:18 -0400
+Subject: Trac #29665: add Gentoo package information for urllib3.
+
+---
+ build/pkgs/urllib3/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/urllib3/distros/gentoo.txt
+
+diff --git a/build/pkgs/urllib3/distros/gentoo.txt b/build/pkgs/urllib3/distros/gentoo.txt
+new file mode 100644
+index 00000000..172a535
+--- /dev/null
++++ b/build/pkgs/urllib3/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/urllib3
+-- 
+cgit v1.0-1-gd88e
+
+
+From 852068b992bf7959500c650f54cb92e5b68d7ef8 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:15:58 -0400
+Subject: Trac #29665: add Gentoo package information for nbformat.
+
+---
+ build/pkgs/nbformat/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbformat/distros/gentoo.txt
+
+diff --git a/build/pkgs/nbformat/distros/gentoo.txt b/build/pkgs/nbformat/distros/gentoo.txt
+new file mode 100644
+index 00000000..006b1f2
+--- /dev/null
++++ b/build/pkgs/nbformat/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/nbformat
+-- 
+cgit v1.0-1-gd88e
+
+
+From 66179fd28fcc92ee840dcd87bb4db25cea968d66 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:34:16 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for nbformat.
+
+---
+ build/pkgs/nbformat/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbformat/spkg-configure.m4
+
+diff --git a/build/pkgs/nbformat/spkg-configure.m4 b/build/pkgs/nbformat/spkg-configure.m4
+new file mode 100644
+index 00000000..5a7f8c4
+--- /dev/null
++++ b/build/pkgs/nbformat/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([nbformat], [SAGE_PYTHON_PACKAGE_CHECK([nbformat])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 874005e81ed20f27a5f895030dcdbdfc5f73ad80 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:47:01 -0400
+Subject: Trac #29665: add Gentoo package information for zipp.
+
+---
+ build/pkgs/zipp/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/zipp/distros/gentoo.txt
+
+diff --git a/build/pkgs/zipp/distros/gentoo.txt b/build/pkgs/zipp/distros/gentoo.txt
+new file mode 100644
+index 00000000..7f59450
+--- /dev/null
++++ b/build/pkgs/zipp/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/zipp
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0cc2a7355b5554c1fb79c742ebf02eff54465b3e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:47:35 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for zipp.
+
+---
+ build/pkgs/zipp/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/zipp/spkg-configure.m4
+
+diff --git a/build/pkgs/zipp/spkg-configure.m4 b/build/pkgs/zipp/spkg-configure.m4
+new file mode 100644
+index 00000000..0fe3a9c
+--- /dev/null
++++ b/build/pkgs/zipp/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([zipp], [SAGE_PYTHON_PACKAGE_CHECK([zipp])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6073ad8e56c21fc862749bbd84a56d543fb9458c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:48:37 -0400
+Subject: Trac #29665: add Gentoo package information for wcwidth.
+
+---
+ build/pkgs/wcwidth/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/wcwidth/distros/gentoo.txt
+
+diff --git a/build/pkgs/wcwidth/distros/gentoo.txt b/build/pkgs/wcwidth/distros/gentoo.txt
+new file mode 100644
+index 00000000..edeb80b
+--- /dev/null
++++ b/build/pkgs/wcwidth/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/wcwidth
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9793d6172c64d61a015fbe61bd45863759124fad Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:51:10 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for wcwidth.
+
+---
+ build/pkgs/wcwidth/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/wcwidth/spkg-configure.m4
+
+diff --git a/build/pkgs/wcwidth/spkg-configure.m4 b/build/pkgs/wcwidth/spkg-configure.m4
+new file mode 100644
+index 00000000..5bde15a
+--- /dev/null
++++ b/build/pkgs/wcwidth/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([wcwidth], [SAGE_PYTHON_PACKAGE_CHECK([wcwidth])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 20232f370a43c146ca4e696c72a2cbcc498db060 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:52:36 -0400
+Subject: Trac #29665: add Gentoo package information for testpath.
+
+---
+ build/pkgs/testpath/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/testpath/distros/gentoo.txt
+
+diff --git a/build/pkgs/testpath/distros/gentoo.txt b/build/pkgs/testpath/distros/gentoo.txt
+new file mode 100644
+index 00000000..efa10a0
+--- /dev/null
++++ b/build/pkgs/testpath/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/testpath
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1b0785b2aad8844e74345fe950baf097e2b43d24 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:55:22 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for testpath.
+
+---
+ build/pkgs/testpath/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/testpath/spkg-configure.m4
+
+diff --git a/build/pkgs/testpath/spkg-configure.m4 b/build/pkgs/testpath/spkg-configure.m4
+new file mode 100644
+index 00000000..d8fc2a7
+--- /dev/null
++++ b/build/pkgs/testpath/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([testpath], [SAGE_PYTHON_PACKAGE_CHECK([testpath])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 10fc3829ecd956d732b1b069fdfe81f0d6d5cdc2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 18:56:06 -0400
+Subject: Trac #29665: add Gentoo package information for jedi.
+
+---
+ build/pkgs/jedi/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jedi/distros/gentoo.txt
+
+diff --git a/build/pkgs/jedi/distros/gentoo.txt b/build/pkgs/jedi/distros/gentoo.txt
+new file mode 100644
+index 00000000..6c85a46
+--- /dev/null
++++ b/build/pkgs/jedi/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jedi
+-- 
+cgit v1.0-1-gd88e
+
+
+From a75824d74c281c7639028ca01dabeed266f56998 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:06:37 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for jedi.
+
+---
+ build/pkgs/jedi/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jedi/spkg-configure.m4
+
+diff --git a/build/pkgs/jedi/spkg-configure.m4 b/build/pkgs/jedi/spkg-configure.m4
+new file mode 100644
+index 00000000..a37dbcc
+--- /dev/null
++++ b/build/pkgs/jedi/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([jedi], [SAGE_PYTHON_PACKAGE_CHECK([jedi])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 17af01373d43f6acbbdbc23e073e372d3fdadf8b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:07:47 -0400
+Subject: Trac #29665: add Gentoo package information for tomli.
+
+---
+ build/pkgs/tomli/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tomli/distros/gentoo.txt
+
+diff --git a/build/pkgs/tomli/distros/gentoo.txt b/build/pkgs/tomli/distros/gentoo.txt
+new file mode 100644
+index 00000000..0458e25
+--- /dev/null
++++ b/build/pkgs/tomli/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/tomli
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0d3b5994ae612be11992467c4a3f1a74b81400fe Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:08:12 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for tomli.
+
+---
+ build/pkgs/tomli/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tomli/spkg-configure.m4
+
+diff --git a/build/pkgs/tomli/spkg-configure.m4 b/build/pkgs/tomli/spkg-configure.m4
+new file mode 100644
+index 00000000..95a8b8b
+--- /dev/null
++++ b/build/pkgs/tomli/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([tomli], [SAGE_PYTHON_PACKAGE_CHECK([tomli])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From dce1c515781b0eeb8eb9c2bc7aba581560c1fac1 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:09:22 -0400
+Subject: Trac #29665: add Gentoo package information for defusedxml.
+
+---
+ build/pkgs/defusedxml/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/defusedxml/distros/gentoo.txt
+
+diff --git a/build/pkgs/defusedxml/distros/gentoo.txt b/build/pkgs/defusedxml/distros/gentoo.txt
+new file mode 100644
+index 00000000..2804214
+--- /dev/null
++++ b/build/pkgs/defusedxml/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/defusedxml
+-- 
+cgit v1.0-1-gd88e
+
+
+From 02e1e1cd7f8bdae3ca5b7d35ce70af28a44e9b7c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:11:14 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for defusedxml.
+
+---
+ build/pkgs/defusedxml/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/defusedxml/spkg-configure.m4
+
+diff --git a/build/pkgs/defusedxml/spkg-configure.m4 b/build/pkgs/defusedxml/spkg-configure.m4
+new file mode 100644
+index 00000000..e02f345
+--- /dev/null
++++ b/build/pkgs/defusedxml/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([defusedxml], [SAGE_PYTHON_PACKAGE_CHECK([defusedxml])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From e0ba4ebb5cfc637b5d26b85de9f34e0a160d2b9c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:12:22 -0400
+Subject: Trac #29665: add Gentoo package information for ipywidgets.
+
+---
+ build/pkgs/ipywidgets/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipywidgets/distros/gentoo.txt
+
+diff --git a/build/pkgs/ipywidgets/distros/gentoo.txt b/build/pkgs/ipywidgets/distros/gentoo.txt
+new file mode 100644
+index 00000000..7c76967
+--- /dev/null
++++ b/build/pkgs/ipywidgets/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ipywidgets
+-- 
+cgit v1.0-1-gd88e
+
+
+From 49df7e7d93c7a31b7c46d5d224a35fd313a29a32 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:15:53 -0400
+Subject: Trac #29665: add Gentoo package information for simplegeneric.
+
+---
+ build/pkgs/simplegeneric/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/simplegeneric/distros/gentoo.txt
+
+diff --git a/build/pkgs/simplegeneric/distros/gentoo.txt b/build/pkgs/simplegeneric/distros/gentoo.txt
+new file mode 100644
+index 00000000..a86e90d
+--- /dev/null
++++ b/build/pkgs/simplegeneric/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/simplegeneric
+-- 
+cgit v1.0-1-gd88e
+
+
+From 2a893635d5804749e6fec7ed7289c921ecb5300a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:16:33 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for simplegeneric.
+
+---
+ build/pkgs/simplegeneric/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/simplegeneric/spkg-configure.m4
+
+diff --git a/build/pkgs/simplegeneric/spkg-configure.m4 b/build/pkgs/simplegeneric/spkg-configure.m4
+new file mode 100644
+index 00000000..13715ab
+--- /dev/null
++++ b/build/pkgs/simplegeneric/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([simplegeneric], [SAGE_PYTHON_PACKAGE_CHECK([simplegeneric])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From a8fe7ecd6e3163e7d01261e5497ac452a8cc95ab Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:17:18 -0400
+Subject: Trac #29665: add Gentoo package information for imagesize.
+
+---
+ build/pkgs/imagesize/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/imagesize/distros/gentoo.txt
+
+diff --git a/build/pkgs/imagesize/distros/gentoo.txt b/build/pkgs/imagesize/distros/gentoo.txt
+new file mode 100644
+index 00000000..54350ba
+--- /dev/null
++++ b/build/pkgs/imagesize/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/imagesize
+-- 
+cgit v1.0-1-gd88e
+
+
+From 2ad837c5dd1fca0f50ce6d5042a9344210a54f84 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:17:48 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for imagesize.
+
+---
+ build/pkgs/imagesize/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/imagesize/spkg-configure.m4
+
+diff --git a/build/pkgs/imagesize/spkg-configure.m4 b/build/pkgs/imagesize/spkg-configure.m4
+new file mode 100644
+index 00000000..20210ef
+--- /dev/null
++++ b/build/pkgs/imagesize/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([imagesize], [SAGE_PYTHON_PACKAGE_CHECK([imagesize])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From bf47415b5bfca2d7bf24e20de35662bf331623b9 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:18:49 -0400
+Subject: Trac #29665: add Gentoo package information for mistune.
+
+---
+ build/pkgs/mistune/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/mistune/distros/gentoo.txt
+
+diff --git a/build/pkgs/mistune/distros/gentoo.txt b/build/pkgs/mistune/distros/gentoo.txt
+new file mode 100644
+index 00000000..56f0a4e
+--- /dev/null
++++ b/build/pkgs/mistune/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/mistune
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6898a74fd0c65a40c5220ba68b4062ac6fe060c6 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:21:30 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for mistune.
+
+---
+ build/pkgs/mistune/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/mistune/spkg-configure.m4
+
+diff --git a/build/pkgs/mistune/spkg-configure.m4 b/build/pkgs/mistune/spkg-configure.m4
+new file mode 100644
+index 00000000..972f33d
+--- /dev/null
++++ b/build/pkgs/mistune/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([mistune], [SAGE_PYTHON_PACKAGE_CHECK([mistune])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 62735e4ccf2031cd39eb5e04b03bdfd97005d808 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:22:48 -0400
+Subject: Trac #29665: add Gentoo package information for backcall.
+
+---
+ build/pkgs/backcall/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/backcall/distros/gentoo.txt
+
+diff --git a/build/pkgs/backcall/distros/gentoo.txt b/build/pkgs/backcall/distros/gentoo.txt
+new file mode 100644
+index 00000000..266a222
+--- /dev/null
++++ b/build/pkgs/backcall/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/backcall
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9ef3ea42d4a33c7cdb623fa5417ae300cf323183 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:25:10 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for backcall.
+
+---
+ build/pkgs/backcall/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/backcall/spkg-configure.m4
+
+diff --git a/build/pkgs/backcall/spkg-configure.m4 b/build/pkgs/backcall/spkg-configure.m4
+new file mode 100644
+index 00000000..d6b11c4
+--- /dev/null
++++ b/build/pkgs/backcall/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([backcall], [SAGE_PYTHON_PACKAGE_CHECK([backcall])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1b3ea2a3c40fea0fb58435f5e5304368ea58dff8 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:25:58 -0400
+Subject: Trac #29665: add Gentoo package information for parso.
+
+---
+ build/pkgs/parso/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/parso/distros/gentoo.txt
+
+diff --git a/build/pkgs/parso/distros/gentoo.txt b/build/pkgs/parso/distros/gentoo.txt
+new file mode 100644
+index 00000000..f9ce4c7
+--- /dev/null
++++ b/build/pkgs/parso/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/parso
+-- 
+cgit v1.0-1-gd88e
+
+
+From 963a3a2c563ec71a1f5be2395722d0e824cb0b11 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:26:22 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for parso.
+
+---
+ build/pkgs/parso/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/parso/spkg-configure.m4
+
+diff --git a/build/pkgs/parso/spkg-configure.m4 b/build/pkgs/parso/spkg-configure.m4
+new file mode 100644
+index 00000000..1ca6f1b
+--- /dev/null
++++ b/build/pkgs/parso/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([parso], [SAGE_PYTHON_PACKAGE_CHECK([parso])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 943053dfc474b6549bcc7d6ef2971ea43588b35c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:27:00 -0400
+Subject: Trac #29665: add Gentoo package information for pyparsing.
+
+---
+ build/pkgs/pyparsing/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pyparsing/distros/gentoo.txt
+
+diff --git a/build/pkgs/pyparsing/distros/gentoo.txt b/build/pkgs/pyparsing/distros/gentoo.txt
+new file mode 100644
+index 00000000..ef0419f
+--- /dev/null
++++ b/build/pkgs/pyparsing/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pyparsing
+-- 
+cgit v1.0-1-gd88e
+
+
+From bd682eaa2ac41dd84e7a52e2b0c5442fc8fd8919 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 3 Nov 2021 19:27:30 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pyparsing.
+
+---
+ build/pkgs/pyparsing/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pyparsing/spkg-configure.m4
+
+diff --git a/build/pkgs/pyparsing/spkg-configure.m4 b/build/pkgs/pyparsing/spkg-configure.m4
+new file mode 100644
+index 00000000..d2b4c00
+--- /dev/null
++++ b/build/pkgs/pyparsing/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pyparsing], [SAGE_PYTHON_PACKAGE_CHECK([pyparsing])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 74f36a9c0ec7c63b7e6c40066e42f4b15c2f978e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:17:42 -0400
+Subject: Trac #29665: add Gentoo package information for debugpy.
+
+---
+ build/pkgs/debugpy/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/debugpy/distros/gentoo.txt
+
+diff --git a/build/pkgs/debugpy/distros/gentoo.txt b/build/pkgs/debugpy/distros/gentoo.txt
+new file mode 100644
+index 00000000..8b797ce
+--- /dev/null
++++ b/build/pkgs/debugpy/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/debugpy
+-- 
+cgit v1.0-1-gd88e
+
+
+From be072fa87ac5c373d9dc9b54c0bd68734d5709bc Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:21:17 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for debugpy.
+
+---
+ build/pkgs/debugpy/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/debugpy/spkg-configure.m4
+
+diff --git a/build/pkgs/debugpy/spkg-configure.m4 b/build/pkgs/debugpy/spkg-configure.m4
+new file mode 100644
+index 00000000..db605ff
+--- /dev/null
++++ b/build/pkgs/debugpy/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([debugpy], [SAGE_PYTHON_PACKAGE_CHECK([debugpy])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6f777ce2f2e14b94e91c8b7bbac82f9017460aba Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:23:56 -0400
+Subject: Trac #29665: add Gentoo package information for tzlocal.
+
+---
+ build/pkgs/tzlocal/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tzlocal/distros/gentoo.txt
+
+diff --git a/build/pkgs/tzlocal/distros/gentoo.txt b/build/pkgs/tzlocal/distros/gentoo.txt
+new file mode 100644
+index 00000000..2018442
+--- /dev/null
++++ b/build/pkgs/tzlocal/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/tzlocal
+-- 
+cgit v1.0-1-gd88e
+
+
+From 3bd078fc15ae13982249452711baafae91038191 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:24:51 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for tzlocal.
+
+---
+ build/pkgs/tzlocal/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tzlocal/spkg-configure.m4
+
+diff --git a/build/pkgs/tzlocal/spkg-configure.m4 b/build/pkgs/tzlocal/spkg-configure.m4
+new file mode 100644
+index 00000000..e020b28
+--- /dev/null
++++ b/build/pkgs/tzlocal/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([tzlocal], [SAGE_PYTHON_PACKAGE_CHECK([tzlocal])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 91b0882fc62214923da9ee7b6dccb05d8a1d11d1 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:26:13 -0400
+Subject: Trac #29665: add Gentoo package information for pycparser.
+
+---
+ build/pkgs/pycparser/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pycparser/distros/gentoo.txt
+
+diff --git a/build/pkgs/pycparser/distros/gentoo.txt b/build/pkgs/pycparser/distros/gentoo.txt
+new file mode 100644
+index 00000000..5e87307
+--- /dev/null
++++ b/build/pkgs/pycparser/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pycparser
+-- 
+cgit v1.0-1-gd88e
+
+
+From beabde92fe6e057faf516fe82d27f1e903e55ce6 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:27:27 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pycparser.
+
+---
+ build/pkgs/pycparser/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pycparser/spkg-configure.m4
+
+diff --git a/build/pkgs/pycparser/spkg-configure.m4 b/build/pkgs/pycparser/spkg-configure.m4
+new file mode 100644
+index 00000000..4b9b900
+--- /dev/null
++++ b/build/pkgs/pycparser/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pycparser], [SAGE_PYTHON_PACKAGE_CHECK([pycparser])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 86c2788dc7fd1169314e9598c91fa81045553677 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:29:36 -0400
+Subject: Trac #29665: add Gentoo package information for cycler.
+
+---
+ build/pkgs/cycler/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/cycler/distros/gentoo.txt
+
+diff --git a/build/pkgs/cycler/distros/gentoo.txt b/build/pkgs/cycler/distros/gentoo.txt
+new file mode 100644
+index 00000000..4b21543
+--- /dev/null
++++ b/build/pkgs/cycler/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/cycler
+-- 
+cgit v1.0-1-gd88e
+
+
+From 67c5a944101ddf329f0a61c61d4e784f58a5c5b0 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:30:27 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for cycler.
+
+---
+ build/pkgs/cycler/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/cycler/spkg-configure.m4
+
+diff --git a/build/pkgs/cycler/spkg-configure.m4 b/build/pkgs/cycler/spkg-configure.m4
+new file mode 100644
+index 00000000..239571a
+--- /dev/null
++++ b/build/pkgs/cycler/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([cycler], [SAGE_PYTHON_PACKAGE_CHECK([cycler])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From ef6d490251abfa41f7a0910274700a8a6a65f629 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:31:19 -0400
+Subject: Trac #29665: add Gentoo package information for traitlets.
+
+---
+ build/pkgs/traitlets/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/traitlets/distros/gentoo.txt
+
+diff --git a/build/pkgs/traitlets/distros/gentoo.txt b/build/pkgs/traitlets/distros/gentoo.txt
+new file mode 100644
+index 00000000..46bfaab
+--- /dev/null
++++ b/build/pkgs/traitlets/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/traitlets
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1f922b458d34088d9f6773312209e69f19ee45dc Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:31:50 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for traitlets.
+
+---
+ build/pkgs/traitlets/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/traitlets/spkg-configure.m4
+
+diff --git a/build/pkgs/traitlets/spkg-configure.m4 b/build/pkgs/traitlets/spkg-configure.m4
+new file mode 100644
+index 00000000..df2382b
+--- /dev/null
++++ b/build/pkgs/traitlets/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([traitlets], [SAGE_PYTHON_PACKAGE_CHECK([traitlets])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 95b89a9ced0acb6d971a27fa63b97ea58a11f4e1 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:33:35 -0400
+Subject: Trac #29665: add Gentoo package information for argcomplete.
+
+---
+ build/pkgs/argcomplete/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/argcomplete/distros/gentoo.txt
+
+diff --git a/build/pkgs/argcomplete/distros/gentoo.txt b/build/pkgs/argcomplete/distros/gentoo.txt
+new file mode 100644
+index 00000000..b150949
+--- /dev/null
++++ b/build/pkgs/argcomplete/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/argcomplete
+-- 
+cgit v1.0-1-gd88e
+
+
+From b4cd8ef384e6e5bae0de0f3c113fb5f9e6e1a71e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:34:14 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for argcomplete.
+
+---
+ build/pkgs/argcomplete/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/argcomplete/spkg-configure.m4
+
+diff --git a/build/pkgs/argcomplete/spkg-configure.m4 b/build/pkgs/argcomplete/spkg-configure.m4
+new file mode 100644
+index 00000000..cbd7ccf
+--- /dev/null
++++ b/build/pkgs/argcomplete/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([argcomplete], [SAGE_PYTHON_PACKAGE_CHECK([argcomplete])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 4cc610e8331970cc018d7ea87af928fa73a292c1 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:36:21 -0400
+Subject: Trac #29665: add Gentoo package information for ptyprocess.
+
+---
+ build/pkgs/ptyprocess/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ptyprocess/distros/gentoo.txt
+
+diff --git a/build/pkgs/ptyprocess/distros/gentoo.txt b/build/pkgs/ptyprocess/distros/gentoo.txt
+new file mode 100644
+index 00000000..571a851
+--- /dev/null
++++ b/build/pkgs/ptyprocess/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ptyprocess
+-- 
+cgit v1.0-1-gd88e
+
+
+From cd15f97221bf5933b07900e4f77cb55401eede26 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:37:02 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for ptyprocess.
+
+---
+ build/pkgs/ptyprocess/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ptyprocess/spkg-configure.m4
+
+diff --git a/build/pkgs/ptyprocess/spkg-configure.m4 b/build/pkgs/ptyprocess/spkg-configure.m4
+new file mode 100644
+index 00000000..bfacbae
+--- /dev/null
++++ b/build/pkgs/ptyprocess/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([ptyprocess], [SAGE_PYTHON_PACKAGE_CHECK([ptyprocess])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From bb5f45b15f99e4ba28e1b1f6042a0e8ea17f1dfc Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:38:22 -0400
+Subject: Trac #29665: add Gentoo package information for attrs.
+
+---
+ build/pkgs/attrs/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/attrs/distros/gentoo.txt
+
+diff --git a/build/pkgs/attrs/distros/gentoo.txt b/build/pkgs/attrs/distros/gentoo.txt
+new file mode 100644
+index 00000000..3b906fa
+--- /dev/null
++++ b/build/pkgs/attrs/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/attrs
+-- 
+cgit v1.0-1-gd88e
+
+
+From 321707ebf8e9af1e4ac3a5b5b094b4226bb3a7a5 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:38:55 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for attrs.
+
+---
+ build/pkgs/attrs/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/attrs/spkg-configure.m4
+
+diff --git a/build/pkgs/attrs/spkg-configure.m4 b/build/pkgs/attrs/spkg-configure.m4
+new file mode 100644
+index 00000000..ba6a9b7
+--- /dev/null
++++ b/build/pkgs/attrs/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([attrs], [SAGE_PYTHON_PACKAGE_CHECK([attrs])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 69a498a4e8854ecdfc2f1a134104983c0dcb9e32 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:40:09 -0400
+Subject: Trac #29665: add Gentoo package information for send2trash.
+
+---
+ build/pkgs/send2trash/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/send2trash/distros/gentoo.txt
+
+diff --git a/build/pkgs/send2trash/distros/gentoo.txt b/build/pkgs/send2trash/distros/gentoo.txt
+new file mode 100644
+index 00000000..a89b179
+--- /dev/null
++++ b/build/pkgs/send2trash/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/send2trash
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9baed17c84e1bdf5abd17c20766e5cd7dddc5b53 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:41:45 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for send2trash.
+
+---
+ build/pkgs/send2trash/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/send2trash/spkg-configure.m4
+
+diff --git a/build/pkgs/send2trash/spkg-configure.m4 b/build/pkgs/send2trash/spkg-configure.m4
+new file mode 100644
+index 00000000..3bbb727
+--- /dev/null
++++ b/build/pkgs/send2trash/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([send2trash], [SAGE_PYTHON_PACKAGE_CHECK([send2trash])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From b9b552b2a2aaccaeb7c5b25be0b681f107522d09 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:43:27 -0400
+Subject: Trac #29665: add Gentoo package information for pyrsistent.
+
+---
+ build/pkgs/pyrsistent/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pyrsistent/distros/gentoo.txt
+
+diff --git a/build/pkgs/pyrsistent/distros/gentoo.txt b/build/pkgs/pyrsistent/distros/gentoo.txt
+new file mode 100644
+index 00000000..83439ce
+--- /dev/null
++++ b/build/pkgs/pyrsistent/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pyrsistent
+-- 
+cgit v1.0-1-gd88e
+
+
+From a17b31fac6104852762f57daa749443147bdf121 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:44:03 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for pyrsistent.
+
+---
+ build/pkgs/pyrsistent/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pyrsistent/spkg-configure.m4
+
+diff --git a/build/pkgs/pyrsistent/spkg-configure.m4 b/build/pkgs/pyrsistent/spkg-configure.m4
+new file mode 100644
+index 00000000..f7ca75d
+--- /dev/null
++++ b/build/pkgs/pyrsistent/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pyrsistent], [SAGE_PYTHON_PACKAGE_CHECK([pyrsistent])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 68520decad6d6937918d7a6af65ca5bd476e5d02 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:45:45 -0400
+Subject: Trac #29665: add Gentoo package information for entrypoints.
+
+---
+ build/pkgs/entrypoints/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/entrypoints/distros/gentoo.txt
+
+diff --git a/build/pkgs/entrypoints/distros/gentoo.txt b/build/pkgs/entrypoints/distros/gentoo.txt
+new file mode 100644
+index 00000000..684ddd0
+--- /dev/null
++++ b/build/pkgs/entrypoints/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/entrypoints
+-- 
+cgit v1.0-1-gd88e
+
+
+From 34213eccb642a6bad64d89acaefa83ee702cb483 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:46:24 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for entrypoints.
+
+---
+ build/pkgs/entrypoints/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/entrypoints/spkg-configure.m4
+
+diff --git a/build/pkgs/entrypoints/spkg-configure.m4 b/build/pkgs/entrypoints/spkg-configure.m4
+new file mode 100644
+index 00000000..caed658
+--- /dev/null
++++ b/build/pkgs/entrypoints/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([entrypoints], [SAGE_PYTHON_PACKAGE_CHECK([entrypoints])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 8e985614345da1a58fcdc127a9c0ddd790f9b5d2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:48:26 -0400
+Subject: Trac #29665: add Gentoo package information for markupsafe.
+
+---
+ build/pkgs/markupsafe/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/markupsafe/distros/gentoo.txt
+
+diff --git a/build/pkgs/markupsafe/distros/gentoo.txt b/build/pkgs/markupsafe/distros/gentoo.txt
+new file mode 100644
+index 00000000..9654e35
+--- /dev/null
++++ b/build/pkgs/markupsafe/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/markupsafe
+-- 
+cgit v1.0-1-gd88e
+
+
+From d370f229ae0988856f2e0d1f6ee2df2c47169106 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 4 Nov 2021 18:48:55 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for markupsafe.
+
+---
+ build/pkgs/markupsafe/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/markupsafe/spkg-configure.m4
+
+diff --git a/build/pkgs/markupsafe/spkg-configure.m4 b/build/pkgs/markupsafe/spkg-configure.m4
+new file mode 100644
+index 00000000..79eb8db
+--- /dev/null
++++ b/build/pkgs/markupsafe/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([markupsafe], [SAGE_PYTHON_PACKAGE_CHECK([markupsafe])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From c49b285ad9e25e6bc81a7e75d461d234fdd3ea68 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:30:49 -0400
+Subject: Trac #29665: add Gentoo package information for flit_core.
+
+---
+ build/pkgs/flit_core/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/flit_core/distros/gentoo.txt
+
+diff --git a/build/pkgs/flit_core/distros/gentoo.txt b/build/pkgs/flit_core/distros/gentoo.txt
+new file mode 100644
+index 00000000..fe6bea9
+--- /dev/null
++++ b/build/pkgs/flit_core/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/flit_core
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5b0ce1c4f23cd9fc4316e1eb2b9b4bde394957f3 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:32:11 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for flit_core.
+
+---
+ build/pkgs/flit_core/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/flit_core/spkg-configure.m4
+
+diff --git a/build/pkgs/flit_core/spkg-configure.m4 b/build/pkgs/flit_core/spkg-configure.m4
+new file mode 100644
+index 00000000..ee67557
+--- /dev/null
++++ b/build/pkgs/flit_core/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([flit_core], [SAGE_PYTHON_PACKAGE_CHECK([flit_core])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f006c231a81428b1e1e792f889bf974f90e3c831 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:34:06 -0400
+Subject: Trac #29665: add Gentoo package information for nest_asyncio.
+
+---
+ build/pkgs/nest_asyncio/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nest_asyncio/distros/gentoo.txt
+
+diff --git a/build/pkgs/nest_asyncio/distros/gentoo.txt b/build/pkgs/nest_asyncio/distros/gentoo.txt
+new file mode 100644
+index 00000000..ab742d2
+--- /dev/null
++++ b/build/pkgs/nest_asyncio/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/nest_asyncio
+-- 
+cgit v1.0-1-gd88e
+
+
+From 4a58d0a96a84475e765a01a64f5f44c48a317e0b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:34:43 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for nest_asyncio.
+
+---
+ build/pkgs/nest_asyncio/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nest_asyncio/spkg-configure.m4
+
+diff --git a/build/pkgs/nest_asyncio/spkg-configure.m4 b/build/pkgs/nest_asyncio/spkg-configure.m4
+new file mode 100644
+index 00000000..4d81527
+--- /dev/null
++++ b/build/pkgs/nest_asyncio/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([nest_asyncio], [SAGE_PYTHON_PACKAGE_CHECK([nest_asyncio])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From e50af937777ea778908bc09a7a79db3dd80fdf25 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:37:02 -0400
+Subject: Trac #29665: add Gentoo package information for ipython_genutils.
+
+---
+ build/pkgs/ipython_genutils/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipython_genutils/distros/gentoo.txt
+
+diff --git a/build/pkgs/ipython_genutils/distros/gentoo.txt b/build/pkgs/ipython_genutils/distros/gentoo.txt
+new file mode 100644
+index 00000000..01bc49d
+--- /dev/null
++++ b/build/pkgs/ipython_genutils/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ipython_genutils
+-- 
+cgit v1.0-1-gd88e
+
+
+From ec3c0ce9db2ba13c1a49d1bcfb7a4b249cb7ae83 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:39:20 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for ipython_genutils.
+
+---
+ build/pkgs/ipython_genutils/spkg-configure.m4 | 4 ++++
+ 1 file changed, 4 insertions(+)
+ create mode 100644 build/pkgs/ipython_genutils/spkg-configure.m4
+
+diff --git a/build/pkgs/ipython_genutils/spkg-configure.m4 b/build/pkgs/ipython_genutils/spkg-configure.m4
+new file mode 100644
+index 00000000..b0ba86a
+--- /dev/null
++++ b/build/pkgs/ipython_genutils/spkg-configure.m4
+@@ -0,0 +1,4 @@
++SAGE_SPKG_CONFIGURE(
++  [ipython_genutils],
++  [SAGE_PYTHON_PACKAGE_CHECK([ipython_genutils])]
++)
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5c9e2e265115e5f10d4b459a475467e30b4bddde Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 06:40:03 -0400
+Subject: Trac #29665: add Gentoo package information for ipython.
+
+---
+ build/pkgs/ipython/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipython/distros/gentoo.txt
+
+diff --git a/build/pkgs/ipython/distros/gentoo.txt b/build/pkgs/ipython/distros/gentoo.txt
+new file mode 100644
+index 00000000..8b76f18
+--- /dev/null
++++ b/build/pkgs/ipython/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ipython
+-- 
+cgit v1.0-1-gd88e
+
+
+From 621e707ddd040a902d7dddf0bed1de2b54ab22f2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 07:37:56 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for ipython.
+
+---
+ build/pkgs/ipython/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipython/spkg-configure.m4
+
+diff --git a/build/pkgs/ipython/spkg-configure.m4 b/build/pkgs/ipython/spkg-configure.m4
+new file mode 100644
+index 00000000..02ab89f
+--- /dev/null
++++ b/build/pkgs/ipython/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([ipython], [SAGE_PYTHON_PACKAGE_CHECK([ipython])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 20a0613f6d441da436f3e7b8047a72bf490882bd Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 07:51:11 -0400
+Subject: Trac #29665: standard python spkg-configure.m4 for ipywidgets.
+
+---
+ build/pkgs/ipywidgets/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipywidgets/spkg-configure.m4
+
+diff --git a/build/pkgs/ipywidgets/spkg-configure.m4 b/build/pkgs/ipywidgets/spkg-configure.m4
+new file mode 100644
+index 00000000..51ca9be
+--- /dev/null
++++ b/build/pkgs/ipywidgets/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([ipywidgets], [SAGE_PYTHON_PACKAGE_CHECK([ipywidgets])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 76bcd386633acc02a1a3026339d0cbd258ada04e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 5 Nov 2021 10:05:16 -0400
+Subject: Trac #29665: add Gentoo package information for wheel.
+
+---
+ build/pkgs/wheel/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/wheel/distros/gentoo.txt
+
+diff --git a/build/pkgs/wheel/distros/gentoo.txt b/build/pkgs/wheel/distros/gentoo.txt
+new file mode 100644
+index 00000000..ec571d5
+--- /dev/null
++++ b/build/pkgs/wheel/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/wheel
+-- 
+cgit v1.0-1-gd88e
+
+
+From 96c2dd2ca7812f5333bb9d45eadb7ac408e364ce Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 08:51:44 -0500
+Subject: Trac #29665: add Gentoo package information for terminado.
+
+---
+ build/pkgs/terminado/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/terminado/distros/gentoo.txt
+
+diff --git a/build/pkgs/terminado/distros/gentoo.txt b/build/pkgs/terminado/distros/gentoo.txt
+new file mode 100644
+index 00000000..1df16f1
+--- /dev/null
++++ b/build/pkgs/terminado/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/terminado
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0de0f5f3d235a4339b21e37ea13c9f5e59a82e59 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 08:52:35 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for terminado.
+
+---
+ build/pkgs/terminado/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/terminado/spkg-configure.m4
+
+diff --git a/build/pkgs/terminado/spkg-configure.m4 b/build/pkgs/terminado/spkg-configure.m4
+new file mode 100644
+index 00000000..5defc2f
+--- /dev/null
++++ b/build/pkgs/terminado/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([terminado], [SAGE_PYTHON_PACKAGE_CHECK([terminado])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From d14a745c770b02822557e7cee0a98de1cb2f3a12 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 08:56:15 -0500
+Subject: Trac #29665: add Gentoo package information for cffi.
+
+---
+ build/pkgs/cffi/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/cffi/distros/gentoo.txt
+
+diff --git a/build/pkgs/cffi/distros/gentoo.txt b/build/pkgs/cffi/distros/gentoo.txt
+new file mode 100644
+index 00000000..81eeb81
+--- /dev/null
++++ b/build/pkgs/cffi/distros/gentoo.txt
+@@ -0,0 +1 @@
++virtual/python-cffi
+-- 
+cgit v1.0-1-gd88e
+
+
+From ce393c04afc69fe050e38f780d4e117164687d80 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 08:57:04 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for cffi.
+
+---
+ build/pkgs/cffi/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/cffi/spkg-configure.m4
+
+diff --git a/build/pkgs/cffi/spkg-configure.m4 b/build/pkgs/cffi/spkg-configure.m4
+new file mode 100644
+index 00000000..dc81875
+--- /dev/null
++++ b/build/pkgs/cffi/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([cffi], [SAGE_PYTHON_PACKAGE_CHECK([cffi])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 467093315b3fdd57c8caa2f95cf99ad52b0b84fb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 08:57:57 -0500
+Subject: Trac #29665: add Gentoo package information for pip.
+
+---
+ build/pkgs/pip/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pip/distros/gentoo.txt
+
+diff --git a/build/pkgs/pip/distros/gentoo.txt b/build/pkgs/pip/distros/gentoo.txt
+new file mode 100644
+index 00000000..1845454
+--- /dev/null
++++ b/build/pkgs/pip/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pip[vanilla]
+-- 
+cgit v1.0-1-gd88e
+
+
+From c597fd23f9f68dabbcb7e698d0569c3e6458f6d1 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 09:07:26 -0500
+Subject: Trac #29665: new spkg-configure.m4 for pip.
+
+---
+ build/pkgs/pip/spkg-configure.m4 | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+ create mode 100644 build/pkgs/pip/spkg-configure.m4
+
+diff --git a/build/pkgs/pip/spkg-configure.m4 b/build/pkgs/pip/spkg-configure.m4
+new file mode 100644
+index 00000000..c7a5562
+--- /dev/null
++++ b/build/pkgs/pip/spkg-configure.m4
+@@ -0,0 +1,12 @@
++SAGE_SPKG_CONFIGURE([pip], [
++  dnl always run this macro because it changes the default value of
++  dnl the --with-system-<package> option.
++  SAGE_PYTHON_PACKAGE_CHECK([pip])
++
++  dnl if we might not install the spkg, make sure that "pip" is in
++  dnl the user's PATH, too.
++  AS_IF([test "x$sage_spkg_install_pip" != "xyes"], [
++    AC_CHECK_PROG(HAVE_PIP, pip, yes, no)
++    AS_IF([test "x$HAVE_PIP" = "xno"], [sage_spkg_install_pip=yes])
++  ])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From ef8f1e807bc55d7b8321777486fa867a7c135419 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 9 Nov 2021 09:09:04 -0500
+Subject: Trac #29665: set $SAGE_PIP_INSTALL_FLAGS for
+ --enable-system-site-packages.
+
+We need to pass some special flags to "pip install" to make it do the
+right thing in the precence of system-site packages. Here we introduce
+a new autoconf variable, SAGE_PIP_INSTALL_FLAGS, that will be used
+to pass those flags to the build system.
+
+With autoconf aware of the variable, we substitute its value into the
+sage-build-env-config script for use in spkg-install.in.
+---
+ build/bin/sage-build-env-config.in | 1 +
+ configure.ac                       | 9 +++++++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/build/bin/sage-build-env-config.in b/build/bin/sage-build-env-config.in
+index 92e7dad..ad62e5f 100644
+--- a/build/bin/sage-build-env-config.in
++++ b/build/bin/sage-build-env-config.in
+@@ -53,6 +53,7 @@ export SAGE_PARI_CFG="@SAGE_PARI_CFG@"
+ 
+ export SAGE_GLPK_PREFIX="@SAGE_GLPK_PREFIX@"
+ export SAGE_FREETYPE_PREFIX="@SAGE_FREETYPE_PREFIX@"
++export SAGE_PIP_INSTALL_FLAGS="@SAGE_PIP_INSTALL_FLAGS@"
+ export SAGE_SUITESPARSE_PREFIX="@SAGE_SUITESPARSE_PREFIX@"
+ 
+ export SAGE_CONFIGURE_FFLAS_FFPACK="@SAGE_CONFIGURE_FFLAS_FFPACK@"
+diff --git a/configure.ac b/configure.ac
+index 6fafb83..6ed07ac 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -441,6 +441,14 @@ AC_ARG_ENABLE(
+     [allow the use of python packages from the system (experimental; default: no)]
+   )], [
+   AS_IF([test "x$enable_system_site_packages" = "xyes"], [
++    dnl When installing python SPKGs in the presence of system-site
++    dnl packages, we need to --ignore-installed so that a patched SPKG
++    dnl can be installed in the presence of an unpatched system package
++    dnl that appears (to pip) to be identical. The --no-deps flag is
++    dnl then needed because --ignore-installed will make any installed
++    dnl dependencies invisible to pip, who does not appreciate that.
++    SAGE_PIP_INSTALL_FLAGS="${SAGE_PIP_INSTALL_FLAGS} --no-deps --ignore-installed"
++
+     SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
+ 
+     dnl We want to raise an error if the user asked for "system site
+@@ -453,6 +461,7 @@ AC_ARG_ENABLE(
+     with_system_python3="force"
+   ])
+ ])
++AC_SUBST([SAGE_PIP_INSTALL_FLAGS])
+ AC_SUBST([SAGE_VENV_FLAGS])
+ 
+ SAGE_SPKG_OPTIONS=""
+-- 
+cgit v1.0-1-gd88e
+
+
+From 3cf365fef84e809e74abd2eb388e7a8e9af9d739 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 9 Nov 2021 21:01:58 -0500
+Subject: Trac #29665: pass $SAGE_PIP_INSTALL_FLAGS to sdh_pip_install.
+
+Since sdh_pip_install is usually called from spkg-install.in, the
+variables from sage-build-env-config will be available. Here we pass
+the contents of $SAGE_PIP_INSTALL_FLAGS to sage-pip-install
+unconditionally, and hope that the user ignores this variable unless
+he truly knows what he is doing.
+---
+ build/bin/sage-dist-helpers | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/build/bin/sage-dist-helpers b/build/bin/sage-dist-helpers
+index fe364e5..1032ac3 100644
+--- a/build/bin/sage-dist-helpers
++++ b/build/bin/sage-dist-helpers
+@@ -303,7 +303,11 @@ sdh_store_wheel() {
+ }
+ 
+ sdh_store_and_pip_install_wheel() {
+-    local pip_options=""
++    # The $SAGE_PIP_INSTALL_FLAGS variable is set by sage-build-env-config.
++    # We skip sanity checking its contents since you should either let sage
++    # decide what it contains, or really know what you are doing.
++    local pip_options="${SAGE_PIP_INSTALL_FLAGS}"
++
+     while [ $# -gt 0 ]; do
+         case $1 in
+             -*) pip_options="$pip_options $1"
+-- 
+cgit v1.0-1-gd88e
+
+
+From 50f0438ee857b8f0b7d7ad924e6bba9c5e1bc033 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:10:46 -0500
+Subject: Trac #29665: add Gentoo package information for pexpect.
+
+---
+ build/pkgs/pexpect/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pexpect/distros/gentoo.txt
+
+diff --git a/build/pkgs/pexpect/distros/gentoo.txt b/build/pkgs/pexpect/distros/gentoo.txt
+new file mode 100644
+index 00000000..30c4b60
+--- /dev/null
++++ b/build/pkgs/pexpect/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pexpect
+-- 
+cgit v1.0-1-gd88e
+
+
+From 4d784688d997290b462646fa7f36114a41f3f453 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:11:25 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for pexpect.
+
+---
+ build/pkgs/pexpect/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pexpect/spkg-configure.m4
+
+diff --git a/build/pkgs/pexpect/spkg-configure.m4 b/build/pkgs/pexpect/spkg-configure.m4
+new file mode 100644
+index 00000000..6520856
+--- /dev/null
++++ b/build/pkgs/pexpect/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pexpect], [SAGE_PYTHON_PACKAGE_CHECK([pexpect])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6447122dc76a3b7a58340dbed942db66530b5b07 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:12:05 -0500
+Subject: Trac #29665: add Gentoo package information for docutils.
+
+---
+ build/pkgs/docutils/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/docutils/distros/gentoo.txt
+
+diff --git a/build/pkgs/docutils/distros/gentoo.txt b/build/pkgs/docutils/distros/gentoo.txt
+new file mode 100644
+index 00000000..fe4a452
+--- /dev/null
++++ b/build/pkgs/docutils/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/docutils
+-- 
+cgit v1.0-1-gd88e
+
+
+From 709041480a5fc729b0ee7f1a8a3b16d4d65321b5 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:12:38 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for docutils.
+
+---
+ build/pkgs/docutils/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/docutils/spkg-configure.m4
+
+diff --git a/build/pkgs/docutils/spkg-configure.m4 b/build/pkgs/docutils/spkg-configure.m4
+new file mode 100644
+index 00000000..3584e45
+--- /dev/null
++++ b/build/pkgs/docutils/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([docutils], [SAGE_PYTHON_PACKAGE_CHECK([docutils])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 782d38b48ab87afccc43fbc071e7b7ed48fb0a20 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:14:37 -0500
+Subject: Trac #29665: add Gentoo package information for nbclient.
+
+---
+ build/pkgs/nbclient/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbclient/distros/gentoo.txt
+
+diff --git a/build/pkgs/nbclient/distros/gentoo.txt b/build/pkgs/nbclient/distros/gentoo.txt
+new file mode 100644
+index 00000000..06ff18d
+--- /dev/null
++++ b/build/pkgs/nbclient/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/nbclient
+-- 
+cgit v1.0-1-gd88e
+
+
+From 19ce09336532336f69db74381932d51a429dfaca Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:15:11 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for nbclient.
+
+---
+ build/pkgs/nbclient/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbclient/spkg-configure.m4
+
+diff --git a/build/pkgs/nbclient/spkg-configure.m4 b/build/pkgs/nbclient/spkg-configure.m4
+new file mode 100644
+index 00000000..14178b7
+--- /dev/null
++++ b/build/pkgs/nbclient/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([nbclient], [SAGE_PYTHON_PACKAGE_CHECK([nbclient])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From c063b9de42c1780368000a563d0dbe80b6fff169 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:17:36 -0500
+Subject: Trac #29665: add Gentoo package information for argon2_cffi.
+
+---
+ build/pkgs/argon2_cffi/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/argon2_cffi/distros/gentoo.txt
+
+diff --git a/build/pkgs/argon2_cffi/distros/gentoo.txt b/build/pkgs/argon2_cffi/distros/gentoo.txt
+new file mode 100644
+index 00000000..2f12ca8
+--- /dev/null
++++ b/build/pkgs/argon2_cffi/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/argon2-cffi
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0b4d5699dd51ea52550fba7db9e1cbb8bbac1892 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 13:18:35 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for argon2_cffi.
+
+---
+ build/pkgs/argon2_cffi/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/argon2_cffi/spkg-configure.m4
+
+diff --git a/build/pkgs/argon2_cffi/spkg-configure.m4 b/build/pkgs/argon2_cffi/spkg-configure.m4
+new file mode 100644
+index 00000000..03ebc63
+--- /dev/null
++++ b/build/pkgs/argon2_cffi/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([argon2_cffi], [SAGE_PYTHON_PACKAGE_CHECK([argon2_cffi])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 2b4119558a6e0b1aa512848539a237676b035c83 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:30:48 -0500
+Subject: Trac #29665: fix package name in dateutil's install-requires.txt.
+
+---
+ build/pkgs/dateutil/install-requires.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build/pkgs/dateutil/install-requires.txt b/build/pkgs/dateutil/install-requires.txt
+index 0ae93da..face537 100644
+--- a/build/pkgs/dateutil/install-requires.txt
++++ b/build/pkgs/dateutil/install-requires.txt
+@@ -1 +1 @@
+-dateutil >=2.8.1
++python-dateutil >=2.8.1
+-- 
+cgit v1.0-1-gd88e
+
+
+From df371b7c4d20a3353d43940306ad22e11aba29da Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:31:41 -0500
+Subject: Trac #29665: add Gentoo package information for dateutil.
+
+---
+ build/pkgs/dateutil/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/dateutil/distros/gentoo.txt
+
+diff --git a/build/pkgs/dateutil/distros/gentoo.txt b/build/pkgs/dateutil/distros/gentoo.txt
+new file mode 100644
+index 00000000..e129df7
+--- /dev/null
++++ b/build/pkgs/dateutil/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/python-dateutil
+-- 
+cgit v1.0-1-gd88e
+
+
+From 577695dfdf661ee26c0ffd767bdbf479d95f7fb4 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:32:21 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for dateutil.
+
+---
+ build/pkgs/dateutil/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/dateutil/spkg-configure.m4
+
+diff --git a/build/pkgs/dateutil/spkg-configure.m4 b/build/pkgs/dateutil/spkg-configure.m4
+new file mode 100644
+index 00000000..fdcd127
+--- /dev/null
++++ b/build/pkgs/dateutil/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([dateutil], [SAGE_PYTHON_PACKAGE_CHECK([dateutil])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1984651caac624ec4bb58814ca1d57fe66f9881a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:33:51 -0500
+Subject: Trac #29665: add Gentoo package information for setuptools_scm.
+
+---
+ build/pkgs/setuptools_scm/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/setuptools_scm/distros/gentoo.txt
+
+diff --git a/build/pkgs/setuptools_scm/distros/gentoo.txt b/build/pkgs/setuptools_scm/distros/gentoo.txt
+new file mode 100644
+index 00000000..8989597
+--- /dev/null
++++ b/build/pkgs/setuptools_scm/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/setuptools_scm
+-- 
+cgit v1.0-1-gd88e
+
+
+From ebf7c854ed966e7353759be485c4f5a57b9a10fa Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:34:49 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for setuptools_scm.
+
+---
+ build/pkgs/setuptools_scm/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/setuptools_scm/spkg-configure.m4
+
+diff --git a/build/pkgs/setuptools_scm/spkg-configure.m4 b/build/pkgs/setuptools_scm/spkg-configure.m4
+new file mode 100644
+index 00000000..437148c
+--- /dev/null
++++ b/build/pkgs/setuptools_scm/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([setuptools_scm], [
++  SAGE_PYTHON_PACKAGE_CHECK([setuptools_scm])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0dee0d0c28f31b1f619e44c710a3c9e22d2b2544 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:36:33 -0500
+Subject: Trac #29665: add Gentoo package information for nbconvert.
+
+---
+ build/pkgs/nbconvert/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbconvert/distros/gentoo.txt
+
+diff --git a/build/pkgs/nbconvert/distros/gentoo.txt b/build/pkgs/nbconvert/distros/gentoo.txt
+new file mode 100644
+index 00000000..6c45a10
+--- /dev/null
++++ b/build/pkgs/nbconvert/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/nbconvert
+-- 
+cgit v1.0-1-gd88e
+
+
+From 473789eb11b1838bc32dc8a63509ee199afc8912 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:37:37 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for nbconvert.
+
+---
+ build/pkgs/nbconvert/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/nbconvert/spkg-configure.m4
+
+diff --git a/build/pkgs/nbconvert/spkg-configure.m4 b/build/pkgs/nbconvert/spkg-configure.m4
+new file mode 100644
+index 00000000..9b5dee3
+--- /dev/null
++++ b/build/pkgs/nbconvert/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([nbconvert], [SAGE_PYTHON_PACKAGE_CHECK([nbconvert])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From f0703b594e57c980d605aa9bc8316c45a7858b3b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:41:51 -0500
+Subject: Trac #29665: add Gentoo package information for jupyter_core.
+
+---
+ build/pkgs/jupyter_core/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jupyter_core/distros/gentoo.txt
+
+diff --git a/build/pkgs/jupyter_core/distros/gentoo.txt b/build/pkgs/jupyter_core/distros/gentoo.txt
+new file mode 100644
+index 00000000..f168c5a
+--- /dev/null
++++ b/build/pkgs/jupyter_core/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jupyter_core
+-- 
+cgit v1.0-1-gd88e
+
+
+From 061a307cc4a6680d8500fde834975064e59540d5 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:42:48 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for jupyter_core.
+
+---
+ build/pkgs/jupyter_core/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/jupyter_core/spkg-configure.m4
+
+diff --git a/build/pkgs/jupyter_core/spkg-configure.m4 b/build/pkgs/jupyter_core/spkg-configure.m4
+new file mode 100644
+index 00000000..67df9c3
+--- /dev/null
++++ b/build/pkgs/jupyter_core/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([jupyter_core], [
++  SAGE_PYTHON_PACKAGE_CHECK([jupyter_core])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From b85abe964ce0b98b5842efe9cbad9bdb1c89202f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:47:08 -0500
+Subject: Trac #29665: add Gentoo package information for jupyter_client.
+
+---
+ build/pkgs/jupyter_client/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jupyter_client/distros/gentoo.txt
+
+diff --git a/build/pkgs/jupyter_client/distros/gentoo.txt b/build/pkgs/jupyter_client/distros/gentoo.txt
+new file mode 100644
+index 00000000..4f1de88
+--- /dev/null
++++ b/build/pkgs/jupyter_client/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jupyter_client
+-- 
+cgit v1.0-1-gd88e
+
+
+From 86323ff1e0b2507933df6bc2a96c9175957640c5 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:48:04 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for jupyter_client.
+
+---
+ build/pkgs/jupyter_client/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/jupyter_client/spkg-configure.m4
+
+diff --git a/build/pkgs/jupyter_client/spkg-configure.m4 b/build/pkgs/jupyter_client/spkg-configure.m4
+new file mode 100644
+index 00000000..fbd3498
+--- /dev/null
++++ b/build/pkgs/jupyter_client/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([jupyter_client], [
++  SAGE_PYTHON_PACKAGE_CHECK([jupyter_client])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From a8475e27dd30d752d05ab6fea6579e8623501d82 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:48:58 -0500
+Subject: Trac #29665: add Gentoo package information for snowballstemmer.
+
+---
+ build/pkgs/snowballstemmer/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/snowballstemmer/distros/gentoo.txt
+
+diff --git a/build/pkgs/snowballstemmer/distros/gentoo.txt b/build/pkgs/snowballstemmer/distros/gentoo.txt
+new file mode 100644
+index 00000000..63fd851
+--- /dev/null
++++ b/build/pkgs/snowballstemmer/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/snowballstemmer
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0833c9b781062b4ed86d619e050a6f5d60e36080 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:49:38 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for snowballstemmer.
+
+---
+ build/pkgs/snowballstemmer/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/snowballstemmer/spkg-configure.m4
+
+diff --git a/build/pkgs/snowballstemmer/spkg-configure.m4 b/build/pkgs/snowballstemmer/spkg-configure.m4
+new file mode 100644
+index 00000000..6aa0882
+--- /dev/null
++++ b/build/pkgs/snowballstemmer/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([snowballstemmer], [
++  SAGE_PYTHON_PACKAGE_CHECK([snowballstemmer])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 50a1cf2a2bcd7eeec64cbc3f70e3e9fbe5d850fe Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:50:47 -0500
+Subject: Trac #29665: add Gentoo package information for tornado.
+
+---
+ build/pkgs/tornado/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tornado/distros/gentoo.txt
+
+diff --git a/build/pkgs/tornado/distros/gentoo.txt b/build/pkgs/tornado/distros/gentoo.txt
+new file mode 100644
+index 00000000..6ae4b9f
+--- /dev/null
++++ b/build/pkgs/tornado/distros/gentoo.txt
+@@ -0,0 +1 @@
++www-servers/tornado
+-- 
+cgit v1.0-1-gd88e
+
+
+From 118f4da6e03476c726363e8e22ecda32f13bfc33 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:51:26 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for tornado.
+
+---
+ build/pkgs/tornado/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/tornado/spkg-configure.m4
+
+diff --git a/build/pkgs/tornado/spkg-configure.m4 b/build/pkgs/tornado/spkg-configure.m4
+new file mode 100644
+index 00000000..1ee5bc9
+--- /dev/null
++++ b/build/pkgs/tornado/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([tornado], [SAGE_PYTHON_PACKAGE_CHECK([tornado])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 3850701747a6c8ef60840bdfdb589b28d4cd2b9a Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:52:21 -0500
+Subject: Trac #29665: add Gentoo package information for jsonschema.
+
+---
+ build/pkgs/jsonschema/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jsonschema/distros/gentoo.txt
+
+diff --git a/build/pkgs/jsonschema/distros/gentoo.txt b/build/pkgs/jsonschema/distros/gentoo.txt
+new file mode 100644
+index 00000000..d708e4c
+--- /dev/null
++++ b/build/pkgs/jsonschema/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jsonschema
+-- 
+cgit v1.0-1-gd88e
+
+
+From 76e3917c8af781af00f642cfada7a79594429e30 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:54:03 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for jsonschema.
+
+---
+ build/pkgs/jsonschema/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jsonschema/spkg-configure.m4
+
+diff --git a/build/pkgs/jsonschema/spkg-configure.m4 b/build/pkgs/jsonschema/spkg-configure.m4
+new file mode 100644
+index 00000000..b9e5e21
+--- /dev/null
++++ b/build/pkgs/jsonschema/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([jsonschema], [SAGE_PYTHON_PACKAGE_CHECK([jsonschema])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From fd4a16c11669b6dd73ac6325bca820e76db00402 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:55:54 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ widgetsnbextension.
+
+---
+ build/pkgs/widgetsnbextension/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/widgetsnbextension/spkg-configure.m4
+
+diff --git a/build/pkgs/widgetsnbextension/spkg-configure.m4 b/build/pkgs/widgetsnbextension/spkg-configure.m4
+new file mode 100644
+index 00000000..bf82daf
+--- /dev/null
++++ b/build/pkgs/widgetsnbextension/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([widgetsnbextension], [
++  SAGE_PYTHON_PACKAGE_CHECK([widgetsnbextension])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 8079a9f384e3c8480e157dd98c3db2f43c987f4e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:57:20 -0500
+Subject: Trac #29665: add Gentoo package information for importlib_resources.
+
+---
+ build/pkgs/importlib_resources/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/importlib_resources/distros/gentoo.txt
+
+diff --git a/build/pkgs/importlib_resources/distros/gentoo.txt b/build/pkgs/importlib_resources/distros/gentoo.txt
+new file mode 100644
+index 00000000..d5e1f2c
+--- /dev/null
++++ b/build/pkgs/importlib_resources/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/importlib_resources
+-- 
+cgit v1.0-1-gd88e
+
+
+From 2c430d7c52f02779a6c41b98ac2f4edd8b6759c3 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:58:00 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ importlib_resources.
+
+---
+ build/pkgs/importlib_resources/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/importlib_resources/spkg-configure.m4
+
+diff --git a/build/pkgs/importlib_resources/spkg-configure.m4 b/build/pkgs/importlib_resources/spkg-configure.m4
+new file mode 100644
+index 00000000..50df55b
+--- /dev/null
++++ b/build/pkgs/importlib_resources/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([importlib_resources], [
++  SAGE_PYTHON_PACKAGE_CHECK([importlib_resources])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 00d13d7bf2e50aae2ccef3b2b30293c70a922af2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:58:38 -0500
+Subject: Trac #29665: add Gentoo package information for kiwisolver.
+
+---
+ build/pkgs/kiwisolver/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/kiwisolver/distros/gentoo.txt
+
+diff --git a/build/pkgs/kiwisolver/distros/gentoo.txt b/build/pkgs/kiwisolver/distros/gentoo.txt
+new file mode 100644
+index 00000000..7b30c95
+--- /dev/null
++++ b/build/pkgs/kiwisolver/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/kiwisolver
+-- 
+cgit v1.0-1-gd88e
+
+
+From 72b7907ef7ea9fa4ff6948ea34cfe2f693ee6c31 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 19:59:09 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for kiwisolver.
+
+---
+ build/pkgs/kiwisolver/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/kiwisolver/spkg-configure.m4
+
+diff --git a/build/pkgs/kiwisolver/spkg-configure.m4 b/build/pkgs/kiwisolver/spkg-configure.m4
+new file mode 100644
+index 00000000..4e7ac97
+--- /dev/null
++++ b/build/pkgs/kiwisolver/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([kiwisolver], [SAGE_PYTHON_PACKAGE_CHECK([kiwisolver])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 479351279e4e0ea7e2d146434f0daba038765cfd Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:00:04 -0500
+Subject: Trac #29665: add Gentoo package information for notebook.
+
+---
+ build/pkgs/notebook/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/notebook/distros/gentoo.txt
+
+diff --git a/build/pkgs/notebook/distros/gentoo.txt b/build/pkgs/notebook/distros/gentoo.txt
+new file mode 100644
+index 00000000..6475d72
+--- /dev/null
++++ b/build/pkgs/notebook/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/notebook
+-- 
+cgit v1.0-1-gd88e
+
+
+From f4d9242ea654977f8ad7865c82eec593e11a36bc Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:01:42 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for notebook.
+
+---
+ build/pkgs/notebook/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/notebook/spkg-configure.m4
+
+diff --git a/build/pkgs/notebook/spkg-configure.m4 b/build/pkgs/notebook/spkg-configure.m4
+new file mode 100644
+index 00000000..a17ba95
+--- /dev/null
++++ b/build/pkgs/notebook/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([notebook], [SAGE_PYTHON_PACKAGE_CHECK([notebook])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9837070c7f8e9a71283b84d49d4fd2c94b78a464 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:02:38 -0500
+Subject: Trac #29665: add Gentoo package information for matplotlib_inline.
+
+---
+ build/pkgs/matplotlib_inline/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/matplotlib_inline/distros/gentoo.txt
+
+diff --git a/build/pkgs/matplotlib_inline/distros/gentoo.txt b/build/pkgs/matplotlib_inline/distros/gentoo.txt
+new file mode 100644
+index 00000000..6a5859c
+--- /dev/null
++++ b/build/pkgs/matplotlib_inline/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/matplotlib-inline
+-- 
+cgit v1.0-1-gd88e
+
+
+From 750be73b25b92b4875e47d044360ac0e1116ec3e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:03:28 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for matplotlib_inline.
+
+---
+ build/pkgs/matplotlib_inline/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/matplotlib_inline/spkg-configure.m4
+
+diff --git a/build/pkgs/matplotlib_inline/spkg-configure.m4 b/build/pkgs/matplotlib_inline/spkg-configure.m4
+new file mode 100644
+index 00000000..e59658f
+--- /dev/null
++++ b/build/pkgs/matplotlib_inline/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([matplotlib_inline], [
++  SAGE_PYTHON_PACKAGE_CHECK([matplotlib_inline])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 273505f49698dcd2ab30c2756b07113c9b7e7791 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:04:10 -0500
+Subject: Trac #29665: add Gentoo package information for ipykernel.
+
+---
+ build/pkgs/ipykernel/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipykernel/distros/gentoo.txt
+
+diff --git a/build/pkgs/ipykernel/distros/gentoo.txt b/build/pkgs/ipykernel/distros/gentoo.txt
+new file mode 100644
+index 00000000..88aab61
+--- /dev/null
++++ b/build/pkgs/ipykernel/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ipykernel
+-- 
+cgit v1.0-1-gd88e
+
+
+From 629ad36c9e4ae0cdff4a013289b4f2911442445e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:04:46 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for ipykernel.
+
+---
+ build/pkgs/ipykernel/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ipykernel/spkg-configure.m4
+
+diff --git a/build/pkgs/ipykernel/spkg-configure.m4 b/build/pkgs/ipykernel/spkg-configure.m4
+new file mode 100644
+index 00000000..94ecc2d
+--- /dev/null
++++ b/build/pkgs/ipykernel/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([ipykernel], [SAGE_PYTHON_PACKAGE_CHECK([ipykernel])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From b8d709edb6a24fd5868ee2818b56e78257b2eafa Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:05:26 -0500
+Subject: Trac #29665: add Gentoo package information for prompt_toolkit.
+
+---
+ build/pkgs/prompt_toolkit/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/prompt_toolkit/distros/gentoo.txt
+
+diff --git a/build/pkgs/prompt_toolkit/distros/gentoo.txt b/build/pkgs/prompt_toolkit/distros/gentoo.txt
+new file mode 100644
+index 00000000..6902484
+--- /dev/null
++++ b/build/pkgs/prompt_toolkit/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/prompt_toolkit
+-- 
+cgit v1.0-1-gd88e
+
+
+From 16c0b5e767ae4dac4440510b7253e5c8642b7d2c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:10:39 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for prompt_toolkit.
+
+---
+ build/pkgs/prompt_toolkit/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/prompt_toolkit/spkg-configure.m4
+
+diff --git a/build/pkgs/prompt_toolkit/spkg-configure.m4 b/build/pkgs/prompt_toolkit/spkg-configure.m4
+new file mode 100644
+index 00000000..fd8c1a6
+--- /dev/null
++++ b/build/pkgs/prompt_toolkit/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([prompt_toolkit], [
++  SAGE_PYTHON_PACKAGE_CHECK([prompt_toolkit])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0cd9283e8bb6c8ae413fc8f715c021f7ec3ca2c8 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:12:10 -0500
+Subject: Trac #29665: add Gentoo package information for charset_normalizer.
+
+---
+ build/pkgs/charset_normalizer/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/charset_normalizer/distros/gentoo.txt
+
+diff --git a/build/pkgs/charset_normalizer/distros/gentoo.txt b/build/pkgs/charset_normalizer/distros/gentoo.txt
+new file mode 100644
+index 00000000..eefeb89
+--- /dev/null
++++ b/build/pkgs/charset_normalizer/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/charset_normalizer
+-- 
+cgit v1.0-1-gd88e
+
+
+From a04b01a9ab59097d189edcc5ddcb461faede83b2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:12:54 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ charset_normalizer.
+
+---
+ build/pkgs/charset_normalizer/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/charset_normalizer/spkg-configure.m4
+
+diff --git a/build/pkgs/charset_normalizer/spkg-configure.m4 b/build/pkgs/charset_normalizer/spkg-configure.m4
+new file mode 100644
+index 00000000..18b18cf
+--- /dev/null
++++ b/build/pkgs/charset_normalizer/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([charset_normalizer], [
++  SAGE_PYTHON_PACKAGE_CHECK([charset_normalizer])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From d2ea08138711c53046f977b586f33b09b176b2e3 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:13:37 -0500
+Subject: Trac #29665: add Gentoo package information for prometheus_client.
+
+---
+ build/pkgs/prometheus_client/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/prometheus_client/distros/gentoo.txt
+
+diff --git a/build/pkgs/prometheus_client/distros/gentoo.txt b/build/pkgs/prometheus_client/distros/gentoo.txt
+new file mode 100644
+index 00000000..aa2889c
+--- /dev/null
++++ b/build/pkgs/prometheus_client/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/prometheus_client
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5b0393200e9edd3e26b8a55ba67e5710e7403fcb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:15:09 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for prometheus_client.
+
+---
+ build/pkgs/prometheus_client/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/prometheus_client/spkg-configure.m4
+
+diff --git a/build/pkgs/prometheus_client/spkg-configure.m4 b/build/pkgs/prometheus_client/spkg-configure.m4
+new file mode 100644
+index 00000000..b494588
+--- /dev/null
++++ b/build/pkgs/prometheus_client/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([prometheus_client], [
++  SAGE_PYTHON_PACKAGE_CHECK([prometheus_client])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From cdcd85284f43ca4ad18353ec3527b2901e57b788 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:17:23 -0500
+Subject: Trac #29665: add Gentoo package information for pybind11.
+
+---
+ build/pkgs/pybind11/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pybind11/distros/gentoo.txt
+
+diff --git a/build/pkgs/pybind11/distros/gentoo.txt b/build/pkgs/pybind11/distros/gentoo.txt
+new file mode 100644
+index 00000000..0c500b3
+--- /dev/null
++++ b/build/pkgs/pybind11/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pybind11
+-- 
+cgit v1.0-1-gd88e
+
+
+From efdd1eb64c4799fe3cdf2221824182941b3fda2d Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:17:51 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for pybind11.
+
+---
+ build/pkgs/pybind11/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pybind11/spkg-configure.m4
+
+diff --git a/build/pkgs/pybind11/spkg-configure.m4 b/build/pkgs/pybind11/spkg-configure.m4
+new file mode 100644
+index 00000000..cce1cf5
+--- /dev/null
++++ b/build/pkgs/pybind11/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pybind11], [SAGE_PYTHON_PACKAGE_CHECK([pybind11])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From b2128f33b68ea33927284116ea598dd186902400 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:19:23 -0500
+Subject: Trac #29665: add Gentoo package information for pkgconfig.
+
+---
+ build/pkgs/pkgconfig/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pkgconfig/distros/gentoo.txt
+
+diff --git a/build/pkgs/pkgconfig/distros/gentoo.txt b/build/pkgs/pkgconfig/distros/gentoo.txt
+new file mode 100644
+index 00000000..32e8618
+--- /dev/null
++++ b/build/pkgs/pkgconfig/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pkgconfig
+-- 
+cgit v1.0-1-gd88e
+
+
+From 5b373b49e06aadeb36dc57e500da9a322460e658 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:19:54 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for pkgconfig.
+
+---
+ build/pkgs/pkgconfig/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pkgconfig/spkg-configure.m4
+
+diff --git a/build/pkgs/pkgconfig/spkg-configure.m4 b/build/pkgs/pkgconfig/spkg-configure.m4
+new file mode 100644
+index 00000000..6708293
+--- /dev/null
++++ b/build/pkgs/pkgconfig/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pkgconfig], [SAGE_PYTHON_PACKAGE_CHECK([pkgconfig])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From ce578729eb0d14baab365351ba9a9ffffb7b79f2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:21:10 -0500
+Subject: Trac #29665: add Gentoo package information for
+ sphinxcontrib_serializinghtml.
+
+---
+ build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt b/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
+new file mode 100644
+index 00000000..38bca8f
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-serializinghtml
+-- 
+cgit v1.0-1-gd88e
+
+
+From bb0f42c32bbce0e4488678312f5e2d88c6f42c9b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:21:54 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_serializinghtml.
+
+---
+ build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4 b/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
+new file mode 100644
+index 00000000..be8e625
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_serializinghtml], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_serializinghtml])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From e47dcf985e40475de85c9436a85537751318bc3d Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:22:54 -0500
+Subject: Trac #29665: add Gentoo package information for sphinxcontrib_jsmath.
+
+---
+ build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt b/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
+new file mode 100644
+index 00000000..041a471
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-jsmath
+-- 
+cgit v1.0-1-gd88e
+
+
+From 72cff6fd35f93de4fa855bc870569dd733ff5c24 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:23:49 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_jsmath.
+
+---
+ build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4 b/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
+new file mode 100644
+index 00000000..e46bde2
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_jsmath], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_jsmath])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From a36395d70f759449cd63c1b0990fbdcb4cb25ca0 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:24:26 -0500
+Subject: Trac #29665: add Gentoo package information for
+ sphinxcontrib_devhelp.
+
+---
+ build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
+new file mode 100644
+index 00000000..9b5c899
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-devhelp
+-- 
+cgit v1.0-1-gd88e
+
+
+From 9953a5dd1646ed0ad51d2e3935cf609bc9e7fd1c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:25:04 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_devhelp.
+
+---
+ build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
+new file mode 100644
+index 00000000..8728136
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_devhelp], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_devhelp])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From b199d5363aad93f3cb23f7904c9553a28b06348f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:25:53 -0500
+Subject: Trac #29665: add Gentoo package information for sphinxcontrib_qthelp.
+
+---
+ build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
+new file mode 100644
+index 00000000..7210099
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-qthelp
+-- 
+cgit v1.0-1-gd88e
+
+
+From 94ac8806739f3938e73f5857328e91e0d42e98d2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:26:28 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_qthelp.
+
+---
+ build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
+new file mode 100644
+index 00000000..81ea5e1
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_qthelp], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_qthelp])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From beedc154aa405e8a58aee8889f510db07adc89a7 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:26:54 -0500
+Subject: Trac #29665: add Gentoo package information for
+ sphinxcontrib_applehelp.
+
+---
+ build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
+new file mode 100644
+index 00000000..66ac8da
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-applehelp
+-- 
+cgit v1.0-1-gd88e
+
+
+From 07d47c3673d6b35423b71f621cb400989c0101c2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:27:19 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_applehelp.
+
+---
+ build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
+new file mode 100644
+index 00000000..e834aed
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_applehelp], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_applehelp])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 333a66546c5d421735c49dbafd7370a827f22781 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:27:46 -0500
+Subject: Trac #29665: add Gentoo package information for
+ sphinxcontrib_htmlhelp.
+
+---
+ build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
+
+diff --git a/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
+new file mode 100644
+index 00000000..e080bac
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/sphinxcontrib-htmlhelp
+-- 
+cgit v1.0-1-gd88e
+
+
+From bfaeb3962254439b63f1f2e0e883de462c7831be Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:29:18 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ sphinxcontrib_htmlhelp.
+
+---
+ build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
+
+diff --git a/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
+new file mode 100644
+index 00000000..c77b003
+--- /dev/null
++++ b/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([sphinxcontrib_htmlhelp], [
++  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_htmlhelp])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 782cde13da06e8b85806cb7cbc8aceee0364e639 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:30:23 -0500
+Subject: Trac #29665: add Gentoo package information for jupyterlab_pygments.
+
+---
+ build/pkgs/jupyterlab_pygments/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/jupyterlab_pygments/distros/gentoo.txt
+
+diff --git a/build/pkgs/jupyterlab_pygments/distros/gentoo.txt b/build/pkgs/jupyterlab_pygments/distros/gentoo.txt
+new file mode 100644
+index 00000000..c57b4f1
+--- /dev/null
++++ b/build/pkgs/jupyterlab_pygments/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/jupyterlab_pygments
+-- 
+cgit v1.0-1-gd88e
+
+
+From 39f974cfa4a8c6e5dd897f152f83ec82f40ee9f7 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Wed, 10 Nov 2021 20:31:13 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ jupyterlab_pygments.
+
+---
+ build/pkgs/jupyterlab_pygments/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/jupyterlab_pygments/spkg-configure.m4
+
+diff --git a/build/pkgs/jupyterlab_pygments/spkg-configure.m4 b/build/pkgs/jupyterlab_pygments/spkg-configure.m4
+new file mode 100644
+index 00000000..e46e21f
+--- /dev/null
++++ b/build/pkgs/jupyterlab_pygments/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([jupyterlab_pygments], [
++  SAGE_PYTHON_PACKAGE_CHECK([jupyterlab_pygments])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From db704620700fd36cec3bf6125938f3ee00a9eb5e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:29:15 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for ply.
+
+---
+ build/pkgs/ply/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ply/spkg-configure.m4
+
+diff --git a/build/pkgs/ply/spkg-configure.m4 b/build/pkgs/ply/spkg-configure.m4
+new file mode 100644
+index 00000000..ffb0030
+--- /dev/null
++++ b/build/pkgs/ply/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([ply], [SAGE_PYTHON_PACKAGE_CHECK([ply])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 6aac31dabcdfdef228d7780398a3fda1a4cc566f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:29:51 -0500
+Subject: Trac #29665: add Gentoo package information for ply.
+
+---
+ build/pkgs/ply/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/ply/distros/gentoo.txt
+
+diff --git a/build/pkgs/ply/distros/gentoo.txt b/build/pkgs/ply/distros/gentoo.txt
+new file mode 100644
+index 00000000..c8b1630
+--- /dev/null
++++ b/build/pkgs/ply/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/ply
+-- 
+cgit v1.0-1-gd88e
+
+
+From bb8d3372936ec37470d69687a0f91592129460ae Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:30:33 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for gast.
+
+---
+ build/pkgs/gast/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/gast/spkg-configure.m4
+
+diff --git a/build/pkgs/gast/spkg-configure.m4 b/build/pkgs/gast/spkg-configure.m4
+new file mode 100644
+index 00000000..26ec59f
+--- /dev/null
++++ b/build/pkgs/gast/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([gast], [SAGE_PYTHON_PACKAGE_CHECK([gast])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1cdc4046a88f1c2b4e5c162f66c6db6090b24194 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:31:15 -0500
+Subject: Trac #29665: add Gentoo package information for gast.
+
+---
+ build/pkgs/gast/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/gast/distros/gentoo.txt
+
+diff --git a/build/pkgs/gast/distros/gentoo.txt b/build/pkgs/gast/distros/gentoo.txt
+new file mode 100644
+index 00000000..3be5e7e
+--- /dev/null
++++ b/build/pkgs/gast/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/gast
+-- 
+cgit v1.0-1-gd88e
+
+
+From 96068b8a3742b65d619190e1d9fa5db399e6b4f2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:32:20 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for pythran.
+
+---
+ build/pkgs/pythran/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pythran/spkg-configure.m4
+
+diff --git a/build/pkgs/pythran/spkg-configure.m4 b/build/pkgs/pythran/spkg-configure.m4
+new file mode 100644
+index 00000000..592e95b
+--- /dev/null
++++ b/build/pkgs/pythran/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([pythran], [SAGE_PYTHON_PACKAGE_CHECK([pythran])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 1fa0fad3ae8f7e559c6fc315c6773a7d8aac0bfb Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:32:55 -0500
+Subject: Trac #29665: add Gentoo package information for pythran.
+
+---
+ build/pkgs/pythran/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/pythran/distros/gentoo.txt
+
+diff --git a/build/pkgs/pythran/distros/gentoo.txt b/build/pkgs/pythran/distros/gentoo.txt
+new file mode 100644
+index 00000000..1bb7cdc
+--- /dev/null
++++ b/build/pkgs/pythran/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/pythran
+-- 
+cgit v1.0-1-gd88e
+
+
+From d26370e5b8c88e76abfb7c27e3defb71c9e9f711 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:33:50 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for beniget.
+
+---
+ build/pkgs/beniget/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/beniget/spkg-configure.m4
+
+diff --git a/build/pkgs/beniget/spkg-configure.m4 b/build/pkgs/beniget/spkg-configure.m4
+new file mode 100644
+index 00000000..8ae6101
+--- /dev/null
++++ b/build/pkgs/beniget/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([beniget], [SAGE_PYTHON_PACKAGE_CHECK([beniget])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From eeeb296ed9b9694a865534103fd58e62a151ef5e Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:34:22 -0500
+Subject: Trac #29665: add Gentoo package information for beniget.
+
+---
+ build/pkgs/beniget/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/beniget/distros/gentoo.txt
+
+diff --git a/build/pkgs/beniget/distros/gentoo.txt b/build/pkgs/beniget/distros/gentoo.txt
+new file mode 100644
+index 00000000..1a5972c
+--- /dev/null
++++ b/build/pkgs/beniget/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/beniget
+-- 
+cgit v1.0-1-gd88e
+
+
+From 078b2ff272d0eeff5cce40ad7eb176d9ddd7bdff Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:35:37 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for alabaster.
+
+---
+ build/pkgs/alabaster/spkg-configure.m4 | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/alabaster/spkg-configure.m4
+
+diff --git a/build/pkgs/alabaster/spkg-configure.m4 b/build/pkgs/alabaster/spkg-configure.m4
+new file mode 100644
+index 00000000..4eca6e0
+--- /dev/null
++++ b/build/pkgs/alabaster/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([alabaster], [SAGE_PYTHON_PACKAGE_CHECK([alabaster])])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 7dc264353e5f64110431ff28c1b8b7e89699e9bd Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:36:06 -0500
+Subject: Trac #29665: add Gentoo package information for alabaster.
+
+---
+ build/pkgs/alabaster/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/alabaster/distros/gentoo.txt
+
+diff --git a/build/pkgs/alabaster/distros/gentoo.txt b/build/pkgs/alabaster/distros/gentoo.txt
+new file mode 100644
+index 00000000..cffece6
+--- /dev/null
++++ b/build/pkgs/alabaster/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/alabaster
+-- 
+cgit v1.0-1-gd88e
+
+
+From 8011a5e675e7e61a77ce34a299ee961a9f44253f Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:43:59 -0500
+Subject: Trac #29665: standard python spkg-configure.m4 for
+ importlib_metadata.
+
+---
+ build/pkgs/importlib_metadata/spkg-configure.m4 | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 build/pkgs/importlib_metadata/spkg-configure.m4
+
+diff --git a/build/pkgs/importlib_metadata/spkg-configure.m4 b/build/pkgs/importlib_metadata/spkg-configure.m4
+new file mode 100644
+index 00000000..0554e52
+--- /dev/null
++++ b/build/pkgs/importlib_metadata/spkg-configure.m4
+@@ -0,0 +1,3 @@
++SAGE_SPKG_CONFIGURE([importlib_metadata], [
++  SAGE_PYTHON_PACKAGE_CHECK([importlib_metadata])
++])
+-- 
+cgit v1.0-1-gd88e
+
+
+From 928ca0019e3ec6c4541a16b28bcc6710df6d010b Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 20:44:28 -0500
+Subject: Trac #29665: add Gentoo package information for importlib_metadata.
+
+---
+ build/pkgs/importlib_metadata/distros/gentoo.txt | 1 +
+ 1 file changed, 1 insertion(+)
+ create mode 100644 build/pkgs/importlib_metadata/distros/gentoo.txt
+
+diff --git a/build/pkgs/importlib_metadata/distros/gentoo.txt b/build/pkgs/importlib_metadata/distros/gentoo.txt
+new file mode 100644
+index 00000000..4f92786
+--- /dev/null
++++ b/build/pkgs/importlib_metadata/distros/gentoo.txt
+@@ -0,0 +1 @@
++dev-python/importlib_metadata
+-- 
+cgit v1.0-1-gd88e
+
+
+From 135f184f7498a2046065e669723e68efe2d65cee Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Thu, 30 Dec 2021 21:16:58 -0500
+Subject: Trac #29665: fix sage.misc.package doctest with system alabaster.
+
+When alabaster from the system is used, these tests won't be able to
+find its SPKG installed. Add some ellipses, and switch one test to
+look for sage_conf instead.
+---
+ src/sage/misc/package.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/sage/misc/package.py b/src/sage/misc/package.py
+index 84f3d50..c7ad206 100644
+--- a/src/sage/misc/package.py
++++ b/src/sage/misc/package.py
+@@ -386,9 +386,9 @@ def installed_packages(exclude_pip=True):
+     EXAMPLES::
+ 
+         sage: sorted(installed_packages().keys())  # optional - build
+-        [...'gmpy2', ...'sage_conf', ...]
+-        sage: installed_packages()['gmpy2']  # optional - build, random
+-        '2.1.0b5'
++        [...'sage_conf', ...]
++        sage: installed_packages()['sage_conf']  # optional - build, random
++        '9.5'
+ 
+     .. SEEALSO::
+ 
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch b/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch
new file mode 100644
index 000000000000..8edbde0ce76f
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch
@@ -0,0 +1,247 @@
+From ab5400040fcf3a1061229afb3ab81f26fef0858d Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 12 Nov 2021 21:33:39 -0500
+Subject: Trac #32867: don't export MAXIMA_PREFIX.
+
+This should work automatically, and the previous behavior is
+incorrect if we intend to use the system copy of maxima.
+---
+ src/bin/sage-env | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/bin/sage-env b/src/bin/sage-env
+index a0426df..f0866b4 100644
+--- a/src/bin/sage-env
++++ b/src/bin/sage-env
+@@ -482,9 +482,6 @@ if [ -d "$DOT_SAGE" ] ; then
+     fi
+ fi
+ 
+-if [ -n "$SAGE_LOCAL" ]; then
+-    export MAXIMA_PREFIX="$SAGE_LOCAL"
+-fi
+ export MAXIMA_USERDIR="$DOT_SAGE/maxima"
+ 
+ if [ -n "$SAGE_LOCAL" ]; then
+-- 
+cgit v1.0-1-gd88e
+
+
+From 0e29761fbd23736d8d9acd235e4fa2de839df6a4 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 12 Nov 2021 21:13:21 -0500
+Subject: Trac #32867: remove the MAXIMA sage_conf variable.
+
+Until now, the MAXIMA variable held the name of the main maxima
+executable. But there really is no reason to use anything other
+than "maxima -l ecl", which works in all cases. This commit
+replaces the variable with the hard-coded value. This simplifies
+the use of maxima from the system because we no longer need to
+set sage_conf.MAXIMA to any particular value during ./configure.
+---
+ pkgs/sage-conf/sage_conf.py.in         | 2 --
+ src/bin/sage                           | 6 +-----
+ src/sage/env.py                        | 1 -
+ src/sage/interfaces/maxima.py          | 3 +--
+ src/sage/interfaces/maxima_abstract.py | 8 ++++----
+ 5 files changed, 6 insertions(+), 14 deletions(-)
+
+diff --git a/pkgs/sage-conf/sage_conf.py.in b/pkgs/sage-conf/sage_conf.py.in
+index fbce694..b40cda6 100644
+--- a/pkgs/sage-conf/sage_conf.py.in
++++ b/pkgs/sage-conf/sage_conf.py.in
+@@ -9,8 +9,6 @@ VERSION = "@PACKAGE_VERSION@"
+ SAGE_LOCAL = "@prefix@"
+ SAGE_ROOT = "@SAGE_ROOT@"
+ 
+-MAXIMA = "@prefix@/bin/maxima"
+-
+ # Delete this line if your ECL can load maxima without further prodding.
+ MAXIMA_FAS = "@SAGE_MAXIMA_FAS@".replace('${prefix}', SAGE_LOCAL)
+ 
+diff --git a/src/bin/sage b/src/bin/sage
+index fcd2630..54b69a1 100755
+--- a/src/bin/sage
++++ b/src/bin/sage
+@@ -684,11 +684,7 @@ fi
+ 
+ if [ "$1" = '-maxima' -o "$1" = '--maxima' ]; then
+     shift
+-    maxima_cmd=$(sage-config MAXIMA 2>/dev/null)
+-    if [ -z "${maxima_cmd}" ]; then
+-        maxima_cmd="maxima -l ecl"
+-    fi
+-    exec $maxima_cmd "$@"
++    exec maxima -l ecl "$@"
+ fi
+ 
+ if [ "$1" = '-mwrank' -o "$1" = '--mwrank' ]; then
+diff --git a/src/sage/env.py b/src/sage/env.py
+index 40ace13..95edc16 100644
+--- a/src/sage/env.py
++++ b/src/sage/env.py
+@@ -207,7 +207,6 @@ MATHJAX_DIR = var("MATHJAX_DIR", join(SAGE_SHARE, "mathjax"))
+ MTXLIB = var("MTXLIB", join(SAGE_SHARE, "meataxe"))
+ THREEJS_DIR = var("THREEJS_DIR", join(SAGE_SHARE, "threejs-sage"))
+ PPLPY_DOCS = var("PPLPY_DOCS", join(SAGE_SHARE, "doc", "pplpy"))
+-MAXIMA = var("MAXIMA", "maxima")
+ MAXIMA_FAS = var("MAXIMA_FAS")
+ KENZO_FAS = var("KENZO_FAS")
+ SAGE_NAUTY_BINS_PREFIX = var("SAGE_NAUTY_BINS_PREFIX", "")
+diff --git a/src/sage/interfaces/maxima.py b/src/sage/interfaces/maxima.py
+index fc7f48b..7313c7d 100644
+--- a/src/sage/interfaces/maxima.py
++++ b/src/sage/interfaces/maxima.py
+@@ -484,7 +484,6 @@ import shlex
+ 
+ from random import randrange
+ 
+-from sage.env import MAXIMA
+ from sage.misc.misc import ECL_TMP
+ 
+ from .expect import (Expect, ExpectElement, gc_disabled)
+@@ -558,7 +557,7 @@ class Maxima(MaximaAbstract, Expect):
+         Expect.__init__(self,
+                         name = 'maxima',
+                         prompt = r'\(\%i[0-9]+\) ',
+-                        command = '{0} -p {1}'.format(MAXIMA, shlex.quote(STARTUP)),
++                        command = 'maxima -l ecl -p {0}'.format(shlex.quote(STARTUP)),
+                         env = {'TMPDIR': str(ECL_TMP)},
+                         script_subdirectory = script_subdirectory,
+                         restart_on_ctrlc = False,
+diff --git a/src/sage/interfaces/maxima_abstract.py b/src/sage/interfaces/maxima_abstract.py
+index 917059d..c966a3c 100644
+--- a/src/sage/interfaces/maxima_abstract.py
++++ b/src/sage/interfaces/maxima_abstract.py
+@@ -54,7 +54,7 @@ import re
+ import sys
+ import subprocess
+ 
+-from sage.env import DOT_SAGE, MAXIMA
++from sage.env import DOT_SAGE
+ COMMANDS_CACHE = '%s/maxima_commandlist_cache.sobj' % DOT_SAGE
+ 
+ from sage.cpython.string import bytes_to_str
+@@ -164,7 +164,7 @@ class MaximaAbstract(ExtraTabCompletion, Interface):
+             -- Function: gcd (<p_1>, <p_2>, <x_1>, ...)
+             ...
+         """
+-        cmd = '{} --very-quiet --batch-string="{}({});" '.format(MAXIMA, command, s)
++        cmd = 'maxima -l ecl --very-quiet --batch-string="{}({});" '.format(command, s)
+         env = os.environ.copy()
+         env['TMPDIR'] = str(ECL_TMP)
+ 
+@@ -2214,7 +2214,7 @@ def maxima_version():
+         sage: maxima_version()  # random
+         '5.41.0'
+     """
+-    with os.popen('{} --version'.format(MAXIMA)) as p:
++    with os.popen('maxima -l ecl --version') as p:
+         return p.read().split()[-1]
+ 
+ 
+@@ -2232,4 +2232,4 @@ def maxima_console():
+     from sage.repl.rich_output.display_manager import get_display_manager
+     if not get_display_manager().is_in_terminal():
+         raise RuntimeError('Can use the console only in the terminal. Try %%maxima magics instead.')
+-    os.system('{}'.format(MAXIMA))
++    os.system('maxima -l ecl')
+-- 
+cgit v1.0-1-gd88e
+
+
+From 88992bfae6d2aba0819b8cd67ae36621a5873b38 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Fri, 12 Nov 2021 20:51:28 -0500
+Subject: Trac #32867: new spkg-configure.m4 for maxima.
+
+This new spkg-configure.m4 checks for both a "maxima" executable, and
+the usability of a "maxima" package by ECL. (The latter requires a
+patched maxima until a new release with commit a0d7a43e523 is made.)
+Notably absent for the moment is a version check, but feature testing
+is moot until we decide what to do about matrixexp.patch.
+
+This commit also moves the SAGE_MAXIMA_FAS variable handling from
+ECL's spkg-configure.m4 to maxima's (where it would have belonged in
+the first place, if maxima had an spkg-configure.m4 at the time.)
+---
+ build/pkgs/ecl/spkg-configure.m4    |  5 +----
+ build/pkgs/maxima/spkg-configure.m4 | 35 +++++++++++++++++++++++++++++++++++
+ pkgs/sage-conf/sage_conf.py.in      |  3 ++-
+ 3 files changed, 38 insertions(+), 5 deletions(-)
+ create mode 100644 build/pkgs/maxima/spkg-configure.m4
+
+diff --git a/build/pkgs/ecl/spkg-configure.m4 b/build/pkgs/ecl/spkg-configure.m4
+index ae1e0ac..7dbcfa6 100644
+--- a/build/pkgs/ecl/spkg-configure.m4
++++ b/build/pkgs/ecl/spkg-configure.m4
+@@ -35,10 +35,7 @@ SAGE_SPKG_CONFIGURE([ecl], [
+     AC_SUBST(SAGE_ECL_CONFIG, [$ECL_CONFIG])
+   fi
+ 
+-  # Maxima cannot yet be provided by the system, so we always use
++  # Kenzo cannot yet be provided by the system, so we always use
+   # the SAGE_LOCAL path for now.
+-  AC_SUBST(SAGE_MAXIMA_FAS, ['${prefix}'/lib/ecl/maxima.fas])
+-
+-  # Likewise for the optional Kenzo SPKG
+   AC_SUBST(SAGE_KENZO_FAS, ['${prefix}'/lib/ecl/kenzo.fas])
+ ])
+diff --git a/build/pkgs/maxima/spkg-configure.m4 b/build/pkgs/maxima/spkg-configure.m4
+new file mode 100644
+index 00000000..df625fe
+--- /dev/null
++++ b/build/pkgs/maxima/spkg-configure.m4
+@@ -0,0 +1,35 @@
++SAGE_SPKG_CONFIGURE([maxima], [
++  SAGE_SPKG_DEPCHECK([ecl], [
++    dnl First check for the "maxima" executable in the user's PATH, because
++    dnl we still use pexpect to communicate with it in a few places. We pass
++    dnl the "-l ecl" flag here to ensure that the standalone executable also
++    dnl supports ECL.
++    AC_MSG_CHECKING(if "maxima -l ecl" works)
++    AS_IF([! maxima -l ecl -q -r 'quit();' \
++             >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [
++      AC_MSG_RESULT(no)
++      sage_spkg_install_maxima=yes
++    ], [
++      AC_MSG_RESULT(yes)
++      dnl If we have the executable, check also for the ECL library.
++      AC_MSG_CHECKING([if ECL can "require" the maxima module])
++      AS_IF([ecl --eval "(require 'maxima)" --eval "(quit)" \
++               >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [
++        AC_MSG_RESULT(yes)
++      ], [
++	AC_MSG_RESULT(no)
++	sage_spkg_install_maxima=yes
++      ])
++    ])
++  ])
++],[],[],[
++  # post-check
++  AS_IF([test x$sage_spkg_install_maxima = xyes], [
++    dnl Leaving this variable empty will tell sagelib to load
++    dnl the maxima library (within ECL) by name instead of by
++    dnl absolute path.
++    SAGE_MAXIMA_FAS='${prefix}'/lib/ecl/maxima.fas
++  ])
++  AC_SUBST(SAGE_MAXIMA_FAS, "${SAGE_MAXIMA_FAS}")
++])
++
+diff --git a/pkgs/sage-conf/sage_conf.py.in b/pkgs/sage-conf/sage_conf.py.in
+index b40cda6..8cda3eb 100644
+--- a/pkgs/sage-conf/sage_conf.py.in
++++ b/pkgs/sage-conf/sage_conf.py.in
+@@ -9,7 +9,8 @@ VERSION = "@PACKAGE_VERSION@"
+ SAGE_LOCAL = "@prefix@"
+ SAGE_ROOT = "@SAGE_ROOT@"
+ 
+-# Delete this line if your ECL can load maxima without further prodding.
++# Set this to the empty string if your ECL can load maxima without
++# further prodding.
+ MAXIMA_FAS = "@SAGE_MAXIMA_FAS@".replace('${prefix}', SAGE_LOCAL)
+ 
+ # Delete this line if your ECL can load Kenzo without further prodding.
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch b/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
new file mode 100644
index 000000000000..3d4f4e14bb7b
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
@@ -0,0 +1,64 @@
+From dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Mon, 22 Nov 2021 23:57:37 -0300
+Subject: Add a patch that fixes ctypes.util.find_library('c')
+
+The issue causes a failure doctesting src/sage/misc/gperftools.py
+---
+ build/pkgs/python3/patches/musl-find_library.patch | 44 ++++++++++++++++++++++
+ 1 file changed, 44 insertions(+)
+ create mode 100644 build/pkgs/python3/patches/musl-find_library.patch
+
+diff --git a/build/pkgs/python3/patches/musl-find_library.patch b/build/pkgs/python3/patches/musl-find_library.patch
+new file mode 100644
+index 00000000..82f436b
+--- /dev/null
++++ b/build/pkgs/python3/patches/musl-find_library.patch
+@@ -0,0 +1,44 @@
++--- a/Lib/ctypes/util.py
+++++ b/Lib/ctypes/util.py
++@@ -204,6 +204,41 @@
++         def find_library(name, is64 = False):
++             return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name))
++ 
+++    elif True:
+++
+++        # Patched for Alpine Linux / musl - search manually system paths
+++        def _is_elf(filepath):
+++            try:
+++                with open(filepath, 'rb') as fh:
+++                    return fh.read(4) == b'\x7fELF'
+++            except:
+++                return False
+++
+++        def find_library(name):
+++            from glob import glob
+++            # absolute name?
+++            if os.path.isabs(name):
+++                return name
+++            # special case for libm, libcrypt and libpthread and musl
+++            if name in ['m', 'crypt', 'pthread']:
+++                name = 'c'
+++            elif name in ['libm.so', 'libcrypt.so', 'libpthread.so']:
+++                name = 'libc.so'
+++            # search in standard locations (musl order)
+++            paths = ['/lib', '/usr/local/lib', '/usr/lib']
+++            if 'LD_LIBRARY_PATH' in os.environ:
+++                paths = os.environ['LD_LIBRARY_PATH'].split(':') + paths
+++            for d in paths:
+++                f = os.path.join(d, name)
+++                if _is_elf(f):
+++                    return os.path.basename(f)
+++
+++                prefix = os.path.join(d, 'lib'+name)
+++                for suffix in ['.so', '.so.*']:
+++                    for f in glob('{0}{1}'.format(prefix, suffix)):
+++                        if _is_elf(f):
+++                            return os.path.basename(f)
+++
++     else:
++ 
++         def _findSoname_ldconfig(name):
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch b/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
new file mode 100644
index 000000000000..921a1669fd2a
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
@@ -0,0 +1,51 @@
+From 966926e3db5ea06b962fac386fa3c7223f9a14fb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Tue, 21 Dec 2021 14:57:20 -0300
+Subject: notebook: fix deprecation warning
+
+While doctesting `src/sage/repl/ipython_kernel/install.py`:
+
+> DeprecationWarning: invalid escape sequence '\s'
+
+The solution is to make the regex a raw string.
+---
+ .../f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch | 27 ++++++++++++++++++++++
+ 1 file changed, 27 insertions(+)
+ create mode 100644 build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
+
+diff --git a/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch b/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
+new file mode 100644
+index 00000000..29875b0
+--- /dev/null
++++ b/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
+@@ -0,0 +1,27 @@
++From f99beefdf45dd2891bb7ebdd93f7a67e44623aee Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
++Date: Tue, 21 Dec 2021 14:54:24 -0300
++Subject: [PATCH] Fix deprecation warning
++
++In sagemath, while doctesting `src/sage/repl/ipython_kernel/install.py`:
++
++> DeprecationWarning: invalid escape sequence '\s'
++
++The solution is to make the regex a raw string.
++---
++ notebook/auth/login.py | 2 +-
++ 1 file changed, 1 insertion(+), 1 deletion(-)
++
++diff --git a/notebook/auth/login.py b/notebook/auth/login.py
++index 1ac434dc5e..16c4e7a356 100644
++--- a/notebook/auth/login.py
+++++ b/notebook/auth/login.py
++@@ -112,7 +112,7 @@ def set_login_cookie(cls, handler, user_id=None):
++         handler.set_secure_cookie(handler.cookie_name, user_id, **cookie_options)
++         return user_id
++ 
++-    auth_header_pat = re.compile('token\s+(.+)', re.IGNORECASE)
+++    auth_header_pat = re.compile(r'token\s+(.+)', re.IGNORECASE)
++ 
++     @classmethod
++     def get_token(cls, handler):
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33064-sage_docbuild_ignore_cache_save_permission_error-e89193f4f32246ad9ded6d37f1f2f12a589a81f4.patch b/srcpkgs/sagemath/patches/trac-33064-sage_docbuild_ignore_cache_save_permission_error-e89193f4f32246ad9ded6d37f1f2f12a589a81f4.patch
new file mode 100644
index 000000000000..04f04cfd6718
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33064-sage_docbuild_ignore_cache_save_permission_error-e89193f4f32246ad9ded6d37f1f2f12a589a81f4.patch
@@ -0,0 +1,32 @@
+From e89193f4f32246ad9ded6d37f1f2f12a589a81f4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Tue, 21 Dec 2021 13:08:44 -0300
+Subject: sage_docbuild: do not fail when cache cannot be saved
+
+---
+ src/sage_docbuild/__init__.py | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+diff --git a/src/sage_docbuild/__init__.py b/src/sage_docbuild/__init__.py
+index 466ca82..f8c8ebd 100644
+--- a/src/sage_docbuild/__init__.py
++++ b/src/sage_docbuild/__init__.py
+@@ -856,9 +856,12 @@ class ReferenceSubBuilder(DocBuilder):
+         Pickle the current reference cache for later retrieval.
+         """
+         cache = self.get_cache()
+-        with open(self.cache_filename(), 'wb') as file:
+-            pickle.dump(cache, file)
+-        logger.debug("Saved the reference cache: %s", self.cache_filename())
++        try:
++            with open(self.cache_filename(), 'wb') as file:
++                pickle.dump(cache, file)
++            logger.debug("Saved the reference cache: %s", self.cache_filename())
++        except PermissionError:
++            logger.debug("Permission denied for the reference cache: %s", self.cache_filename())
+ 
+     def get_sphinx_environment(self):
+         """
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33085-pass_doctests_without_dochtml-88dd9f3a1611fed0cc66fb838eb85739646dd34d.patch b/srcpkgs/sagemath/patches/trac-33085-pass_doctests_without_dochtml-88dd9f3a1611fed0cc66fb838eb85739646dd34d.patch
new file mode 100644
index 000000000000..04fca4815a00
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33085-pass_doctests_without_dochtml-88dd9f3a1611fed0cc66fb838eb85739646dd34d.patch
@@ -0,0 +1,131 @@
+From 18d0477153af6f453a0e84f78030535f6a36ce87 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Sun, 26 Dec 2021 18:21:18 -0300
+Subject: doctests: remove dochtml label from some tests that don't need docs
+ installed
+
+---
+ src/sage/docs/conf.py    |  4 ++--
+ src/sage/misc/sagedoc.py | 12 ++++++------
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/src/sage/docs/conf.py b/src/sage/docs/conf.py
+index c788623..527ed90 100644
+--- a/src/sage/docs/conf.py
++++ b/src/sage/docs/conf.py
+@@ -719,8 +719,8 @@ def call_intersphinx(app, env, node, contnode):
+     Check that the link from the thematic tutorials to the reference
+     manual is relative, see :trac:`20118`::
+ 
+-        sage: from sage.env import SAGE_DOC  # optional - sagemath_doc_html
+-        sage: thematic_index = os.path.join(SAGE_DOC, "html", "en", "thematic_tutorials", "index.html")  # optional - sagemath_doc_html
++        sage: from sage.env import SAGE_DOC
++        sage: thematic_index = os.path.join(SAGE_DOC, "html", "en", "thematic_tutorials", "index.html")
+         sage: for line in open(thematic_index).readlines():  # optional - sagemath_doc_html
+         ....:     if "padics" in line:
+         ....:         _ = sys.stdout.write(line)
+diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py
+index 4c56aea..583ca06 100644
+--- a/src/sage/misc/sagedoc.py
++++ b/src/sage/misc/sagedoc.py
+@@ -18,8 +18,8 @@ TESTS:
+ Check that argspecs of extension function/methods appear correctly,
+ see :trac:`12849`::
+ 
+-    sage: from sage.env import SAGE_DOC  # optional - sagemath_doc_html
+-    sage: docfilename = os.path.join(SAGE_DOC, 'html', 'en', 'reference', 'calculus', 'sage', 'symbolic', 'expression.html')  # optional - sagemath_doc_html
++    sage: from sage.env import SAGE_DOC
++    sage: docfilename = os.path.join(SAGE_DOC, 'html', 'en', 'reference', 'calculus', 'sage', 'symbolic', 'expression.html')
+     sage: with open(docfilename) as fobj:  # optional - sagemath_doc_html
+     ....:     for line in fobj:
+     ....:         if "#sage.symbolic.expression.Expression.numerical_approx" in line:
+@@ -845,12 +845,12 @@ def _search_src_or_doc(what, string, extra1='', extra2='', extra3='',
+ 
+     ::
+ 
+-        sage: from sage.misc.sagedoc import _search_src_or_doc  # optional - sagemath_doc_html
+-        sage: len(_search_src_or_doc('src', r'matrix\(', 'incidence_structures', 'self', 'combinat', interact=False).splitlines()) > 1  # optional - sagemath_doc_html
++        sage: from sage.misc.sagedoc import _search_src_or_doc
++        sage: len(_search_src_or_doc('src', r'matrix\(', 'incidence_structures', 'self', 'combinat', interact=False).splitlines()) > 1
+         True
+         sage: 'abvar/homology' in _search_src_or_doc('doc', 'homology', 'variety', interact=False)  # optional - sagemath_doc_html, long time (4s on sage.math, 2012)
+         True
+-        sage: 'divisors' in _search_src_or_doc('src', '^ *def prime', interact=False)  # optional - sagemath_doc_html
++        sage: 'divisors' in _search_src_or_doc('src', '^ *def prime', interact=False)
+         True
+ 
+     When passing ``interactive=True``, in a terminal session this will pass the
+@@ -1369,7 +1369,7 @@ class _sage_doc:
+ 
+         sage: browse_sage_doc._open("reference", testing=True)[0]  # optional - sagemath_doc_html, indirect doctest
+         'http://localhost:8000/doc/live/reference/index.html'
+-        sage: browse_sage_doc(identity_matrix, 'rst')[-107:-47]  # optional - sagemath_doc_html
++        sage: browse_sage_doc(identity_matrix, 'rst')[-107:-47]
+         'Full MatrixSpace of 3 by 3 sparse matrices over Integer Ring'
+     """
+     def __init__(self):
+-- 
+cgit v1.0-1-gd88e
+
+
+From 88dd9f3a1611fed0cc66fb838eb85739646dd34d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Sun, 26 Dec 2021 18:22:13 -0300
+Subject: doctests: add dochtml label to some tests that need docs installed
+
+---
+ src/sage_docbuild/__init__.py | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/sage_docbuild/__init__.py b/src/sage_docbuild/__init__.py
+index f8c8ebd..d329009 100644
+--- a/src/sage_docbuild/__init__.py
++++ b/src/sage_docbuild/__init__.py
+@@ -105,7 +105,7 @@ def builder_helper(type):
+         sage: from sage_docbuild import builder_helper, build_ref_doc
+         sage: from sage_docbuild import _build_many as build_many
+         sage: helper = builder_helper("html")
+-        sage: try:
++        sage: try:  # optional - sagemath_doc_html
+         ....:     build_many(build_ref_doc, [("docname", "en", "html", {})])
+         ....: except Exception as E:
+         ....:     "Non-exception during docbuild: abort pool operation" in str(E)
+@@ -186,7 +186,7 @@ class DocBuilder(object):
+ 
+             sage: from sage_docbuild import DocBuilder
+             sage: b = DocBuilder('tutorial')
+-            sage: b._output_dir('html')
++            sage: b._output_dir('html')         # optional - sagemath_doc_html
+             '.../html/en/tutorial'
+         """
+         d = os.path.join(SAGE_DOC, type, self.lang, self.name)
+@@ -203,7 +203,7 @@ class DocBuilder(object):
+ 
+             sage: from sage_docbuild import DocBuilder
+             sage: b = DocBuilder('tutorial')
+-            sage: b._doctrees_dir()
++            sage: b._doctrees_dir()             # optional - sagemath_doc_html
+             '.../doctrees/en/tutorial'
+         """
+         d = os.path.join(SAGE_DOC, 'doctrees', self.lang, self.name)
+@@ -529,7 +529,7 @@ class ReferenceBuilder(AllBuilder):
+ 
+             sage: from sage_docbuild import ReferenceBuilder
+             sage: b = ReferenceBuilder('reference')
+-            sage: b._output_dir('html')
++            sage: b._output_dir('html')         # optional - sagemath_doc_html
+             '.../html/en/reference'
+         """
+         if lang is None:
+@@ -640,7 +640,7 @@ class ReferenceTopBuilder(DocBuilder):
+ 
+             sage: from sage_docbuild import ReferenceTopBuilder
+             sage: b = ReferenceTopBuilder('reference')
+-            sage: b._output_dir('html')
++            sage: b._output_dir('html')         # optional - sagemath_doc_html
+             '.../html/en/reference'
+         """
+         if lang is None:
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33127-test_sage_site_executable-424de0923cb3d44d010e3e2f9bd7bc75d5c30234.patch b/srcpkgs/sagemath/patches/trac-33127-test_sage_site_executable-424de0923cb3d44d010e3e2f9bd7bc75d5c30234.patch
new file mode 100644
index 000000000000..7fdb3d697222
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33127-test_sage_site_executable-424de0923cb3d44d010e3e2f9bd7bc75d5c30234.patch
@@ -0,0 +1,43 @@
+From 424de0923cb3d44d010e3e2f9bd7bc75d5c30234 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Sun, 26 Dec 2021 22:34:39 -0300
+Subject: sage-site: exec only if it is executable
+
+---
+ src/bin/sage | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/bin/sage b/src/bin/sage
+index 4c0fa17..153e610 100755
+--- a/src/bin/sage
++++ b/src/bin/sage
+@@ -129,7 +129,7 @@ usage() {
+     echo "                           --optional - controls which optional tests are run"
+     echo "                           --help - show all testing options"
+     echo "  -v, --version       -- display Sage version information"
+-    if [ -n "$SAGE_ROOT" ]; then
++    if [ -n "$SAGE_ROOT" -a -x "$SAGE_ROOT/build/bin/sage-site" ]; then
+         exec "$SAGE_ROOT/build/bin/sage-site" "-h"
+     fi
+     exit 0
+@@ -555,7 +555,7 @@ usage_advanced() {
+     echo "                         files are named sage-omega.PID can be found in"
+     echo "                         \$DOT_SAGE"
+     echo "  --valgrind          -- this is an alias for --memcheck"
+-    if [ -n "$SAGE_ROOT" ]; then
++    if [ -n "$SAGE_ROOT" -a -x "$SAGE_ROOT/build/bin/sage-site" ]; then
+         exec "$SAGE_ROOT/build/bin/sage-site" "--advanced"
+     fi
+     echo
+@@ -1131,7 +1131,7 @@ case "$1" in
+     -*)
+         # Delegate further option handling to the non-installed sage-site script.
+         # (These options become unavailable if the directory $SAGE_ROOT is removed.)
+-        if [ -n "$SAGE_ROOT" ]; then
++        if [ -n "$SAGE_ROOT" -a -x "$SAGE_ROOT/build/bin/sage-site" ]; then
+             exec "$SAGE_ROOT/build/bin/sage-site" "$@"
+             # fallthrough if there is no sage-site script
+         fi
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch b/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch
new file mode 100644
index 000000000000..350c41ac3928
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch
@@ -0,0 +1,35 @@
+From 53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Wed, 22 Dec 2021 19:02:08 -0300
+Subject: sagetex: Fix a warning when byte-compiling sagetexparse.py
+
+---
+ build/pkgs/sagetex/patches/sagetex-fix-warning.patch | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+ create mode 100644 build/pkgs/sagetex/patches/sagetex-fix-warning.patch
+
+diff --git a/build/pkgs/sagetex/patches/sagetex-fix-warning.patch b/build/pkgs/sagetex/patches/sagetex-fix-warning.patch
+new file mode 100644
+index 00000000..d82ab67
+--- /dev/null
++++ b/build/pkgs/sagetex/patches/sagetex-fix-warning.patch
+@@ -0,0 +1,16 @@
++Fix a warning when byte-compiling sagetexparse.py
++
++.../venv/share/texmf/tex/latex/sagetex/sagetexparse.py:135: SyntaxWarning: "is not" with a literal. Did you mean "!="?
++  if t.format is not '':
++
++--- a/sagetexparse.py	2020-08-12 05:35:31.000000000 -0300
+++++ b/sagetexparse.py	2021-12-22 18:57:46.619024835 -0300
++@@ -132,7 +132,7 @@
++ 
++   def plotout(self, s, l, t):
++     self.result += '# \\sageplot{} from line %s:\n' % lineno(l, s)
++-    if t.format is not '':
+++    if t.format != '':
++       self.result += '# format: %s' % t.format[0][1:-1] + '\n'
++     self.result += t.code[1:-1] + '\n\n'
++ 
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-33189-fix_doctests_for_arb_2.22-53532ddd4e2dc92469c1590ebf0c40f8f69bf579.patch b/srcpkgs/sagemath/patches/trac-33189-fix_doctests_for_arb_2.22-53532ddd4e2dc92469c1590ebf0c40f8f69bf579.patch
new file mode 100644
index 000000000000..b861af7ec982
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-33189-fix_doctests_for_arb_2.22-53532ddd4e2dc92469c1590ebf0c40f8f69bf579.patch
@@ -0,0 +1,126 @@
+From 24cc94b1988a90f3bd22a2368ec30c086283af13 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Sun, 16 Jan 2022 11:55:04 +0100
+Subject: Add abs tol to some arb tests
+
+---
+ src/sage/functions/error.py    |  2 +-
+ src/sage/rings/complex_arb.pyx |  6 +++---
+ src/sage/rings/real_arb.pyx    | 10 +++++-----
+ 3 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/src/sage/functions/error.py b/src/sage/functions/error.py
+index f48d04f..06f0b24 100644
+--- a/src/sage/functions/error.py
++++ b/src/sage/functions/error.py
+@@ -267,7 +267,7 @@ class Function_erf(BuiltinFunction):
+ 
+         Check that real ball evaluation is fixed :trac:`28061`::
+ 
+-            sage: RealBallField(128)(erf(5))
++            sage: RealBallField(128)(erf(5)) # abs tol 1e-38
+             [0.99999999999846254020557196514981165651 +/- 7.33e-39]
+         """
+         R = parent or s_parent(x)
+diff --git a/src/sage/rings/complex_arb.pyx b/src/sage/rings/complex_arb.pyx
+index f986970..93ff565 100644
+--- a/src/sage/rings/complex_arb.pyx
++++ b/src/sage/rings/complex_arb.pyx
+@@ -3974,8 +3974,8 @@ cdef class ComplexBall(RingElement):
+ 
+         EXAMPLES::
+ 
+-            sage: CBF(20).erfc()
+-            [5.39586561160790e-176 +/- ...e-191]
++            sage: CBF(20).erfc() # abs tol 1e-190
++            [5.39586561160790e-176 +/- 6.73e-191]
+             sage: CBF(100, 100).erfc()
+             [0.00065234366376858 +/- ...e-18] + [-0.00393572636292141 +/- ...e-18]*I
+         """
+@@ -4280,7 +4280,7 @@ cdef class ComplexBall(RingElement):
+ 
+         TESTS:
+ 
+-            sage: CBF(Shi(I))
++            sage: CBF(Shi(I)) # abs tol 1e-15
+             [0.946083070367183 +/- 9.22e-16]*I
+         """
+         cdef ComplexBall result = self._new()
+diff --git a/src/sage/rings/real_arb.pyx b/src/sage/rings/real_arb.pyx
+index 4a81784..292bfea 100644
+--- a/src/sage/rings/real_arb.pyx
++++ b/src/sage/rings/real_arb.pyx
+@@ -3506,7 +3506,7 @@ cdef class RealBall(RingElement):
+ 
+         EXAMPLES::
+ 
+-            sage: RBF(1/2).erf()
++            sage: RBF(1/2).erf() # abs tol 1e-16
+             [0.520499877813047 +/- 6.10e-16]
+         """
+         cdef RealBall res = self._new()
+@@ -3556,12 +3556,12 @@ cdef class RealBall(RingElement):
+ 
+         EXAMPLES::
+ 
+-            sage: RBF(1).Si()
++            sage: RBF(1).Si() # abs tol 1e-15
+             [0.946083070367183 +/- 9.22e-16]
+ 
+         TESTS::
+ 
+-            sage: RBF(Si(1))
++            sage: RBF(Si(1)) # abs tol 1e-15
+             [0.946083070367183 +/- 9.22e-16]
+         """
+         cdef RealBall res = self._new()
+@@ -3578,12 +3578,12 @@ cdef class RealBall(RingElement):
+ 
+         EXAMPLES::
+ 
+-            sage: RBF(1).Ci()  # abs tol 1e-16
++            sage: RBF(1).Ci()  # abs tol 1e-15
+             [0.337403922900968 +/- 3.25e-16]
+ 
+         TESTS::
+ 
+-            sage: RBF(Ci(1))  # abs tol 1e-16
++            sage: RBF(Ci(1))  # abs tol 1e-15
+             [0.337403922900968 +/- 3.25e-16]
+         """
+         cdef RealBall res = self._new()
+-- 
+cgit v1.0-1-gd88e
+
+
+From 53532ddd4e2dc92469c1590ebf0c40f8f69bf579 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Sun, 16 Jan 2022 14:16:53 +0100
+Subject: Decrease abs tol
+
+---
+ src/sage/rings/real_arb.pyx | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/sage/rings/real_arb.pyx b/src/sage/rings/real_arb.pyx
+index 292bfea..eb30f7f 100644
+--- a/src/sage/rings/real_arb.pyx
++++ b/src/sage/rings/real_arb.pyx
+@@ -3578,12 +3578,12 @@ cdef class RealBall(RingElement):
+ 
+         EXAMPLES::
+ 
+-            sage: RBF(1).Ci()  # abs tol 1e-15
++            sage: RBF(1).Ci()  # abs tol 5e-16
+             [0.337403922900968 +/- 3.25e-16]
+ 
+         TESTS::
+ 
+-            sage: RBF(Ci(1))  # abs tol 1e-15
++            sage: RBF(Ci(1))  # abs tol 5e-16
+             [0.337403922900968 +/- 3.25e-16]
+         """
+         cdef RealBall res = self._new()
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/zzz-dont_run_pytest--see_31924.patch b/srcpkgs/sagemath/patches/zzz-dont_run_pytest--see_31924.patch
new file mode 100644
index 000000000000..7ef3826aa4d2
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-dont_run_pytest--see_31924.patch
@@ -0,0 +1,27 @@
+diff --git a/src/bin/sage-runtests b/src/bin/sage-runtests
+index 589dc8cd37..6bb8bf99a4 100755
+--- a/src/bin/sage-runtests
++++ b/src/bin/sage-runtests
+@@ -154,21 +154,4 @@ if __name__ == "__main__":
+     DC = DocTestController(args, args.filenames)
+     err = DC.run()
+ 
+-    try:
+-        exit_code_pytest = 0
+-        import pytest
+-        pytest_options = ["--import-mode", "importlib"]
+-        if args.verbose:
+-            pytest_options.append("-v")
+-        exit_code_pytest = pytest.main(pytest_options + args.filenames)
+-        if exit_code_pytest == 5:
+-            # Exit code 5 means there were no test files, pass in this case
+-            exit_code_pytest = 0
+-
+-    except ModuleNotFoundError:
+-        print("Pytest is not installed, skip checking tests that rely on it.")
+-
+-    if err == 0:
+-        sys.exit(exit_code_pytest)
+-    else:
+-        sys.exit(err)
++    sys.exit(err)
diff --git a/srcpkgs/sagemath/patches/zzz-fix_long_time_test--see_33091.patch b/srcpkgs/sagemath/patches/zzz-fix_long_time_test--see_33091.patch
new file mode 100644
index 000000000000..ca360dee9f6e
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-fix_long_time_test--see_33091.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sage/matrix/matrix2.pyx b/src/sage/matrix/matrix2.pyx
+index 7d319bd54b..c1a2eed6f1 100644
+--- a/src/sage/matrix/matrix2.pyx
++++ b/src/sage/matrix/matrix2.pyx
+@@ -17215,7 +17215,7 @@ cdef class Matrix(Matrix1):
+ 
+             sage: set_random_seed()
+             sage: K = random_cone(max_ambient_dim=5)
+-            sage: all(L.change_ring(SR).is_Z_operator_on(K)
++            sage: all(L.change_ring(SR).is_Z_operator_on(K) # long time
+             ....:     for L in K.Z_operators_gens())  # long time
+             True
+ 
diff --git a/srcpkgs/sagemath/patches/zzz-fix_no_SAGE_BIN.patch b/srcpkgs/sagemath/patches/zzz-fix_no_SAGE_BIN.patch
new file mode 100644
index 000000000000..ac80085bd6b4
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-fix_no_SAGE_BIN.patch
@@ -0,0 +1,12 @@
+--- a/src/sage/misc/dist.py
++++ b/src/sage/misc/dist.py
+@@ -108,7 +108,8 @@ def install_scripts(directory=None, ignore_existing=False):
+     PATH = os.environ['PATH'].split(os.pathsep)
+     PATH = [d for d in PATH if os.path.exists(d)]
+     dir_in_path = any(os.path.samefile(directory, d) for d in PATH)
+-    PATH = os.pathsep.join(d for d in PATH
++    if os.path.exists(SAGE_BIN):
++        PATH = os.pathsep.join(d for d in PATH
+                            if not os.path.samefile(d, SAGE_BIN))
+     for cmd in ['gap', 'gp', 'hg', 'ipython', 'maxima',
+                 'mwrank', 'R', 'singular', 'sqlite3', 'M2', 'kash']:
diff --git a/srcpkgs/sagemath/patches/zzz-fix_no_venv_packages.patch b/srcpkgs/sagemath/patches/zzz-fix_no_venv_packages.patch
new file mode 100644
index 000000000000..7b19169a91d9
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-fix_no_venv_packages.patch
@@ -0,0 +1,13 @@
+diff --git a/build/make/Makefile.in b/build/make/Makefile.in
+index 0baddba4ae..be363bea71 100644
+--- a/build/make/Makefile.in
++++ b/build/make/Makefile.in
+@@ -624,7 +624,7 @@ $(1)-$(4)-no-deps:
+ 		SAGE_SPKG_WHEELS=$$($(4))/var/lib/sage/wheels \
+ 		SAGE_INST_LOCAL=$$($(4)) \
+ 		sage-logger -p '$$(SAGE_ROOT)/build/pkgs/$(1)/spkg-install' '$$(SAGE_LOGS)/$(1)-$(2).log' && \
+-	    touch "$$($(4))/$(SPKG_INST_RELDIR)/$(1)-$(2)"; \
++	    mkdir -p "$$($(4))/$(SPKG_INST_RELDIR)" && touch "$$($(4))/$(SPKG_INST_RELDIR)/$(1)-$(2)"; \
+ 	else \
+ 	    echo; \
+ 	    echo "Error: $(1) is a dummy script package that the Sage distribution uses"; \
diff --git a/srcpkgs/sagemath/patches/zzz-fixes_for_system_gap--see_29644.patch b/srcpkgs/sagemath/patches/zzz-fixes_for_system_gap--see_29644.patch
new file mode 100644
index 000000000000..741d2b23a7f5
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-fixes_for_system_gap--see_29644.patch
@@ -0,0 +1,96 @@
+From 346b4ea4c92f4287d3c097b92817cf2abfcddd8c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Thu, 13 Jan 2022 01:41:31 -0300
+Subject: [PATCH] gap: fixes for using system gap
+
+ - fix _get_shared_lib_path() so we don't need to configure GAP_SO
+ - fix gap_root() so we don't need to configure GAP_ROOT_DIR
+ - skip a useless test that cannot succeed on system gap
+ - use gap_root() in saved_workspace.py instead of GAP_ROOT_DIR
+---
+ src/sage/env.py                      |  2 +-
+ src/sage/libs/gap/saved_workspace.py |  4 ++--
+ src/sage/libs/gap/util.pyx           | 11 +++++++++++
+ src/sage_setup/optional_extension.py |  2 +-
+ 4 files changed, 15 insertions(+), 4 deletions(-)
+
+diff --git a/src/sage/env.py b/src/sage/env.py
+index c4953cfa65..c16696d298 100644
+--- a/src/sage/env.py
++++ b/src/sage/env.py
+@@ -293,7 +293,7 @@ def _get_shared_lib_path(*libnames: str) -> Optional[str]:
+             if sys.platform == 'darwin':
+                 ext = 'dylib'
+             else:
+-                ext = 'so'
++                ext = 'so*'
+ 
+             if SAGE_LOCAL:
+                 search_directories.append(Path(SAGE_LOCAL) / 'lib')
+diff --git a/src/sage/libs/gap/saved_workspace.py b/src/sage/libs/gap/saved_workspace.py
+index ad5adec36d..59c498795f 100644
+--- a/src/sage/libs/gap/saved_workspace.py
++++ b/src/sage/libs/gap/saved_workspace.py
+@@ -8,7 +8,7 @@ workspaces.
+ 
+ import os
+ import glob
+-from sage.env import GAP_ROOT_DIR
++from sage.libs.gap.util import gap_root
+ from sage.interfaces.gap_workspace import gap_workspace_file
+ 
+ 
+@@ -31,7 +31,7 @@ def timestamp():
+     """
+     libgap_dir = os.path.dirname(__file__)
+     libgap_files = glob.glob(os.path.join(libgap_dir, '*'))
+-    gap_packages = glob.glob(os.path.join(GAP_ROOT_DIR, 'pkg', '*'))
++    gap_packages = glob.glob(os.path.join(gap_root(), 'pkg', '*'))
+     files = libgap_files + gap_packages
+     if len(files) == 0:
+         print('Unable to find LibGAP files.')
+diff --git a/src/sage/libs/gap/util.pyx b/src/sage/libs/gap/util.pyx
+index 08c4c40cc0..c7dd557c35 100644
+--- a/src/sage/libs/gap/util.pyx
++++ b/src/sage/libs/gap/util.pyx
+@@ -23,6 +23,7 @@ from cysignals.signals cimport sig_on, sig_off
+ import os
+ import warnings
+ import sage.env
++import subprocess
+ 
+ from .gap_includes cimport *
+ from .element cimport *
+@@ -178,6 +179,16 @@ def gap_root():
+     if os.path.exists(sage.env.GAP_ROOT_DIR):
+         return sage.env.GAP_ROOT_DIR
+ 
++    gap_expr = 'JoinStringsWithSeparator(KERNEL_INFO().GAP_ROOT_PATHS,";")'
++    gap_root_paths = subprocess.getoutput(
++        f"gap -r -q --bare --nointeract -c 'Display({gap_expr});'"
++        ).strip().split(';')
++
++    for gapdir in gap_root_paths:
++        if os.path.exists(os.path.join(gapdir, 'sysinfo.gap')):
++            sage.env.GAP_ROOT_DIR = gapdir
++            return gapdir
++
+     # Attempt to figure out the appropriate GAP_ROOT by reading the
+     # local/bin/gap shell script; this is an ugly hack that exists for
+     # historical reasons; the best approach to setting where Sage looks for
+diff --git a/src/sage_setup/optional_extension.py b/src/sage_setup/optional_extension.py
+index f252849384..4034e3e196 100644
+--- a/src/sage_setup/optional_extension.py
++++ b/src/sage_setup/optional_extension.py
+@@ -80,7 +80,7 @@ def OptionalExtension(*args, **kwds):
+         sage: print(ext.__class__.__name__)
+         CythonizeExtension
+         sage: ext = OptionalExtension("foo", ["foo.c"], package="gap")
+-        sage: print(ext.__class__.__name__)
++        sage: print(ext.__class__.__name__)     # not tested - fails with system gap
+         Extension
+     """
+     try:
+-- 
+2.34.1
+
diff --git a/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch b/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch
new file mode 100644
index 000000000000..093e3d56eb33
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch
@@ -0,0 +1,42 @@
+More site packages not included in trac 29665
+
+diff --git a/build/pkgs/gmpy2/spkg-configure.m4 b/build/pkgs/gmpy2/spkg-configure.m4
+new file mode 100644
+index 0000000000..2d0390f7db
+--- /dev/null
++++ b/build/pkgs/gmpy2/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([gmpy2], [SAGE_PYTHON_PACKAGE_CHECK([gmpy2])])
+diff --git a/build/pkgs/sphinx/spkg-configure.m4 b/build/pkgs/sphinx/spkg-configure.m4
+new file mode 100644
+index 0000000000..e149fbb2cf
+--- /dev/null
++++ b/build/pkgs/sphinx/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([sphinx], [SAGE_PYTHON_PACKAGE_CHECK([sphinx])])
+diff --git a/build/pkgs/typing_extensions/spkg-configure.m4 b/build/pkgs/typing_extensions/spkg-configure.m4
+new file mode 100644
+index 0000000000..d475fd8257
+--- /dev/null
++++ b/build/pkgs/typing_extensions/spkg-configure.m4
+@@ -0,0 +1 @@
++SAGE_SPKG_CONFIGURE([typing_extensions], [SAGE_PYTHON_PACKAGE_CHECK([typing_extensions])])
+-- 
+diff --git a/build/pkgs/gmpy2/install-requires.txt b/build/pkgs/gmpy2/install-requires.txt
+index 51d24518ef..c25feff557 100644
+--- a/build/pkgs/gmpy2/install-requires.txt
++++ b/build/pkgs/gmpy2/install-requires.txt
+@@ -1,3 +1 @@
+-# We would like to write gmpy2 >=2.1.0b5, but pipenv does not accept prereleases in version ranges
+-# https://github.com/pypa/pipenv/issues/1760
+-gmpy2 ==2.1.0rc1
++gmpy2 >=2.1
+diff --git a/build/pkgs/ptyprocess/install-requires.txt b/build/pkgs/ptyprocess/install-requires.txt
+index de89260872..7c336f636c 100644
+--- a/build/pkgs/ptyprocess/install-requires.txt
++++ b/build/pkgs/ptyprocess/install-requires.txt
+@@ -1,3 +1,3 @@
+-ptyprocess ==0.5.1
++ptyprocess
+ # https://trac.sagemath.org/ticket/31280#comment:42 and following
+ # sagelib is not compatible with ptyprocess 0.5.2, 0.6, and 0.7
diff --git a/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch b/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch
new file mode 100644
index 000000000000..0842d9d7f6d5
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch
@@ -0,0 +1,887 @@
+From 3178a5e1e4f7174343fd913494ae255b3e05fb85 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
+Date: Mon, 17 Jan 2022 21:04:42 -0300
+Subject: [PATCH] ratpoints: remove deprecated package
+
+---
+ .github/workflows/ci-cygwin-minimal.yml       |   2 +-
+ .github/workflows/ci-cygwin-standard.yml      |   2 +-
+ COPYING.txt                                   |   1 -
+ build/pkgs/ratpoints/SPKG.rst                 |  29 --
+ build/pkgs/ratpoints/checksums.ini            |   4 -
+ build/pkgs/ratpoints/dependencies             |   5 -
+ build/pkgs/ratpoints/distros/arch.txt         |   1 -
+ build/pkgs/ratpoints/distros/conda.txt        |   1 -
+ build/pkgs/ratpoints/distros/debian.txt       |   1 -
+ build/pkgs/ratpoints/distros/nix.txt          |   1 -
+ build/pkgs/ratpoints/distros/repology.txt     |   1 -
+ build/pkgs/ratpoints/package-version.txt      |   1 -
+ build/pkgs/ratpoints/patches/Makefile.patch   |  37 ---
+ .../patches/sturm_and_rp_private.patch        | 194 ------------
+ build/pkgs/ratpoints/spkg-install.in          |  46 ---
+ build/pkgs/ratpoints/type                     |   1 -
+ build/pkgs/sagelib/dependencies               |   2 +-
+ src/sage/libs/ratpoints.pxd                   |  74 -----
+ src/sage/libs/ratpoints.pyx                   | 283 ------------------
+ .../elliptic_curves/descent_two_isogeny.pyx   |   2 -
+ src/sage_setup/library_order.py               |   2 +-
+ 21 files changed, 4 insertions(+), 686 deletions(-)
+ delete mode 100644 build/pkgs/ratpoints/SPKG.rst
+ delete mode 100644 build/pkgs/ratpoints/checksums.ini
+ delete mode 100644 build/pkgs/ratpoints/dependencies
+ delete mode 100644 build/pkgs/ratpoints/distros/arch.txt
+ delete mode 100644 build/pkgs/ratpoints/distros/conda.txt
+ delete mode 100644 build/pkgs/ratpoints/distros/debian.txt
+ delete mode 100644 build/pkgs/ratpoints/distros/nix.txt
+ delete mode 100644 build/pkgs/ratpoints/distros/repology.txt
+ delete mode 100644 build/pkgs/ratpoints/package-version.txt
+ delete mode 100644 build/pkgs/ratpoints/patches/Makefile.patch
+ delete mode 100644 build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
+ delete mode 100644 build/pkgs/ratpoints/spkg-install.in
+ delete mode 100644 build/pkgs/ratpoints/type
+ delete mode 100644 src/sage/libs/ratpoints.pxd
+ delete mode 100644 src/sage/libs/ratpoints.pyx
+
+diff --git a/.github/workflows/ci-cygwin-minimal.yml b/.github/workflows/ci-cygwin-minimal.yml
+index 9e847e7474..9df1365657 100644
+--- a/.github/workflows/ci-cygwin-minimal.yml
++++ b/.github/workflows/ci-cygwin-minimal.yml
+@@ -217,7 +217,7 @@ jobs:
+     env:
+       STAGE: ii-b
+       PREVIOUS_STAGES: i-*
+-      TARGETS: singular maxima gap pari gfan palp flintqs ratpoints arb ecm givaro
++      TARGETS: singular maxima gap pari gfan palp flintqs arb ecm givaro
+       LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
+       LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
+ 
+diff --git a/.github/workflows/ci-cygwin-standard.yml b/.github/workflows/ci-cygwin-standard.yml
+index cbbe0f46a8..8aee1c2c3c 100644
+--- a/.github/workflows/ci-cygwin-standard.yml
++++ b/.github/workflows/ci-cygwin-standard.yml
+@@ -217,7 +217,7 @@ jobs:
+     env:
+       STAGE: ii-b
+       PREVIOUS_STAGES: i-*
+-      TARGETS: singular maxima gap pari gfan palp flintqs ratpoints arb ecm givaro
++      TARGETS: singular maxima gap pari gfan palp flintqs arb ecm givaro
+       LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
+       LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
+ 
+diff --git a/COPYING.txt b/COPYING.txt
+index 1176a856a0..a3e9cc6645 100644
+--- a/COPYING.txt
++++ b/COPYING.txt
+@@ -107,7 +107,6 @@ pynac                       GPLv2+
+ pyparsing                   MIT License
+ python                      Python License (see below)
+ R                           GPLv2+
+-ratpoints                   GPLv2+
+ readline                    GPLv3+
+ rpy                         GPLv2+
+ rubiks/dietz                GPL, any version
+diff --git a/build/pkgs/ratpoints/SPKG.rst b/build/pkgs/ratpoints/SPKG.rst
+deleted file mode 100644
+index 6607094bec..0000000000
+--- a/build/pkgs/ratpoints/SPKG.rst
++++ /dev/null
+@@ -1,29 +0,0 @@
+-ratpoints: Find rational points on hyperelliptic curves
+-=======================================================
+-
+-Description
+------------
+-
+-Michael Stoll's program which searches for rational points on
+-hyperelliptic curves.
+-
+-NOTE: the ratpoints package has been assimilated by PARI/GP. Therefore,
+-this package (as Sage package) is deprecated. In the future, it will be
+-removed from Sage.
+-
+-
+-Upstream Contact
+-----------------
+-
+--  Author: Michael Stoll
+--  Email: Michael.Stoll@uni-bayreuth.de
+--  Website: http://www.mathe2.uni-bayreuth.de/stoll/programs/
+-
+-
+-Note on SSE2 instructions
+-~~~~~~~~~~~~~~~~~~~~~~~~~
+-
+--  On several architectures, the SSE2 instructions used by ratpoints
+-   cause
+-   compiler errors. In the case that ratpoints fails to build with SSE2
+-   instructions enabled, the build is repeated with SSE2 disabled.
+diff --git a/build/pkgs/ratpoints/checksums.ini b/build/pkgs/ratpoints/checksums.ini
+deleted file mode 100644
+index 46ba1c9ec1..0000000000
+--- a/build/pkgs/ratpoints/checksums.ini
++++ /dev/null
+@@ -1,4 +0,0 @@
+-tarball=ratpoints-VERSION.tar.bz2
+-sha1=14fbc3dd50742794e0b33d2dd1217e5dd8ad2623
+-md5=9bf091d1b90132433f0a1fc6b585d024
+-cksum=670991933
+diff --git a/build/pkgs/ratpoints/dependencies b/build/pkgs/ratpoints/dependencies
+deleted file mode 100644
+index 9a77ea16f7..0000000000
+--- a/build/pkgs/ratpoints/dependencies
++++ /dev/null
+@@ -1,5 +0,0 @@
+-$(MP_LIBRARY)
+-
+-----------
+-All lines of this file are ignored except the first.
+-It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
+diff --git a/build/pkgs/ratpoints/distros/arch.txt b/build/pkgs/ratpoints/distros/arch.txt
+deleted file mode 100644
+index e137758627..0000000000
+--- a/build/pkgs/ratpoints/distros/arch.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-ratpoints
+diff --git a/build/pkgs/ratpoints/distros/conda.txt b/build/pkgs/ratpoints/distros/conda.txt
+deleted file mode 100644
+index e137758627..0000000000
+--- a/build/pkgs/ratpoints/distros/conda.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-ratpoints
+diff --git a/build/pkgs/ratpoints/distros/debian.txt b/build/pkgs/ratpoints/distros/debian.txt
+deleted file mode 100644
+index dabd28d624..0000000000
+--- a/build/pkgs/ratpoints/distros/debian.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-libratpoints-dev
+diff --git a/build/pkgs/ratpoints/distros/nix.txt b/build/pkgs/ratpoints/distros/nix.txt
+deleted file mode 100644
+index e137758627..0000000000
+--- a/build/pkgs/ratpoints/distros/nix.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-ratpoints
+diff --git a/build/pkgs/ratpoints/distros/repology.txt b/build/pkgs/ratpoints/distros/repology.txt
+deleted file mode 100644
+index e137758627..0000000000
+--- a/build/pkgs/ratpoints/distros/repology.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-ratpoints
+diff --git a/build/pkgs/ratpoints/package-version.txt b/build/pkgs/ratpoints/package-version.txt
+deleted file mode 100644
+index efed46a7bd..0000000000
+--- a/build/pkgs/ratpoints/package-version.txt
++++ /dev/null
+@@ -1 +0,0 @@
+-2.1.3.p5
+diff --git a/build/pkgs/ratpoints/patches/Makefile.patch b/build/pkgs/ratpoints/patches/Makefile.patch
+deleted file mode 100644
+index 093d7c0018..0000000000
+--- a/build/pkgs/ratpoints/patches/Makefile.patch
++++ /dev/null
+@@ -1,37 +0,0 @@
+---- src/Makefile	2009-10-01 01:08:54.000000000 +0200
+-+++ patches/Makefile	2012-03-17 13:57:33.026315142 +0100
+-@@ -21,11 +21,11 @@
+- #
+- #    Michael Stoll, September 21, 2009
+- 
+--CC = gcc
+-+CC ?= gcc
+- RM = rm -f
+- INSTALL = cp
+- 
+--INSTALL_DIR = /usr/local
+-+INSTALL_DIR ?= /usr/local
+- 
+- DISTFILES = Makefile ratpoints.h rp-private.h primes.h \
+-             gen_find_points_h.c gen_init_sieve_h.c \
+-@@ -47,14 +47,14 @@
+- 	diff -q testbase rptest.out
+- 
+- install-bin: ratpoints
+--	${INSTALL} ratpoints ${INSTALL_DIR}/bin/
+--	chmod 755 ${INSTALL_DIR}/bin/ratpoints
+-+	${INSTALL} ratpoints "${INSTALL_DIR}/bin/"
+-+	chmod 755 "${INSTALL_DIR}/bin/ratpoints"
+- 
+- install-lib: ratpoints.h libratpoints.a
+--	${INSTALL} ratpoints.h ${INSTALL_DIR}/include/
+--	chmod 644 ${INSTALL_DIR}/include/ratpoints.h
+--	${INSTALL} libratpoints.a ${INSTALL_DIR}/lib/
+--	chmod 644 ${INSTALL_DIR}/lib/libratpoints.a
+-+	${INSTALL} ratpoints.h "${INSTALL_DIR}/include/"
+-+	chmod 644 "${INSTALL_DIR}/include/ratpoints.h"
+-+	${INSTALL} libratpoints.a "${INSTALL_DIR}/lib/"
+-+	chmod 644 "${INSTALL_DIR}/lib/libratpoints.a"
+- 
+- install: install-bin install-lib
+- 
+diff --git a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch b/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
+deleted file mode 100644
+index 664198c4de..0000000000
+--- a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
++++ /dev/null
+@@ -1,194 +0,0 @@
+-diff --git a/rp-private.h b/rp-private.h
+-index b4c7dad..0c7193e 100644
+---- a/rp-private.h
+-+++ b/rp-private.h
+-@@ -36,7 +36,7 @@
+- #define LONG_SHIFT ((LONG_LENGTH == 16) ? 4 : \
+-                     (LONG_LENGTH == 32) ? 5 : \
+- 		    (LONG_LENGTH == 64) ? 6 : 0)
+--#define LONG_MASK (~(-1L<<LONG_SHIFT))
+-+#define LONG_MASK (~(-(1L<<LONG_SHIFT)))
+- 
+- /* Check if SSE instructions can be used.
+-    We assume that one SSE word of 128 bit is two long's,
+-diff --git a/sturm.c b/sturm.c
+-index c78d7c6..5fd2cf5 100644
+---- a/sturm.c
+-+++ b/sturm.c
+-@@ -27,7 +27,6 @@
+-  ***********************************************************************/
+- 
+- #include "ratpoints.h"
+--
+- /**************************************************************************
+-  * Arguments of _ratpoints_compute_sturm() : (from the args argument)     *
+-  *                                                                        *
+-@@ -53,7 +52,7 @@
+- /* A helper function: evaluate the polynomial in cofs[] of given degree
+-   at num/2^denexp and return the sign. */
+- 
+--static long eval_sign(ratpoints_args *args, mpz_t *cofs, long degree,
+-+static long eval_sign(const ratpoints_args *args, const mpz_t *cofs, long degree,
+-                       long num, long denexp)
+- {
+-   long n, e, s;
+-@@ -70,11 +69,80 @@ static long eval_sign(ratpoints_args *args, mpz_t *cofs, long degree,
+-   return(s);
+- }
+- 
+-+static const    long max = (long)(((unsigned long)(-1))>>1);
+-+static const    long min = (long)(-(((unsigned long)(-1))>>1));
+-+    /* recursive helper function */
+-+static void iterate(long nl, long nr, long del, long der, long cleft, long cright,
+-+                 long sl, long sr, long depth,
+-+		 ratpoints_interval **iptr, const ratpoints_interval *ivlo,
+-+		 const ratpoints_args *args, const long k, const long sturm_degs[],
+-+                 const mpz_t sturm[][args->degree + 1])
+-+    { /* nl/2^del, nr/2^der : interval left/right endpoints,
+-+         cleft, cright: sign change counts at endpoints,
+-+         sl, sr: signs at endpoints,
+-+         depth: iteration depth */
+-+     long iter = args->sturm;
+-+      if(cleft == cright && sl < 0) { return; }
+-+         /* here we know the polynomial is negative on the interval */
+-+      if((cleft == cright && sl > 0) || depth >= iter)
+-+      /* we have to add/extend an interval if we either know that
+-+         the polynomial is positive on the interval (first condition)
+-+         or the maximal iteration depth has been reached (second condition) */
+-+      { double l = ((double)nl)/((double)(1<<del));
+-+        double u = ((double)nr)/((double)(1<<der));
+-+        if(*iptr == ivlo)
+-+        { (*iptr)->low = l; (*iptr)->up  = u; (*iptr)++; }
+-+        else
+-+        { if(((*iptr)-1)->up == l) /* extend interval */
+-+          { ((*iptr)-1)->up = u; }
+-+          else /* new interval */
+-+          { (*iptr)->low = l; (*iptr)->up  = u; (*iptr)++; }
+-+        }
+-+        return;
+-+      }
+-+      /* now we must split the interval and evaluate the sturm sequence
+-+         at the midpoint */
+-+      { long nm, dem, s0, s1, s2, s, cmid = 0, n;
+-+        if(nl == min)
+-+        { if(nr == max) { nm = 0; dem = 0; }
+-+          else { nm = (nr == 0) ? -1 : 2*nr; dem = 0; }
+-+        }
+-+        else
+-+        { if(nr == max) { nm = (nl == 0) ? 1 : 2*nl; dem = 0; }
+-+          else /* "normal" case */
+-+          { if(del == der) /* then both are zero */
+-+            { if(((nl+nr) & 1) == 0) { nm = (nl+nr)>>1; dem = 0; }
+-+              else { nm = nl+nr; dem = 1; }
+-+            }
+-+            else /* here one de* is greater */
+-+            { if(del > der) { nm = nl + (nr<<(del-der)); dem = del+1; }
+-+              else { nm = (nl<<(der-del)) + nr; dem = der+1; }
+-+            }
+-+          }
+-+        }
+-+        s0 = eval_sign(args, sturm[0], sturm_degs[0], nm, dem);
+-+        s1 = eval_sign(args, sturm[1], sturm_degs[1], nm, dem);
+-+        if(s0*s1 == -1) { cmid++; }
+-+        s = (s1 == 0) ? s0 : s1;
+-+        for(n = 2; n <= k; n++)
+-+        { s2 = eval_sign(args, sturm[n], sturm_degs[n], nm, dem);
+-+          if(s2 == -s) { cmid++; s = s2; }
+-+          else if(s2 != 0) { s = s2; }
+-+        }
+-+        /* now recurse */
+-+        iterate(nl, nm, del, dem, cleft, (s0==0) ? (cmid+1) : cmid,
+-+                sl, (s0==0) ? -s1 : s0, depth+1,
+-+                iptr, ivlo, args, k, sturm_degs, sturm);
+-+        iterate(nm, nr, dem, der, cmid, cright,
+-+                (s0==0) ? s1 : s0, sr, depth+1,
+-+		iptr, ivlo, args, k, sturm_degs, sturm);
+-+      }
+-+    } /* end iterate() */
+-+
+- long _ratpoints_compute_sturm(ratpoints_args *args)
+- { 
+-   mpz_t *cofs = args->cof;
+-   long degree = args->degree;
+--  long iter = args->sturm; 
+-   ratpoints_interval *ivlist = args->domain;
+-   long num_iv = args->num_inter;
+-   long n, m, k, new_num;
+-@@ -165,75 +233,12 @@ long _ratpoints_compute_sturm(ratpoints_args *args)
+-   /* recall: typedef struct {double low; double up;} ratpoints_interval; */
+-   { ratpoints_interval ivlocal[1 + (degree>>1)];
+-     ratpoints_interval *iptr = &ivlocal[0];
+--    long max = (long)(((unsigned long)(-1))>>1);
+--    long min = -max;
+-     long num_intervals;
+-     long slcf = mpz_cmp_si(cofs[degree], 0);
+- 
+--    /* recursive helper function */
+--    void iterate(long nl, long nr, long del, long der, long cleft, long cright,
+--                 long sl, long sr, long depth)
+--    { /* nl/2^del, nr/2^der : interval left/right endpoints,
+--         cleft, cright: sign change counts at endpoints,
+--         sl, sr: signs at endpoints,
+--         depth: iteration depth */
+--      if(cleft == cright && sl < 0) { return; }
+--         /* here we know the polynomial is negative on the interval */
+--      if((cleft == cright && sl > 0) || depth >= iter) 
+--      /* we have to add/extend an interval if we either know that
+--         the polynomial is positive on the interval (first condition)
+--         or the maximal iteration depth has been reached (second condition) */
+--      { double l = ((double)nl)/((double)(1<<del));
+--        double u = ((double)nr)/((double)(1<<der));
+--        if(iptr == &ivlocal[0])
+--        { iptr->low = l; iptr->up  = u; iptr++; }
+--        else
+--        { if((iptr-1)->up == l) /* extend interval */
+--          { (iptr-1)->up = u; }
+--          else /* new interval */
+--          { iptr->low = l; iptr->up  = u; iptr++; }
+--        }
+--        return; 
+--      }
+--      /* now we must split the interval and evaluate the sturm sequence
+--         at the midpoint */
+--      { long nm, dem, s0, s1, s2, s, cmid = 0, n;
+--        if(nl == min)
+--        { if(nr == max) { nm = 0; dem = 0; }
+--          else { nm = (nr == 0) ? -1 : 2*nr; dem = 0; }
+--        }
+--        else
+--        { if(nr == max) { nm = (nl == 0) ? 1 : 2*nl; dem = 0; } 
+--          else /* "normal" case */
+--          { if(del == der) /* then both are zero */
+--            { if(((nl+nr) & 1) == 0) { nm = (nl+nr)>>1; dem = 0; }
+--              else { nm = nl+nr; dem = 1; } 
+--            }
+--            else /* here one de* is greater */
+--            { if(del > der) { nm = nl + (nr<<(del-der)); dem = del+1; }
+--              else { nm = (nl<<(der-del)) + nr; dem = der+1; }
+--            }
+--          }
+--        }
+--        s0 = eval_sign(args, sturm[0], sturm_degs[0], nm, dem);
+--        s1 = eval_sign(args, sturm[1], sturm_degs[1], nm, dem);
+--        if(s0*s1 == -1) { cmid++; }
+--        s = (s1 == 0) ? s0 : s1;
+--        for(n = 2; n <= k; n++)
+--        { s2 = eval_sign(args, sturm[n], sturm_degs[n], nm, dem);
+--          if(s2 == -s) { cmid++; s = s2; }
+--          else if(s2 != 0) { s = s2; }
+--        }
+--        /* now recurse */
+--        iterate(nl, nm, del, dem, cleft, (s0==0) ? (cmid+1) : cmid, 
+--                sl, (s0==0) ? -s1 : s0, depth+1);
+--        iterate(nm, nr, dem, der, cmid, cright, 
+--                (s0==0) ? s1 : s0, sr, depth+1);
+--      }
+--    } /* end iterate() */
+--
+-     iterate(min, max, 0, 0, count2, count1, 
+--            (degree & 1) ? -slcf : slcf, slcf, 0);
+-+            (degree & 1) ? -slcf : slcf, slcf, 0,
+-+	    &iptr, &ivlocal[0], args, k, sturm_degs, sturm);
+-     num_intervals = iptr - &ivlocal[0];
+-     /* intersect with given intervals */
+-     { ratpoints_interval local_copy[num_iv];
+diff --git a/build/pkgs/ratpoints/spkg-install.in b/build/pkgs/ratpoints/spkg-install.in
+deleted file mode 100644
+index b6856c4d4a..0000000000
+--- a/build/pkgs/ratpoints/spkg-install.in
++++ /dev/null
+@@ -1,46 +0,0 @@
+-PRIME_SIZE=7
+-
+-CCFLAGS_NO_SSE="-I$SAGE_LOCAL/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=$PRIME_SIZE"
+-CCFLAGS2="-L$SAGE_LOCAL/lib -lgmp -lm $LDFLAGS"
+-CCFLAGS3="-L. -lratpoints"
+-
+-if [[ "$UNAME" = "Darwin" ]]; then
+-    CCFLAGS1="$CCFLAGS_NO_SSE"
+-    echo "Building without SSE2 instructions (MacOS X)."
+-else
+-    CCFLAGS1="$CCFLAGS_NO_SSE -DUSE_SSE"
+-    echo "Attempting to build ratpoints making use of SSE2 instructions."
+-fi
+-
+-# Copy CFLAGS set externally to CCFLAGS.
+-CCFLAGS="$CFLAGS"
+-
+-export CCFLAGS1
+-export CCFLAGS2
+-export CCFLAGS3
+-export CCFLAGS
+-
+-cd src/
+-
+-#############################
+-# Build (just) the library: #
+-#############################
+-
+-# PLEASE, don't break this again by deleting "libratpoints.a".  See trac 8267.
+-if ! $MAKE libratpoints.a; then
+-    [ "$UNAME" = "Darwin" ] && sdh_die "Error building ratpoints."
+-    echo "Build failed. Trying without SSE2 instructions."
+-    CCFLAGS1="$CCFLAGS_NO_SSE"
+-    sdh_make libratpoints.a
+-fi
+-
+-##############################################
+-# Install (just) the library and its header: #
+-##############################################
+-
+-# The following requires that the Makefile got patched;
+-# otherwise one could pass 'INSTALL_DIR=...' on the 'make'
+-# command line:
+-export INSTALL_DIR="$SAGE_DESTDIR_LOCAL"
+-mkdir -p "$INSTALL_DIR"/{lib,include}
+-sdh_make install-lib
+diff --git a/build/pkgs/ratpoints/type b/build/pkgs/ratpoints/type
+deleted file mode 100644
+index a6a7b9cd72..0000000000
+--- a/build/pkgs/ratpoints/type
++++ /dev/null
+@@ -1 +0,0 @@
+-standard
+diff --git a/build/pkgs/sagelib/dependencies b/build/pkgs/sagelib/dependencies
+index 9c7797b1f4..6a7d4b8132 100644
+--- a/build/pkgs/sagelib/dependencies
++++ b/build/pkgs/sagelib/dependencies
+@@ -1,4 +1,4 @@
+-FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) ratpoints requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup
++FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup
+ 
+ ----------
+ All lines of this file are ignored except the first.
+diff --git a/src/sage/libs/ratpoints.pxd b/src/sage/libs/ratpoints.pxd
+deleted file mode 100644
+index 67e309b109..0000000000
+--- a/src/sage/libs/ratpoints.pxd
++++ /dev/null
+@@ -1,74 +0,0 @@
+-from sage.rings.integer cimport Integer
+-from sage.libs.gmp.mpz cimport *
+-
+-cdef extern from "ratpoints.h":
+-    long RATPOINTS_MAX_DEGREE
+-    long RATPOINTS_ARRAY_SIZE
+-    long RATPOINTS_DEFAULT_SP1
+-    long RATPOINTS_DEFAULT_SP2
+-    long RATPOINTS_DEFAULT_NUM_PRIMES
+-    long RATPOINTS_DEFAULT_MAX_FORBIDDEN
+-    long RATPOINTS_DEFAULT_STURM
+-    long RATPOINTS_NON_SQUAREFREE
+-    long RATPOINTS_BAD_ARGS
+-
+-    # for args flags:
+-    long RATPOINTS_NO_CHECK # when set, do not check whether the surviving
+-                            # x-coordinates give rise to rational points
+-    long RATPOINTS_NO_Y # when set, only list x coordinates instead of actual points
+-    long RATPOINTS_NO_REVERSE # when set, do not modify the mpz_t array
+-    long RATPOINTS_NO_JACOBI # when set, prevent use of Jacobi symbol test
+-    long RATPOINTS_VERBOSE # when set, print some output on what ratpoints is doing
+-    # define RATPOINTS_FLAGS_INPUT_MASK \
+-    # (RATPOINTS_NO_CHECK | RATPOINTS_NO_Y | RATPOINTS_NO_REVERSE | \
+-    #  RATPOINTS_NO_JACOBI | RATPOINTS_VERBOSE)
+-
+-
+-    ctypedef struct ratpoints_interval:
+-        double low
+-        double up
+-    ctypedef struct ratpoints_args:
+-        mpz_t *cof
+-        long degree
+-        long height
+-        ratpoints_interval *domain
+-        long num_inter
+-        long b_low
+-        long b_high
+-        long sp1
+-        long sp2
+-        long array_size
+-        long sturm
+-        long num_primes
+-        long max_forbidden
+-        unsigned int flags
+-        # from here: private data
+-        # mpz_t *work
+-        # void *se_buffer
+-        # void *se_next
+-        # void *ba_buffer
+-        # void *ba_next
+-        # int *int_buffer
+-        # int *int_next
+-        # void *sieve_list
+-    long find_points(ratpoints_args*, int proc(long, long, mpz_t, void*, int*), void*)
+-    void find_points_init(ratpoints_args*)
+-    long find_points_work(ratpoints_args*, int proc(long, long, mpz_t, void*, int*), void*)
+-    void find_points_clear(ratpoints_args*)
+-
+-ctypedef struct point_list:
+-    long *xes
+-    mpz_t *ys
+-    long *zs
+-    long array_size
+-    long num_points
+-    long max_num_points
+-
+-ctypedef struct info_struct_exists_only:
+-    int verbose
+-
+-cdef int ratpoints_mpz_exists_only(mpz_t *, long, int, bint) except -1
+-
+-
+-
+-
+diff --git a/src/sage/libs/ratpoints.pyx b/src/sage/libs/ratpoints.pyx
+deleted file mode 100644
+index 257dfe3eeb..0000000000
+--- a/src/sage/libs/ratpoints.pyx
++++ /dev/null
+@@ -1,283 +0,0 @@
+-# distutils: libraries = ratpoints
+-r"""
+-Hyperelliptic Curve Point Finding, via ratpoints (deprecated)
+-
+-This module is deprecated, use PARI instead::
+-
+-    sage: pari(EllipticCurve("389a1")).ellratpoints(4)
+-    [[-2, 0], [-2, -1], [-1, 1], [-1, -2], [0, 0], [0, -1], [1, 0], [1, -1], [3, 5], [3, -6], [4, 8], [4, -9], [-3/4, 7/8], [-3/4, -15/8]]
+-    sage: pari("[x^3 + x^2 - 2*x, 1]").hyperellratpoints(4)
+-    [[-2, 0], [-2, -1], [-1, 1], [-1, -2], [0, 0], [0, -1], [1, 0], [1, -1], [3, 5], [3, -6], [4, 8], [4, -9], [-3/4, 7/8], [-3/4, -15/8]]
+-"""
+-
+-from cysignals.memory cimport sig_malloc, sig_realloc, sig_free
+-from cysignals.signals cimport sig_on, sig_off
+-
+-from sage.misc.superseded import deprecation_cython as deprecation
+-deprecation(24531, "the module sage.libs.ratpoints is deprecated; use pari.ellratpoints or pari.hyperellratpoints instead")
+-
+-
+-cdef int process(long x, long z, mpz_t y, void *info0, int *quit):
+-    # ratpoints calls this function when it finds a point [x : y : z]
+-    # info0 is the pointer passed to ratpoints originally
+-    # if quit[0] is set to a nonzero value, ratpoints will abort immediately
+-    cdef point_list *plist = <point_list *> info0
+-    cdef long i
+-    if plist.array_size == plist.num_points:
+-        i = plist.array_size
+-        plist.array_size *= 2
+-        plist.xes = <long *> sig_realloc(plist.xes, plist.array_size * sizeof(long))
+-        plist.ys = <mpz_t *> sig_realloc(plist.ys, plist.array_size * sizeof(mpz_t))
+-        plist.zs = <long *> sig_realloc(plist.zs, plist.array_size * sizeof(long))
+-        while i < plist.array_size:
+-            mpz_init(plist.ys[i])
+-            i += 1
+-    plist.xes[plist.num_points] = x
+-    mpz_set(plist.ys[plist.num_points], y)
+-    plist.zs[plist.num_points] = z
+-    plist.num_points += 1
+-    if plist.max_num_points > 0:
+-        if plist.max_num_points == plist.num_points:
+-            quit[0] = -1
+-    return 1 # weight for counting the points
+-
+-def ratpoints(list coeffs, long H, verbose=False, long max=0,
+-              min_x_denom=None, max_x_denom=None, intervals=[]):
+-    """
+-    Access the ratpoints library to find points on the hyperelliptic curve:
+-
+-    `y^2 = a_n x^n + \cdots + a_1 x + a_0.`
+-
+-    INPUT:
+-
+-    - ``coeffs`` -- list of integer coefficients `a_0` , `a_1`, ..., `a_n`
+-
+-    - ``H`` -- the bound for the denominator and the absolute value of the
+-      numerator of the `x`-coordinate
+-
+-    - ``verbose`` -- if ``True``, ratpoints will print comments about
+-      its progress
+-
+-    - ``max`` -- maximum number of points to find (if 0, find all of them)
+-
+-    OUTPUT:
+-
+-    The points output by this program are points in (1, ceil(n/2), 1)-weighted
+-    projective space. If n is even, then the associated homogeneous equation is
+-    `y^2 = a_n x^n + \cdots + a_1 x z^{n-1} + a_0 z^n` while if n is odd, it is
+-    `y^2 = a_n x^n z + \cdots + a_1 x z^n + a_0 z^{n+1}`.
+-
+-    EXAMPLES::
+-
+-        sage: from sage.libs.ratpoints import ratpoints
+-        doctest:...: DeprecationWarning: the module sage.libs.ratpoints is deprecated; use pari.ellratpoints or pari.hyperellratpoints instead
+-        See http://trac.sagemath.org/24531 for details.
+-        sage: for x,y,z in ratpoints([1..6], 200):
+-        ....:     print(-1*y^2 + 1*z^6 + 2*x*z^5 + 3*x^2*z^4 + 4*x^3*z^3 + 5*x^4*z^2 + 6*x^5*z)
+-        0
+-        0
+-        0
+-        0
+-        0
+-        0
+-        0
+-        sage: for x,y,z in ratpoints([1..5], 200):
+-        ....:    print(-1*y^2 + 1*z^4 + 2*x*z^3 + 3*x^2*z^2 + 4*x^3*z + 5*x^4)
+-        0
+-        0
+-        0
+-        0
+-        0
+-        0
+-        0
+-        0
+-
+-        sage: for x,y,z in ratpoints([1..200], 1000):
+-        ....:    print("{} {} {}".format(x,y,z))
+-        1 0 0
+-        0 1 1
+-        0 -1 1
+-        201 25353012004564588029934064107520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 200
+-        201 -25353012004564588029934064107520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 200
+-
+-    The denominator of `x` can be restricted, for example to find
+-    integral points::
+-
+-        sage: from sage.libs.ratpoints import ratpoints
+-        sage: coeffs = [400, -112, 0, 1]
+-        sage: ratpoints(coeffs, 10^6, max_x_denom=1, intervals=[[-10,0],[1000,2000]])
+-        [(1, 0, 0), (-8, 28, 1), (-8, -28, 1), (-7, 29, 1), (-7, -29, 1),
+-         (-4, 28, 1), (-4, -28, 1), (0, 20, 1), (0, -20, 1), (1368, 50596, 1),
+-         (1368, -50596, 1), (1624, 65444, 1), (1624, -65444, 1)]
+-
+-        sage: ratpoints(coeffs, 1000, min_x_denom=100, max_x_denom=200)
+-        [(1, 0, 0),
+-        (-656, 426316, 121),
+-        (-656, -426316, 121),
+-        (452, 85052, 121),
+-        (452, -85052, 121),
+-        (988, 80036, 121),
+-        (988, -80036, 121),
+-        (-556, 773188, 169),
+-        (-556, -773188, 169),
+-        (264, 432068, 169),
+-        (264, -432068, 169)]
+-
+-    Finding the integral points on the compact component of an elliptic curve::
+-
+-        sage: E = EllipticCurve([0,1,0,-35220,-1346400])
+-        sage: e1, e2, e3 = E.division_polynomial(2).roots(multiplicities=False)
+-        sage: coeffs = [E.a6(),E.a4(),E.a2(),1]
+-        sage: ratpoints(coeffs, 1000, max_x_denom=1, intervals=[[e3,e2]])
+-        [(1, 0, 0),
+-        (-165, 0, 1),
+-        (-162, 366, 1),
+-        (-162, -366, 1),
+-        (-120, 1080, 1),
+-        (-120, -1080, 1),
+-        (-90, 1050, 1),
+-        (-90, -1050, 1),
+-        (-85, 1020, 1),
+-        (-85, -1020, 1),
+-        (-42, 246, 1),
+-        (-42, -246, 1),
+-        (-40, 0, 1)]
+-    """
+-    cdef ratpoints_args args
+-    cdef long i, total, verby
+-    cdef Integer sage_int, s_x, s_y, s_z
+-    cdef point_list *plist
+-
+-
+-    verby = ~0 if verbose else 0
+-
+-    # Set the coefficient array:
+-    coeffs = [Integer(a) for a in coeffs]
+-    args.degree = len(coeffs)-1
+-    args.cof = <mpz_t *> sig_malloc((args.degree+1) * sizeof(mpz_t))
+-
+-    # Create an array to hold the points found:
+-    plist = <point_list *> sig_malloc(sizeof(point_list))
+-    if max == 0:
+-        plist.array_size = 64
+-    else:
+-        plist.array_size = max
+-    plist.xes = <long *> sig_malloc(plist.array_size * sizeof(long))
+-    plist.ys = <mpz_t *> sig_malloc(plist.array_size * sizeof(mpz_t))
+-    for i from 0 <= i < plist.array_size:
+-        mpz_init(plist.ys[i])
+-    plist.zs = <long *> sig_malloc(plist.array_size * sizeof(long))
+-    plist.num_points = 0
+-    plist.max_num_points = max
+-
+-    # Set the height bound:
+-    args.height = H
+-
+-    # Set the intervals to be searched, including any specified:
+-    args.num_inter = len(intervals)
+-    args.domain = <ratpoints_interval *> sig_malloc((args.num_inter + args.degree) * sizeof(ratpoints_interval))
+-    for i,I in enumerate(intervals):
+-        args.domain[i].low = I[0]
+-        args.domain[i].up  = I[1]
+-
+-    # Set the minimum and maximum denominators:
+-    if not min_x_denom:  min_x_denom = 1
+-    if not max_x_denom:  max_x_denom = H
+-    args.b_low = min_x_denom
+-    args.b_high = max_x_denom
+-
+-    # Set the remaining arguments, whose non-default use is technical
+-    # (see ratpoints documentation)
+-    args.sp1 = RATPOINTS_DEFAULT_SP1
+-    args.sp2 = RATPOINTS_DEFAULT_SP2
+-    args.array_size = RATPOINTS_ARRAY_SIZE
+-    args.sturm = RATPOINTS_DEFAULT_STURM
+-    args.num_primes = RATPOINTS_DEFAULT_NUM_PRIMES
+-    args.max_forbidden = RATPOINTS_DEFAULT_MAX_FORBIDDEN
+-    args.flags = (RATPOINTS_VERBOSE & verby)
+-
+-    for i from 0 <= i <= args.degree:
+-        mpz_init(args.cof[i])
+-        sage_int = <Integer> coeffs[i]
+-        mpz_set(args.cof[i], sage_int.value)
+-
+-    sig_on()
+-    total = find_points(&args, process, <void *>plist)
+-    sig_off()
+-    if total == RATPOINTS_NON_SQUAREFREE:
+-        raise RuntimeError('Polynomial must be square-free')
+-    if total == RATPOINTS_BAD_ARGS:
+-        raise RuntimeError('Bad arguments to ratpoints')
+-
+-    for i from 0 <= i <= args.degree:
+-        mpz_clear(args.cof[i])
+-
+-    sig_free(args.cof)
+-    sig_free(args.domain)
+-
+-    cdef list L = []
+-    for i from 0 <= i < plist.num_points:
+-        s_x = Integer(0)
+-        s_y = Integer(0)
+-        s_z = Integer(0)
+-        mpz_set_si(s_x.value, plist.xes[i])
+-        mpz_set(s_y.value, plist.ys[i])
+-        mpz_set_si(s_z.value, plist.zs[i])
+-        L.append((s_x,s_y,s_z))
+-
+-    for i from 0 <= i < plist.array_size:
+-        mpz_clear(plist.ys[i])
+-    sig_free(plist.xes)
+-    sig_free(plist.ys)
+-    sig_free(plist.zs)
+-    sig_free(plist)
+-
+-    return L
+-
+-cdef int process_exists_only(long x, long z, mpz_t y, void *info0, int *quit):
+-    cdef info_struct_exists_only *info_s = <info_struct_exists_only *>info0
+-    cdef Integer YY
+-    if info_s.verbose:
+-        YY = Integer(0); mpz_set(YY.value, y)
+-        print('Found point [ %d : %d : %d ], quitting' % (x, YY, z))
+-    quit[0] = -1
+-    return 1
+-
+-cdef int ratpoints_mpz_exists_only(mpz_t *coeffs, long H, int degree, bint verbose) except -1:
+-    """
+-    Direct call to ratpoints to search for existence only.
+-
+-    WARNING - The coefficient array will be modified by ratpoints.
+-    """
+-    cdef ratpoints_args args
+-    cdef info_struct_exists_only info_s
+-    cdef long total, verby = ~0 if verbose else 0
+-    info_s.verbose = verbose
+-    assert degree <= RATPOINTS_MAX_DEGREE
+-    args.degree = degree
+-    args.cof = coeffs
+-    args.domain = <ratpoints_interval *> sig_malloc(2*args.degree * sizeof(ratpoints_interval))
+-    args.height = H
+-    args.num_inter = 0
+-    args.b_low = 1
+-    args.b_high = H
+-    args.sp1 = RATPOINTS_DEFAULT_SP1
+-    args.sp2 = RATPOINTS_DEFAULT_SP2
+-    args.array_size = RATPOINTS_ARRAY_SIZE
+-    args.sturm = RATPOINTS_DEFAULT_STURM
+-    args.num_primes = RATPOINTS_DEFAULT_NUM_PRIMES
+-    args.max_forbidden = RATPOINTS_DEFAULT_MAX_FORBIDDEN
+-    args.flags = (RATPOINTS_VERBOSE & verby)
+-    sig_on()
+-    total = find_points(&args, process_exists_only, <void *>(&info_s))
+-    sig_off()
+-    sig_free(args.domain)
+-    if total == RATPOINTS_NON_SQUAREFREE:
+-        raise RuntimeError('Polynomial must be square-free')
+-    if total == RATPOINTS_BAD_ARGS:
+-        raise RuntimeError('Bad arguments to ratpoints')
+-    return 1 if (total > 0) else 0
+-
+-
+-
+-
+diff --git a/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx b/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
+index 1cc70925fa..c2f994a650 100644
+--- a/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
++++ b/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
+@@ -1,5 +1,3 @@
+-# distutils: libraries = ratpoints
+-
+ r"""
+ Descent on elliptic curves over `\QQ` with a 2-isogeny
+ """
+diff --git a/src/sage_setup/library_order.py b/src/sage_setup/library_order.py
+index 8830d44a95..0b450b3723 100644
+--- a/src/sage_setup/library_order.py
++++ b/src/sage_setup/library_order.py
+@@ -25,7 +25,7 @@ library_order_list = aliases.get("SINGULAR_LIBRARIES", []) + [
+     "giac", "intl", "curl",
+     "ec", "ecm"
+ ] + aliases.get("LINBOX_LIBRARIES", []) + aliases.get("FFLASFFPACK_LIBRARIES", []) + aliases.get("GSL_LIBRARIES", []) + [
+-    "pari", "flint", "ratpoints", "ecl", "glpk", "ppl",
++    "pari", "flint", "ecl", "glpk", "ppl",
+ ] + arb_dylib_names + [
+     "mpfi", "mpfr", "mpc", "ntl", "gmp", "gmpxx",
+     "brial",
+-- 
+2.34.1
+
diff --git a/srcpkgs/sagemath/patches/zzz-skip_doctest_giac-1.7.0--see_31563.patch b/srcpkgs/sagemath/patches/zzz-skip_doctest_giac-1.7.0--see_31563.patch
new file mode 100644
index 000000000000..563bb8526788
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-skip_doctest_giac-1.7.0--see_31563.patch
@@ -0,0 +1,14 @@
+--- a/src/sage/functions/min_max.py
++++ b/src/sage/functions/min_max.py
+@@ -233,9 +233,9 @@ class MaxSymbolic(MinMax_base):
+             sage: f = max_symbolic(sin(x), cos(x))
+             sage: r = integral(f, x, 0, 1)
+             ...
+-            sage: r
++            sage: r             # not tested -- broken with giac 1.7.0
+             sqrt(2) - cos(1)
+-            sage: r.n()
++            sage: r.n()         # not tested -- broken with giac 1.7.0
+             0.873911256504955
+         """
+         return max_symbolic(args)
diff --git a/srcpkgs/sagemath/patches/zzz-skip_doctest_no_threejs.patch b/srcpkgs/sagemath/patches/zzz-skip_doctest_no_threejs.patch
new file mode 100644
index 000000000000..9b6d0a775b10
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-skip_doctest_no_threejs.patch
@@ -0,0 +1,13 @@
+diff --git a/src/sage/repl/ipython_kernel/install.py b/src/sage/repl/ipython_kernel/install.py
+index 2143c221ed..f781037c70 100644
+--- a/src/sage/repl/ipython_kernel/install.py
++++ b/src/sage/repl/ipython_kernel/install.py
+@@ -124,7 +124,7 @@ class SageKernelSpec(object):
+             sage: spec = SageKernelSpec(prefix=tmp_dir())
+             sage: spec.use_local_threejs()
+             sage: threejs = os.path.join(spec.nbextensions_dir, 'threejs-sage')
+-            sage: os.path.isdir(threejs)
++            sage: os.path.isdir(threejs)    # optional - threejs
+             True
+         """
+         src = THREEJS_DIR
diff --git a/srcpkgs/sagemath/patches/zzz-skip_doctest_sage_setup_find.patch b/srcpkgs/sagemath/patches/zzz-skip_doctest_sage_setup_find.patch
new file mode 100644
index 000000000000..15aed02f9aaa
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-skip_doctest_sage_setup_find.patch
@@ -0,0 +1,12 @@
+--- a/src/sage_setup/find.py
++++ b/src/sage_setup/find.py
+@@ -301,7 +301,7 @@ def find_extra_files(src_dir, modules, cythonized_dir, special_filenames=[]):
+         sage: extras["sage/libs/mpfr"]
+         [...sage/libs/mpfr/types.pxd...]
+         sage: extras["sage/ext/interpreters"]
+-        ['.../src/sage/ext/interpreters/wrapper_cdf.pxd', ...wrapper_cdf.h...]
++        ['.../src/sage/ext/interpreters/wrapper_cdf.pxd', ...]
+     """
+     from Cython.Utils import is_package_dir
+ 
+--
diff --git a/srcpkgs/sagemath/patches/zzz-skip_doctest_shebang.patch b/srcpkgs/sagemath/patches/zzz-skip_doctest_shebang.patch
new file mode 100644
index 000000000000..04fa2acbf3ec
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-skip_doctest_shebang.patch
@@ -0,0 +1,11 @@
+--- a/src/sage/tests/cmdline.py
++++ b/src/sage/tests/cmdline.py
+@@ -488,7 +488,7 @@ def test_executable(args, input="", timeout=100.0, pydebug_ignore_warnings=False
+         0
+ 
+         sage: (out, err, ret) = test_executable(["sage", "--cython"])
+-        sage: print(err)
++        sage: print(err)  # not tested - broken when shebang is rewritten
+         Cython (http://cython.org) is a compiler for code written in the
+         Cython language.  Cython is based on Pyrex by Greg Ewing.
+         ...
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
new file mode 100644
index 000000000000..f0003a6c8246
--- /dev/null
+++ b/srcpkgs/sagemath/template
@@ -0,0 +1,251 @@
+# Template file for 'sagemath'
+pkgname=sagemath
+version=9.5.rc3
+revision=1
+wrksrc=sage-$version
+build_style=configure
+configure_args="--enable-build-as-root --with-system-python3
+ --enable-system-site-packages"
+make_check_target=ptest
+# for now skip building docs
+make_build_target=build
+depends="giac git FlintQS zn_poly sympow
+ pari-elldata-small pari-galdata pari-galpol-small pari-seadata-small
+ flintlib-devel gsl-devel ntl-devel eclib-devel pari-devel mpfr-devel
+ m4ri-devel gd-devel libpng-devel fflas-ffpack pkg-config gcc-fortran
+ linbox-devel gfan nauty-devel palp tachyon maxima-ecl
+ "
+short_desc="Open source mathematics software"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-3.0-only, GPL-2.0-or-later, CC-BY-SA-3.0, custom:Various free"
+homepage="http://sagemath.org/"
+distfiles="https://github.com/sagemath/sage/archive/refs/tags/$version.tar.gz"
+checksum=dabc1a98e883c6069b59a755852bb0030395404a95d19d497c56f557c02619c2
+python_version=3
+patch_args="-F0 -Np1"
+
+build_options="debug"
+desc_option_debug="Build with debug symbols"
+
+# path where sage will be installed
+_SAGE_ROOT=/usr/lib/sage-${version}
+
+# Skip these sage packages: they are not needed
+_spkg_skip="appnope fonttools importlib_resources pycygwin
+ setuptools_scm_git_archive setuptools_wheel sphinxcontrib_websupport
+ pplpy_doc vcversioner
+ jmol mathjax sagenb_export thebe sagetex jupyter_jsmol rpy2 threejs"
+
+# Force use these sage packages from system
+_spkg_system="cppy cython cysignals cypari pplpy fpylll memory_allocator
+ primecountpy"
+
+# Databases to be used from system
+_spkg_db="combinatorial_designs conway_polynomials elliptic_curves graphs
+ polytopes_db"
+
+for spkg in $_spkg_skip; do
+	configure_args+=" sage_spkg_install_$spkg=no"
+	configure_args+=" sage_require_$spkg=no"
+done
+
+for spkg in $_spkg_system; do
+	configure_args+=" sage_spkg_install_$spkg=no"
+	configure_args+=" sage_require_$spkg=yes"
+done
+
+for spkg in $_spkg_db; do
+	configure_args+=" sage_spkg_install_$spkg=no"
+	configure_args+=" sage_require_$spkg=yes"
+	depends+=" sage-data-$spkg"
+	checkdepends+=" sage-data-$spkg"
+done
+
+# for now, just build native; we'll worry about cross later
+# besides, some dependencies are nocross (e.g. ntl)
+nocross=yes
+
+# for now, to make install faster
+nostrip=yes
+
+# don't shlib_provide anything
+noshlibprovides=yes
+
+# compile python code in sage venv
+pycompile_dirs="$_SAGE_ROOT/venv/"
+
+post_extract() {
+	# sage wants to be built in place so let $wrksrc be a symlink
+	rm -rf $_SAGE_ROOT
+	mv -T $wrksrc $_SAGE_ROOT
+	ln -srfT $_SAGE_ROOT $wrksrc
+
+	mkdir -p $wrksrc/upstream
+	for u in ${_upstream}; do
+		cp "$XBPS_SRCDISTDIR/${pkgname}-${version}/${u##*[/>]}" $wrksrc/upstream
+	done
+}
+
+do_clean() {
+	rm -rf $wrksrc $_SAGE_ROOT
+}
+
+post_patch() {
+	./bootstrap
+}
+
+pre_configure() {
+	if [ "$build_option_debug" ]; then
+		export SAGE_DEBUG=yes
+	fi
+
+	export MAKE="make -j ${XBPS_MAKEJOBS}"
+}
+
+post_configure() {
+	# we set some variables, right after configure has created sage_conf.py
+	cat <<-EOF >> pkgs/sage-conf/sage_conf.py
+	GAP_ROOT_DIR = "/usr/share/gap"
+	GAP_SO = "$(objdump -p /usr/lib/libgap.so | awk '/SONAME/{print $2}')"
+	CONWAY_POLYNOMIALS_DATA_DIR = "/usr/share/sagemath/conway_polynomials"
+	GRAPHS_DATA_DIR = "/usr/share/sagemath/graphs"
+	ELLCURVE_DATA_DIR = "/usr/share/sagemath/ellcurves"
+	POLYTOPE_DATA_DIR = "/usr/share/sagemath/reflexive_polytopes"
+	COMBINATORIAL_DESIGN_DATA_DIR = "/usr/share/sagemath/combinatorial_designs"
+	CREMONA_MINI_DATA_DIR = "/usr/share/sagemath/cremona"
+	CREMONA_LARGE_DATA_DIR = "/usr/share/sagemath/cremona"
+	EOF
+}
+
+do_install() {
+	vlicense COPYING.txt
+	vdoc README.md
+	vmkdir $_SAGE_ROOT
+	vcopy "VERSION.txt prefix sage venv" $_SAGE_ROOT
+	vmkdir $_SAGE_ROOT/local
+	for f in bin include lib share; do
+		vcopy local/$f $_SAGE_ROOT/local
+	done
+	vmkdir $_SAGE_ROOT/$(readlink venv)
+	for f in pyvenv.cfg bin lib share; do
+		vcopy venv/$f $_SAGE_ROOT/venv/
+	done
+	vcopy "src" $_SAGE_ROOT # only src/sage ?
+
+	# not needed ?
+	# Maybe pkgs/sagemath-standard/build/cythonized for debug
+	#vcopy "build pkgs" $_SAGE_ROOT
+
+	# symlink main binary
+	vmkdir usr/bin
+	# for now use sage-${version}_${revision} so it doesn't override
+	# other sage installed in the system
+	ln -sfT $_SAGE_ROOT/sage ${DESTDIR}/usr/bin/sage-${version}
+	ln -sfT sage-${version} ${DESTDIR}/usr/bin/sage
+}
+
+do_check() {
+	if [ -f ${XBPS_DISTDIR}/sagemath-check ] ; then
+		_test_files=$(sed -e 's/#.*//;/^\s*$/d' ${XBPS_DISTDIR}/sagemath-check)
+	fi
+	if [ -z "$_test_files" ]; then
+		_test_files=--all
+	fi
+	cp ${FILESDIR}/timings2.json .
+	_test_args="--stats_path=timings2.json"
+	if [ "$XBPS_CHECK_PKGS" = full ]; then
+		_test_args+=" --long --warn-long 60.0"
+	else
+		_test_args+=" --warn-long 30.0"
+	fi
+	if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
+		# for CI use a predictable random seed
+		_test_args+=" --random-seed=0"
+	fi
+	# since make check will build the docs, run test like this instead
+	./sage -tp ${XBPS_MAKEJOBS} ${_test_args} ${_test_files}
+}
+
+### copied from sage-deps, to be kept in sync
+
+# hard dependencies
+makedepends="gcc make m4 perl binutils git tar libgomp-devel"
+
+# recommended dependencies
+makedepends+=" gcc-fortran openssl-devel"
+
+# bootstrap dependencies
+makedepends+=" automake gettext gettext-devel"
+
+# other host dependencies
+makedepends+=" cmake curl git ninja pandoc patch pkg-config python3 tox"
+
+# standard dependencies
+makedepends+="
+ CoinMP-devel R arb-devel boost-devel bzip2-devel ecl eclib-devel
+ ecm-devel flintlib-devel freetype-devel gc-devel gd-devel giac-devel
+ glpk-devel gmp-devel gmpxx-devel gp2c graphviz graphviz-devel gsl-devel
+ isl-devel libatomic_ops-devel libcurl-devel libffi-devel libmpc-devel
+ libpng-devel libxml2-devel mpfr-devel ncurses-devel openblas-devel
+ pari-devel pari-elldata-small pari-galdata pari-galpol-small
+ pari-seadata pcre-devel perl-File-Slurp perl-JSON perl-Term-ReadKey
+ perl-Term-ReadLine-Gnu perl-XML-LibXML perl-XML-LibXSLT
+ perl-XML-Writer ppl-devel python3-devel readline-devel sqlite-devel
+ zeromq-devel zlib-devel
+ FlintQS SuiteSparse-devel cddlib-devel fflas-ffpack fplll-devel gf2x-devel
+ givaro-devel igraph-devel iml-devel lcalc-devel linbox-devel
+ m4ri-devel m4rie-devel mpfi-devel ntl-devel perl-SVG rankwidth-devel
+ singular sympow zn_poly symmetrica-devel planarity-devel qhull libqhull-devel
+ gengetopt texinfo
+ brial-devel cliquer-devel gfan libbraiding-devel libhomfly-devel
+ lrcalc-devel nauty-devel palp tachyon
+ maxima-ecl primesieve-devel primecount-devel gap-devel
+"
+
+# optional dependencies
+makedepends+="
+ ffmpeg ImageMagick
+"
+
+# TODO: optional
+# 4ti2 coxeter3 libsemigroups lrslib pdf2svg perl_mongodb polymake
+
+# python packages for trac-29665
+_sage_python3_modules="
+ python3-Babel python3-Jinja2 python3-MarkupSafe python3-Pillow
+ python3-Pygments python3-Sphinx python3-alabaster python3-argcomplete
+ python3-argon2 python3-attrs python3-backcall python3-beniget
+ python3-bleach python3-certifi python3-cffi python3-charset-normalizer
+ python3-cycler python3-dateutil python3-decorator python3-defusedxml
+ python3-docutils python3-entrypoints python3-flit_core python3-gast
+ python3-gmpy2 python3-html5lib python3-idna python3-imagesize
+ python3-importlib_metadata python3-ipython python3-ipython_genutils
+ python3-ipython_ipykernel python3-jedi python3-jsonschema
+ python3-jupyter_client python3-jupyter_core python3-jupyter_ipywidgets
+ python3-jupyter_nbconvert python3-jupyter_nbformat
+ python3-jupyter_notebook python3-jupyterlab_pygments python3-kiwisolver
+ python3-matplotlib python3-matplotlib-inline python3-mistune
+ python3-mpmath python3-nbclient python3-nest_asyncio python3-networkx
+ python3-numpy python3-packaging python3-pandocfilters python3-parsing
+ python3-parso python3-pexpect python3-pickleshare python3-pip
+ python3-pkgconfig python3-pluggy python3-ply python3-prometheus_client
+ python3-prompt_toolkit python3-ptyprocess python3-py python3-pybind11
+ python3-pycparser python3-pyrsistent python3-pytz python3-pyzmq
+ python3-requests python3-scipy python3-send2trash python3-setuptools
+ python3-setuptools_scm python3-simplegeneric python3-six
+ python3-snowballstemmer python3-sphinxcontrib-applehelp
+ python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp
+ python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp
+ python3-sphinxcontrib-serializinghtml python3-sympy python3-terminado
+ python3-testpath python3-texttable python3-toml python3-tomli
+ python3-tornado python3-traitlets python3-typing_extensions
+ python3-tzlocal python3-urllib3 python3-wcwidth python3-webencodings
+ python3-wheel python3-zipp pythran
+
+ python3-cvxopt python3-cppy python3-Cython python3-cysignals python3-cypari2
+ python3-pplpy python3-fpylll python3-primecountpy python3-memory_allocator
+"
+
+# python packages are build and runtime dependencies
+makedepends+=" $_sage_python3_modules"
+depends+=" $_sage_python3_modules"
diff --git a/srcpkgs/sagemath/update b/srcpkgs/sagemath/update
new file mode 100644
index 000000000000..c33aba4e6df2
--- /dev/null
+++ b/srcpkgs/sagemath/update
@@ -0,0 +1,4 @@
+pkgname=sage
+# for now, check both stable and devel releases
+site="http://mirrors.mit.edu/sage/src/
+http://mirrors.mit.edu/sage/devel/"

From 0c66e3398ce8b5843d0be4eb4674f6735f64596f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 13 Jan 2022 15:47:33 -0300
Subject: [PATCH 2/9] New package: sagemath-test

---
 srcpkgs/sagemath-test/files/timings2.json |  1 +
 srcpkgs/sagemath-test/template            | 35 +++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 120000 srcpkgs/sagemath-test/files/timings2.json
 create mode 100644 srcpkgs/sagemath-test/template

diff --git a/srcpkgs/sagemath-test/files/timings2.json b/srcpkgs/sagemath-test/files/timings2.json
new file mode 120000
index 000000000000..25d5309fc818
--- /dev/null
+++ b/srcpkgs/sagemath-test/files/timings2.json
@@ -0,0 +1 @@
+../../sagemath/files/timings2.json
\ No newline at end of file
diff --git a/srcpkgs/sagemath-test/template b/srcpkgs/sagemath-test/template
new file mode 100644
index 000000000000..1e6c76274a4d
--- /dev/null
+++ b/srcpkgs/sagemath-test/template
@@ -0,0 +1,35 @@
+# Template file for 'sagemath-test'
+pkgname=sagemath-test
+version=1
+revision=1
+build_style=meta
+checkdepends="sagemath"
+short_desc="Dummy package to test sagemath"
+maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
+license="GPL-2.0-or-later"
+homepage="none"
+
+# TODO: install base-voidstrap, uninstall base-chroot, and remove orphans
+# so we can check sagemath depends are enough to run sage on void
+
+do_check() {
+	if [ -f ${XBPS_DISTDIR}/sagemath-check ] ; then
+		_test_files=$(sed -e 's/#.*//;/^\s*$/d' ${XBPS_DISTDIR}/sagemath-check)
+	fi
+	if [ -z "$_test_files" ]; then
+		_test_files=--all
+	fi
+	cp ${FILESDIR}/timings2.json .
+	_test_args="--stats_path=timings2.json"
+	if [ "$XBPS_CHECK_PKGS" = full ]; then
+		_test_args+=" --long --warn-long 60.0"
+	else
+		_test_args+=" --warn-long 30.0"
+	fi
+	if [ "$XBPS_BUILD_ENVIRONMENT" = "void-packages-ci" ]; then
+		# for CI use a predictable random seed
+		_test_args+=" --random-seed=0"
+	fi
+	# since make check will build the docs, run test like this instead
+	sage -tp ${XBPS_MAKEJOBS} ${_test_args} ${_test_files}
+}

From 1e61a32128b39a272b621402d82bcb0545d0d882 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 19 Jan 2022 00:26:58 -0300
Subject: [PATCH 3/9] sagemath: linbox, gap, maxima without patch

---
 ...13e88ee188d516e4956832a23f985a73917a.patch |  31 ---
 ...ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch |  23 --
 ...f491e5ce599ba185f5e93f02e0fcebd76c9e.patch |  57 ----
 ...aba734cb4ded0b04165fa142b5cf4c38fd23.patch | 247 ------------------
 srcpkgs/sagemath/template                     |   8 +-
 5 files changed, 7 insertions(+), 359 deletions(-)
 delete mode 100644 srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch

diff --git a/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch b/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
deleted file mode 100644
index 483dbe2c2597..000000000000
--- a/srcpkgs/sagemath/patches/trac-29631-001-system_linbox-794713e88ee188d516e4956832a23f985a73917a.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 794713e88ee188d516e4956832a23f985a73917a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 12 Nov 2021 10:07:44 -0500
-Subject: Trac #29631: new spkg-configure.m4 for linbox.
-
-This is essentially the file posted as an attachment on Trac 29631 by
-Thierry Thomas. I've chosen to leave the lower bound at the latest
-v1.6.3, since in the intervening months most distributions appear to
-have updated.
----
- build/pkgs/linbox/spkg-configure.m4 | 8 ++++++++
- 1 file changed, 8 insertions(+)
- create mode 100644 build/pkgs/linbox/spkg-configure.m4
-
-diff --git a/build/pkgs/linbox/spkg-configure.m4 b/build/pkgs/linbox/spkg-configure.m4
-new file mode 100644
-index 00000000..fbf405c
---- /dev/null
-+++ b/build/pkgs/linbox/spkg-configure.m4
-@@ -0,0 +1,8 @@
-+SAGE_SPKG_CONFIGURE([linbox], [
-+  SAGE_SPKG_DEPCHECK([fflas-ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
-+    PKG_CHECK_MODULES([LINBOX],
-+                      [linbox >= 1.6.3],
-+                      [],
-+                      [sage_spkg_install_linbox=yes])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch b/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
deleted file mode 100644
index 3b20d13100e7..000000000000
--- a/srcpkgs/sagemath/patches/trac-29631-002-system_linbox-7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 7e16ea979d4bfa1a26ef3b08a29ca626b83b6ff5 Mon Sep 17 00:00:00 2001
-From: Dima Pasechnik <dima@pasechnik.info>
-Date: Sun, 5 Dec 2021 10:59:34 +0000
-Subject: correct the package name: `-`->`_`
-
----
- build/pkgs/linbox/spkg-configure.m4 | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/pkgs/linbox/spkg-configure.m4 b/build/pkgs/linbox/spkg-configure.m4
-index fbf405c..f54b210 100644
---- a/build/pkgs/linbox/spkg-configure.m4
-+++ b/build/pkgs/linbox/spkg-configure.m4
-@@ -1,5 +1,5 @@
- SAGE_SPKG_CONFIGURE([linbox], [
--  SAGE_SPKG_DEPCHECK([fflas-ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
-+  SAGE_SPKG_DEPCHECK([fflas_ffpack flint fplll givaro gmp iml m4ri m4rie mpfr ntl], [
-     PKG_CHECK_MODULES([LINBOX],
-                       [linbox >= 1.6.3],
-                       [],
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch b/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
deleted file mode 100644
index da88a369db0d..000000000000
--- a/srcpkgs/sagemath/patches/trac-29644-system_gap-2a41f491e5ce599ba185f5e93f02e0fcebd76c9e.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 2c981351bb60089530b0598d3e9a909a23d4d4d8 Mon Sep 17 00:00:00 2001
-From: Thierry Thomas <thierry@FreeBSD.org>
-Date: Mon, 22 Mar 2021 03:04:12 +0100
-Subject: 29644: Add spkg-configure.m4 for gap
-
----
- build/pkgs/gap/spkg-configure.m4 | 8 ++++++++
- 1 file changed, 8 insertions(+)
- create mode 100644 build/pkgs/gap/spkg-configure.m4
-
-diff --git a/build/pkgs/gap/spkg-configure.m4 b/build/pkgs/gap/spkg-configure.m4
-new file mode 100644
-index 00000000..91cd089
---- /dev/null
-+++ b/build/pkgs/gap/spkg-configure.m4
-@@ -0,0 +1,8 @@
-+SAGE_SPKG_CONFIGURE([gap], [
-+    SAGE_SPKG_DEPCHECK([gmp], [
-+       AC_CHECK_HEADER([gap/system.h], [
-+        AC_SEARCH_LIBS([GAP_COMM], [gap], [
-+        ], [sage_spkg_install_gap=yes])
-+       ], [sage_spkg_install_gap=yes])
-+    ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 2a41f491e5ce599ba185f5e93f02e0fcebd76c9e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Samuel=20Leli=C3=A8vre?= <samuel.lelievre@gmail.com>
-Date: Mon, 22 Mar 2021 03:05:31 +0100
-Subject: 29644: Add distro information for gap
-
----
- build/pkgs/gap/distros/fedora.txt | 1 +
- build/pkgs/gap/distros/gentoo.txt | 1 +
- 2 files changed, 2 insertions(+)
- create mode 100644 build/pkgs/gap/distros/fedora.txt
- create mode 100644 build/pkgs/gap/distros/gentoo.txt
-
-diff --git a/build/pkgs/gap/distros/fedora.txt b/build/pkgs/gap/distros/fedora.txt
-new file mode 100644
-index 00000000..ea4feae
---- /dev/null
-+++ b/build/pkgs/gap/distros/fedora.txt
-@@ -0,0 +1 @@
-+gap
-diff --git a/build/pkgs/gap/distros/gentoo.txt b/build/pkgs/gap/distros/gentoo.txt
-new file mode 100644
-index 00000000..ea64ec9
---- /dev/null
-+++ b/build/pkgs/gap/distros/gentoo.txt
-@@ -0,0 +1 @@
-+sci-mathematics/gap
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch b/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch
deleted file mode 100644
index 8edbde0ce76f..000000000000
--- a/srcpkgs/sagemath/patches/trac-32867-system_maxima-ed39aba734cb4ded0b04165fa142b5cf4c38fd23.patch
+++ /dev/null
@@ -1,247 +0,0 @@
-From ab5400040fcf3a1061229afb3ab81f26fef0858d Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 12 Nov 2021 21:33:39 -0500
-Subject: Trac #32867: don't export MAXIMA_PREFIX.
-
-This should work automatically, and the previous behavior is
-incorrect if we intend to use the system copy of maxima.
----
- src/bin/sage-env | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/src/bin/sage-env b/src/bin/sage-env
-index a0426df..f0866b4 100644
---- a/src/bin/sage-env
-+++ b/src/bin/sage-env
-@@ -482,9 +482,6 @@ if [ -d "$DOT_SAGE" ] ; then
-     fi
- fi
- 
--if [ -n "$SAGE_LOCAL" ]; then
--    export MAXIMA_PREFIX="$SAGE_LOCAL"
--fi
- export MAXIMA_USERDIR="$DOT_SAGE/maxima"
- 
- if [ -n "$SAGE_LOCAL" ]; then
--- 
-cgit v1.0-1-gd88e
-
-
-From 0e29761fbd23736d8d9acd235e4fa2de839df6a4 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 12 Nov 2021 21:13:21 -0500
-Subject: Trac #32867: remove the MAXIMA sage_conf variable.
-
-Until now, the MAXIMA variable held the name of the main maxima
-executable. But there really is no reason to use anything other
-than "maxima -l ecl", which works in all cases. This commit
-replaces the variable with the hard-coded value. This simplifies
-the use of maxima from the system because we no longer need to
-set sage_conf.MAXIMA to any particular value during ./configure.
----
- pkgs/sage-conf/sage_conf.py.in         | 2 --
- src/bin/sage                           | 6 +-----
- src/sage/env.py                        | 1 -
- src/sage/interfaces/maxima.py          | 3 +--
- src/sage/interfaces/maxima_abstract.py | 8 ++++----
- 5 files changed, 6 insertions(+), 14 deletions(-)
-
-diff --git a/pkgs/sage-conf/sage_conf.py.in b/pkgs/sage-conf/sage_conf.py.in
-index fbce694..b40cda6 100644
---- a/pkgs/sage-conf/sage_conf.py.in
-+++ b/pkgs/sage-conf/sage_conf.py.in
-@@ -9,8 +9,6 @@ VERSION = "@PACKAGE_VERSION@"
- SAGE_LOCAL = "@prefix@"
- SAGE_ROOT = "@SAGE_ROOT@"
- 
--MAXIMA = "@prefix@/bin/maxima"
--
- # Delete this line if your ECL can load maxima without further prodding.
- MAXIMA_FAS = "@SAGE_MAXIMA_FAS@".replace('${prefix}', SAGE_LOCAL)
- 
-diff --git a/src/bin/sage b/src/bin/sage
-index fcd2630..54b69a1 100755
---- a/src/bin/sage
-+++ b/src/bin/sage
-@@ -684,11 +684,7 @@ fi
- 
- if [ "$1" = '-maxima' -o "$1" = '--maxima' ]; then
-     shift
--    maxima_cmd=$(sage-config MAXIMA 2>/dev/null)
--    if [ -z "${maxima_cmd}" ]; then
--        maxima_cmd="maxima -l ecl"
--    fi
--    exec $maxima_cmd "$@"
-+    exec maxima -l ecl "$@"
- fi
- 
- if [ "$1" = '-mwrank' -o "$1" = '--mwrank' ]; then
-diff --git a/src/sage/env.py b/src/sage/env.py
-index 40ace13..95edc16 100644
---- a/src/sage/env.py
-+++ b/src/sage/env.py
-@@ -207,7 +207,6 @@ MATHJAX_DIR = var("MATHJAX_DIR", join(SAGE_SHARE, "mathjax"))
- MTXLIB = var("MTXLIB", join(SAGE_SHARE, "meataxe"))
- THREEJS_DIR = var("THREEJS_DIR", join(SAGE_SHARE, "threejs-sage"))
- PPLPY_DOCS = var("PPLPY_DOCS", join(SAGE_SHARE, "doc", "pplpy"))
--MAXIMA = var("MAXIMA", "maxima")
- MAXIMA_FAS = var("MAXIMA_FAS")
- KENZO_FAS = var("KENZO_FAS")
- SAGE_NAUTY_BINS_PREFIX = var("SAGE_NAUTY_BINS_PREFIX", "")
-diff --git a/src/sage/interfaces/maxima.py b/src/sage/interfaces/maxima.py
-index fc7f48b..7313c7d 100644
---- a/src/sage/interfaces/maxima.py
-+++ b/src/sage/interfaces/maxima.py
-@@ -484,7 +484,6 @@ import shlex
- 
- from random import randrange
- 
--from sage.env import MAXIMA
- from sage.misc.misc import ECL_TMP
- 
- from .expect import (Expect, ExpectElement, gc_disabled)
-@@ -558,7 +557,7 @@ class Maxima(MaximaAbstract, Expect):
-         Expect.__init__(self,
-                         name = 'maxima',
-                         prompt = r'\(\%i[0-9]+\) ',
--                        command = '{0} -p {1}'.format(MAXIMA, shlex.quote(STARTUP)),
-+                        command = 'maxima -l ecl -p {0}'.format(shlex.quote(STARTUP)),
-                         env = {'TMPDIR': str(ECL_TMP)},
-                         script_subdirectory = script_subdirectory,
-                         restart_on_ctrlc = False,
-diff --git a/src/sage/interfaces/maxima_abstract.py b/src/sage/interfaces/maxima_abstract.py
-index 917059d..c966a3c 100644
---- a/src/sage/interfaces/maxima_abstract.py
-+++ b/src/sage/interfaces/maxima_abstract.py
-@@ -54,7 +54,7 @@ import re
- import sys
- import subprocess
- 
--from sage.env import DOT_SAGE, MAXIMA
-+from sage.env import DOT_SAGE
- COMMANDS_CACHE = '%s/maxima_commandlist_cache.sobj' % DOT_SAGE
- 
- from sage.cpython.string import bytes_to_str
-@@ -164,7 +164,7 @@ class MaximaAbstract(ExtraTabCompletion, Interface):
-             -- Function: gcd (<p_1>, <p_2>, <x_1>, ...)
-             ...
-         """
--        cmd = '{} --very-quiet --batch-string="{}({});" '.format(MAXIMA, command, s)
-+        cmd = 'maxima -l ecl --very-quiet --batch-string="{}({});" '.format(command, s)
-         env = os.environ.copy()
-         env['TMPDIR'] = str(ECL_TMP)
- 
-@@ -2214,7 +2214,7 @@ def maxima_version():
-         sage: maxima_version()  # random
-         '5.41.0'
-     """
--    with os.popen('{} --version'.format(MAXIMA)) as p:
-+    with os.popen('maxima -l ecl --version') as p:
-         return p.read().split()[-1]
- 
- 
-@@ -2232,4 +2232,4 @@ def maxima_console():
-     from sage.repl.rich_output.display_manager import get_display_manager
-     if not get_display_manager().is_in_terminal():
-         raise RuntimeError('Can use the console only in the terminal. Try %%maxima magics instead.')
--    os.system('{}'.format(MAXIMA))
-+    os.system('maxima -l ecl')
--- 
-cgit v1.0-1-gd88e
-
-
-From 88992bfae6d2aba0819b8cd67ae36621a5873b38 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 12 Nov 2021 20:51:28 -0500
-Subject: Trac #32867: new spkg-configure.m4 for maxima.
-
-This new spkg-configure.m4 checks for both a "maxima" executable, and
-the usability of a "maxima" package by ECL. (The latter requires a
-patched maxima until a new release with commit a0d7a43e523 is made.)
-Notably absent for the moment is a version check, but feature testing
-is moot until we decide what to do about matrixexp.patch.
-
-This commit also moves the SAGE_MAXIMA_FAS variable handling from
-ECL's spkg-configure.m4 to maxima's (where it would have belonged in
-the first place, if maxima had an spkg-configure.m4 at the time.)
----
- build/pkgs/ecl/spkg-configure.m4    |  5 +----
- build/pkgs/maxima/spkg-configure.m4 | 35 +++++++++++++++++++++++++++++++++++
- pkgs/sage-conf/sage_conf.py.in      |  3 ++-
- 3 files changed, 38 insertions(+), 5 deletions(-)
- create mode 100644 build/pkgs/maxima/spkg-configure.m4
-
-diff --git a/build/pkgs/ecl/spkg-configure.m4 b/build/pkgs/ecl/spkg-configure.m4
-index ae1e0ac..7dbcfa6 100644
---- a/build/pkgs/ecl/spkg-configure.m4
-+++ b/build/pkgs/ecl/spkg-configure.m4
-@@ -35,10 +35,7 @@ SAGE_SPKG_CONFIGURE([ecl], [
-     AC_SUBST(SAGE_ECL_CONFIG, [$ECL_CONFIG])
-   fi
- 
--  # Maxima cannot yet be provided by the system, so we always use
-+  # Kenzo cannot yet be provided by the system, so we always use
-   # the SAGE_LOCAL path for now.
--  AC_SUBST(SAGE_MAXIMA_FAS, ['${prefix}'/lib/ecl/maxima.fas])
--
--  # Likewise for the optional Kenzo SPKG
-   AC_SUBST(SAGE_KENZO_FAS, ['${prefix}'/lib/ecl/kenzo.fas])
- ])
-diff --git a/build/pkgs/maxima/spkg-configure.m4 b/build/pkgs/maxima/spkg-configure.m4
-new file mode 100644
-index 00000000..df625fe
---- /dev/null
-+++ b/build/pkgs/maxima/spkg-configure.m4
-@@ -0,0 +1,35 @@
-+SAGE_SPKG_CONFIGURE([maxima], [
-+  SAGE_SPKG_DEPCHECK([ecl], [
-+    dnl First check for the "maxima" executable in the user's PATH, because
-+    dnl we still use pexpect to communicate with it in a few places. We pass
-+    dnl the "-l ecl" flag here to ensure that the standalone executable also
-+    dnl supports ECL.
-+    AC_MSG_CHECKING(if "maxima -l ecl" works)
-+    AS_IF([! maxima -l ecl -q -r 'quit();' \
-+             >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [
-+      AC_MSG_RESULT(no)
-+      sage_spkg_install_maxima=yes
-+    ], [
-+      AC_MSG_RESULT(yes)
-+      dnl If we have the executable, check also for the ECL library.
-+      AC_MSG_CHECKING([if ECL can "require" the maxima module])
-+      AS_IF([ecl --eval "(require 'maxima)" --eval "(quit)" \
-+               >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [
-+        AC_MSG_RESULT(yes)
-+      ], [
-+	AC_MSG_RESULT(no)
-+	sage_spkg_install_maxima=yes
-+      ])
-+    ])
-+  ])
-+],[],[],[
-+  # post-check
-+  AS_IF([test x$sage_spkg_install_maxima = xyes], [
-+    dnl Leaving this variable empty will tell sagelib to load
-+    dnl the maxima library (within ECL) by name instead of by
-+    dnl absolute path.
-+    SAGE_MAXIMA_FAS='${prefix}'/lib/ecl/maxima.fas
-+  ])
-+  AC_SUBST(SAGE_MAXIMA_FAS, "${SAGE_MAXIMA_FAS}")
-+])
-+
-diff --git a/pkgs/sage-conf/sage_conf.py.in b/pkgs/sage-conf/sage_conf.py.in
-index b40cda6..8cda3eb 100644
---- a/pkgs/sage-conf/sage_conf.py.in
-+++ b/pkgs/sage-conf/sage_conf.py.in
-@@ -9,7 +9,8 @@ VERSION = "@PACKAGE_VERSION@"
- SAGE_LOCAL = "@prefix@"
- SAGE_ROOT = "@SAGE_ROOT@"
- 
--# Delete this line if your ECL can load maxima without further prodding.
-+# Set this to the empty string if your ECL can load maxima without
-+# further prodding.
- MAXIMA_FAS = "@SAGE_MAXIMA_FAS@".replace('${prefix}', SAGE_LOCAL)
- 
- # Delete this line if your ECL can load Kenzo without further prodding.
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index f0003a6c8246..de9fe5177766 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -38,7 +38,8 @@ _spkg_skip="appnope fonttools importlib_resources pycygwin
 
 # Force use these sage packages from system
 _spkg_system="cppy cython cysignals cypari pplpy fpylll memory_allocator
- primecountpy"
+ primecountpy
+ linbox gap maxima"
 
 # Databases to be used from system
 _spkg_db="combinatorial_designs conway_polynomials elliptic_curves graphs
@@ -107,6 +108,8 @@ post_configure() {
 	cat <<-EOF >> pkgs/sage-conf/sage_conf.py
 	GAP_ROOT_DIR = "/usr/share/gap"
 	GAP_SO = "$(objdump -p /usr/lib/libgap.so | awk '/SONAME/{print $2}')"
+	MAXIMA = "maxima -l ecl"
+	MAXIMA_FAS = ""
 	CONWAY_POLYNOMIALS_DATA_DIR = "/usr/share/sagemath/conway_polynomials"
 	GRAPHS_DATA_DIR = "/usr/share/sagemath/graphs"
 	ELLCURVE_DATA_DIR = "/usr/share/sagemath/ellcurves"
@@ -115,6 +118,9 @@ post_configure() {
 	CREMONA_MINI_DATA_DIR = "/usr/share/sagemath/cremona"
 	CREMONA_LARGE_DATA_DIR = "/usr/share/sagemath/cremona"
 	EOF
+	cat <<-EOF >> src/bin/sage-env
+	unset MAXIMA_PREFIX
+	EOF
 }
 
 do_install() {

From ca1200caed3ca81149eef6af57b262cd53d8c859 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 19 Jan 2022 14:56:02 -0300
Subject: [PATCH 4/9] sagemath: remove patches for upstream pkgs

---
 ...0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch | 64 -------------------
 ...26e3db5ea06b962fac386fa3c7223f9a14fb.patch | 51 ---------------
 ...d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch | 35 ----------
 3 files changed, 150 deletions(-)
 delete mode 100644 srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch

diff --git a/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch b/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
deleted file mode 100644
index 3d4f4e14bb7b..000000000000
--- a/srcpkgs/sagemath/patches/trac-33047-musl_fix_find_library-dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From dc1a0e8168a9ffb4fbf07dd03c0846b4933a6dbe Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
-Date: Mon, 22 Nov 2021 23:57:37 -0300
-Subject: Add a patch that fixes ctypes.util.find_library('c')
-
-The issue causes a failure doctesting src/sage/misc/gperftools.py
----
- build/pkgs/python3/patches/musl-find_library.patch | 44 ++++++++++++++++++++++
- 1 file changed, 44 insertions(+)
- create mode 100644 build/pkgs/python3/patches/musl-find_library.patch
-
-diff --git a/build/pkgs/python3/patches/musl-find_library.patch b/build/pkgs/python3/patches/musl-find_library.patch
-new file mode 100644
-index 00000000..82f436b
---- /dev/null
-+++ b/build/pkgs/python3/patches/musl-find_library.patch
-@@ -0,0 +1,44 @@
-+--- a/Lib/ctypes/util.py
-++++ b/Lib/ctypes/util.py
-+@@ -204,6 +204,41 @@
-+         def find_library(name, is64 = False):
-+             return _get_soname(_findLib_crle(name, is64) or _findLib_gcc(name))
-+ 
-++    elif True:
-++
-++        # Patched for Alpine Linux / musl - search manually system paths
-++        def _is_elf(filepath):
-++            try:
-++                with open(filepath, 'rb') as fh:
-++                    return fh.read(4) == b'\x7fELF'
-++            except:
-++                return False
-++
-++        def find_library(name):
-++            from glob import glob
-++            # absolute name?
-++            if os.path.isabs(name):
-++                return name
-++            # special case for libm, libcrypt and libpthread and musl
-++            if name in ['m', 'crypt', 'pthread']:
-++                name = 'c'
-++            elif name in ['libm.so', 'libcrypt.so', 'libpthread.so']:
-++                name = 'libc.so'
-++            # search in standard locations (musl order)
-++            paths = ['/lib', '/usr/local/lib', '/usr/lib']
-++            if 'LD_LIBRARY_PATH' in os.environ:
-++                paths = os.environ['LD_LIBRARY_PATH'].split(':') + paths
-++            for d in paths:
-++                f = os.path.join(d, name)
-++                if _is_elf(f):
-++                    return os.path.basename(f)
-++
-++                prefix = os.path.join(d, 'lib'+name)
-++                for suffix in ['.so', '.so.*']:
-++                    for f in glob('{0}{1}'.format(prefix, suffix)):
-++                        if _is_elf(f):
-++                            return os.path.basename(f)
-++
-+     else:
-+ 
-+         def _findSoname_ldconfig(name):
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch b/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
deleted file mode 100644
index 921a1669fd2a..000000000000
--- a/srcpkgs/sagemath/patches/trac-33063-notebook_fix_deprecation_warning-966926e3db5ea06b962fac386fa3c7223f9a14fb.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 966926e3db5ea06b962fac386fa3c7223f9a14fb Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
-Date: Tue, 21 Dec 2021 14:57:20 -0300
-Subject: notebook: fix deprecation warning
-
-While doctesting `src/sage/repl/ipython_kernel/install.py`:
-
-> DeprecationWarning: invalid escape sequence '\s'
-
-The solution is to make the regex a raw string.
----
- .../f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch | 27 ++++++++++++++++++++++
- 1 file changed, 27 insertions(+)
- create mode 100644 build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
-
-diff --git a/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch b/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
-new file mode 100644
-index 00000000..29875b0
---- /dev/null
-+++ b/build/pkgs/notebook/patches/f99beefdf45dd2891bb7ebdd93f7a67e44623aee.patch
-@@ -0,0 +1,27 @@
-+From f99beefdf45dd2891bb7ebdd93f7a67e44623aee Mon Sep 17 00:00:00 2001
-+From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
-+Date: Tue, 21 Dec 2021 14:54:24 -0300
-+Subject: [PATCH] Fix deprecation warning
-+
-+In sagemath, while doctesting `src/sage/repl/ipython_kernel/install.py`:
-+
-+> DeprecationWarning: invalid escape sequence '\s'
-+
-+The solution is to make the regex a raw string.
-+---
-+ notebook/auth/login.py | 2 +-
-+ 1 file changed, 1 insertion(+), 1 deletion(-)
-+
-+diff --git a/notebook/auth/login.py b/notebook/auth/login.py
-+index 1ac434dc5e..16c4e7a356 100644
-+--- a/notebook/auth/login.py
-++++ b/notebook/auth/login.py
-+@@ -112,7 +112,7 @@ def set_login_cookie(cls, handler, user_id=None):
-+         handler.set_secure_cookie(handler.cookie_name, user_id, **cookie_options)
-+         return user_id
-+ 
-+-    auth_header_pat = re.compile('token\s+(.+)', re.IGNORECASE)
-++    auth_header_pat = re.compile(r'token\s+(.+)', re.IGNORECASE)
-+ 
-+     @classmethod
-+     def get_token(cls, handler):
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch b/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch
deleted file mode 100644
index 350c41ac3928..000000000000
--- a/srcpkgs/sagemath/patches/trac-33128-fix_warning_in_sagetexparse-53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 53e4d68ca3ba0d3b29fe78dbd99fa927fa4091b6 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
-Date: Wed, 22 Dec 2021 19:02:08 -0300
-Subject: sagetex: Fix a warning when byte-compiling sagetexparse.py
-
----
- build/pkgs/sagetex/patches/sagetex-fix-warning.patch | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
- create mode 100644 build/pkgs/sagetex/patches/sagetex-fix-warning.patch
-
-diff --git a/build/pkgs/sagetex/patches/sagetex-fix-warning.patch b/build/pkgs/sagetex/patches/sagetex-fix-warning.patch
-new file mode 100644
-index 00000000..d82ab67
---- /dev/null
-+++ b/build/pkgs/sagetex/patches/sagetex-fix-warning.patch
-@@ -0,0 +1,16 @@
-+Fix a warning when byte-compiling sagetexparse.py
-+
-+.../venv/share/texmf/tex/latex/sagetex/sagetexparse.py:135: SyntaxWarning: "is not" with a literal. Did you mean "!="?
-+  if t.format is not '':
-+
-+--- a/sagetexparse.py	2020-08-12 05:35:31.000000000 -0300
-++++ b/sagetexparse.py	2021-12-22 18:57:46.619024835 -0300
-+@@ -132,7 +132,7 @@
-+ 
-+   def plotout(self, s, l, t):
-+     self.result += '# \\sageplot{} from line %s:\n' % lineno(l, s)
-+-    if t.format is not '':
-++    if t.format != '':
-+       self.result += '# format: %s' % t.format[0][1:-1] + '\n'
-+     self.result += t.code[1:-1] + '\n\n'
-+ 
--- 
-cgit v1.0-1-gd88e
-

From 808155c514d4012f34f7e77bbe83a6b46fd11492 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 19 Jan 2022 15:18:27 -0300
Subject: [PATCH 5/9] sagemath: simplify system-site-packages patch

---
 ...aabe95082f42ba134780d579390d7b6153e2.patch |   53 +
 ...184f7498a2046065e669723e68efe2d65cee.patch | 5629 -----------------
 .../zzz-more_site_packages_not_in_29665.patch |   42 -
 srcpkgs/sagemath/template                     |   15 +
 4 files changed, 68 insertions(+), 5671 deletions(-)
 create mode 100644 srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-05fcaabe95082f42ba134780d579390d7b6153e2.patch
 delete mode 100644 srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
 delete mode 100644 srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch

diff --git a/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-05fcaabe95082f42ba134780d579390d7b6153e2.patch b/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-05fcaabe95082f42ba134780d579390d7b6153e2.patch
new file mode 100644
index 000000000000..3af8b05135ae
--- /dev/null
+++ b/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-05fcaabe95082f42ba134780d579390d7b6153e2.patch
@@ -0,0 +1,53 @@
+From 05fcaabe95082f42ba134780d579390d7b6153e2 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Sat, 9 Oct 2021 19:30:58 -0400
+Subject: Trac #29665: add --enable-system-site-packages option to ./configure.
+
+This new option is experimental and disabled by default. When it is
+enabled, the string "--system-site-packages" is appended to a new
+environment variable SAGE_VENV_FLAGS that is then passed to the
+sage-venv command during the build using autoconf substitution.
+Thusly the correct setting finds its way into local/pyvenv.cfg.
+---
+ build/make/Makefile.in |  2 +-
+ configure.ac           | 11 +++++++++++
+ 2 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/build/make/Makefile.in b/build/make/Makefile.in
+index f870cc3..68627ab 100644
+--- a/build/make/Makefile.in
++++ b/build/make/Makefile.in
+@@ -211,7 +211,7 @@ endif
+ inst_python3_venv = $(SAGE_VENV)/pyvenv.cfg
+ 
+ $(inst_python3_venv):
+-	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv "$(SAGE_VENV)"
++	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv @SAGE_VENV_FLAGS@ "$(SAGE_VENV)"
+ endif
+ 
+ # Build everything and start Sage.
+diff --git a/configure.ac b/configure.ac
+index 351f487..db30a91 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -435,6 +435,17 @@ AC_ARG_ENABLE([download-from-upstream-url],
+   [AS_HELP_STRING([--enable-download-from-upstream-url],
+     [allow downloading packages from their upstream URL if they cannot be found on the Sage mirrors])])
+ 
++AC_ARG_ENABLE(
++  [system-site-packages], [AS_HELP_STRING(
++    [--enable-system-site-packages],
++    [allow sage to use python packages from the system (experimental; default: no)]
++  )], [
++  AS_IF([test "x$enable_system_site_packages" = "xyes"], [
++    SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
++  ])
++])
++AC_SUBST([SAGE_VENV_FLAGS])
++
+ SAGE_SPKG_OPTIONS=""
+ AS_IF([test "x$enable_experimental_packages" = "xyes"], [
+   AS_VAR_APPEND([SAGE_SPKG_OPTIONS], [" -y"])
+-- 
+cgit v1.0-1-gd88e
+
diff --git a/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch b/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
deleted file mode 100644
index 0ecb27c593cd..000000000000
--- a/srcpkgs/sagemath/patches/trac-29665-enable_system_site_packages-135f184f7498a2046065e669723e68efe2d65cee.patch
+++ /dev/null
@@ -1,5629 +0,0 @@
-From 05fcaabe95082f42ba134780d579390d7b6153e2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 19:30:58 -0400
-Subject: Trac #29665: add --enable-system-site-packages option to ./configure.
-
-This new option is experimental and disabled by default. When it is
-enabled, the string "--system-site-packages" is appended to a new
-environment variable SAGE_VENV_FLAGS that is then passed to the
-sage-venv command during the build using autoconf substitution.
-Thusly the correct setting finds its way into local/pyvenv.cfg.
----
- build/make/Makefile.in |  2 +-
- configure.ac           | 11 +++++++++++
- 2 files changed, 12 insertions(+), 1 deletion(-)
-
-diff --git a/build/make/Makefile.in b/build/make/Makefile.in
-index f870cc3..68627ab 100644
---- a/build/make/Makefile.in
-+++ b/build/make/Makefile.in
-@@ -211,7 +211,7 @@ endif
- inst_python3_venv = $(SAGE_VENV)/pyvenv.cfg
- 
- $(inst_python3_venv):
--	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv "$(SAGE_VENV)"
-+	$(PYTHON_FOR_VENV) $(SAGE_ROOT)/build/bin/sage-venv @SAGE_VENV_FLAGS@ "$(SAGE_VENV)"
- endif
- 
- # Build everything and start Sage.
-diff --git a/configure.ac b/configure.ac
-index 351f487..db30a91 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -435,6 +435,17 @@ AC_ARG_ENABLE([download-from-upstream-url],
-   [AS_HELP_STRING([--enable-download-from-upstream-url],
-     [allow downloading packages from their upstream URL if they cannot be found on the Sage mirrors])])
- 
-+AC_ARG_ENABLE(
-+  [system-site-packages], [AS_HELP_STRING(
-+    [--enable-system-site-packages],
-+    [allow sage to use python packages from the system (experimental; default: no)]
-+  )], [
-+  AS_IF([test "x$enable_system_site_packages" = "xyes"], [
-+    SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
-+  ])
-+])
-+AC_SUBST([SAGE_VENV_FLAGS])
-+
- SAGE_SPKG_OPTIONS=""
- AS_IF([test "x$enable_experimental_packages" = "xyes"], [
-   AS_VAR_APPEND([SAGE_SPKG_OPTIONS], [" -y"])
--- 
-cgit v1.0-1-gd88e
-
-
-From 9372d1f663edf4e89f9c186336815ca04cff59dc Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 19:41:14 -0400
-Subject: Trac #29665: new SAGE_PYTHON_PACKAGE_CHECK() autoconf macro.
-
-This new macro encapsulates the check for system installations of
-python packages. It uses setuptools.version's pkg_resources to
-check if the contents of install-requires.txt are satisfied for
-the given package; and if not, tells the build system to install
-the SPKG instead.
----
- m4/sage_python_package_check.m4 | 49 +++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 49 insertions(+)
- create mode 100644 m4/sage_python_package_check.m4
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-new file mode 100644
-index 00000000..77b0a0c
---- /dev/null
-+++ b/m4/sage_python_package_check.m4
-@@ -0,0 +1,49 @@
-+#
-+# SYNOPSIS
-+#
-+#   SAGE_PYTHON_PACKAGE_CHECK(package)
-+#
-+# DESCRIPTION
-+#
-+#   Determine if the system copy of a python package can be used by sage.
-+#
-+#   This macro uses setuptools.version's pkg_resources to check that the
-+#   "install-requires.txt" file for the named package is satisfied, and
-+#   it can typically fail in four ways:
-+#
-+#     1. If --enable-system-site-packages was not passed to ./configure,
-+#
-+#     2. If we are not using the system python (no $PYTHON_FOR_VENV),
-+#
-+#     3. If setuptools is not available to the system python,
-+#
-+#     4. If the contents of install-requires.txt are not met (wrong
-+#        version, no version, etc.) by the system python.
-+#
-+#   In any of those cases, we set sage_spkg_install_$package to "yes"
-+#   so that the corresponding SPKG is installed. Otherwise, we do
-+#   nothing, since the default value of sage_spkg_install_$package
-+#   is "no" (to use the system copy).
-+#
-+#   The SAGE_SPKG_CONFIGURE_PYTHON3() macro is AC_REQUIRE'd to ensure
-+#   that $PYTHON_FOR_VENV is available, if it is going to be available.
-+#
-+
-+AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-+  AS_IF([test "${enable_system_site_packages}" = "yes"], [
-+    AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
-+
-+    dnl strip all comments from install-requires.txt; this should leave
-+    dnl only a single line containing the version specification for this
-+    dnl package.
-+    SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
-+    AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
-+    AS_IF(
-+      ["${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())"],
-+      [AC_MSG_RESULT(yes)],
-+      [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
-+    )
-+  ], [
-+    sage_spkg_install_$1=yes
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From a0dac8ad81ad6369d479bba30d2388de59e5cecb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 20:21:29 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for py.
-
----
- build/pkgs/py/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/py/spkg-configure.m4
-
-diff --git a/build/pkgs/py/spkg-configure.m4 b/build/pkgs/py/spkg-configure.m4
-new file mode 100644
-index 00000000..ded7034
---- /dev/null
-+++ b/build/pkgs/py/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([py], [SAGE_PYTHON_PACKAGE_CHECK([py])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 87c463a25ab4432dc1fba4f7a9703284e5b8f620 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 20:24:15 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for wheel.
-
----
- build/pkgs/wheel/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/wheel/spkg-configure.m4
-
-diff --git a/build/pkgs/wheel/spkg-configure.m4 b/build/pkgs/wheel/spkg-configure.m4
-new file mode 100644
-index 00000000..7897ea9
---- /dev/null
-+++ b/build/pkgs/wheel/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([wheel], [SAGE_PYTHON_PACKAGE_CHECK([wheel])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 804094b3a980f262f4d53d7be8b1be43ac0c55e0 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 20:25:15 -0400
-Subject: Trac #29665: new spkg-configure.m4 for cvxopt.
-
-This includes a SAGE_SPKG_DEPCHECK([gsl glpk suitesparse],... because
-those C dependencies wind up linked into shared libraries like,
-
-  /usr/.../cvxopt/glpk.cpython-39-x86_64-linux-gnu.so
-
-that could potentially conflict with (for example) the glpk SPKG.
----
- build/pkgs/cvxopt/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/cvxopt/spkg-configure.m4
-
-diff --git a/build/pkgs/cvxopt/spkg-configure.m4 b/build/pkgs/cvxopt/spkg-configure.m4
-new file mode 100644
-index 00000000..c4aa619
---- /dev/null
-+++ b/build/pkgs/cvxopt/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([cvxopt], [
-+  SAGE_SPKG_DEPCHECK([gsl glpk suitesparse], [
-+    SAGE_PYTHON_PACKAGE_CHECK([cvxopt])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 3f171955ff8d15da2c98aee0d2e254e95a55a2b5 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 20:28:10 -0400
-Subject: Trac #29665: new spkg-configure.m4 for pyzmq.
-
-This includes a SAGE_SPKG_DEPCHECK([zeromq],... because libzmq winds
-up linked into shared libraries like,
-
-  /usr/.../zmq/backend/cython/message.cpython-39-x86_64-linux-gnu.so
-
-that potentially conflict with the zeromq SPKG.
----
- build/pkgs/pyzmq/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/pyzmq/spkg-configure.m4
-
-diff --git a/build/pkgs/pyzmq/spkg-configure.m4 b/build/pkgs/pyzmq/spkg-configure.m4
-new file mode 100644
-index 00000000..ae2b126
---- /dev/null
-+++ b/build/pkgs/pyzmq/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([pyzmq], [
-+  SAGE_SPKG_DEPCHECK([zeromq], [
-+    SAGE_PYTHON_PACKAGE_CHECK([pyzmq])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 20d3aa9da9fc98a6e6a47599cd1b6d1d3785a4c4 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 9 Oct 2021 20:31:24 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for requests.
-
----
- build/pkgs/requests/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/requests/spkg-configure.m4
-
-diff --git a/build/pkgs/requests/spkg-configure.m4 b/build/pkgs/requests/spkg-configure.m4
-new file mode 100644
-index 00000000..f50a66c
---- /dev/null
-+++ b/build/pkgs/requests/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([requests], [SAGE_PYTHON_PACKAGE_CHECK([requests])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 4df57ee47f2576b6b7bf9265248e06e90616b689 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 10 Oct 2021 18:13:34 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for six.
-
----
- build/pkgs/six/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/six/spkg-configure.m4
-
-diff --git a/build/pkgs/six/spkg-configure.m4 b/build/pkgs/six/spkg-configure.m4
-new file mode 100644
-index 00000000..a382b81
---- /dev/null
-+++ b/build/pkgs/six/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([six], [SAGE_PYTHON_PACKAGE_CHECK([six])])
--- 
-cgit v1.0-1-gd88e
-
-
-From f4462652d02ca729cc6d7cb36ee4d7d662deafb0 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 10 Oct 2021 18:14:29 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for packaging.
-
----
- build/pkgs/packaging/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/packaging/spkg-configure.m4
-
-diff --git a/build/pkgs/packaging/spkg-configure.m4 b/build/pkgs/packaging/spkg-configure.m4
-new file mode 100644
-index 00000000..398f9e1
---- /dev/null
-+++ b/build/pkgs/packaging/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([packaging], [SAGE_PYTHON_PACKAGE_CHECK([packaging])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 4d64677fffce48077e4bc3e20ec833c70e6e9b65 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 10 Oct 2021 18:18:53 -0400
-Subject: Trac #29665: new spkg-configure.m4 for numpy.
-
-This includes a SAGE_SPKG_DEPCHECK([openblas],... because blas/lapack
-wind up linked into shared libraries like,
-
-  /usr/.../numpy/linalg/lapack_lite.cpython-39-x86_64-linux-gnu.so
-
-that potentially conflict with the openblas SPKG.
----
- build/pkgs/numpy/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/numpy/spkg-configure.m4
-
-diff --git a/build/pkgs/numpy/spkg-configure.m4 b/build/pkgs/numpy/spkg-configure.m4
-new file mode 100644
-index 00000000..16f9a90
---- /dev/null
-+++ b/build/pkgs/numpy/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([numpy], [
-+  SAGE_SPKG_DEPCHECK([openblas], [
-+   SAGE_PYTHON_PACKAGE_CHECK([numpy])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 85dfe5bb32f3c470966b477bae68a921e846d11f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 10 Oct 2021 18:58:48 -0400
-Subject: Trac #29665: new spkg-configure.m4 for scipy.
-
-This includes a SAGE_SPKG_DEPCHECK([openblas],... because blas/lapack
-wind up linked into shared libraries like,
-
-  /usr/.../scipy/linalg/_flinalg.cpython-39-x86_64-linux-gnu.so
-
-that potentially conflict with the openblas SPKG.
----
- build/pkgs/scipy/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/scipy/spkg-configure.m4
-
-diff --git a/build/pkgs/scipy/spkg-configure.m4 b/build/pkgs/scipy/spkg-configure.m4
-new file mode 100644
-index 00000000..0b7294a
---- /dev/null
-+++ b/build/pkgs/scipy/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([scipy], [
-+  SAGE_SPKG_DEPCHECK([openblas], [
-+    SAGE_PYTHON_PACKAGE_CHECK([scipy])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 5616f1491036fda95f4d3e840c8c8b531c97323b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 07:19:24 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pluggy.
-
----
- build/pkgs/pluggy/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pluggy/spkg-configure.m4
-
-diff --git a/build/pkgs/pluggy/spkg-configure.m4 b/build/pkgs/pluggy/spkg-configure.m4
-new file mode 100644
-index 00000000..11b1fce
---- /dev/null
-+++ b/build/pkgs/pluggy/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pluggy], [SAGE_PYTHON_PACKAGE_CHECK([pluggy])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6bceae3d356878cfe5fce40c9998dead003a3844 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 07:24:12 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pickleshare.
-
----
- build/pkgs/pickleshare/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pickleshare/spkg-configure.m4
-
-diff --git a/build/pkgs/pickleshare/spkg-configure.m4 b/build/pkgs/pickleshare/spkg-configure.m4
-new file mode 100644
-index 00000000..80e9b7c
---- /dev/null
-+++ b/build/pkgs/pickleshare/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pickleshare], [SAGE_PYTHON_PACKAGE_CHECK([pickleshare])])
--- 
-cgit v1.0-1-gd88e
-
-
-From da2ab534f4a256c82ed4f1c5f0f5c320529b5e9f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 08:53:29 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for html5lib.
-
----
- build/pkgs/html5lib/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/html5lib/spkg-configure.m4
-
-diff --git a/build/pkgs/html5lib/spkg-configure.m4 b/build/pkgs/html5lib/spkg-configure.m4
-new file mode 100644
-index 00000000..f421b7e
---- /dev/null
-+++ b/build/pkgs/html5lib/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([html5lib], [SAGE_PYTHON_PACKAGE_CHECK([html5lib])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 5e464134afdf6055b7b5804208f759561c5435cd Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 18:30:47 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for networkx.
-
----
- build/pkgs/networkx/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/networkx/spkg-configure.m4
-
-diff --git a/build/pkgs/networkx/spkg-configure.m4 b/build/pkgs/networkx/spkg-configure.m4
-new file mode 100644
-index 00000000..926671e
---- /dev/null
-+++ b/build/pkgs/networkx/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([networkx], [SAGE_PYTHON_PACKAGE_CHECK([networkx])])
--- 
-cgit v1.0-1-gd88e
-
-
-From c4d40770cd9c7fda811e31759a5f4aedc320f3f9 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:33:24 -0400
-Subject: Trac #29665: new spkg-configure.m4 for matplotlib.
-
-This includes a SAGE_SPKG_DEPCHECK([bzip2 freetype libpng qhull],...
-because those dependencies wind up linked into shared libraries like,
-
-  /usr/lib/.../matplotlib/ft2font.cpython-39-x86_64-linux-gnu.so
-
-that potentially conflict with their SPKG counterparts.
----
- build/pkgs/matplotlib/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/matplotlib/spkg-configure.m4
-
-diff --git a/build/pkgs/matplotlib/spkg-configure.m4 b/build/pkgs/matplotlib/spkg-configure.m4
-new file mode 100644
-index 00000000..39c2d29
---- /dev/null
-+++ b/build/pkgs/matplotlib/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([matplotlib], [
-+  SAGE_SPKG_DEPCHECK([bzip2 freetype libpng qhull], [
-+    SAGE_PYTHON_PACKAGE_CHECK([matplotlib])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 7834dc3ac349201af632f89a9de7cd1967931010 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:35:00 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for bleach.
-
----
- build/pkgs/bleach/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/bleach/spkg-configure.m4
-
-diff --git a/build/pkgs/bleach/spkg-configure.m4 b/build/pkgs/bleach/spkg-configure.m4
-new file mode 100644
-index 00000000..3c9bb26
---- /dev/null
-+++ b/build/pkgs/bleach/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([bleach], [SAGE_PYTHON_PACKAGE_CHECK([bleach])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 84cad343287a2c69a4a21b9fa3b92301ff88645b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:37:03 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for decorator.
-
----
- build/pkgs/decorator/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/decorator/spkg-configure.m4
-
-diff --git a/build/pkgs/decorator/spkg-configure.m4 b/build/pkgs/decorator/spkg-configure.m4
-new file mode 100644
-index 00000000..e062778
---- /dev/null
-+++ b/build/pkgs/decorator/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([decorator], [SAGE_PYTHON_PACKAGE_CHECK([decorator])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 25693212572e69d452bc95c923ada13744359eb7 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:38:03 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for idna.
-
----
- build/pkgs/idna/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/idna/spkg-configure.m4
-
-diff --git a/build/pkgs/idna/spkg-configure.m4 b/build/pkgs/idna/spkg-configure.m4
-new file mode 100644
-index 00000000..9d363f2
---- /dev/null
-+++ b/build/pkgs/idna/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([idna], [SAGE_PYTHON_PACKAGE_CHECK([idna])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6d5616472f6cdc6cf496bba6fe07bd4ef44dfdaf Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:39:23 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for certifi.
-
----
- build/pkgs/certifi/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/certifi/spkg-configure.m4
-
-diff --git a/build/pkgs/certifi/spkg-configure.m4 b/build/pkgs/certifi/spkg-configure.m4
-new file mode 100644
-index 00000000..ddd4061
---- /dev/null
-+++ b/build/pkgs/certifi/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([certifi], [SAGE_PYTHON_PACKAGE_CHECK([certifi])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 9412a07023b275e29e8d1af9b8ee3e767042e7fd Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:40:59 -0400
-Subject: Trac #29665: new spkg-configure.m4 for pillow.
-
-This includes an SAGE_SPKG_DEPCHECK([bzip2 freetype libpng zlib],...
-because those dependencies wind up linked into shared libraries like,
-
-  /usr/.../PIL/_imagingft.cpython-39-x86_64-linux-gnu.so
-
-and potentially conflict with their SPKG counterparts.
----
- build/pkgs/pillow/spkg-configure.m4 | 5 +++++
- 1 file changed, 5 insertions(+)
- create mode 100644 build/pkgs/pillow/spkg-configure.m4
-
-diff --git a/build/pkgs/pillow/spkg-configure.m4 b/build/pkgs/pillow/spkg-configure.m4
-new file mode 100644
-index 00000000..f2e68e2
---- /dev/null
-+++ b/build/pkgs/pillow/spkg-configure.m4
-@@ -0,0 +1,5 @@
-+SAGE_SPKG_CONFIGURE([pillow], [
-+  SAGE_SPKG_DEPCHECK([bzip2 freetype libpng zlib], [
-+    SAGE_PYTHON_PACKAGE_CHECK([pillow])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From eede914311481fdb75b363b7a799075e876a2b4f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:44:13 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for mpmath.
-
----
- build/pkgs/mpmath/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/mpmath/spkg-configure.m4
-
-diff --git a/build/pkgs/mpmath/spkg-configure.m4 b/build/pkgs/mpmath/spkg-configure.m4
-new file mode 100644
-index 00000000..f43c838
---- /dev/null
-+++ b/build/pkgs/mpmath/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([mpmath], [SAGE_PYTHON_PACKAGE_CHECK([mpmath])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 363a825885832c0b580ff53fe61f5c79e70c4728 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:44:56 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for sympy.
-
----
- build/pkgs/sympy/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sympy/spkg-configure.m4
-
-diff --git a/build/pkgs/sympy/spkg-configure.m4 b/build/pkgs/sympy/spkg-configure.m4
-new file mode 100644
-index 00000000..fa0f1f5
---- /dev/null
-+++ b/build/pkgs/sympy/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([sympy], [SAGE_PYTHON_PACKAGE_CHECK([sympy])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 0667964c914e4a01dda697190a054ff96cea92d6 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:47:06 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pygments.
-
----
- build/pkgs/pygments/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pygments/spkg-configure.m4
-
-diff --git a/build/pkgs/pygments/spkg-configure.m4 b/build/pkgs/pygments/spkg-configure.m4
-new file mode 100644
-index 00000000..99f29e3
---- /dev/null
-+++ b/build/pkgs/pygments/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pygments], [SAGE_PYTHON_PACKAGE_CHECK([pygments])])
--- 
-cgit v1.0-1-gd88e
-
-
-From f787c233aa05d8e90f7c6ad18f76bd2fa36bfbfb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 11 Oct 2021 20:48:50 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for jinja2.
-
----
- build/pkgs/jinja2/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jinja2/spkg-configure.m4
-
-diff --git a/build/pkgs/jinja2/spkg-configure.m4 b/build/pkgs/jinja2/spkg-configure.m4
-new file mode 100644
-index 00000000..0970d1c
---- /dev/null
-+++ b/build/pkgs/jinja2/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([jinja2], [SAGE_PYTHON_PACKAGE_CHECK([jinja2])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 309d8f8e2b7078b5efbbe824b69ec1d9b1e639f0 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 12 Oct 2021 08:43:24 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pandocfilters.
-
----
- build/pkgs/pandocfilters/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/pandocfilters/spkg-configure.m4
-
-diff --git a/build/pkgs/pandocfilters/spkg-configure.m4 b/build/pkgs/pandocfilters/spkg-configure.m4
-new file mode 100644
-index 00000000..3e9537f
---- /dev/null
-+++ b/build/pkgs/pandocfilters/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([pandocfilters], [
-+  SAGE_PYTHON_PACKAGE_CHECK([pandocfilters])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From f57bfda49777a6ba1cd123553acd75dc347c5521 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 12 Oct 2021 08:44:46 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for webencodings.
-
----
- build/pkgs/webencodings/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/webencodings/spkg-configure.m4
-
-diff --git a/build/pkgs/webencodings/spkg-configure.m4 b/build/pkgs/webencodings/spkg-configure.m4
-new file mode 100644
-index 00000000..1b9a5c4
---- /dev/null
-+++ b/build/pkgs/webencodings/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([webencodings], [
-+  SAGE_PYTHON_PACKAGE_CHECK([webencodings])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 7f193a62d7a2ea0b6a3ca6beb12390d91c25bbfb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 12 Oct 2021 08:48:26 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pytz.
-
----
- build/pkgs/pytz/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pytz/spkg-configure.m4
-
-diff --git a/build/pkgs/pytz/spkg-configure.m4 b/build/pkgs/pytz/spkg-configure.m4
-new file mode 100644
-index 00000000..366521b
---- /dev/null
-+++ b/build/pkgs/pytz/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pytz], [SAGE_PYTHON_PACKAGE_CHECK([pytz])])
--- 
-cgit v1.0-1-gd88e
-
-
-From bfd3fdd887c3465c03465248de4997eed4a82915 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 12 Oct 2021 08:51:16 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for texttable.
-
----
- build/pkgs/texttable/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/texttable/spkg-configure.m4
-
-diff --git a/build/pkgs/texttable/spkg-configure.m4 b/build/pkgs/texttable/spkg-configure.m4
-new file mode 100644
-index 00000000..42a3de1
---- /dev/null
-+++ b/build/pkgs/texttable/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([texttable], [SAGE_PYTHON_PACKAGE_CHECK([texttable])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 914bf0cc57abc46129b27c1525782dbe16da31a2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 12 Oct 2021 08:53:41 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for babel.
-
----
- build/pkgs/babel/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/babel/spkg-configure.m4
-
-diff --git a/build/pkgs/babel/spkg-configure.m4 b/build/pkgs/babel/spkg-configure.m4
-new file mode 100644
-index 00000000..d7b9a71
---- /dev/null
-+++ b/build/pkgs/babel/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([babel], [SAGE_PYTHON_PACKAGE_CHECK([babel])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 56977abd1eafbc87c765a2892cfe525382648259 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 14 Oct 2021 08:06:59 -0400
-Subject: Trac #29665: force system python3 with --enable-system-site-packages.
-
-When the python SPKG is used, the --enable-system-site-packages flag
-will essentially do nothing, and that may confuse users who have
-wasted a few hours building sage. (Generally, they will want to fix
-detection of their system python3 first.)
-
-To forestall that, we now set "--with-system-python3=force" whenever
-the "--enable-system-site-packages" flag is passed.
----
- configure.ac | 11 ++++++++++-
- 1 file changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index db30a91..6fafb83 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -438,10 +438,19 @@ AC_ARG_ENABLE([download-from-upstream-url],
- AC_ARG_ENABLE(
-   [system-site-packages], [AS_HELP_STRING(
-     [--enable-system-site-packages],
--    [allow sage to use python packages from the system (experimental; default: no)]
-+    [allow the use of python packages from the system (experimental; default: no)]
-   )], [
-   AS_IF([test "x$enable_system_site_packages" = "xyes"], [
-     SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
-+
-+    dnl We want to raise an error if the user asked for "system site
-+    dnl packages" but the system python will not be used. Technically
-+    dnl that causes no problems (SAGE_PYTHON_PACKAGE_CHECK always fails,
-+    dnl so SPKGs are used for all python packages), but it may be confusing
-+    dnl to end users who expect the flag to actually give them access to
-+    dnl their system python packages and who may not be paying close
-+    dnl attention to their ./configure output.
-+    with_system_python3="force"
-   ])
- ])
- AC_SUBST([SAGE_VENV_FLAGS])
--- 
-cgit v1.0-1-gd88e
-
-
-From 02b369fd24ef7cf8997082e7850b9cf022cae34b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 15 Oct 2021 01:18:35 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for setuptools.
-
----
- build/pkgs/setuptools/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/setuptools/spkg-configure.m4
-
-diff --git a/build/pkgs/setuptools/spkg-configure.m4 b/build/pkgs/setuptools/spkg-configure.m4
-new file mode 100644
-index 00000000..a2ad811
---- /dev/null
-+++ b/build/pkgs/setuptools/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([setuptools], [SAGE_PYTHON_PACKAGE_CHECK([setuptools])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 05117317d38693978efaf36e81d8b02bae44b257 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 15 Oct 2021 01:15:48 -0400
-Subject: Trac #29665: poison PYTHONUSERBASE when testing for "system"
- packages.
-
-When we're detecting system installations of python packages, we want
-to hide anything that was installed with e.g. "pip install --user". To
-accomplish that, we mimic the PYTHONUSERBASE poisoning from sage-env
-within the SAGE_PYTHON_PACKAGE_CHECK() macro.
----
- m4/sage_python_package_check.m4 | 18 +++++++++++++++++-
- 1 file changed, 17 insertions(+), 1 deletion(-)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 77b0a0c..b8cdba4 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -38,11 +38,27 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-     dnl package.
-     SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
-     AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
-+
-+    dnl To prevent user-site (pip install --user) packages from being
-+    dnl detected as "system" packages, we poison PYTHONUSERBASE. The
-+    dnl sage-env script also does this at runtime; we mimic that
-+    dnl implementation to ensure that the behaviors at ./configure and
-+    dnl runtime are identical. Beware that (as in sage-env) the poisoning
-+    dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
-+    dnl user points PYTHONUSERBASE to any path (even the default), then
-+    dnl his local pip packages will be detected.
-+    PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
-+    AS_IF([test -z "${PYTHONUSERBASE}"], [
-+      PYTHONUSERBASE="${HOME}/.sage/local"
-+    ])
-+
-     AS_IF(
--      ["${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())"],
-+      [PYTHONUSERBASE="${PYTHONUSERBASE}" "${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" 2>/dev/null],
-       [AC_MSG_RESULT(yes)],
-       [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
-     )
-+
-+    PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
-   ], [
-     sage_spkg_install_$1=yes
-   ])
--- 
-cgit v1.0-1-gd88e
-
-
-From d75c1492f63a584b5ec5f424ddd7f7c4a6d502d3 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 15 Oct 2021 11:20:04 -0400
-Subject: Trac #29665: run SAGE_PYTHON_PACKAGE_CHECK() inside a venv.
-
-To recreate the runtime environment as closely as possible, we now use
-a venv (with system site packages enabled) when checking for system
-copies of python packages.
----
- m4/sage_python_package_check.m4 | 76 +++++++++++++++++++++++++++--------------
- 1 file changed, 51 insertions(+), 25 deletions(-)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index b8cdba4..7cbd6c0 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -15,9 +15,11 @@
- #
- #     2. If we are not using the system python (no $PYTHON_FOR_VENV),
- #
--#     3. If setuptools is not available to the system python,
-+#     3. If we are unable to create a venv with the system python,
- #
--#     4. If the contents of install-requires.txt are not met (wrong
-+#     4. If setuptools is not available to the system python,
-+#
-+#     5. If the contents of install-requires.txt are not met (wrong
- #        version, no version, etc.) by the system python.
- #
- #   In any of those cases, we set sage_spkg_install_$package to "yes"
-@@ -27,38 +29,62 @@
- #
- #   The SAGE_SPKG_CONFIGURE_PYTHON3() macro is AC_REQUIRE'd to ensure
- #   that $PYTHON_FOR_VENV is available, if it is going to be available.
-+#   The check is run inside a new venv, and with the PYTHONUSERBASE
-+#   variable poisoned in the same manner as sage-env poisons it, to
-+#   ensure that the ./configure- and run-time views of the system
-+#   are as similar as possible.
- #
- 
- AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-   AS_IF([test "${enable_system_site_packages}" = "yes"], [
-     AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
- 
--    dnl strip all comments from install-requires.txt; this should leave
--    dnl only a single line containing the version specification for this
--    dnl package.
--    SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
--    AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
-+    dnl We run this check inside a python venv, because that's ultimately
-+    dnl how the system $PYTHON_FOR_VENV will be used.
-+    AC_MSG_CHECKING([if we can create a python venv in config.venv])
- 
--    dnl To prevent user-site (pip install --user) packages from being
--    dnl detected as "system" packages, we poison PYTHONUSERBASE. The
--    dnl sage-env script also does this at runtime; we mimic that
--    dnl implementation to ensure that the behaviors at ./configure and
--    dnl runtime are identical. Beware that (as in sage-env) the poisoning
--    dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
--    dnl user points PYTHONUSERBASE to any path (even the default), then
--    dnl his local pip packages will be detected.
--    PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
--    AS_IF([test -z "${PYTHONUSERBASE}"], [
--      PYTHONUSERBASE="${HOME}/.sage/local"
--    ])
-+    dnl Use --clear because ./configure typically clobbers its output files.
-+    AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
-+                                        --clear                dnl
-+                                        --without-pip          dnl
-+					config.venv], [
-+      AC_MSG_RESULT(yes)
-+      dnl strip all comments from install-requires.txt; this should leave
-+      dnl only a single line containing the version specification for this
-+      dnl package.
-+      SAGE_PKG_VERSPEC=$(sed '/^#/d' "./build/pkgs/$1/install-requires.txt")
-+      AC_MSG_CHECKING([for python package $1 ("${SAGE_PKG_VERSPEC}")])
-+
-+      dnl To prevent user-site (pip install --user) packages from being
-+      dnl detected as "system" packages, we poison PYTHONUSERBASE. The
-+      dnl sage-env script also does this at runtime; we mimic that
-+      dnl implementation to ensure that the behaviors at ./configure and
-+      dnl runtime are identical. Beware that (as in sage-env) the poisoning
-+      dnl is skipped if PYTHONUSERBASE is non-empty. In particular, if the
-+      dnl user points PYTHONUSERBASE to any path (even the default), then
-+      dnl his local pip packages will be detected.
-+      PYTHONUSERBASE_SAVED="${PYTHONUSERBASE}"
-+      AS_IF([test -z "${PYTHONUSERBASE}"], [
-+        PYTHONUSERBASE="${HOME}/.sage/local"
-+      ])
- 
--    AS_IF(
--      [PYTHONUSERBASE="${PYTHONUSERBASE}" "${PYTHON_FOR_VENV}" -c "from setuptools.version import pkg_resources; pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" 2>/dev/null],
--      [AC_MSG_RESULT(yes)],
--      [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
--    )
-+      AS_IF(
-+        [PYTHONUSERBASE="${PYTHONUSERBASE}" config.venv/bin/python3 -c dnl
-+           "from setuptools.version import pkg_resources;              dnl
-+            pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" dnl
-+	 2>/dev/null],
-+        [AC_MSG_RESULT(yes)],
-+        [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
-+      )
-+
-+      PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
-+    ], [
-+      dnl failed to create a venv for some reason
-+      AC_MSG_RESULT(no)
-+      sage_spkg_install_$1=yes
-+    ])
- 
--    PYTHONUSERBASE="${PYTHONUSERBASE_SAVED}"
-+    rm -rf config.venv
-   ], [
-     sage_spkg_install_$1=yes
-   ])
--- 
-cgit v1.0-1-gd88e
-
-
-From 87646c3264a04ffd98a12d67074f93e1943a1e96 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 15 Oct 2021 11:38:08 -0400
-Subject: Trac #29665: log SAGE_PYTHON_PACKAGE_CHECK() failures to config.log.
-
----
- m4/sage_python_package_check.m4 | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 7cbd6c0..e0e0b9f 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -47,7 +47,8 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-     AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
-                                         --clear                dnl
-                                         --without-pip          dnl
--					config.venv], [
-+                                        config.venv            dnl
-+                                        2>&AS_MESSAGE_LOG_FD], [
-       AC_MSG_RESULT(yes)
-       dnl strip all comments from install-requires.txt; this should leave
-       dnl only a single line containing the version specification for this
-@@ -72,7 +73,7 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-         [PYTHONUSERBASE="${PYTHONUSERBASE}" config.venv/bin/python3 -c dnl
-            "from setuptools.version import pkg_resources;              dnl
-             pkg_resources.require('${SAGE_PKG_VERSPEC}'.splitlines())" dnl
--	 2>/dev/null],
-+	 2>&AS_MESSAGE_LOG_FD],
-         [AC_MSG_RESULT(yes)],
-         [AC_MSG_RESULT(no); sage_spkg_install_$1=yes]
-       )
--- 
-cgit v1.0-1-gd88e
-
-
-From f7dfffd1c64816e2ae4e0f420b22065c5c5bf2cb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 15 Oct 2021 11:45:37 -0400
-Subject: Trac #29665: don't clobber a plain file named config.venv.
-
-When SAGE_PYTHON_PACKAGE_CHECK() is cleaning up, we no longer remove
-"config.venv" unconditionally. Instead, we remove it only if it is a
-directory. This is also how "pyvenv --clear" works.
----
- m4/sage_python_package_check.m4 | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index e0e0b9f..127a078 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -85,7 +85,9 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-       sage_spkg_install_$1=yes
-     ])
- 
--    rm -rf config.venv
-+    dnl Clean up config.venv, but only if we could have created it.
-+    dnl (The --clear flag to pyvenv will not clobber a plain file.)
-+    AS_IF([test -d config.venv], [rm -rf config.venv])
-   ], [
-     sage_spkg_install_$1=yes
-   ])
--- 
-cgit v1.0-1-gd88e
-
-
-From 9849c77313b895dcfb786d2ea54e36585bd31ce2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sat, 16 Oct 2021 08:14:42 -0400
-Subject: Trac #29665: don't announce system python packages that won't be
- used.
-
-When --enable-system-site-packages was not given, the python packages
-using SAGE_PYTHON_PACKAGE_CHECK() in spkg-configure.m4 cannot be used.
-Rather than suggest that users install them anyway, that macro now
-hacks the value of sage_use_system_$package to be "no" when the use
-of system site packages is disabled at the python level.
----
- m4/sage_python_package_check.m4 | 17 +++++++++++++++++
- 1 file changed, 17 insertions(+)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 127a078..7ee82a7 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -89,6 +89,23 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-     dnl (The --clear flag to pyvenv will not clobber a plain file.)
-     AS_IF([test -d config.venv], [rm -rf config.venv])
-   ], [
-+    dnl System site packages are disabled.
-     sage_spkg_install_$1=yes
-+
-+    dnl We have to retroactively hack the --with-system-foo={no,yes,force}
-+    dnl mechanism here because it wasn't designed with the ability to
-+    dnl disable arbitrary chunks of system packages in mind. The easy cases
-+    dnl are "no" and "force" which require no action; "no" means we won't
-+    dnl suggest the package anyway, and "force" will raise an error when
-+    dnl the system-package check fails.
-+    dnl
-+    dnl The default of "yes" is more troubling because it is the default. To
-+    dnl avoid prompting users to install packages that won't be used, we want
-+    dnl to ignore "yes" when reporting the "hint: install these packages..."
-+    dnl at the end of ./configure. To accomplish that, we change "yes" to
-+    dnl "no" here, essentially changing the default for packages using this
-+    dnl macro when --enable-system-site-packages is disabled. Packages with
-+    dnl "no" are not suggested to the user.
-+    AS_IF([test "${sage_use_system_$1}" = "yes"],[sage_use_system_$1=no])
-   ])
- ])
--- 
-cgit v1.0-1-gd88e
-
-
-From 3e6ad737b94aaac234d615ecaf1a2455eb607f1a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 17 Oct 2021 06:16:21 -0400
-Subject: Trac #29665: add Gentoo package information for python packages.
-
----
- build/pkgs/babel/distros/gentoo.txt         | 1 +
- build/pkgs/bleach/distros/gentoo.txt        | 1 +
- build/pkgs/certifi/distros/gentoo.txt       | 1 +
- build/pkgs/cvxopt/distros/gentoo.txt        | 1 +
- build/pkgs/decorator/distros/gentoo.txt     | 1 +
- build/pkgs/html5lib/distros/gentoo.txt      | 1 +
- build/pkgs/idna/distros/gentoo.txt          | 1 +
- build/pkgs/jinja2/distros/gentoo.txt        | 1 +
- build/pkgs/matplotlib/distros/gentoo.txt    | 1 +
- build/pkgs/mpmath/distros/gentoo.txt        | 1 +
- build/pkgs/networkx/distros/gentoo.txt      | 1 +
- build/pkgs/numpy/distros/gentoo.txt         | 1 +
- build/pkgs/packaging/distros/gentoo.txt     | 1 +
- build/pkgs/pandocfilters/distros/gentoo.txt | 1 +
- build/pkgs/pickleshare/distros/gentoo.txt   | 1 +
- build/pkgs/pillow/distros/gentoo.txt        | 1 +
- build/pkgs/pluggy/distros/gentoo.txt        | 1 +
- build/pkgs/pygments/distros/gentoo.txt      | 1 +
- build/pkgs/pytz/distros/gentoo.txt          | 1 +
- build/pkgs/pyzmq/distros/gentoo.txt         | 1 +
- build/pkgs/requests/distros/gentoo.txt      | 1 +
- build/pkgs/scipy/distros/gentoo.txt         | 1 +
- build/pkgs/setuptools/distros/gentoo.txt    | 1 +
- build/pkgs/six/distros/gentoo.txt           | 1 +
- build/pkgs/sympy/distros/gentoo.txt         | 1 +
- build/pkgs/texttable/distros/gentoo.txt     | 1 +
- build/pkgs/toml/distros/gentoo.txt          | 1 +
- build/pkgs/webencodings/distros/gentoo.txt  | 1 +
- 28 files changed, 28 insertions(+)
- create mode 100644 build/pkgs/babel/distros/gentoo.txt
- create mode 100644 build/pkgs/bleach/distros/gentoo.txt
- create mode 100644 build/pkgs/certifi/distros/gentoo.txt
- create mode 100644 build/pkgs/cvxopt/distros/gentoo.txt
- create mode 100644 build/pkgs/decorator/distros/gentoo.txt
- create mode 100644 build/pkgs/html5lib/distros/gentoo.txt
- create mode 100644 build/pkgs/idna/distros/gentoo.txt
- create mode 100644 build/pkgs/jinja2/distros/gentoo.txt
- create mode 100644 build/pkgs/matplotlib/distros/gentoo.txt
- create mode 100644 build/pkgs/mpmath/distros/gentoo.txt
- create mode 100644 build/pkgs/networkx/distros/gentoo.txt
- create mode 100644 build/pkgs/numpy/distros/gentoo.txt
- create mode 100644 build/pkgs/packaging/distros/gentoo.txt
- create mode 100644 build/pkgs/pandocfilters/distros/gentoo.txt
- create mode 100644 build/pkgs/pickleshare/distros/gentoo.txt
- create mode 100644 build/pkgs/pillow/distros/gentoo.txt
- create mode 100644 build/pkgs/pluggy/distros/gentoo.txt
- create mode 100644 build/pkgs/pygments/distros/gentoo.txt
- create mode 100644 build/pkgs/pytz/distros/gentoo.txt
- create mode 100644 build/pkgs/pyzmq/distros/gentoo.txt
- create mode 100644 build/pkgs/requests/distros/gentoo.txt
- create mode 100644 build/pkgs/scipy/distros/gentoo.txt
- create mode 100644 build/pkgs/setuptools/distros/gentoo.txt
- create mode 100644 build/pkgs/six/distros/gentoo.txt
- create mode 100644 build/pkgs/sympy/distros/gentoo.txt
- create mode 100644 build/pkgs/texttable/distros/gentoo.txt
- create mode 100644 build/pkgs/toml/distros/gentoo.txt
- create mode 100644 build/pkgs/webencodings/distros/gentoo.txt
-
-diff --git a/build/pkgs/babel/distros/gentoo.txt b/build/pkgs/babel/distros/gentoo.txt
-new file mode 100644
-index 00000000..2d2c34f
---- /dev/null
-+++ b/build/pkgs/babel/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/Babel
-diff --git a/build/pkgs/bleach/distros/gentoo.txt b/build/pkgs/bleach/distros/gentoo.txt
-new file mode 100644
-index 00000000..b4f9744
---- /dev/null
-+++ b/build/pkgs/bleach/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/bleach
-diff --git a/build/pkgs/certifi/distros/gentoo.txt b/build/pkgs/certifi/distros/gentoo.txt
-new file mode 100644
-index 00000000..72e2e91
---- /dev/null
-+++ b/build/pkgs/certifi/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/certifi
-diff --git a/build/pkgs/cvxopt/distros/gentoo.txt b/build/pkgs/cvxopt/distros/gentoo.txt
-new file mode 100644
-index 00000000..b312391
---- /dev/null
-+++ b/build/pkgs/cvxopt/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/cvxopt
-diff --git a/build/pkgs/decorator/distros/gentoo.txt b/build/pkgs/decorator/distros/gentoo.txt
-new file mode 100644
-index 00000000..fea5a67
---- /dev/null
-+++ b/build/pkgs/decorator/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/decorator
-diff --git a/build/pkgs/html5lib/distros/gentoo.txt b/build/pkgs/html5lib/distros/gentoo.txt
-new file mode 100644
-index 00000000..6c2be76
---- /dev/null
-+++ b/build/pkgs/html5lib/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/html5lib
-diff --git a/build/pkgs/idna/distros/gentoo.txt b/build/pkgs/idna/distros/gentoo.txt
-new file mode 100644
-index 00000000..68ef51c
---- /dev/null
-+++ b/build/pkgs/idna/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/idna
-diff --git a/build/pkgs/jinja2/distros/gentoo.txt b/build/pkgs/jinja2/distros/gentoo.txt
-new file mode 100644
-index 00000000..15a27ae
---- /dev/null
-+++ b/build/pkgs/jinja2/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jinja
-diff --git a/build/pkgs/matplotlib/distros/gentoo.txt b/build/pkgs/matplotlib/distros/gentoo.txt
-new file mode 100644
-index 00000000..bcfefb5
---- /dev/null
-+++ b/build/pkgs/matplotlib/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/matplotlib
-diff --git a/build/pkgs/mpmath/distros/gentoo.txt b/build/pkgs/mpmath/distros/gentoo.txt
-new file mode 100644
-index 00000000..946c62d
---- /dev/null
-+++ b/build/pkgs/mpmath/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/mpmath
-diff --git a/build/pkgs/networkx/distros/gentoo.txt b/build/pkgs/networkx/distros/gentoo.txt
-new file mode 100644
-index 00000000..dd97742
---- /dev/null
-+++ b/build/pkgs/networkx/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/networkx
-diff --git a/build/pkgs/numpy/distros/gentoo.txt b/build/pkgs/numpy/distros/gentoo.txt
-new file mode 100644
-index 00000000..d2179d4
---- /dev/null
-+++ b/build/pkgs/numpy/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/numpy
-diff --git a/build/pkgs/packaging/distros/gentoo.txt b/build/pkgs/packaging/distros/gentoo.txt
-new file mode 100644
-index 00000000..e5309ed
---- /dev/null
-+++ b/build/pkgs/packaging/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/packaging
-diff --git a/build/pkgs/pandocfilters/distros/gentoo.txt b/build/pkgs/pandocfilters/distros/gentoo.txt
-new file mode 100644
-index 00000000..a726fda
---- /dev/null
-+++ b/build/pkgs/pandocfilters/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pandocfilters
-diff --git a/build/pkgs/pickleshare/distros/gentoo.txt b/build/pkgs/pickleshare/distros/gentoo.txt
-new file mode 100644
-index 00000000..14fad0f
---- /dev/null
-+++ b/build/pkgs/pickleshare/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pickleshare
-diff --git a/build/pkgs/pillow/distros/gentoo.txt b/build/pkgs/pillow/distros/gentoo.txt
-new file mode 100644
-index 00000000..1243649
---- /dev/null
-+++ b/build/pkgs/pillow/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pillow
-diff --git a/build/pkgs/pluggy/distros/gentoo.txt b/build/pkgs/pluggy/distros/gentoo.txt
-new file mode 100644
-index 00000000..7b33876
---- /dev/null
-+++ b/build/pkgs/pluggy/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pluggy
-diff --git a/build/pkgs/pygments/distros/gentoo.txt b/build/pkgs/pygments/distros/gentoo.txt
-new file mode 100644
-index 00000000..a584f32
---- /dev/null
-+++ b/build/pkgs/pygments/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pygments
-diff --git a/build/pkgs/pytz/distros/gentoo.txt b/build/pkgs/pytz/distros/gentoo.txt
-new file mode 100644
-index 00000000..902a18b
---- /dev/null
-+++ b/build/pkgs/pytz/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pytz
-diff --git a/build/pkgs/pyzmq/distros/gentoo.txt b/build/pkgs/pyzmq/distros/gentoo.txt
-new file mode 100644
-index 00000000..77c2429
---- /dev/null
-+++ b/build/pkgs/pyzmq/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pyzmq
-diff --git a/build/pkgs/requests/distros/gentoo.txt b/build/pkgs/requests/distros/gentoo.txt
-new file mode 100644
-index 00000000..d3dc941
---- /dev/null
-+++ b/build/pkgs/requests/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/requests
-diff --git a/build/pkgs/scipy/distros/gentoo.txt b/build/pkgs/scipy/distros/gentoo.txt
-new file mode 100644
-index 00000000..11dabd2
---- /dev/null
-+++ b/build/pkgs/scipy/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/scipy
-diff --git a/build/pkgs/setuptools/distros/gentoo.txt b/build/pkgs/setuptools/distros/gentoo.txt
-new file mode 100644
-index 00000000..3a4fa34
---- /dev/null
-+++ b/build/pkgs/setuptools/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/setuptools
-diff --git a/build/pkgs/six/distros/gentoo.txt b/build/pkgs/six/distros/gentoo.txt
-new file mode 100644
-index 00000000..f73f648
---- /dev/null
-+++ b/build/pkgs/six/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/six
-diff --git a/build/pkgs/sympy/distros/gentoo.txt b/build/pkgs/sympy/distros/gentoo.txt
-new file mode 100644
-index 00000000..b5a5034
---- /dev/null
-+++ b/build/pkgs/sympy/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sympy
-diff --git a/build/pkgs/texttable/distros/gentoo.txt b/build/pkgs/texttable/distros/gentoo.txt
-new file mode 100644
-index 00000000..b33a7a7
---- /dev/null
-+++ b/build/pkgs/texttable/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/texttable
-diff --git a/build/pkgs/toml/distros/gentoo.txt b/build/pkgs/toml/distros/gentoo.txt
-new file mode 100644
-index 00000000..64fcea3
---- /dev/null
-+++ b/build/pkgs/toml/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/toml
-diff --git a/build/pkgs/webencodings/distros/gentoo.txt b/build/pkgs/webencodings/distros/gentoo.txt
-new file mode 100644
-index 00000000..7539b0f
---- /dev/null
-+++ b/build/pkgs/webencodings/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/webencodings
--- 
-cgit v1.0-1-gd88e
-
-
-From 088380f884124c9608160b613ba031c5f023f604 Mon Sep 17 00:00:00 2001
-From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
-Date: Sun, 17 Oct 2021 18:43:04 -0700
-Subject: build/pkgs: Add distros/fedora.txt for Python packages
-
----
- build/pkgs/babel/distros/fedora.txt         | 1 +
- build/pkgs/bleach/distros/fedora.txt        | 1 +
- build/pkgs/certifi/distros/fedora.txt       | 1 +
- build/pkgs/cvxopt/distros/fedora.txt        | 1 +
- build/pkgs/decorator/distros/fedora.txt     | 1 +
- build/pkgs/html5lib/distros/fedora.txt      | 1 +
- build/pkgs/idna/distros/fedora.txt          | 1 +
- build/pkgs/jinja2/distros/fedora.txt        | 1 +
- build/pkgs/matplotlib/distros/fedora.txt    | 1 +
- build/pkgs/mpmath/distros/fedora.txt        | 1 +
- build/pkgs/networkx/distros/fedora.txt      | 1 +
- build/pkgs/numpy/distros/fedora.txt         | 1 +
- build/pkgs/packaging/distros/fedora.txt     | 1 +
- build/pkgs/pandocfilters/distros/fedora.txt | 1 +
- build/pkgs/pickleshare/distros/fedora.txt   | 1 +
- build/pkgs/pillow/distros/fedora.txt        | 1 +
- build/pkgs/pluggy/distros/fedora.txt        | 1 +
- build/pkgs/py/distros/fedora.txt            | 1 +
- build/pkgs/pygments/distros/fedora.txt      | 1 +
- build/pkgs/pytz/distros/fedora.txt          | 1 +
- build/pkgs/pyzmq/distros/fedora.txt         | 1 +
- build/pkgs/requests/distros/fedora.txt      | 1 +
- build/pkgs/scipy/distros/fedora.txt         | 1 +
- build/pkgs/setuptools/distros/fedora.txt    | 1 +
- build/pkgs/six/distros/fedora.txt           | 1 +
- build/pkgs/sympy/distros/fedora.txt         | 1 +
- build/pkgs/texttable/distros/fedora.txt     | 1 +
- build/pkgs/toml/distros/fedora.txt          | 1 +
- build/pkgs/webencodings/distros/fedora.txt  | 1 +
- build/pkgs/wheel/distros/fedora.txt         | 1 +
- 30 files changed, 30 insertions(+)
- create mode 100644 build/pkgs/babel/distros/fedora.txt
- create mode 100644 build/pkgs/bleach/distros/fedora.txt
- create mode 100644 build/pkgs/certifi/distros/fedora.txt
- create mode 100644 build/pkgs/cvxopt/distros/fedora.txt
- create mode 100644 build/pkgs/decorator/distros/fedora.txt
- create mode 100644 build/pkgs/html5lib/distros/fedora.txt
- create mode 100644 build/pkgs/idna/distros/fedora.txt
- create mode 100644 build/pkgs/jinja2/distros/fedora.txt
- create mode 100644 build/pkgs/matplotlib/distros/fedora.txt
- create mode 100644 build/pkgs/mpmath/distros/fedora.txt
- create mode 100644 build/pkgs/networkx/distros/fedora.txt
- create mode 100644 build/pkgs/numpy/distros/fedora.txt
- create mode 100644 build/pkgs/packaging/distros/fedora.txt
- create mode 100644 build/pkgs/pandocfilters/distros/fedora.txt
- create mode 100644 build/pkgs/pickleshare/distros/fedora.txt
- create mode 100644 build/pkgs/pillow/distros/fedora.txt
- create mode 100644 build/pkgs/pluggy/distros/fedora.txt
- create mode 100644 build/pkgs/py/distros/fedora.txt
- create mode 100644 build/pkgs/pygments/distros/fedora.txt
- create mode 100644 build/pkgs/pytz/distros/fedora.txt
- create mode 100644 build/pkgs/pyzmq/distros/fedora.txt
- create mode 100644 build/pkgs/requests/distros/fedora.txt
- create mode 100644 build/pkgs/scipy/distros/fedora.txt
- create mode 100644 build/pkgs/setuptools/distros/fedora.txt
- create mode 100644 build/pkgs/six/distros/fedora.txt
- create mode 100644 build/pkgs/sympy/distros/fedora.txt
- create mode 100644 build/pkgs/texttable/distros/fedora.txt
- create mode 100644 build/pkgs/toml/distros/fedora.txt
- create mode 100644 build/pkgs/webencodings/distros/fedora.txt
- create mode 100644 build/pkgs/wheel/distros/fedora.txt
-
-diff --git a/build/pkgs/babel/distros/fedora.txt b/build/pkgs/babel/distros/fedora.txt
-new file mode 100644
-index 00000000..98f6593
---- /dev/null
-+++ b/build/pkgs/babel/distros/fedora.txt
-@@ -0,0 +1 @@
-+babel
-diff --git a/build/pkgs/bleach/distros/fedora.txt b/build/pkgs/bleach/distros/fedora.txt
-new file mode 100644
-index 00000000..c5422cc
---- /dev/null
-+++ b/build/pkgs/bleach/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-bleach
-diff --git a/build/pkgs/certifi/distros/fedora.txt b/build/pkgs/certifi/distros/fedora.txt
-new file mode 100644
-index 00000000..be421c8
---- /dev/null
-+++ b/build/pkgs/certifi/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-certifi
-diff --git a/build/pkgs/cvxopt/distros/fedora.txt b/build/pkgs/cvxopt/distros/fedora.txt
-new file mode 100644
-index 00000000..f15770f
---- /dev/null
-+++ b/build/pkgs/cvxopt/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-cvxopt
-diff --git a/build/pkgs/decorator/distros/fedora.txt b/build/pkgs/decorator/distros/fedora.txt
-new file mode 100644
-index 00000000..0795604
---- /dev/null
-+++ b/build/pkgs/decorator/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-decorator
-diff --git a/build/pkgs/html5lib/distros/fedora.txt b/build/pkgs/html5lib/distros/fedora.txt
-new file mode 100644
-index 00000000..b821491
---- /dev/null
-+++ b/build/pkgs/html5lib/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-html5lib
-diff --git a/build/pkgs/idna/distros/fedora.txt b/build/pkgs/idna/distros/fedora.txt
-new file mode 100644
-index 00000000..a73e70c
---- /dev/null
-+++ b/build/pkgs/idna/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-idna
-diff --git a/build/pkgs/jinja2/distros/fedora.txt b/build/pkgs/jinja2/distros/fedora.txt
-new file mode 100644
-index 00000000..f5f3caf
---- /dev/null
-+++ b/build/pkgs/jinja2/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-jinja2
-diff --git a/build/pkgs/matplotlib/distros/fedora.txt b/build/pkgs/matplotlib/distros/fedora.txt
-new file mode 100644
-index 00000000..f6d856e
---- /dev/null
-+++ b/build/pkgs/matplotlib/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-matplotlib
-diff --git a/build/pkgs/mpmath/distros/fedora.txt b/build/pkgs/mpmath/distros/fedora.txt
-new file mode 100644
-index 00000000..a7dc8d5
---- /dev/null
-+++ b/build/pkgs/mpmath/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-mpmath
-diff --git a/build/pkgs/networkx/distros/fedora.txt b/build/pkgs/networkx/distros/fedora.txt
-new file mode 100644
-index 00000000..293f943
---- /dev/null
-+++ b/build/pkgs/networkx/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-networkx
-diff --git a/build/pkgs/numpy/distros/fedora.txt b/build/pkgs/numpy/distros/fedora.txt
-new file mode 100644
-index 00000000..c8722b9
---- /dev/null
-+++ b/build/pkgs/numpy/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-numpy
-diff --git a/build/pkgs/packaging/distros/fedora.txt b/build/pkgs/packaging/distros/fedora.txt
-new file mode 100644
-index 00000000..02ad855
---- /dev/null
-+++ b/build/pkgs/packaging/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-packaging
-diff --git a/build/pkgs/pandocfilters/distros/fedora.txt b/build/pkgs/pandocfilters/distros/fedora.txt
-new file mode 100644
-index 00000000..e7a86d0
---- /dev/null
-+++ b/build/pkgs/pandocfilters/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pandocfilters
-diff --git a/build/pkgs/pickleshare/distros/fedora.txt b/build/pkgs/pickleshare/distros/fedora.txt
-new file mode 100644
-index 00000000..6d991a2
---- /dev/null
-+++ b/build/pkgs/pickleshare/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pickleshare
-diff --git a/build/pkgs/pillow/distros/fedora.txt b/build/pkgs/pillow/distros/fedora.txt
-new file mode 100644
-index 00000000..86dbb1d
---- /dev/null
-+++ b/build/pkgs/pillow/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pillow
-diff --git a/build/pkgs/pluggy/distros/fedora.txt b/build/pkgs/pluggy/distros/fedora.txt
-new file mode 100644
-index 00000000..c869e54
---- /dev/null
-+++ b/build/pkgs/pluggy/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pluggy
-diff --git a/build/pkgs/py/distros/fedora.txt b/build/pkgs/py/distros/fedora.txt
-new file mode 100644
-index 00000000..b348d39
---- /dev/null
-+++ b/build/pkgs/py/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-py
-diff --git a/build/pkgs/pygments/distros/fedora.txt b/build/pkgs/pygments/distros/fedora.txt
-new file mode 100644
-index 00000000..f3e72a8
---- /dev/null
-+++ b/build/pkgs/pygments/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pygments
-diff --git a/build/pkgs/pytz/distros/fedora.txt b/build/pkgs/pytz/distros/fedora.txt
-new file mode 100644
-index 00000000..2cccc9e
---- /dev/null
-+++ b/build/pkgs/pytz/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pytz
-diff --git a/build/pkgs/pyzmq/distros/fedora.txt b/build/pkgs/pyzmq/distros/fedora.txt
-new file mode 100644
-index 00000000..23f64d1
---- /dev/null
-+++ b/build/pkgs/pyzmq/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-pyzmq
-diff --git a/build/pkgs/requests/distros/fedora.txt b/build/pkgs/requests/distros/fedora.txt
-new file mode 100644
-index 00000000..93a7bc1
---- /dev/null
-+++ b/build/pkgs/requests/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-requests
-diff --git a/build/pkgs/scipy/distros/fedora.txt b/build/pkgs/scipy/distros/fedora.txt
-new file mode 100644
-index 00000000..7ff2882
---- /dev/null
-+++ b/build/pkgs/scipy/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-scipy
-diff --git a/build/pkgs/setuptools/distros/fedora.txt b/build/pkgs/setuptools/distros/fedora.txt
-new file mode 100644
-index 00000000..e1ad178
---- /dev/null
-+++ b/build/pkgs/setuptools/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-setuptools
-diff --git a/build/pkgs/six/distros/fedora.txt b/build/pkgs/six/distros/fedora.txt
-new file mode 100644
-index 00000000..787c530
---- /dev/null
-+++ b/build/pkgs/six/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-six
-diff --git a/build/pkgs/sympy/distros/fedora.txt b/build/pkgs/sympy/distros/fedora.txt
-new file mode 100644
-index 00000000..126c88a
---- /dev/null
-+++ b/build/pkgs/sympy/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-sympy
-diff --git a/build/pkgs/texttable/distros/fedora.txt b/build/pkgs/texttable/distros/fedora.txt
-new file mode 100644
-index 00000000..8d1ccec
---- /dev/null
-+++ b/build/pkgs/texttable/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-texttable
-diff --git a/build/pkgs/toml/distros/fedora.txt b/build/pkgs/toml/distros/fedora.txt
-new file mode 100644
-index 00000000..821ee77
---- /dev/null
-+++ b/build/pkgs/toml/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-toml
-diff --git a/build/pkgs/webencodings/distros/fedora.txt b/build/pkgs/webencodings/distros/fedora.txt
-new file mode 100644
-index 00000000..12ddba9
---- /dev/null
-+++ b/build/pkgs/webencodings/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-webencodings
-diff --git a/build/pkgs/wheel/distros/fedora.txt b/build/pkgs/wheel/distros/fedora.txt
-new file mode 100644
-index 00000000..ae4cbb9
---- /dev/null
-+++ b/build/pkgs/wheel/distros/fedora.txt
-@@ -0,0 +1 @@
-+python-wheel
--- 
-cgit v1.0-1-gd88e
-
-
-From ad1d5a20380b147c774903066031442f31094626 Mon Sep 17 00:00:00 2001
-From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
-Date: Sun, 17 Oct 2021 21:04:04 -0700
-Subject: build/pkgs: Add distros/arch.txt for Python packages
-
----
- build/pkgs/babel/distros/arch.txt         | 1 +
- build/pkgs/bleach/distros/arch.txt        | 1 +
- build/pkgs/certifi/distros/arch.txt       | 1 +
- build/pkgs/cvxopt/distros/arch.txt        | 1 +
- build/pkgs/decorator/distros/arch.txt     | 1 +
- build/pkgs/html5lib/distros/arch.txt      | 1 +
- build/pkgs/idna/distros/arch.txt          | 1 +
- build/pkgs/matplotlib/distros/arch.txt    | 1 +
- build/pkgs/mpmath/distros/arch.txt        | 1 +
- build/pkgs/networkx/distros/arch.txt      | 1 +
- build/pkgs/numpy/distros/arch.txt         | 1 +
- build/pkgs/packaging/distros/arch.txt     | 1 +
- build/pkgs/pandocfilters/distros/arch.txt | 1 +
- build/pkgs/pickleshare/distros/arch.txt   | 1 +
- build/pkgs/pillow/distros/arch.txt        | 1 +
- build/pkgs/pluggy/distros/arch.txt        | 1 +
- build/pkgs/py/distros/arch.txt            | 1 +
- build/pkgs/pygments/distros/arch.txt      | 1 +
- build/pkgs/pytz/distros/arch.txt          | 1 +
- build/pkgs/pyzmq/distros/arch.txt         | 1 +
- build/pkgs/requests/distros/arch.txt      | 1 +
- build/pkgs/scipy/distros/arch.txt         | 1 +
- build/pkgs/setuptools/distros/arch.txt    | 1 +
- build/pkgs/six/distros/arch.txt           | 1 +
- build/pkgs/sympy/distros/arch.txt         | 1 +
- build/pkgs/texttable/distros/arch.txt     | 1 +
- build/pkgs/toml/distros/arch.txt          | 1 +
- build/pkgs/webencodings/distros/arch.txt  | 1 +
- build/pkgs/wheel/distros/arch.txt         | 1 +
- 29 files changed, 29 insertions(+)
- create mode 100644 build/pkgs/babel/distros/arch.txt
- create mode 100644 build/pkgs/bleach/distros/arch.txt
- create mode 100644 build/pkgs/certifi/distros/arch.txt
- create mode 100644 build/pkgs/cvxopt/distros/arch.txt
- create mode 100644 build/pkgs/decorator/distros/arch.txt
- create mode 100644 build/pkgs/html5lib/distros/arch.txt
- create mode 100644 build/pkgs/idna/distros/arch.txt
- create mode 100644 build/pkgs/matplotlib/distros/arch.txt
- create mode 100644 build/pkgs/mpmath/distros/arch.txt
- create mode 100644 build/pkgs/networkx/distros/arch.txt
- create mode 100644 build/pkgs/numpy/distros/arch.txt
- create mode 100644 build/pkgs/packaging/distros/arch.txt
- create mode 100644 build/pkgs/pandocfilters/distros/arch.txt
- create mode 100644 build/pkgs/pickleshare/distros/arch.txt
- create mode 100644 build/pkgs/pillow/distros/arch.txt
- create mode 100644 build/pkgs/pluggy/distros/arch.txt
- create mode 100644 build/pkgs/py/distros/arch.txt
- create mode 100644 build/pkgs/pygments/distros/arch.txt
- create mode 100644 build/pkgs/pytz/distros/arch.txt
- create mode 100644 build/pkgs/pyzmq/distros/arch.txt
- create mode 100644 build/pkgs/requests/distros/arch.txt
- create mode 100644 build/pkgs/scipy/distros/arch.txt
- create mode 100644 build/pkgs/setuptools/distros/arch.txt
- create mode 100644 build/pkgs/six/distros/arch.txt
- create mode 100644 build/pkgs/sympy/distros/arch.txt
- create mode 100644 build/pkgs/texttable/distros/arch.txt
- create mode 100644 build/pkgs/toml/distros/arch.txt
- create mode 100644 build/pkgs/webencodings/distros/arch.txt
- create mode 100644 build/pkgs/wheel/distros/arch.txt
-
-diff --git a/build/pkgs/babel/distros/arch.txt b/build/pkgs/babel/distros/arch.txt
-new file mode 100644
-index 00000000..f2d828c
---- /dev/null
-+++ b/build/pkgs/babel/distros/arch.txt
-@@ -0,0 +1 @@
-+python-babel
-diff --git a/build/pkgs/bleach/distros/arch.txt b/build/pkgs/bleach/distros/arch.txt
-new file mode 100644
-index 00000000..c5422cc
---- /dev/null
-+++ b/build/pkgs/bleach/distros/arch.txt
-@@ -0,0 +1 @@
-+python-bleach
-diff --git a/build/pkgs/certifi/distros/arch.txt b/build/pkgs/certifi/distros/arch.txt
-new file mode 100644
-index 00000000..be421c8
---- /dev/null
-+++ b/build/pkgs/certifi/distros/arch.txt
-@@ -0,0 +1 @@
-+python-certifi
-diff --git a/build/pkgs/cvxopt/distros/arch.txt b/build/pkgs/cvxopt/distros/arch.txt
-new file mode 100644
-index 00000000..f15770f
---- /dev/null
-+++ b/build/pkgs/cvxopt/distros/arch.txt
-@@ -0,0 +1 @@
-+python-cvxopt
-diff --git a/build/pkgs/decorator/distros/arch.txt b/build/pkgs/decorator/distros/arch.txt
-new file mode 100644
-index 00000000..0795604
---- /dev/null
-+++ b/build/pkgs/decorator/distros/arch.txt
-@@ -0,0 +1 @@
-+python-decorator
-diff --git a/build/pkgs/html5lib/distros/arch.txt b/build/pkgs/html5lib/distros/arch.txt
-new file mode 100644
-index 00000000..b821491
---- /dev/null
-+++ b/build/pkgs/html5lib/distros/arch.txt
-@@ -0,0 +1 @@
-+python-html5lib
-diff --git a/build/pkgs/idna/distros/arch.txt b/build/pkgs/idna/distros/arch.txt
-new file mode 100644
-index 00000000..a73e70c
---- /dev/null
-+++ b/build/pkgs/idna/distros/arch.txt
-@@ -0,0 +1 @@
-+python-idna
-diff --git a/build/pkgs/matplotlib/distros/arch.txt b/build/pkgs/matplotlib/distros/arch.txt
-new file mode 100644
-index 00000000..f6d856e
---- /dev/null
-+++ b/build/pkgs/matplotlib/distros/arch.txt
-@@ -0,0 +1 @@
-+python-matplotlib
-diff --git a/build/pkgs/mpmath/distros/arch.txt b/build/pkgs/mpmath/distros/arch.txt
-new file mode 100644
-index 00000000..a7dc8d5
---- /dev/null
-+++ b/build/pkgs/mpmath/distros/arch.txt
-@@ -0,0 +1 @@
-+python-mpmath
-diff --git a/build/pkgs/networkx/distros/arch.txt b/build/pkgs/networkx/distros/arch.txt
-new file mode 100644
-index 00000000..293f943
---- /dev/null
-+++ b/build/pkgs/networkx/distros/arch.txt
-@@ -0,0 +1 @@
-+python-networkx
-diff --git a/build/pkgs/numpy/distros/arch.txt b/build/pkgs/numpy/distros/arch.txt
-new file mode 100644
-index 00000000..c8722b9
---- /dev/null
-+++ b/build/pkgs/numpy/distros/arch.txt
-@@ -0,0 +1 @@
-+python-numpy
-diff --git a/build/pkgs/packaging/distros/arch.txt b/build/pkgs/packaging/distros/arch.txt
-new file mode 100644
-index 00000000..02ad855
---- /dev/null
-+++ b/build/pkgs/packaging/distros/arch.txt
-@@ -0,0 +1 @@
-+python-packaging
-diff --git a/build/pkgs/pandocfilters/distros/arch.txt b/build/pkgs/pandocfilters/distros/arch.txt
-new file mode 100644
-index 00000000..e7a86d0
---- /dev/null
-+++ b/build/pkgs/pandocfilters/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pandocfilters
-diff --git a/build/pkgs/pickleshare/distros/arch.txt b/build/pkgs/pickleshare/distros/arch.txt
-new file mode 100644
-index 00000000..6d991a2
---- /dev/null
-+++ b/build/pkgs/pickleshare/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pickleshare
-diff --git a/build/pkgs/pillow/distros/arch.txt b/build/pkgs/pillow/distros/arch.txt
-new file mode 100644
-index 00000000..86dbb1d
---- /dev/null
-+++ b/build/pkgs/pillow/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pillow
-diff --git a/build/pkgs/pluggy/distros/arch.txt b/build/pkgs/pluggy/distros/arch.txt
-new file mode 100644
-index 00000000..c869e54
---- /dev/null
-+++ b/build/pkgs/pluggy/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pluggy
-diff --git a/build/pkgs/py/distros/arch.txt b/build/pkgs/py/distros/arch.txt
-new file mode 100644
-index 00000000..b348d39
---- /dev/null
-+++ b/build/pkgs/py/distros/arch.txt
-@@ -0,0 +1 @@
-+python-py
-diff --git a/build/pkgs/pygments/distros/arch.txt b/build/pkgs/pygments/distros/arch.txt
-new file mode 100644
-index 00000000..f3e72a8
---- /dev/null
-+++ b/build/pkgs/pygments/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pygments
-diff --git a/build/pkgs/pytz/distros/arch.txt b/build/pkgs/pytz/distros/arch.txt
-new file mode 100644
-index 00000000..2cccc9e
---- /dev/null
-+++ b/build/pkgs/pytz/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pytz
-diff --git a/build/pkgs/pyzmq/distros/arch.txt b/build/pkgs/pyzmq/distros/arch.txt
-new file mode 100644
-index 00000000..23f64d1
---- /dev/null
-+++ b/build/pkgs/pyzmq/distros/arch.txt
-@@ -0,0 +1 @@
-+python-pyzmq
-diff --git a/build/pkgs/requests/distros/arch.txt b/build/pkgs/requests/distros/arch.txt
-new file mode 100644
-index 00000000..93a7bc1
---- /dev/null
-+++ b/build/pkgs/requests/distros/arch.txt
-@@ -0,0 +1 @@
-+python-requests
-diff --git a/build/pkgs/scipy/distros/arch.txt b/build/pkgs/scipy/distros/arch.txt
-new file mode 100644
-index 00000000..7ff2882
---- /dev/null
-+++ b/build/pkgs/scipy/distros/arch.txt
-@@ -0,0 +1 @@
-+python-scipy
-diff --git a/build/pkgs/setuptools/distros/arch.txt b/build/pkgs/setuptools/distros/arch.txt
-new file mode 100644
-index 00000000..e1ad178
---- /dev/null
-+++ b/build/pkgs/setuptools/distros/arch.txt
-@@ -0,0 +1 @@
-+python-setuptools
-diff --git a/build/pkgs/six/distros/arch.txt b/build/pkgs/six/distros/arch.txt
-new file mode 100644
-index 00000000..787c530
---- /dev/null
-+++ b/build/pkgs/six/distros/arch.txt
-@@ -0,0 +1 @@
-+python-six
-diff --git a/build/pkgs/sympy/distros/arch.txt b/build/pkgs/sympy/distros/arch.txt
-new file mode 100644
-index 00000000..126c88a
---- /dev/null
-+++ b/build/pkgs/sympy/distros/arch.txt
-@@ -0,0 +1 @@
-+python-sympy
-diff --git a/build/pkgs/texttable/distros/arch.txt b/build/pkgs/texttable/distros/arch.txt
-new file mode 100644
-index 00000000..8d1ccec
---- /dev/null
-+++ b/build/pkgs/texttable/distros/arch.txt
-@@ -0,0 +1 @@
-+python-texttable
-diff --git a/build/pkgs/toml/distros/arch.txt b/build/pkgs/toml/distros/arch.txt
-new file mode 100644
-index 00000000..821ee77
---- /dev/null
-+++ b/build/pkgs/toml/distros/arch.txt
-@@ -0,0 +1 @@
-+python-toml
-diff --git a/build/pkgs/webencodings/distros/arch.txt b/build/pkgs/webencodings/distros/arch.txt
-new file mode 100644
-index 00000000..12ddba9
---- /dev/null
-+++ b/build/pkgs/webencodings/distros/arch.txt
-@@ -0,0 +1 @@
-+python-webencodings
-diff --git a/build/pkgs/wheel/distros/arch.txt b/build/pkgs/wheel/distros/arch.txt
-new file mode 100644
-index 00000000..ae4cbb9
---- /dev/null
-+++ b/build/pkgs/wheel/distros/arch.txt
-@@ -0,0 +1 @@
-+python-wheel
--- 
-cgit v1.0-1-gd88e
-
-
-From 5087abee08f2a89ddaf422ec72a84575fe724a79 Mon Sep 17 00:00:00 2001
-From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
-Date: Sun, 17 Oct 2021 21:20:56 -0700
-Subject: build/pkgs: Add distros/opensuse.txt for Python packages
-
----
- build/pkgs/bleach/distros/opensuse.txt        | 1 +
- build/pkgs/cvxopt/distros/opensuse.txt        | 1 +
- build/pkgs/html5lib/distros/opensuse.txt      | 1 +
- build/pkgs/idna/distros/opensuse.txt          | 1 +
- build/pkgs/jinja2/distros/opensuse.txt        | 2 +-
- build/pkgs/mpmath/distros/opensuse.txt        | 1 +
- build/pkgs/numpy/distros/opensuse.txt         | 1 +
- build/pkgs/packaging/distros/opensuse.txt     | 1 +
- build/pkgs/pandocfilters/distros/opensuse.txt | 1 +
- build/pkgs/pluggy/distros/opensuse.txt        | 1 +
- build/pkgs/py/distros/opensuse.txt            | 1 +
- build/pkgs/pygments/distros/opensuse.txt      | 2 +-
- build/pkgs/sympy/distros/opensuse.txt         | 1 +
- build/pkgs/texttable/distros/opensuse.txt     | 1 +
- build/pkgs/toml/distros/opensuse.txt          | 1 +
- 15 files changed, 15 insertions(+), 2 deletions(-)
- create mode 100644 build/pkgs/bleach/distros/opensuse.txt
- create mode 100644 build/pkgs/cvxopt/distros/opensuse.txt
- create mode 100644 build/pkgs/html5lib/distros/opensuse.txt
- create mode 100644 build/pkgs/idna/distros/opensuse.txt
- create mode 100644 build/pkgs/mpmath/distros/opensuse.txt
- create mode 100644 build/pkgs/numpy/distros/opensuse.txt
- create mode 100644 build/pkgs/packaging/distros/opensuse.txt
- create mode 100644 build/pkgs/pandocfilters/distros/opensuse.txt
- create mode 100644 build/pkgs/pluggy/distros/opensuse.txt
- create mode 100644 build/pkgs/py/distros/opensuse.txt
- create mode 100644 build/pkgs/sympy/distros/opensuse.txt
- create mode 100644 build/pkgs/texttable/distros/opensuse.txt
- create mode 100644 build/pkgs/toml/distros/opensuse.txt
-
-diff --git a/build/pkgs/bleach/distros/opensuse.txt b/build/pkgs/bleach/distros/opensuse.txt
-new file mode 100644
-index 00000000..6d37c4c
---- /dev/null
-+++ b/build/pkgs/bleach/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-bleach
-diff --git a/build/pkgs/cvxopt/distros/opensuse.txt b/build/pkgs/cvxopt/distros/opensuse.txt
-new file mode 100644
-index 00000000..2bb6ad1
---- /dev/null
-+++ b/build/pkgs/cvxopt/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-cvxopt
-diff --git a/build/pkgs/html5lib/distros/opensuse.txt b/build/pkgs/html5lib/distros/opensuse.txt
-new file mode 100644
-index 00000000..6d7b8df
---- /dev/null
-+++ b/build/pkgs/html5lib/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-html5lib
-diff --git a/build/pkgs/idna/distros/opensuse.txt b/build/pkgs/idna/distros/opensuse.txt
-new file mode 100644
-index 00000000..de48e70
---- /dev/null
-+++ b/build/pkgs/idna/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-idna
-diff --git a/build/pkgs/jinja2/distros/opensuse.txt b/build/pkgs/jinja2/distros/opensuse.txt
-index 5d90a22..f2db865 100644
---- a/build/pkgs/jinja2/distros/opensuse.txt
-+++ b/build/pkgs/jinja2/distros/opensuse.txt
-@@ -1 +1 @@
--python3-Jinja2
-+python3-jinja2
-diff --git a/build/pkgs/mpmath/distros/opensuse.txt b/build/pkgs/mpmath/distros/opensuse.txt
-new file mode 100644
-index 00000000..fbc82a9
---- /dev/null
-+++ b/build/pkgs/mpmath/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-mpmath
-diff --git a/build/pkgs/numpy/distros/opensuse.txt b/build/pkgs/numpy/distros/opensuse.txt
-new file mode 100644
-index 00000000..79d5c5a
---- /dev/null
-+++ b/build/pkgs/numpy/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-numpy
-diff --git a/build/pkgs/packaging/distros/opensuse.txt b/build/pkgs/packaging/distros/opensuse.txt
-new file mode 100644
-index 00000000..8f1c0ff
---- /dev/null
-+++ b/build/pkgs/packaging/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-packaging
-diff --git a/build/pkgs/pandocfilters/distros/opensuse.txt b/build/pkgs/pandocfilters/distros/opensuse.txt
-new file mode 100644
-index 00000000..d0d4c24
---- /dev/null
-+++ b/build/pkgs/pandocfilters/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-pandocfilters
-diff --git a/build/pkgs/pluggy/distros/opensuse.txt b/build/pkgs/pluggy/distros/opensuse.txt
-new file mode 100644
-index 00000000..43a3acf
---- /dev/null
-+++ b/build/pkgs/pluggy/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-pluggy
-diff --git a/build/pkgs/py/distros/opensuse.txt b/build/pkgs/py/distros/opensuse.txt
-new file mode 100644
-index 00000000..81fefe6
---- /dev/null
-+++ b/build/pkgs/py/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-py
-diff --git a/build/pkgs/pygments/distros/opensuse.txt b/build/pkgs/pygments/distros/opensuse.txt
-index 9ff5740..3ab3792 100644
---- a/build/pkgs/pygments/distros/opensuse.txt
-+++ b/build/pkgs/pygments/distros/opensuse.txt
-@@ -1 +1 @@
--python3-Pygments
-+python3-pygments
-diff --git a/build/pkgs/sympy/distros/opensuse.txt b/build/pkgs/sympy/distros/opensuse.txt
-new file mode 100644
-index 00000000..db423c8
---- /dev/null
-+++ b/build/pkgs/sympy/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-sympy
-diff --git a/build/pkgs/texttable/distros/opensuse.txt b/build/pkgs/texttable/distros/opensuse.txt
-new file mode 100644
-index 00000000..8f8e7e2
---- /dev/null
-+++ b/build/pkgs/texttable/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-texttable
-diff --git a/build/pkgs/toml/distros/opensuse.txt b/build/pkgs/toml/distros/opensuse.txt
-new file mode 100644
-index 00000000..543e89d
---- /dev/null
-+++ b/build/pkgs/toml/distros/opensuse.txt
-@@ -0,0 +1 @@
-+python3-toml
--- 
-cgit v1.0-1-gd88e
-
-
-From a480ba7ace1370d106ae831e904ea22b72af1be7 Mon Sep 17 00:00:00 2001
-From: Matthias Koeppe <mkoeppe@math.ucdavis.edu>
-Date: Sun, 17 Oct 2021 22:45:04 -0700
-Subject: build/pkgs: Add distros/debian.txt for Python packages
-
----
- build/pkgs/babel/distros/debian.txt         | 1 +
- build/pkgs/bleach/distros/debian.txt        | 1 +
- build/pkgs/certifi/distros/debian.txt       | 1 +
- build/pkgs/cvxopt/distros/debian.txt        | 1 +
- build/pkgs/decorator/distros/debian.txt     | 1 +
- build/pkgs/html5lib/distros/debian.txt      | 1 +
- build/pkgs/idna/distros/debian.txt          | 1 +
- build/pkgs/jinja2/distros/debian.txt        | 1 +
- build/pkgs/matplotlib/distros/debian.txt    | 1 +
- build/pkgs/mpmath/distros/debian.txt        | 1 +
- build/pkgs/networkx/distros/debian.txt      | 1 +
- build/pkgs/numpy/distros/debian.txt         | 1 +
- build/pkgs/packaging/distros/debian.txt     | 1 +
- build/pkgs/pandocfilters/distros/debian.txt | 1 +
- build/pkgs/pickleshare/distros/debian.txt   | 1 +
- build/pkgs/pillow/distros/debian.txt        | 1 +
- build/pkgs/pluggy/distros/debian.txt        | 1 +
- build/pkgs/py/distros/debian.txt            | 1 +
- build/pkgs/pygments/distros/debian.txt      | 1 +
- build/pkgs/pytz/distros/debian.txt          | 1 +
- build/pkgs/requests/distros/debian.txt      | 1 +
- build/pkgs/scipy/distros/debian.txt         | 1 +
- build/pkgs/setuptools/distros/debian.txt    | 1 +
- build/pkgs/six/distros/debian.txt           | 1 +
- build/pkgs/sympy/distros/debian.txt         | 1 +
- build/pkgs/texttable/distros/debian.txt     | 1 +
- build/pkgs/toml/distros/debian.txt          | 1 +
- build/pkgs/webencodings/distros/debian.txt  | 1 +
- build/pkgs/wheel/distros/debian.txt         | 1 +
- 29 files changed, 29 insertions(+)
- create mode 100644 build/pkgs/babel/distros/debian.txt
- create mode 100644 build/pkgs/bleach/distros/debian.txt
- create mode 100644 build/pkgs/certifi/distros/debian.txt
- create mode 100644 build/pkgs/cvxopt/distros/debian.txt
- create mode 100644 build/pkgs/decorator/distros/debian.txt
- create mode 100644 build/pkgs/html5lib/distros/debian.txt
- create mode 100644 build/pkgs/idna/distros/debian.txt
- create mode 100644 build/pkgs/jinja2/distros/debian.txt
- create mode 100644 build/pkgs/matplotlib/distros/debian.txt
- create mode 100644 build/pkgs/mpmath/distros/debian.txt
- create mode 100644 build/pkgs/networkx/distros/debian.txt
- create mode 100644 build/pkgs/numpy/distros/debian.txt
- create mode 100644 build/pkgs/packaging/distros/debian.txt
- create mode 100644 build/pkgs/pandocfilters/distros/debian.txt
- create mode 100644 build/pkgs/pickleshare/distros/debian.txt
- create mode 100644 build/pkgs/pillow/distros/debian.txt
- create mode 100644 build/pkgs/pluggy/distros/debian.txt
- create mode 100644 build/pkgs/py/distros/debian.txt
- create mode 100644 build/pkgs/pygments/distros/debian.txt
- create mode 100644 build/pkgs/pytz/distros/debian.txt
- create mode 100644 build/pkgs/requests/distros/debian.txt
- create mode 100644 build/pkgs/scipy/distros/debian.txt
- create mode 100644 build/pkgs/setuptools/distros/debian.txt
- create mode 100644 build/pkgs/six/distros/debian.txt
- create mode 100644 build/pkgs/sympy/distros/debian.txt
- create mode 100644 build/pkgs/texttable/distros/debian.txt
- create mode 100644 build/pkgs/toml/distros/debian.txt
- create mode 100644 build/pkgs/webencodings/distros/debian.txt
- create mode 100644 build/pkgs/wheel/distros/debian.txt
-
-diff --git a/build/pkgs/babel/distros/debian.txt b/build/pkgs/babel/distros/debian.txt
-new file mode 100644
-index 00000000..e623eb6
---- /dev/null
-+++ b/build/pkgs/babel/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-babel
-diff --git a/build/pkgs/bleach/distros/debian.txt b/build/pkgs/bleach/distros/debian.txt
-new file mode 100644
-index 00000000..6d37c4c
---- /dev/null
-+++ b/build/pkgs/bleach/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-bleach
-diff --git a/build/pkgs/certifi/distros/debian.txt b/build/pkgs/certifi/distros/debian.txt
-new file mode 100644
-index 00000000..f585a82
---- /dev/null
-+++ b/build/pkgs/certifi/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-certifi
-diff --git a/build/pkgs/cvxopt/distros/debian.txt b/build/pkgs/cvxopt/distros/debian.txt
-new file mode 100644
-index 00000000..2bb6ad1
---- /dev/null
-+++ b/build/pkgs/cvxopt/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-cvxopt
-diff --git a/build/pkgs/decorator/distros/debian.txt b/build/pkgs/decorator/distros/debian.txt
-new file mode 100644
-index 00000000..46c478e
---- /dev/null
-+++ b/build/pkgs/decorator/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-decorator
-diff --git a/build/pkgs/html5lib/distros/debian.txt b/build/pkgs/html5lib/distros/debian.txt
-new file mode 100644
-index 00000000..6d7b8df
---- /dev/null
-+++ b/build/pkgs/html5lib/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-html5lib
-diff --git a/build/pkgs/idna/distros/debian.txt b/build/pkgs/idna/distros/debian.txt
-new file mode 100644
-index 00000000..de48e70
---- /dev/null
-+++ b/build/pkgs/idna/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-idna
-diff --git a/build/pkgs/jinja2/distros/debian.txt b/build/pkgs/jinja2/distros/debian.txt
-new file mode 100644
-index 00000000..f2db865
---- /dev/null
-+++ b/build/pkgs/jinja2/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-jinja2
-diff --git a/build/pkgs/matplotlib/distros/debian.txt b/build/pkgs/matplotlib/distros/debian.txt
-new file mode 100644
-index 00000000..1374329
---- /dev/null
-+++ b/build/pkgs/matplotlib/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-matplotlib
-diff --git a/build/pkgs/mpmath/distros/debian.txt b/build/pkgs/mpmath/distros/debian.txt
-new file mode 100644
-index 00000000..fbc82a9
---- /dev/null
-+++ b/build/pkgs/mpmath/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-mpmath
-diff --git a/build/pkgs/networkx/distros/debian.txt b/build/pkgs/networkx/distros/debian.txt
-new file mode 100644
-index 00000000..6779066
---- /dev/null
-+++ b/build/pkgs/networkx/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-networkx
-diff --git a/build/pkgs/numpy/distros/debian.txt b/build/pkgs/numpy/distros/debian.txt
-new file mode 100644
-index 00000000..79d5c5a
---- /dev/null
-+++ b/build/pkgs/numpy/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-numpy
-diff --git a/build/pkgs/packaging/distros/debian.txt b/build/pkgs/packaging/distros/debian.txt
-new file mode 100644
-index 00000000..8f1c0ff
---- /dev/null
-+++ b/build/pkgs/packaging/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-packaging
-diff --git a/build/pkgs/pandocfilters/distros/debian.txt b/build/pkgs/pandocfilters/distros/debian.txt
-new file mode 100644
-index 00000000..d0d4c24
---- /dev/null
-+++ b/build/pkgs/pandocfilters/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-pandocfilters
-diff --git a/build/pkgs/pickleshare/distros/debian.txt b/build/pkgs/pickleshare/distros/debian.txt
-new file mode 100644
-index 00000000..a00907d
---- /dev/null
-+++ b/build/pkgs/pickleshare/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-pickleshare
-diff --git a/build/pkgs/pillow/distros/debian.txt b/build/pkgs/pillow/distros/debian.txt
-new file mode 100644
-index 00000000..3319fcd
---- /dev/null
-+++ b/build/pkgs/pillow/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-pillow
-diff --git a/build/pkgs/pluggy/distros/debian.txt b/build/pkgs/pluggy/distros/debian.txt
-new file mode 100644
-index 00000000..43a3acf
---- /dev/null
-+++ b/build/pkgs/pluggy/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-pluggy
-diff --git a/build/pkgs/py/distros/debian.txt b/build/pkgs/py/distros/debian.txt
-new file mode 100644
-index 00000000..81fefe6
---- /dev/null
-+++ b/build/pkgs/py/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-py
-diff --git a/build/pkgs/pygments/distros/debian.txt b/build/pkgs/pygments/distros/debian.txt
-new file mode 100644
-index 00000000..3ab3792
---- /dev/null
-+++ b/build/pkgs/pygments/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-pygments
-diff --git a/build/pkgs/pytz/distros/debian.txt b/build/pkgs/pytz/distros/debian.txt
-new file mode 100644
-index 00000000..db20908
---- /dev/null
-+++ b/build/pkgs/pytz/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-tz
-diff --git a/build/pkgs/requests/distros/debian.txt b/build/pkgs/requests/distros/debian.txt
-new file mode 100644
-index 00000000..43147b2
---- /dev/null
-+++ b/build/pkgs/requests/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-requests
-diff --git a/build/pkgs/scipy/distros/debian.txt b/build/pkgs/scipy/distros/debian.txt
-new file mode 100644
-index 00000000..12b3666
---- /dev/null
-+++ b/build/pkgs/scipy/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-scipy
-diff --git a/build/pkgs/setuptools/distros/debian.txt b/build/pkgs/setuptools/distros/debian.txt
-new file mode 100644
-index 00000000..1c0901c
---- /dev/null
-+++ b/build/pkgs/setuptools/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-setuptools
-diff --git a/build/pkgs/six/distros/debian.txt b/build/pkgs/six/distros/debian.txt
-new file mode 100644
-index 00000000..68ff859
---- /dev/null
-+++ b/build/pkgs/six/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-six
-diff --git a/build/pkgs/sympy/distros/debian.txt b/build/pkgs/sympy/distros/debian.txt
-new file mode 100644
-index 00000000..db423c8
---- /dev/null
-+++ b/build/pkgs/sympy/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-sympy
-diff --git a/build/pkgs/texttable/distros/debian.txt b/build/pkgs/texttable/distros/debian.txt
-new file mode 100644
-index 00000000..8f8e7e2
---- /dev/null
-+++ b/build/pkgs/texttable/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-texttable
-diff --git a/build/pkgs/toml/distros/debian.txt b/build/pkgs/toml/distros/debian.txt
-new file mode 100644
-index 00000000..543e89d
---- /dev/null
-+++ b/build/pkgs/toml/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-toml
-diff --git a/build/pkgs/webencodings/distros/debian.txt b/build/pkgs/webencodings/distros/debian.txt
-new file mode 100644
-index 00000000..ac30c2f
---- /dev/null
-+++ b/build/pkgs/webencodings/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-webencodings
-diff --git a/build/pkgs/wheel/distros/debian.txt b/build/pkgs/wheel/distros/debian.txt
-new file mode 100644
-index 00000000..3c066725
---- /dev/null
-+++ b/build/pkgs/wheel/distros/debian.txt
-@@ -0,0 +1 @@
-+python3-wheel
--- 
-cgit v1.0-1-gd88e
-
-
-From 93bf30d7de292551c3050e2dd74651d69ba4bd46 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 18 Oct 2021 07:50:34 -0400
-Subject: Trac #29665: add more documentation for SAGE_PYTHON_PACKAGE_CHECK().
-
-An earlier commit allows SAGE_PYTHON_PACKAGE_CHECK(package) to tweak the
-value of sage_use_system_$package if --enable-system-site-packages was
-not used. This essentially changes the default --with-system-$package=yes
-to "no" in that case. Here we update the documentation to reflect it.
----
- m4/sage_python_package_check.m4 | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 7ee82a7..95eefd0 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -34,6 +34,10 @@
- #   ensure that the ./configure- and run-time views of the system
- #   are as similar as possible.
- #
-+#   To avoid suggesting these system packages to users who have not
-+#   set --enable-system-site-packages, this macro also changes the
-+#   default for --with-system-foo from "yes" to "no" in that case.
-+#
- 
- AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-   AS_IF([test "${enable_system_site_packages}" = "yes"], [
--- 
-cgit v1.0-1-gd88e
-
-
-From d771e49d57ecdf3622434bc09cbfb87ad3bb7744 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Mon, 18 Oct 2021 07:42:46 -0400
-Subject: Trac #29665: improve SAGE_PYTHON_PACKAGE_CHECK() failure message.
-
-When --enable-system-site-packages is off, SAGE_PYTHON_PACKAGE_CHECK()
-will always install the corresponding SPKG. We improve the ./configure
-output in that case to make it clear that the decision was based on
-the value of --enable-system-site-packages and not the "real" check.
----
- m4/sage_python_package_check.m4 | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 95eefd0..5f0f084 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -40,7 +40,9 @@
- #
- 
- AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-+  AC_MSG_CHECKING([if --enable-system-site-packages was used])
-   AS_IF([test "${enable_system_site_packages}" = "yes"], [
-+    AC_MSG_RESULT(yes)
-     AC_REQUIRE([SAGE_SPKG_CONFIGURE_PYTHON3])
- 
-     dnl We run this check inside a python venv, because that's ultimately
-@@ -94,6 +96,7 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-     AS_IF([test -d config.venv], [rm -rf config.venv])
-   ], [
-     dnl System site packages are disabled.
-+    AC_MSG_RESULT(no; skipping check)
-     sage_spkg_install_$1=yes
- 
-     dnl We have to retroactively hack the --with-system-foo={no,yes,force}
--- 
-cgit v1.0-1-gd88e
-
-
-From 5bb43c1b78a1deb3364f235305937c2f823e5e18 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Sun, 24 Oct 2021 20:29:25 -0400
-Subject: Trac #29665: use sage-venv in SAGE_PYTHON_PACKAGE_CHECK().
-
-For consistency with the rest of the build system, we now use the
-build/bin/sage-venv script to create the venv in this autoconf macro
-rather than invoking $PYTHON_FOR_VENV with "-m venv" directly.
----
- m4/sage_python_package_check.m4 | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/m4/sage_python_package_check.m4 b/m4/sage_python_package_check.m4
-index 5f0f084..5547b35 100644
---- a/m4/sage_python_package_check.m4
-+++ b/m4/sage_python_package_check.m4
-@@ -50,11 +50,11 @@ AC_DEFUN([SAGE_PYTHON_PACKAGE_CHECK], [
-     AC_MSG_CHECKING([if we can create a python venv in config.venv])
- 
-     dnl Use --clear because ./configure typically clobbers its output files.
--    AS_IF(["${PYTHON_FOR_VENV}" -m venv --system-site-packages dnl
--                                        --clear                dnl
--                                        --without-pip          dnl
--                                        config.venv            dnl
--                                        2>&AS_MESSAGE_LOG_FD], [
-+    AS_IF(["${PYTHON_FOR_VENV}" build/bin/sage-venv      dnl
-+                                  --system-site-packages dnl
-+                                  --clear                dnl
-+                                  config.venv            dnl
-+                                  2>&AS_MESSAGE_LOG_FD], [
-       AC_MSG_RESULT(yes)
-       dnl strip all comments from install-requires.txt; this should leave
-       dnl only a single line containing the version specification for this
--- 
-cgit v1.0-1-gd88e
-
-
-From c78363d6326addff16ca5abac897949a6be72bf4 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:10:30 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for urllib3.
-
----
- build/pkgs/urllib3/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/urllib3/spkg-configure.m4
-
-diff --git a/build/pkgs/urllib3/spkg-configure.m4 b/build/pkgs/urllib3/spkg-configure.m4
-new file mode 100644
-index 00000000..d7ef3e1
---- /dev/null
-+++ b/build/pkgs/urllib3/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([urllib3], [SAGE_PYTHON_PACKAGE_CHECK([urllib3])])
--- 
-cgit v1.0-1-gd88e
-
-
-From f416d5abcae495ea8301fad024b279ea9e997b29 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:15:18 -0400
-Subject: Trac #29665: add Gentoo package information for urllib3.
-
----
- build/pkgs/urllib3/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/urllib3/distros/gentoo.txt
-
-diff --git a/build/pkgs/urllib3/distros/gentoo.txt b/build/pkgs/urllib3/distros/gentoo.txt
-new file mode 100644
-index 00000000..172a535
---- /dev/null
-+++ b/build/pkgs/urllib3/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/urllib3
--- 
-cgit v1.0-1-gd88e
-
-
-From 852068b992bf7959500c650f54cb92e5b68d7ef8 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:15:58 -0400
-Subject: Trac #29665: add Gentoo package information for nbformat.
-
----
- build/pkgs/nbformat/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbformat/distros/gentoo.txt
-
-diff --git a/build/pkgs/nbformat/distros/gentoo.txt b/build/pkgs/nbformat/distros/gentoo.txt
-new file mode 100644
-index 00000000..006b1f2
---- /dev/null
-+++ b/build/pkgs/nbformat/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/nbformat
--- 
-cgit v1.0-1-gd88e
-
-
-From 66179fd28fcc92ee840dcd87bb4db25cea968d66 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:34:16 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for nbformat.
-
----
- build/pkgs/nbformat/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbformat/spkg-configure.m4
-
-diff --git a/build/pkgs/nbformat/spkg-configure.m4 b/build/pkgs/nbformat/spkg-configure.m4
-new file mode 100644
-index 00000000..5a7f8c4
---- /dev/null
-+++ b/build/pkgs/nbformat/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([nbformat], [SAGE_PYTHON_PACKAGE_CHECK([nbformat])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 874005e81ed20f27a5f895030dcdbdfc5f73ad80 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:47:01 -0400
-Subject: Trac #29665: add Gentoo package information for zipp.
-
----
- build/pkgs/zipp/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/zipp/distros/gentoo.txt
-
-diff --git a/build/pkgs/zipp/distros/gentoo.txt b/build/pkgs/zipp/distros/gentoo.txt
-new file mode 100644
-index 00000000..7f59450
---- /dev/null
-+++ b/build/pkgs/zipp/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/zipp
--- 
-cgit v1.0-1-gd88e
-
-
-From 0cc2a7355b5554c1fb79c742ebf02eff54465b3e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:47:35 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for zipp.
-
----
- build/pkgs/zipp/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/zipp/spkg-configure.m4
-
-diff --git a/build/pkgs/zipp/spkg-configure.m4 b/build/pkgs/zipp/spkg-configure.m4
-new file mode 100644
-index 00000000..0fe3a9c
---- /dev/null
-+++ b/build/pkgs/zipp/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([zipp], [SAGE_PYTHON_PACKAGE_CHECK([zipp])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6073ad8e56c21fc862749bbd84a56d543fb9458c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:48:37 -0400
-Subject: Trac #29665: add Gentoo package information for wcwidth.
-
----
- build/pkgs/wcwidth/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/wcwidth/distros/gentoo.txt
-
-diff --git a/build/pkgs/wcwidth/distros/gentoo.txt b/build/pkgs/wcwidth/distros/gentoo.txt
-new file mode 100644
-index 00000000..edeb80b
---- /dev/null
-+++ b/build/pkgs/wcwidth/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/wcwidth
--- 
-cgit v1.0-1-gd88e
-
-
-From 9793d6172c64d61a015fbe61bd45863759124fad Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:51:10 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for wcwidth.
-
----
- build/pkgs/wcwidth/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/wcwidth/spkg-configure.m4
-
-diff --git a/build/pkgs/wcwidth/spkg-configure.m4 b/build/pkgs/wcwidth/spkg-configure.m4
-new file mode 100644
-index 00000000..5bde15a
---- /dev/null
-+++ b/build/pkgs/wcwidth/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([wcwidth], [SAGE_PYTHON_PACKAGE_CHECK([wcwidth])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 20232f370a43c146ca4e696c72a2cbcc498db060 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:52:36 -0400
-Subject: Trac #29665: add Gentoo package information for testpath.
-
----
- build/pkgs/testpath/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/testpath/distros/gentoo.txt
-
-diff --git a/build/pkgs/testpath/distros/gentoo.txt b/build/pkgs/testpath/distros/gentoo.txt
-new file mode 100644
-index 00000000..efa10a0
---- /dev/null
-+++ b/build/pkgs/testpath/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/testpath
--- 
-cgit v1.0-1-gd88e
-
-
-From 1b0785b2aad8844e74345fe950baf097e2b43d24 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:55:22 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for testpath.
-
----
- build/pkgs/testpath/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/testpath/spkg-configure.m4
-
-diff --git a/build/pkgs/testpath/spkg-configure.m4 b/build/pkgs/testpath/spkg-configure.m4
-new file mode 100644
-index 00000000..d8fc2a7
---- /dev/null
-+++ b/build/pkgs/testpath/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([testpath], [SAGE_PYTHON_PACKAGE_CHECK([testpath])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 10fc3829ecd956d732b1b069fdfe81f0d6d5cdc2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 18:56:06 -0400
-Subject: Trac #29665: add Gentoo package information for jedi.
-
----
- build/pkgs/jedi/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jedi/distros/gentoo.txt
-
-diff --git a/build/pkgs/jedi/distros/gentoo.txt b/build/pkgs/jedi/distros/gentoo.txt
-new file mode 100644
-index 00000000..6c85a46
---- /dev/null
-+++ b/build/pkgs/jedi/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jedi
--- 
-cgit v1.0-1-gd88e
-
-
-From a75824d74c281c7639028ca01dabeed266f56998 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:06:37 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for jedi.
-
----
- build/pkgs/jedi/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jedi/spkg-configure.m4
-
-diff --git a/build/pkgs/jedi/spkg-configure.m4 b/build/pkgs/jedi/spkg-configure.m4
-new file mode 100644
-index 00000000..a37dbcc
---- /dev/null
-+++ b/build/pkgs/jedi/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([jedi], [SAGE_PYTHON_PACKAGE_CHECK([jedi])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 17af01373d43f6acbbdbc23e073e372d3fdadf8b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:07:47 -0400
-Subject: Trac #29665: add Gentoo package information for tomli.
-
----
- build/pkgs/tomli/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tomli/distros/gentoo.txt
-
-diff --git a/build/pkgs/tomli/distros/gentoo.txt b/build/pkgs/tomli/distros/gentoo.txt
-new file mode 100644
-index 00000000..0458e25
---- /dev/null
-+++ b/build/pkgs/tomli/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/tomli
--- 
-cgit v1.0-1-gd88e
-
-
-From 0d3b5994ae612be11992467c4a3f1a74b81400fe Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:08:12 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for tomli.
-
----
- build/pkgs/tomli/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tomli/spkg-configure.m4
-
-diff --git a/build/pkgs/tomli/spkg-configure.m4 b/build/pkgs/tomli/spkg-configure.m4
-new file mode 100644
-index 00000000..95a8b8b
---- /dev/null
-+++ b/build/pkgs/tomli/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([tomli], [SAGE_PYTHON_PACKAGE_CHECK([tomli])])
--- 
-cgit v1.0-1-gd88e
-
-
-From dce1c515781b0eeb8eb9c2bc7aba581560c1fac1 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:09:22 -0400
-Subject: Trac #29665: add Gentoo package information for defusedxml.
-
----
- build/pkgs/defusedxml/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/defusedxml/distros/gentoo.txt
-
-diff --git a/build/pkgs/defusedxml/distros/gentoo.txt b/build/pkgs/defusedxml/distros/gentoo.txt
-new file mode 100644
-index 00000000..2804214
---- /dev/null
-+++ b/build/pkgs/defusedxml/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/defusedxml
--- 
-cgit v1.0-1-gd88e
-
-
-From 02e1e1cd7f8bdae3ca5b7d35ce70af28a44e9b7c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:11:14 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for defusedxml.
-
----
- build/pkgs/defusedxml/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/defusedxml/spkg-configure.m4
-
-diff --git a/build/pkgs/defusedxml/spkg-configure.m4 b/build/pkgs/defusedxml/spkg-configure.m4
-new file mode 100644
-index 00000000..e02f345
---- /dev/null
-+++ b/build/pkgs/defusedxml/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([defusedxml], [SAGE_PYTHON_PACKAGE_CHECK([defusedxml])])
--- 
-cgit v1.0-1-gd88e
-
-
-From e0ba4ebb5cfc637b5d26b85de9f34e0a160d2b9c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:12:22 -0400
-Subject: Trac #29665: add Gentoo package information for ipywidgets.
-
----
- build/pkgs/ipywidgets/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipywidgets/distros/gentoo.txt
-
-diff --git a/build/pkgs/ipywidgets/distros/gentoo.txt b/build/pkgs/ipywidgets/distros/gentoo.txt
-new file mode 100644
-index 00000000..7c76967
---- /dev/null
-+++ b/build/pkgs/ipywidgets/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ipywidgets
--- 
-cgit v1.0-1-gd88e
-
-
-From 49df7e7d93c7a31b7c46d5d224a35fd313a29a32 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:15:53 -0400
-Subject: Trac #29665: add Gentoo package information for simplegeneric.
-
----
- build/pkgs/simplegeneric/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/simplegeneric/distros/gentoo.txt
-
-diff --git a/build/pkgs/simplegeneric/distros/gentoo.txt b/build/pkgs/simplegeneric/distros/gentoo.txt
-new file mode 100644
-index 00000000..a86e90d
---- /dev/null
-+++ b/build/pkgs/simplegeneric/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/simplegeneric
--- 
-cgit v1.0-1-gd88e
-
-
-From 2a893635d5804749e6fec7ed7289c921ecb5300a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:16:33 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for simplegeneric.
-
----
- build/pkgs/simplegeneric/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/simplegeneric/spkg-configure.m4
-
-diff --git a/build/pkgs/simplegeneric/spkg-configure.m4 b/build/pkgs/simplegeneric/spkg-configure.m4
-new file mode 100644
-index 00000000..13715ab
---- /dev/null
-+++ b/build/pkgs/simplegeneric/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([simplegeneric], [SAGE_PYTHON_PACKAGE_CHECK([simplegeneric])])
--- 
-cgit v1.0-1-gd88e
-
-
-From a8fe7ecd6e3163e7d01261e5497ac452a8cc95ab Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:17:18 -0400
-Subject: Trac #29665: add Gentoo package information for imagesize.
-
----
- build/pkgs/imagesize/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/imagesize/distros/gentoo.txt
-
-diff --git a/build/pkgs/imagesize/distros/gentoo.txt b/build/pkgs/imagesize/distros/gentoo.txt
-new file mode 100644
-index 00000000..54350ba
---- /dev/null
-+++ b/build/pkgs/imagesize/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/imagesize
--- 
-cgit v1.0-1-gd88e
-
-
-From 2ad837c5dd1fca0f50ce6d5042a9344210a54f84 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:17:48 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for imagesize.
-
----
- build/pkgs/imagesize/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/imagesize/spkg-configure.m4
-
-diff --git a/build/pkgs/imagesize/spkg-configure.m4 b/build/pkgs/imagesize/spkg-configure.m4
-new file mode 100644
-index 00000000..20210ef
---- /dev/null
-+++ b/build/pkgs/imagesize/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([imagesize], [SAGE_PYTHON_PACKAGE_CHECK([imagesize])])
--- 
-cgit v1.0-1-gd88e
-
-
-From bf47415b5bfca2d7bf24e20de35662bf331623b9 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:18:49 -0400
-Subject: Trac #29665: add Gentoo package information for mistune.
-
----
- build/pkgs/mistune/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/mistune/distros/gentoo.txt
-
-diff --git a/build/pkgs/mistune/distros/gentoo.txt b/build/pkgs/mistune/distros/gentoo.txt
-new file mode 100644
-index 00000000..56f0a4e
---- /dev/null
-+++ b/build/pkgs/mistune/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/mistune
--- 
-cgit v1.0-1-gd88e
-
-
-From 6898a74fd0c65a40c5220ba68b4062ac6fe060c6 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:21:30 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for mistune.
-
----
- build/pkgs/mistune/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/mistune/spkg-configure.m4
-
-diff --git a/build/pkgs/mistune/spkg-configure.m4 b/build/pkgs/mistune/spkg-configure.m4
-new file mode 100644
-index 00000000..972f33d
---- /dev/null
-+++ b/build/pkgs/mistune/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([mistune], [SAGE_PYTHON_PACKAGE_CHECK([mistune])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 62735e4ccf2031cd39eb5e04b03bdfd97005d808 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:22:48 -0400
-Subject: Trac #29665: add Gentoo package information for backcall.
-
----
- build/pkgs/backcall/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/backcall/distros/gentoo.txt
-
-diff --git a/build/pkgs/backcall/distros/gentoo.txt b/build/pkgs/backcall/distros/gentoo.txt
-new file mode 100644
-index 00000000..266a222
---- /dev/null
-+++ b/build/pkgs/backcall/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/backcall
--- 
-cgit v1.0-1-gd88e
-
-
-From 9ef3ea42d4a33c7cdb623fa5417ae300cf323183 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:25:10 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for backcall.
-
----
- build/pkgs/backcall/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/backcall/spkg-configure.m4
-
-diff --git a/build/pkgs/backcall/spkg-configure.m4 b/build/pkgs/backcall/spkg-configure.m4
-new file mode 100644
-index 00000000..d6b11c4
---- /dev/null
-+++ b/build/pkgs/backcall/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([backcall], [SAGE_PYTHON_PACKAGE_CHECK([backcall])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 1b3ea2a3c40fea0fb58435f5e5304368ea58dff8 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:25:58 -0400
-Subject: Trac #29665: add Gentoo package information for parso.
-
----
- build/pkgs/parso/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/parso/distros/gentoo.txt
-
-diff --git a/build/pkgs/parso/distros/gentoo.txt b/build/pkgs/parso/distros/gentoo.txt
-new file mode 100644
-index 00000000..f9ce4c7
---- /dev/null
-+++ b/build/pkgs/parso/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/parso
--- 
-cgit v1.0-1-gd88e
-
-
-From 963a3a2c563ec71a1f5be2395722d0e824cb0b11 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:26:22 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for parso.
-
----
- build/pkgs/parso/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/parso/spkg-configure.m4
-
-diff --git a/build/pkgs/parso/spkg-configure.m4 b/build/pkgs/parso/spkg-configure.m4
-new file mode 100644
-index 00000000..1ca6f1b
---- /dev/null
-+++ b/build/pkgs/parso/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([parso], [SAGE_PYTHON_PACKAGE_CHECK([parso])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 943053dfc474b6549bcc7d6ef2971ea43588b35c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:27:00 -0400
-Subject: Trac #29665: add Gentoo package information for pyparsing.
-
----
- build/pkgs/pyparsing/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pyparsing/distros/gentoo.txt
-
-diff --git a/build/pkgs/pyparsing/distros/gentoo.txt b/build/pkgs/pyparsing/distros/gentoo.txt
-new file mode 100644
-index 00000000..ef0419f
---- /dev/null
-+++ b/build/pkgs/pyparsing/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pyparsing
--- 
-cgit v1.0-1-gd88e
-
-
-From bd682eaa2ac41dd84e7a52e2b0c5442fc8fd8919 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 3 Nov 2021 19:27:30 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pyparsing.
-
----
- build/pkgs/pyparsing/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pyparsing/spkg-configure.m4
-
-diff --git a/build/pkgs/pyparsing/spkg-configure.m4 b/build/pkgs/pyparsing/spkg-configure.m4
-new file mode 100644
-index 00000000..d2b4c00
---- /dev/null
-+++ b/build/pkgs/pyparsing/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pyparsing], [SAGE_PYTHON_PACKAGE_CHECK([pyparsing])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 74f36a9c0ec7c63b7e6c40066e42f4b15c2f978e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:17:42 -0400
-Subject: Trac #29665: add Gentoo package information for debugpy.
-
----
- build/pkgs/debugpy/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/debugpy/distros/gentoo.txt
-
-diff --git a/build/pkgs/debugpy/distros/gentoo.txt b/build/pkgs/debugpy/distros/gentoo.txt
-new file mode 100644
-index 00000000..8b797ce
---- /dev/null
-+++ b/build/pkgs/debugpy/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/debugpy
--- 
-cgit v1.0-1-gd88e
-
-
-From be072fa87ac5c373d9dc9b54c0bd68734d5709bc Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:21:17 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for debugpy.
-
----
- build/pkgs/debugpy/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/debugpy/spkg-configure.m4
-
-diff --git a/build/pkgs/debugpy/spkg-configure.m4 b/build/pkgs/debugpy/spkg-configure.m4
-new file mode 100644
-index 00000000..db605ff
---- /dev/null
-+++ b/build/pkgs/debugpy/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([debugpy], [SAGE_PYTHON_PACKAGE_CHECK([debugpy])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6f777ce2f2e14b94e91c8b7bbac82f9017460aba Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:23:56 -0400
-Subject: Trac #29665: add Gentoo package information for tzlocal.
-
----
- build/pkgs/tzlocal/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tzlocal/distros/gentoo.txt
-
-diff --git a/build/pkgs/tzlocal/distros/gentoo.txt b/build/pkgs/tzlocal/distros/gentoo.txt
-new file mode 100644
-index 00000000..2018442
---- /dev/null
-+++ b/build/pkgs/tzlocal/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/tzlocal
--- 
-cgit v1.0-1-gd88e
-
-
-From 3bd078fc15ae13982249452711baafae91038191 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:24:51 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for tzlocal.
-
----
- build/pkgs/tzlocal/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tzlocal/spkg-configure.m4
-
-diff --git a/build/pkgs/tzlocal/spkg-configure.m4 b/build/pkgs/tzlocal/spkg-configure.m4
-new file mode 100644
-index 00000000..e020b28
---- /dev/null
-+++ b/build/pkgs/tzlocal/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([tzlocal], [SAGE_PYTHON_PACKAGE_CHECK([tzlocal])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 91b0882fc62214923da9ee7b6dccb05d8a1d11d1 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:26:13 -0400
-Subject: Trac #29665: add Gentoo package information for pycparser.
-
----
- build/pkgs/pycparser/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pycparser/distros/gentoo.txt
-
-diff --git a/build/pkgs/pycparser/distros/gentoo.txt b/build/pkgs/pycparser/distros/gentoo.txt
-new file mode 100644
-index 00000000..5e87307
---- /dev/null
-+++ b/build/pkgs/pycparser/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pycparser
--- 
-cgit v1.0-1-gd88e
-
-
-From beabde92fe6e057faf516fe82d27f1e903e55ce6 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:27:27 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pycparser.
-
----
- build/pkgs/pycparser/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pycparser/spkg-configure.m4
-
-diff --git a/build/pkgs/pycparser/spkg-configure.m4 b/build/pkgs/pycparser/spkg-configure.m4
-new file mode 100644
-index 00000000..4b9b900
---- /dev/null
-+++ b/build/pkgs/pycparser/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pycparser], [SAGE_PYTHON_PACKAGE_CHECK([pycparser])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 86c2788dc7fd1169314e9598c91fa81045553677 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:29:36 -0400
-Subject: Trac #29665: add Gentoo package information for cycler.
-
----
- build/pkgs/cycler/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/cycler/distros/gentoo.txt
-
-diff --git a/build/pkgs/cycler/distros/gentoo.txt b/build/pkgs/cycler/distros/gentoo.txt
-new file mode 100644
-index 00000000..4b21543
---- /dev/null
-+++ b/build/pkgs/cycler/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/cycler
--- 
-cgit v1.0-1-gd88e
-
-
-From 67c5a944101ddf329f0a61c61d4e784f58a5c5b0 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:30:27 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for cycler.
-
----
- build/pkgs/cycler/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/cycler/spkg-configure.m4
-
-diff --git a/build/pkgs/cycler/spkg-configure.m4 b/build/pkgs/cycler/spkg-configure.m4
-new file mode 100644
-index 00000000..239571a
---- /dev/null
-+++ b/build/pkgs/cycler/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([cycler], [SAGE_PYTHON_PACKAGE_CHECK([cycler])])
--- 
-cgit v1.0-1-gd88e
-
-
-From ef6d490251abfa41f7a0910274700a8a6a65f629 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:31:19 -0400
-Subject: Trac #29665: add Gentoo package information for traitlets.
-
----
- build/pkgs/traitlets/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/traitlets/distros/gentoo.txt
-
-diff --git a/build/pkgs/traitlets/distros/gentoo.txt b/build/pkgs/traitlets/distros/gentoo.txt
-new file mode 100644
-index 00000000..46bfaab
---- /dev/null
-+++ b/build/pkgs/traitlets/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/traitlets
--- 
-cgit v1.0-1-gd88e
-
-
-From 1f922b458d34088d9f6773312209e69f19ee45dc Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:31:50 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for traitlets.
-
----
- build/pkgs/traitlets/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/traitlets/spkg-configure.m4
-
-diff --git a/build/pkgs/traitlets/spkg-configure.m4 b/build/pkgs/traitlets/spkg-configure.m4
-new file mode 100644
-index 00000000..df2382b
---- /dev/null
-+++ b/build/pkgs/traitlets/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([traitlets], [SAGE_PYTHON_PACKAGE_CHECK([traitlets])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 95b89a9ced0acb6d971a27fa63b97ea58a11f4e1 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:33:35 -0400
-Subject: Trac #29665: add Gentoo package information for argcomplete.
-
----
- build/pkgs/argcomplete/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/argcomplete/distros/gentoo.txt
-
-diff --git a/build/pkgs/argcomplete/distros/gentoo.txt b/build/pkgs/argcomplete/distros/gentoo.txt
-new file mode 100644
-index 00000000..b150949
---- /dev/null
-+++ b/build/pkgs/argcomplete/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/argcomplete
--- 
-cgit v1.0-1-gd88e
-
-
-From b4cd8ef384e6e5bae0de0f3c113fb5f9e6e1a71e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:34:14 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for argcomplete.
-
----
- build/pkgs/argcomplete/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/argcomplete/spkg-configure.m4
-
-diff --git a/build/pkgs/argcomplete/spkg-configure.m4 b/build/pkgs/argcomplete/spkg-configure.m4
-new file mode 100644
-index 00000000..cbd7ccf
---- /dev/null
-+++ b/build/pkgs/argcomplete/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([argcomplete], [SAGE_PYTHON_PACKAGE_CHECK([argcomplete])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 4cc610e8331970cc018d7ea87af928fa73a292c1 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:36:21 -0400
-Subject: Trac #29665: add Gentoo package information for ptyprocess.
-
----
- build/pkgs/ptyprocess/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ptyprocess/distros/gentoo.txt
-
-diff --git a/build/pkgs/ptyprocess/distros/gentoo.txt b/build/pkgs/ptyprocess/distros/gentoo.txt
-new file mode 100644
-index 00000000..571a851
---- /dev/null
-+++ b/build/pkgs/ptyprocess/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ptyprocess
--- 
-cgit v1.0-1-gd88e
-
-
-From cd15f97221bf5933b07900e4f77cb55401eede26 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:37:02 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for ptyprocess.
-
----
- build/pkgs/ptyprocess/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ptyprocess/spkg-configure.m4
-
-diff --git a/build/pkgs/ptyprocess/spkg-configure.m4 b/build/pkgs/ptyprocess/spkg-configure.m4
-new file mode 100644
-index 00000000..bfacbae
---- /dev/null
-+++ b/build/pkgs/ptyprocess/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([ptyprocess], [SAGE_PYTHON_PACKAGE_CHECK([ptyprocess])])
--- 
-cgit v1.0-1-gd88e
-
-
-From bb5f45b15f99e4ba28e1b1f6042a0e8ea17f1dfc Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:38:22 -0400
-Subject: Trac #29665: add Gentoo package information for attrs.
-
----
- build/pkgs/attrs/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/attrs/distros/gentoo.txt
-
-diff --git a/build/pkgs/attrs/distros/gentoo.txt b/build/pkgs/attrs/distros/gentoo.txt
-new file mode 100644
-index 00000000..3b906fa
---- /dev/null
-+++ b/build/pkgs/attrs/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/attrs
--- 
-cgit v1.0-1-gd88e
-
-
-From 321707ebf8e9af1e4ac3a5b5b094b4226bb3a7a5 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:38:55 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for attrs.
-
----
- build/pkgs/attrs/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/attrs/spkg-configure.m4
-
-diff --git a/build/pkgs/attrs/spkg-configure.m4 b/build/pkgs/attrs/spkg-configure.m4
-new file mode 100644
-index 00000000..ba6a9b7
---- /dev/null
-+++ b/build/pkgs/attrs/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([attrs], [SAGE_PYTHON_PACKAGE_CHECK([attrs])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 69a498a4e8854ecdfc2f1a134104983c0dcb9e32 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:40:09 -0400
-Subject: Trac #29665: add Gentoo package information for send2trash.
-
----
- build/pkgs/send2trash/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/send2trash/distros/gentoo.txt
-
-diff --git a/build/pkgs/send2trash/distros/gentoo.txt b/build/pkgs/send2trash/distros/gentoo.txt
-new file mode 100644
-index 00000000..a89b179
---- /dev/null
-+++ b/build/pkgs/send2trash/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/send2trash
--- 
-cgit v1.0-1-gd88e
-
-
-From 9baed17c84e1bdf5abd17c20766e5cd7dddc5b53 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:41:45 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for send2trash.
-
----
- build/pkgs/send2trash/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/send2trash/spkg-configure.m4
-
-diff --git a/build/pkgs/send2trash/spkg-configure.m4 b/build/pkgs/send2trash/spkg-configure.m4
-new file mode 100644
-index 00000000..3bbb727
---- /dev/null
-+++ b/build/pkgs/send2trash/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([send2trash], [SAGE_PYTHON_PACKAGE_CHECK([send2trash])])
--- 
-cgit v1.0-1-gd88e
-
-
-From b9b552b2a2aaccaeb7c5b25be0b681f107522d09 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:43:27 -0400
-Subject: Trac #29665: add Gentoo package information for pyrsistent.
-
----
- build/pkgs/pyrsistent/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pyrsistent/distros/gentoo.txt
-
-diff --git a/build/pkgs/pyrsistent/distros/gentoo.txt b/build/pkgs/pyrsistent/distros/gentoo.txt
-new file mode 100644
-index 00000000..83439ce
---- /dev/null
-+++ b/build/pkgs/pyrsistent/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pyrsistent
--- 
-cgit v1.0-1-gd88e
-
-
-From a17b31fac6104852762f57daa749443147bdf121 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:44:03 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for pyrsistent.
-
----
- build/pkgs/pyrsistent/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pyrsistent/spkg-configure.m4
-
-diff --git a/build/pkgs/pyrsistent/spkg-configure.m4 b/build/pkgs/pyrsistent/spkg-configure.m4
-new file mode 100644
-index 00000000..f7ca75d
---- /dev/null
-+++ b/build/pkgs/pyrsistent/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pyrsistent], [SAGE_PYTHON_PACKAGE_CHECK([pyrsistent])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 68520decad6d6937918d7a6af65ca5bd476e5d02 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:45:45 -0400
-Subject: Trac #29665: add Gentoo package information for entrypoints.
-
----
- build/pkgs/entrypoints/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/entrypoints/distros/gentoo.txt
-
-diff --git a/build/pkgs/entrypoints/distros/gentoo.txt b/build/pkgs/entrypoints/distros/gentoo.txt
-new file mode 100644
-index 00000000..684ddd0
---- /dev/null
-+++ b/build/pkgs/entrypoints/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/entrypoints
--- 
-cgit v1.0-1-gd88e
-
-
-From 34213eccb642a6bad64d89acaefa83ee702cb483 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:46:24 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for entrypoints.
-
----
- build/pkgs/entrypoints/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/entrypoints/spkg-configure.m4
-
-diff --git a/build/pkgs/entrypoints/spkg-configure.m4 b/build/pkgs/entrypoints/spkg-configure.m4
-new file mode 100644
-index 00000000..caed658
---- /dev/null
-+++ b/build/pkgs/entrypoints/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([entrypoints], [SAGE_PYTHON_PACKAGE_CHECK([entrypoints])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 8e985614345da1a58fcdc127a9c0ddd790f9b5d2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:48:26 -0400
-Subject: Trac #29665: add Gentoo package information for markupsafe.
-
----
- build/pkgs/markupsafe/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/markupsafe/distros/gentoo.txt
-
-diff --git a/build/pkgs/markupsafe/distros/gentoo.txt b/build/pkgs/markupsafe/distros/gentoo.txt
-new file mode 100644
-index 00000000..9654e35
---- /dev/null
-+++ b/build/pkgs/markupsafe/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/markupsafe
--- 
-cgit v1.0-1-gd88e
-
-
-From d370f229ae0988856f2e0d1f6ee2df2c47169106 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 4 Nov 2021 18:48:55 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for markupsafe.
-
----
- build/pkgs/markupsafe/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/markupsafe/spkg-configure.m4
-
-diff --git a/build/pkgs/markupsafe/spkg-configure.m4 b/build/pkgs/markupsafe/spkg-configure.m4
-new file mode 100644
-index 00000000..79eb8db
---- /dev/null
-+++ b/build/pkgs/markupsafe/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([markupsafe], [SAGE_PYTHON_PACKAGE_CHECK([markupsafe])])
--- 
-cgit v1.0-1-gd88e
-
-
-From c49b285ad9e25e6bc81a7e75d461d234fdd3ea68 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:30:49 -0400
-Subject: Trac #29665: add Gentoo package information for flit_core.
-
----
- build/pkgs/flit_core/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/flit_core/distros/gentoo.txt
-
-diff --git a/build/pkgs/flit_core/distros/gentoo.txt b/build/pkgs/flit_core/distros/gentoo.txt
-new file mode 100644
-index 00000000..fe6bea9
---- /dev/null
-+++ b/build/pkgs/flit_core/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/flit_core
--- 
-cgit v1.0-1-gd88e
-
-
-From 5b0ce1c4f23cd9fc4316e1eb2b9b4bde394957f3 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:32:11 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for flit_core.
-
----
- build/pkgs/flit_core/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/flit_core/spkg-configure.m4
-
-diff --git a/build/pkgs/flit_core/spkg-configure.m4 b/build/pkgs/flit_core/spkg-configure.m4
-new file mode 100644
-index 00000000..ee67557
---- /dev/null
-+++ b/build/pkgs/flit_core/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([flit_core], [SAGE_PYTHON_PACKAGE_CHECK([flit_core])])
--- 
-cgit v1.0-1-gd88e
-
-
-From f006c231a81428b1e1e792f889bf974f90e3c831 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:34:06 -0400
-Subject: Trac #29665: add Gentoo package information for nest_asyncio.
-
----
- build/pkgs/nest_asyncio/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nest_asyncio/distros/gentoo.txt
-
-diff --git a/build/pkgs/nest_asyncio/distros/gentoo.txt b/build/pkgs/nest_asyncio/distros/gentoo.txt
-new file mode 100644
-index 00000000..ab742d2
---- /dev/null
-+++ b/build/pkgs/nest_asyncio/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/nest_asyncio
--- 
-cgit v1.0-1-gd88e
-
-
-From 4a58d0a96a84475e765a01a64f5f44c48a317e0b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:34:43 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for nest_asyncio.
-
----
- build/pkgs/nest_asyncio/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nest_asyncio/spkg-configure.m4
-
-diff --git a/build/pkgs/nest_asyncio/spkg-configure.m4 b/build/pkgs/nest_asyncio/spkg-configure.m4
-new file mode 100644
-index 00000000..4d81527
---- /dev/null
-+++ b/build/pkgs/nest_asyncio/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([nest_asyncio], [SAGE_PYTHON_PACKAGE_CHECK([nest_asyncio])])
--- 
-cgit v1.0-1-gd88e
-
-
-From e50af937777ea778908bc09a7a79db3dd80fdf25 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:37:02 -0400
-Subject: Trac #29665: add Gentoo package information for ipython_genutils.
-
----
- build/pkgs/ipython_genutils/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipython_genutils/distros/gentoo.txt
-
-diff --git a/build/pkgs/ipython_genutils/distros/gentoo.txt b/build/pkgs/ipython_genutils/distros/gentoo.txt
-new file mode 100644
-index 00000000..01bc49d
---- /dev/null
-+++ b/build/pkgs/ipython_genutils/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ipython_genutils
--- 
-cgit v1.0-1-gd88e
-
-
-From ec3c0ce9db2ba13c1a49d1bcfb7a4b249cb7ae83 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:39:20 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for ipython_genutils.
-
----
- build/pkgs/ipython_genutils/spkg-configure.m4 | 4 ++++
- 1 file changed, 4 insertions(+)
- create mode 100644 build/pkgs/ipython_genutils/spkg-configure.m4
-
-diff --git a/build/pkgs/ipython_genutils/spkg-configure.m4 b/build/pkgs/ipython_genutils/spkg-configure.m4
-new file mode 100644
-index 00000000..b0ba86a
---- /dev/null
-+++ b/build/pkgs/ipython_genutils/spkg-configure.m4
-@@ -0,0 +1,4 @@
-+SAGE_SPKG_CONFIGURE(
-+  [ipython_genutils],
-+  [SAGE_PYTHON_PACKAGE_CHECK([ipython_genutils])]
-+)
--- 
-cgit v1.0-1-gd88e
-
-
-From 5c9e2e265115e5f10d4b459a475467e30b4bddde Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 06:40:03 -0400
-Subject: Trac #29665: add Gentoo package information for ipython.
-
----
- build/pkgs/ipython/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipython/distros/gentoo.txt
-
-diff --git a/build/pkgs/ipython/distros/gentoo.txt b/build/pkgs/ipython/distros/gentoo.txt
-new file mode 100644
-index 00000000..8b76f18
---- /dev/null
-+++ b/build/pkgs/ipython/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ipython
--- 
-cgit v1.0-1-gd88e
-
-
-From 621e707ddd040a902d7dddf0bed1de2b54ab22f2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 07:37:56 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for ipython.
-
----
- build/pkgs/ipython/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipython/spkg-configure.m4
-
-diff --git a/build/pkgs/ipython/spkg-configure.m4 b/build/pkgs/ipython/spkg-configure.m4
-new file mode 100644
-index 00000000..02ab89f
---- /dev/null
-+++ b/build/pkgs/ipython/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([ipython], [SAGE_PYTHON_PACKAGE_CHECK([ipython])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 20a0613f6d441da436f3e7b8047a72bf490882bd Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 07:51:11 -0400
-Subject: Trac #29665: standard python spkg-configure.m4 for ipywidgets.
-
----
- build/pkgs/ipywidgets/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipywidgets/spkg-configure.m4
-
-diff --git a/build/pkgs/ipywidgets/spkg-configure.m4 b/build/pkgs/ipywidgets/spkg-configure.m4
-new file mode 100644
-index 00000000..51ca9be
---- /dev/null
-+++ b/build/pkgs/ipywidgets/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([ipywidgets], [SAGE_PYTHON_PACKAGE_CHECK([ipywidgets])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 76bcd386633acc02a1a3026339d0cbd258ada04e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Fri, 5 Nov 2021 10:05:16 -0400
-Subject: Trac #29665: add Gentoo package information for wheel.
-
----
- build/pkgs/wheel/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/wheel/distros/gentoo.txt
-
-diff --git a/build/pkgs/wheel/distros/gentoo.txt b/build/pkgs/wheel/distros/gentoo.txt
-new file mode 100644
-index 00000000..ec571d5
---- /dev/null
-+++ b/build/pkgs/wheel/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/wheel
--- 
-cgit v1.0-1-gd88e
-
-
-From 96c2dd2ca7812f5333bb9d45eadb7ac408e364ce Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 08:51:44 -0500
-Subject: Trac #29665: add Gentoo package information for terminado.
-
----
- build/pkgs/terminado/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/terminado/distros/gentoo.txt
-
-diff --git a/build/pkgs/terminado/distros/gentoo.txt b/build/pkgs/terminado/distros/gentoo.txt
-new file mode 100644
-index 00000000..1df16f1
---- /dev/null
-+++ b/build/pkgs/terminado/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/terminado
--- 
-cgit v1.0-1-gd88e
-
-
-From 0de0f5f3d235a4339b21e37ea13c9f5e59a82e59 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 08:52:35 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for terminado.
-
----
- build/pkgs/terminado/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/terminado/spkg-configure.m4
-
-diff --git a/build/pkgs/terminado/spkg-configure.m4 b/build/pkgs/terminado/spkg-configure.m4
-new file mode 100644
-index 00000000..5defc2f
---- /dev/null
-+++ b/build/pkgs/terminado/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([terminado], [SAGE_PYTHON_PACKAGE_CHECK([terminado])])
--- 
-cgit v1.0-1-gd88e
-
-
-From d14a745c770b02822557e7cee0a98de1cb2f3a12 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 08:56:15 -0500
-Subject: Trac #29665: add Gentoo package information for cffi.
-
----
- build/pkgs/cffi/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/cffi/distros/gentoo.txt
-
-diff --git a/build/pkgs/cffi/distros/gentoo.txt b/build/pkgs/cffi/distros/gentoo.txt
-new file mode 100644
-index 00000000..81eeb81
---- /dev/null
-+++ b/build/pkgs/cffi/distros/gentoo.txt
-@@ -0,0 +1 @@
-+virtual/python-cffi
--- 
-cgit v1.0-1-gd88e
-
-
-From ce393c04afc69fe050e38f780d4e117164687d80 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 08:57:04 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for cffi.
-
----
- build/pkgs/cffi/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/cffi/spkg-configure.m4
-
-diff --git a/build/pkgs/cffi/spkg-configure.m4 b/build/pkgs/cffi/spkg-configure.m4
-new file mode 100644
-index 00000000..dc81875
---- /dev/null
-+++ b/build/pkgs/cffi/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([cffi], [SAGE_PYTHON_PACKAGE_CHECK([cffi])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 467093315b3fdd57c8caa2f95cf99ad52b0b84fb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 08:57:57 -0500
-Subject: Trac #29665: add Gentoo package information for pip.
-
----
- build/pkgs/pip/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pip/distros/gentoo.txt
-
-diff --git a/build/pkgs/pip/distros/gentoo.txt b/build/pkgs/pip/distros/gentoo.txt
-new file mode 100644
-index 00000000..1845454
---- /dev/null
-+++ b/build/pkgs/pip/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pip[vanilla]
--- 
-cgit v1.0-1-gd88e
-
-
-From c597fd23f9f68dabbcb7e698d0569c3e6458f6d1 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 09:07:26 -0500
-Subject: Trac #29665: new spkg-configure.m4 for pip.
-
----
- build/pkgs/pip/spkg-configure.m4 | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
- create mode 100644 build/pkgs/pip/spkg-configure.m4
-
-diff --git a/build/pkgs/pip/spkg-configure.m4 b/build/pkgs/pip/spkg-configure.m4
-new file mode 100644
-index 00000000..c7a5562
---- /dev/null
-+++ b/build/pkgs/pip/spkg-configure.m4
-@@ -0,0 +1,12 @@
-+SAGE_SPKG_CONFIGURE([pip], [
-+  dnl always run this macro because it changes the default value of
-+  dnl the --with-system-<package> option.
-+  SAGE_PYTHON_PACKAGE_CHECK([pip])
-+
-+  dnl if we might not install the spkg, make sure that "pip" is in
-+  dnl the user's PATH, too.
-+  AS_IF([test "x$sage_spkg_install_pip" != "xyes"], [
-+    AC_CHECK_PROG(HAVE_PIP, pip, yes, no)
-+    AS_IF([test "x$HAVE_PIP" = "xno"], [sage_spkg_install_pip=yes])
-+  ])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From ef8f1e807bc55d7b8321777486fa867a7c135419 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 9 Nov 2021 09:09:04 -0500
-Subject: Trac #29665: set $SAGE_PIP_INSTALL_FLAGS for
- --enable-system-site-packages.
-
-We need to pass some special flags to "pip install" to make it do the
-right thing in the precence of system-site packages. Here we introduce
-a new autoconf variable, SAGE_PIP_INSTALL_FLAGS, that will be used
-to pass those flags to the build system.
-
-With autoconf aware of the variable, we substitute its value into the
-sage-build-env-config script for use in spkg-install.in.
----
- build/bin/sage-build-env-config.in | 1 +
- configure.ac                       | 9 +++++++++
- 2 files changed, 10 insertions(+)
-
-diff --git a/build/bin/sage-build-env-config.in b/build/bin/sage-build-env-config.in
-index 92e7dad..ad62e5f 100644
---- a/build/bin/sage-build-env-config.in
-+++ b/build/bin/sage-build-env-config.in
-@@ -53,6 +53,7 @@ export SAGE_PARI_CFG="@SAGE_PARI_CFG@"
- 
- export SAGE_GLPK_PREFIX="@SAGE_GLPK_PREFIX@"
- export SAGE_FREETYPE_PREFIX="@SAGE_FREETYPE_PREFIX@"
-+export SAGE_PIP_INSTALL_FLAGS="@SAGE_PIP_INSTALL_FLAGS@"
- export SAGE_SUITESPARSE_PREFIX="@SAGE_SUITESPARSE_PREFIX@"
- 
- export SAGE_CONFIGURE_FFLAS_FFPACK="@SAGE_CONFIGURE_FFLAS_FFPACK@"
-diff --git a/configure.ac b/configure.ac
-index 6fafb83..6ed07ac 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -441,6 +441,14 @@ AC_ARG_ENABLE(
-     [allow the use of python packages from the system (experimental; default: no)]
-   )], [
-   AS_IF([test "x$enable_system_site_packages" = "xyes"], [
-+    dnl When installing python SPKGs in the presence of system-site
-+    dnl packages, we need to --ignore-installed so that a patched SPKG
-+    dnl can be installed in the presence of an unpatched system package
-+    dnl that appears (to pip) to be identical. The --no-deps flag is
-+    dnl then needed because --ignore-installed will make any installed
-+    dnl dependencies invisible to pip, who does not appreciate that.
-+    SAGE_PIP_INSTALL_FLAGS="${SAGE_PIP_INSTALL_FLAGS} --no-deps --ignore-installed"
-+
-     SAGE_VENV_FLAGS="${SAGE_VENV_FLAGS} --system-site-packages"
- 
-     dnl We want to raise an error if the user asked for "system site
-@@ -453,6 +461,7 @@ AC_ARG_ENABLE(
-     with_system_python3="force"
-   ])
- ])
-+AC_SUBST([SAGE_PIP_INSTALL_FLAGS])
- AC_SUBST([SAGE_VENV_FLAGS])
- 
- SAGE_SPKG_OPTIONS=""
--- 
-cgit v1.0-1-gd88e
-
-
-From 3cf365fef84e809e74abd2eb388e7a8e9af9d739 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Tue, 9 Nov 2021 21:01:58 -0500
-Subject: Trac #29665: pass $SAGE_PIP_INSTALL_FLAGS to sdh_pip_install.
-
-Since sdh_pip_install is usually called from spkg-install.in, the
-variables from sage-build-env-config will be available. Here we pass
-the contents of $SAGE_PIP_INSTALL_FLAGS to sage-pip-install
-unconditionally, and hope that the user ignores this variable unless
-he truly knows what he is doing.
----
- build/bin/sage-dist-helpers | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/build/bin/sage-dist-helpers b/build/bin/sage-dist-helpers
-index fe364e5..1032ac3 100644
---- a/build/bin/sage-dist-helpers
-+++ b/build/bin/sage-dist-helpers
-@@ -303,7 +303,11 @@ sdh_store_wheel() {
- }
- 
- sdh_store_and_pip_install_wheel() {
--    local pip_options=""
-+    # The $SAGE_PIP_INSTALL_FLAGS variable is set by sage-build-env-config.
-+    # We skip sanity checking its contents since you should either let sage
-+    # decide what it contains, or really know what you are doing.
-+    local pip_options="${SAGE_PIP_INSTALL_FLAGS}"
-+
-     while [ $# -gt 0 ]; do
-         case $1 in
-             -*) pip_options="$pip_options $1"
--- 
-cgit v1.0-1-gd88e
-
-
-From 50f0438ee857b8f0b7d7ad924e6bba9c5e1bc033 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:10:46 -0500
-Subject: Trac #29665: add Gentoo package information for pexpect.
-
----
- build/pkgs/pexpect/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pexpect/distros/gentoo.txt
-
-diff --git a/build/pkgs/pexpect/distros/gentoo.txt b/build/pkgs/pexpect/distros/gentoo.txt
-new file mode 100644
-index 00000000..30c4b60
---- /dev/null
-+++ b/build/pkgs/pexpect/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pexpect
--- 
-cgit v1.0-1-gd88e
-
-
-From 4d784688d997290b462646fa7f36114a41f3f453 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:11:25 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for pexpect.
-
----
- build/pkgs/pexpect/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pexpect/spkg-configure.m4
-
-diff --git a/build/pkgs/pexpect/spkg-configure.m4 b/build/pkgs/pexpect/spkg-configure.m4
-new file mode 100644
-index 00000000..6520856
---- /dev/null
-+++ b/build/pkgs/pexpect/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pexpect], [SAGE_PYTHON_PACKAGE_CHECK([pexpect])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6447122dc76a3b7a58340dbed942db66530b5b07 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:12:05 -0500
-Subject: Trac #29665: add Gentoo package information for docutils.
-
----
- build/pkgs/docutils/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/docutils/distros/gentoo.txt
-
-diff --git a/build/pkgs/docutils/distros/gentoo.txt b/build/pkgs/docutils/distros/gentoo.txt
-new file mode 100644
-index 00000000..fe4a452
---- /dev/null
-+++ b/build/pkgs/docutils/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/docutils
--- 
-cgit v1.0-1-gd88e
-
-
-From 709041480a5fc729b0ee7f1a8a3b16d4d65321b5 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:12:38 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for docutils.
-
----
- build/pkgs/docutils/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/docutils/spkg-configure.m4
-
-diff --git a/build/pkgs/docutils/spkg-configure.m4 b/build/pkgs/docutils/spkg-configure.m4
-new file mode 100644
-index 00000000..3584e45
---- /dev/null
-+++ b/build/pkgs/docutils/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([docutils], [SAGE_PYTHON_PACKAGE_CHECK([docutils])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 782d38b48ab87afccc43fbc071e7b7ed48fb0a20 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:14:37 -0500
-Subject: Trac #29665: add Gentoo package information for nbclient.
-
----
- build/pkgs/nbclient/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbclient/distros/gentoo.txt
-
-diff --git a/build/pkgs/nbclient/distros/gentoo.txt b/build/pkgs/nbclient/distros/gentoo.txt
-new file mode 100644
-index 00000000..06ff18d
---- /dev/null
-+++ b/build/pkgs/nbclient/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/nbclient
--- 
-cgit v1.0-1-gd88e
-
-
-From 19ce09336532336f69db74381932d51a429dfaca Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:15:11 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for nbclient.
-
----
- build/pkgs/nbclient/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbclient/spkg-configure.m4
-
-diff --git a/build/pkgs/nbclient/spkg-configure.m4 b/build/pkgs/nbclient/spkg-configure.m4
-new file mode 100644
-index 00000000..14178b7
---- /dev/null
-+++ b/build/pkgs/nbclient/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([nbclient], [SAGE_PYTHON_PACKAGE_CHECK([nbclient])])
--- 
-cgit v1.0-1-gd88e
-
-
-From c063b9de42c1780368000a563d0dbe80b6fff169 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:17:36 -0500
-Subject: Trac #29665: add Gentoo package information for argon2_cffi.
-
----
- build/pkgs/argon2_cffi/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/argon2_cffi/distros/gentoo.txt
-
-diff --git a/build/pkgs/argon2_cffi/distros/gentoo.txt b/build/pkgs/argon2_cffi/distros/gentoo.txt
-new file mode 100644
-index 00000000..2f12ca8
---- /dev/null
-+++ b/build/pkgs/argon2_cffi/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/argon2-cffi
--- 
-cgit v1.0-1-gd88e
-
-
-From 0b4d5699dd51ea52550fba7db9e1cbb8bbac1892 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 13:18:35 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for argon2_cffi.
-
----
- build/pkgs/argon2_cffi/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/argon2_cffi/spkg-configure.m4
-
-diff --git a/build/pkgs/argon2_cffi/spkg-configure.m4 b/build/pkgs/argon2_cffi/spkg-configure.m4
-new file mode 100644
-index 00000000..03ebc63
---- /dev/null
-+++ b/build/pkgs/argon2_cffi/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([argon2_cffi], [SAGE_PYTHON_PACKAGE_CHECK([argon2_cffi])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 2b4119558a6e0b1aa512848539a237676b035c83 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:30:48 -0500
-Subject: Trac #29665: fix package name in dateutil's install-requires.txt.
-
----
- build/pkgs/dateutil/install-requires.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/build/pkgs/dateutil/install-requires.txt b/build/pkgs/dateutil/install-requires.txt
-index 0ae93da..face537 100644
---- a/build/pkgs/dateutil/install-requires.txt
-+++ b/build/pkgs/dateutil/install-requires.txt
-@@ -1 +1 @@
--dateutil >=2.8.1
-+python-dateutil >=2.8.1
--- 
-cgit v1.0-1-gd88e
-
-
-From df371b7c4d20a3353d43940306ad22e11aba29da Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:31:41 -0500
-Subject: Trac #29665: add Gentoo package information for dateutil.
-
----
- build/pkgs/dateutil/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/dateutil/distros/gentoo.txt
-
-diff --git a/build/pkgs/dateutil/distros/gentoo.txt b/build/pkgs/dateutil/distros/gentoo.txt
-new file mode 100644
-index 00000000..e129df7
---- /dev/null
-+++ b/build/pkgs/dateutil/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/python-dateutil
--- 
-cgit v1.0-1-gd88e
-
-
-From 577695dfdf661ee26c0ffd767bdbf479d95f7fb4 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:32:21 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for dateutil.
-
----
- build/pkgs/dateutil/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/dateutil/spkg-configure.m4
-
-diff --git a/build/pkgs/dateutil/spkg-configure.m4 b/build/pkgs/dateutil/spkg-configure.m4
-new file mode 100644
-index 00000000..fdcd127
---- /dev/null
-+++ b/build/pkgs/dateutil/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([dateutil], [SAGE_PYTHON_PACKAGE_CHECK([dateutil])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 1984651caac624ec4bb58814ca1d57fe66f9881a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:33:51 -0500
-Subject: Trac #29665: add Gentoo package information for setuptools_scm.
-
----
- build/pkgs/setuptools_scm/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/setuptools_scm/distros/gentoo.txt
-
-diff --git a/build/pkgs/setuptools_scm/distros/gentoo.txt b/build/pkgs/setuptools_scm/distros/gentoo.txt
-new file mode 100644
-index 00000000..8989597
---- /dev/null
-+++ b/build/pkgs/setuptools_scm/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/setuptools_scm
--- 
-cgit v1.0-1-gd88e
-
-
-From ebf7c854ed966e7353759be485c4f5a57b9a10fa Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:34:49 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for setuptools_scm.
-
----
- build/pkgs/setuptools_scm/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/setuptools_scm/spkg-configure.m4
-
-diff --git a/build/pkgs/setuptools_scm/spkg-configure.m4 b/build/pkgs/setuptools_scm/spkg-configure.m4
-new file mode 100644
-index 00000000..437148c
---- /dev/null
-+++ b/build/pkgs/setuptools_scm/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([setuptools_scm], [
-+  SAGE_PYTHON_PACKAGE_CHECK([setuptools_scm])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 0dee0d0c28f31b1f619e44c710a3c9e22d2b2544 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:36:33 -0500
-Subject: Trac #29665: add Gentoo package information for nbconvert.
-
----
- build/pkgs/nbconvert/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbconvert/distros/gentoo.txt
-
-diff --git a/build/pkgs/nbconvert/distros/gentoo.txt b/build/pkgs/nbconvert/distros/gentoo.txt
-new file mode 100644
-index 00000000..6c45a10
---- /dev/null
-+++ b/build/pkgs/nbconvert/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/nbconvert
--- 
-cgit v1.0-1-gd88e
-
-
-From 473789eb11b1838bc32dc8a63509ee199afc8912 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:37:37 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for nbconvert.
-
----
- build/pkgs/nbconvert/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/nbconvert/spkg-configure.m4
-
-diff --git a/build/pkgs/nbconvert/spkg-configure.m4 b/build/pkgs/nbconvert/spkg-configure.m4
-new file mode 100644
-index 00000000..9b5dee3
---- /dev/null
-+++ b/build/pkgs/nbconvert/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([nbconvert], [SAGE_PYTHON_PACKAGE_CHECK([nbconvert])])
--- 
-cgit v1.0-1-gd88e
-
-
-From f0703b594e57c980d605aa9bc8316c45a7858b3b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:41:51 -0500
-Subject: Trac #29665: add Gentoo package information for jupyter_core.
-
----
- build/pkgs/jupyter_core/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jupyter_core/distros/gentoo.txt
-
-diff --git a/build/pkgs/jupyter_core/distros/gentoo.txt b/build/pkgs/jupyter_core/distros/gentoo.txt
-new file mode 100644
-index 00000000..f168c5a
---- /dev/null
-+++ b/build/pkgs/jupyter_core/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jupyter_core
--- 
-cgit v1.0-1-gd88e
-
-
-From 061a307cc4a6680d8500fde834975064e59540d5 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:42:48 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for jupyter_core.
-
----
- build/pkgs/jupyter_core/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/jupyter_core/spkg-configure.m4
-
-diff --git a/build/pkgs/jupyter_core/spkg-configure.m4 b/build/pkgs/jupyter_core/spkg-configure.m4
-new file mode 100644
-index 00000000..67df9c3
---- /dev/null
-+++ b/build/pkgs/jupyter_core/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([jupyter_core], [
-+  SAGE_PYTHON_PACKAGE_CHECK([jupyter_core])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From b85abe964ce0b98b5842efe9cbad9bdb1c89202f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:47:08 -0500
-Subject: Trac #29665: add Gentoo package information for jupyter_client.
-
----
- build/pkgs/jupyter_client/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jupyter_client/distros/gentoo.txt
-
-diff --git a/build/pkgs/jupyter_client/distros/gentoo.txt b/build/pkgs/jupyter_client/distros/gentoo.txt
-new file mode 100644
-index 00000000..4f1de88
---- /dev/null
-+++ b/build/pkgs/jupyter_client/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jupyter_client
--- 
-cgit v1.0-1-gd88e
-
-
-From 86323ff1e0b2507933df6bc2a96c9175957640c5 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:48:04 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for jupyter_client.
-
----
- build/pkgs/jupyter_client/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/jupyter_client/spkg-configure.m4
-
-diff --git a/build/pkgs/jupyter_client/spkg-configure.m4 b/build/pkgs/jupyter_client/spkg-configure.m4
-new file mode 100644
-index 00000000..fbd3498
---- /dev/null
-+++ b/build/pkgs/jupyter_client/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([jupyter_client], [
-+  SAGE_PYTHON_PACKAGE_CHECK([jupyter_client])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From a8475e27dd30d752d05ab6fea6579e8623501d82 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:48:58 -0500
-Subject: Trac #29665: add Gentoo package information for snowballstemmer.
-
----
- build/pkgs/snowballstemmer/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/snowballstemmer/distros/gentoo.txt
-
-diff --git a/build/pkgs/snowballstemmer/distros/gentoo.txt b/build/pkgs/snowballstemmer/distros/gentoo.txt
-new file mode 100644
-index 00000000..63fd851
---- /dev/null
-+++ b/build/pkgs/snowballstemmer/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/snowballstemmer
--- 
-cgit v1.0-1-gd88e
-
-
-From 0833c9b781062b4ed86d619e050a6f5d60e36080 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:49:38 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for snowballstemmer.
-
----
- build/pkgs/snowballstemmer/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/snowballstemmer/spkg-configure.m4
-
-diff --git a/build/pkgs/snowballstemmer/spkg-configure.m4 b/build/pkgs/snowballstemmer/spkg-configure.m4
-new file mode 100644
-index 00000000..6aa0882
---- /dev/null
-+++ b/build/pkgs/snowballstemmer/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([snowballstemmer], [
-+  SAGE_PYTHON_PACKAGE_CHECK([snowballstemmer])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 50a1cf2a2bcd7eeec64cbc3f70e3e9fbe5d850fe Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:50:47 -0500
-Subject: Trac #29665: add Gentoo package information for tornado.
-
----
- build/pkgs/tornado/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tornado/distros/gentoo.txt
-
-diff --git a/build/pkgs/tornado/distros/gentoo.txt b/build/pkgs/tornado/distros/gentoo.txt
-new file mode 100644
-index 00000000..6ae4b9f
---- /dev/null
-+++ b/build/pkgs/tornado/distros/gentoo.txt
-@@ -0,0 +1 @@
-+www-servers/tornado
--- 
-cgit v1.0-1-gd88e
-
-
-From 118f4da6e03476c726363e8e22ecda32f13bfc33 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:51:26 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for tornado.
-
----
- build/pkgs/tornado/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/tornado/spkg-configure.m4
-
-diff --git a/build/pkgs/tornado/spkg-configure.m4 b/build/pkgs/tornado/spkg-configure.m4
-new file mode 100644
-index 00000000..1ee5bc9
---- /dev/null
-+++ b/build/pkgs/tornado/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([tornado], [SAGE_PYTHON_PACKAGE_CHECK([tornado])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 3850701747a6c8ef60840bdfdb589b28d4cd2b9a Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:52:21 -0500
-Subject: Trac #29665: add Gentoo package information for jsonschema.
-
----
- build/pkgs/jsonschema/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jsonschema/distros/gentoo.txt
-
-diff --git a/build/pkgs/jsonschema/distros/gentoo.txt b/build/pkgs/jsonschema/distros/gentoo.txt
-new file mode 100644
-index 00000000..d708e4c
---- /dev/null
-+++ b/build/pkgs/jsonschema/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jsonschema
--- 
-cgit v1.0-1-gd88e
-
-
-From 76e3917c8af781af00f642cfada7a79594429e30 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:54:03 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for jsonschema.
-
----
- build/pkgs/jsonschema/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jsonschema/spkg-configure.m4
-
-diff --git a/build/pkgs/jsonschema/spkg-configure.m4 b/build/pkgs/jsonschema/spkg-configure.m4
-new file mode 100644
-index 00000000..b9e5e21
---- /dev/null
-+++ b/build/pkgs/jsonschema/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([jsonschema], [SAGE_PYTHON_PACKAGE_CHECK([jsonschema])])
--- 
-cgit v1.0-1-gd88e
-
-
-From fd4a16c11669b6dd73ac6325bca820e76db00402 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:55:54 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- widgetsnbextension.
-
----
- build/pkgs/widgetsnbextension/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/widgetsnbextension/spkg-configure.m4
-
-diff --git a/build/pkgs/widgetsnbextension/spkg-configure.m4 b/build/pkgs/widgetsnbextension/spkg-configure.m4
-new file mode 100644
-index 00000000..bf82daf
---- /dev/null
-+++ b/build/pkgs/widgetsnbextension/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([widgetsnbextension], [
-+  SAGE_PYTHON_PACKAGE_CHECK([widgetsnbextension])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 8079a9f384e3c8480e157dd98c3db2f43c987f4e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:57:20 -0500
-Subject: Trac #29665: add Gentoo package information for importlib_resources.
-
----
- build/pkgs/importlib_resources/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/importlib_resources/distros/gentoo.txt
-
-diff --git a/build/pkgs/importlib_resources/distros/gentoo.txt b/build/pkgs/importlib_resources/distros/gentoo.txt
-new file mode 100644
-index 00000000..d5e1f2c
---- /dev/null
-+++ b/build/pkgs/importlib_resources/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/importlib_resources
--- 
-cgit v1.0-1-gd88e
-
-
-From 2c430d7c52f02779a6c41b98ac2f4edd8b6759c3 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:58:00 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- importlib_resources.
-
----
- build/pkgs/importlib_resources/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/importlib_resources/spkg-configure.m4
-
-diff --git a/build/pkgs/importlib_resources/spkg-configure.m4 b/build/pkgs/importlib_resources/spkg-configure.m4
-new file mode 100644
-index 00000000..50df55b
---- /dev/null
-+++ b/build/pkgs/importlib_resources/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([importlib_resources], [
-+  SAGE_PYTHON_PACKAGE_CHECK([importlib_resources])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 00d13d7bf2e50aae2ccef3b2b30293c70a922af2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:58:38 -0500
-Subject: Trac #29665: add Gentoo package information for kiwisolver.
-
----
- build/pkgs/kiwisolver/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/kiwisolver/distros/gentoo.txt
-
-diff --git a/build/pkgs/kiwisolver/distros/gentoo.txt b/build/pkgs/kiwisolver/distros/gentoo.txt
-new file mode 100644
-index 00000000..7b30c95
---- /dev/null
-+++ b/build/pkgs/kiwisolver/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/kiwisolver
--- 
-cgit v1.0-1-gd88e
-
-
-From 72b7907ef7ea9fa4ff6948ea34cfe2f693ee6c31 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 19:59:09 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for kiwisolver.
-
----
- build/pkgs/kiwisolver/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/kiwisolver/spkg-configure.m4
-
-diff --git a/build/pkgs/kiwisolver/spkg-configure.m4 b/build/pkgs/kiwisolver/spkg-configure.m4
-new file mode 100644
-index 00000000..4e7ac97
---- /dev/null
-+++ b/build/pkgs/kiwisolver/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([kiwisolver], [SAGE_PYTHON_PACKAGE_CHECK([kiwisolver])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 479351279e4e0ea7e2d146434f0daba038765cfd Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:00:04 -0500
-Subject: Trac #29665: add Gentoo package information for notebook.
-
----
- build/pkgs/notebook/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/notebook/distros/gentoo.txt
-
-diff --git a/build/pkgs/notebook/distros/gentoo.txt b/build/pkgs/notebook/distros/gentoo.txt
-new file mode 100644
-index 00000000..6475d72
---- /dev/null
-+++ b/build/pkgs/notebook/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/notebook
--- 
-cgit v1.0-1-gd88e
-
-
-From f4d9242ea654977f8ad7865c82eec593e11a36bc Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:01:42 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for notebook.
-
----
- build/pkgs/notebook/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/notebook/spkg-configure.m4
-
-diff --git a/build/pkgs/notebook/spkg-configure.m4 b/build/pkgs/notebook/spkg-configure.m4
-new file mode 100644
-index 00000000..a17ba95
---- /dev/null
-+++ b/build/pkgs/notebook/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([notebook], [SAGE_PYTHON_PACKAGE_CHECK([notebook])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 9837070c7f8e9a71283b84d49d4fd2c94b78a464 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:02:38 -0500
-Subject: Trac #29665: add Gentoo package information for matplotlib_inline.
-
----
- build/pkgs/matplotlib_inline/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/matplotlib_inline/distros/gentoo.txt
-
-diff --git a/build/pkgs/matplotlib_inline/distros/gentoo.txt b/build/pkgs/matplotlib_inline/distros/gentoo.txt
-new file mode 100644
-index 00000000..6a5859c
---- /dev/null
-+++ b/build/pkgs/matplotlib_inline/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/matplotlib-inline
--- 
-cgit v1.0-1-gd88e
-
-
-From 750be73b25b92b4875e47d044360ac0e1116ec3e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:03:28 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for matplotlib_inline.
-
----
- build/pkgs/matplotlib_inline/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/matplotlib_inline/spkg-configure.m4
-
-diff --git a/build/pkgs/matplotlib_inline/spkg-configure.m4 b/build/pkgs/matplotlib_inline/spkg-configure.m4
-new file mode 100644
-index 00000000..e59658f
---- /dev/null
-+++ b/build/pkgs/matplotlib_inline/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([matplotlib_inline], [
-+  SAGE_PYTHON_PACKAGE_CHECK([matplotlib_inline])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 273505f49698dcd2ab30c2756b07113c9b7e7791 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:04:10 -0500
-Subject: Trac #29665: add Gentoo package information for ipykernel.
-
----
- build/pkgs/ipykernel/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipykernel/distros/gentoo.txt
-
-diff --git a/build/pkgs/ipykernel/distros/gentoo.txt b/build/pkgs/ipykernel/distros/gentoo.txt
-new file mode 100644
-index 00000000..88aab61
---- /dev/null
-+++ b/build/pkgs/ipykernel/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ipykernel
--- 
-cgit v1.0-1-gd88e
-
-
-From 629ad36c9e4ae0cdff4a013289b4f2911442445e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:04:46 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for ipykernel.
-
----
- build/pkgs/ipykernel/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ipykernel/spkg-configure.m4
-
-diff --git a/build/pkgs/ipykernel/spkg-configure.m4 b/build/pkgs/ipykernel/spkg-configure.m4
-new file mode 100644
-index 00000000..94ecc2d
---- /dev/null
-+++ b/build/pkgs/ipykernel/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([ipykernel], [SAGE_PYTHON_PACKAGE_CHECK([ipykernel])])
--- 
-cgit v1.0-1-gd88e
-
-
-From b8d709edb6a24fd5868ee2818b56e78257b2eafa Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:05:26 -0500
-Subject: Trac #29665: add Gentoo package information for prompt_toolkit.
-
----
- build/pkgs/prompt_toolkit/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/prompt_toolkit/distros/gentoo.txt
-
-diff --git a/build/pkgs/prompt_toolkit/distros/gentoo.txt b/build/pkgs/prompt_toolkit/distros/gentoo.txt
-new file mode 100644
-index 00000000..6902484
---- /dev/null
-+++ b/build/pkgs/prompt_toolkit/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/prompt_toolkit
--- 
-cgit v1.0-1-gd88e
-
-
-From 16c0b5e767ae4dac4440510b7253e5c8642b7d2c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:10:39 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for prompt_toolkit.
-
----
- build/pkgs/prompt_toolkit/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/prompt_toolkit/spkg-configure.m4
-
-diff --git a/build/pkgs/prompt_toolkit/spkg-configure.m4 b/build/pkgs/prompt_toolkit/spkg-configure.m4
-new file mode 100644
-index 00000000..fd8c1a6
---- /dev/null
-+++ b/build/pkgs/prompt_toolkit/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([prompt_toolkit], [
-+  SAGE_PYTHON_PACKAGE_CHECK([prompt_toolkit])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 0cd9283e8bb6c8ae413fc8f715c021f7ec3ca2c8 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:12:10 -0500
-Subject: Trac #29665: add Gentoo package information for charset_normalizer.
-
----
- build/pkgs/charset_normalizer/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/charset_normalizer/distros/gentoo.txt
-
-diff --git a/build/pkgs/charset_normalizer/distros/gentoo.txt b/build/pkgs/charset_normalizer/distros/gentoo.txt
-new file mode 100644
-index 00000000..eefeb89
---- /dev/null
-+++ b/build/pkgs/charset_normalizer/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/charset_normalizer
--- 
-cgit v1.0-1-gd88e
-
-
-From a04b01a9ab59097d189edcc5ddcb461faede83b2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:12:54 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- charset_normalizer.
-
----
- build/pkgs/charset_normalizer/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/charset_normalizer/spkg-configure.m4
-
-diff --git a/build/pkgs/charset_normalizer/spkg-configure.m4 b/build/pkgs/charset_normalizer/spkg-configure.m4
-new file mode 100644
-index 00000000..18b18cf
---- /dev/null
-+++ b/build/pkgs/charset_normalizer/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([charset_normalizer], [
-+  SAGE_PYTHON_PACKAGE_CHECK([charset_normalizer])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From d2ea08138711c53046f977b586f33b09b176b2e3 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:13:37 -0500
-Subject: Trac #29665: add Gentoo package information for prometheus_client.
-
----
- build/pkgs/prometheus_client/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/prometheus_client/distros/gentoo.txt
-
-diff --git a/build/pkgs/prometheus_client/distros/gentoo.txt b/build/pkgs/prometheus_client/distros/gentoo.txt
-new file mode 100644
-index 00000000..aa2889c
---- /dev/null
-+++ b/build/pkgs/prometheus_client/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/prometheus_client
--- 
-cgit v1.0-1-gd88e
-
-
-From 5b0393200e9edd3e26b8a55ba67e5710e7403fcb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:15:09 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for prometheus_client.
-
----
- build/pkgs/prometheus_client/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/prometheus_client/spkg-configure.m4
-
-diff --git a/build/pkgs/prometheus_client/spkg-configure.m4 b/build/pkgs/prometheus_client/spkg-configure.m4
-new file mode 100644
-index 00000000..b494588
---- /dev/null
-+++ b/build/pkgs/prometheus_client/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([prometheus_client], [
-+  SAGE_PYTHON_PACKAGE_CHECK([prometheus_client])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From cdcd85284f43ca4ad18353ec3527b2901e57b788 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:17:23 -0500
-Subject: Trac #29665: add Gentoo package information for pybind11.
-
----
- build/pkgs/pybind11/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pybind11/distros/gentoo.txt
-
-diff --git a/build/pkgs/pybind11/distros/gentoo.txt b/build/pkgs/pybind11/distros/gentoo.txt
-new file mode 100644
-index 00000000..0c500b3
---- /dev/null
-+++ b/build/pkgs/pybind11/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pybind11
--- 
-cgit v1.0-1-gd88e
-
-
-From efdd1eb64c4799fe3cdf2221824182941b3fda2d Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:17:51 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for pybind11.
-
----
- build/pkgs/pybind11/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pybind11/spkg-configure.m4
-
-diff --git a/build/pkgs/pybind11/spkg-configure.m4 b/build/pkgs/pybind11/spkg-configure.m4
-new file mode 100644
-index 00000000..cce1cf5
---- /dev/null
-+++ b/build/pkgs/pybind11/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pybind11], [SAGE_PYTHON_PACKAGE_CHECK([pybind11])])
--- 
-cgit v1.0-1-gd88e
-
-
-From b2128f33b68ea33927284116ea598dd186902400 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:19:23 -0500
-Subject: Trac #29665: add Gentoo package information for pkgconfig.
-
----
- build/pkgs/pkgconfig/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pkgconfig/distros/gentoo.txt
-
-diff --git a/build/pkgs/pkgconfig/distros/gentoo.txt b/build/pkgs/pkgconfig/distros/gentoo.txt
-new file mode 100644
-index 00000000..32e8618
---- /dev/null
-+++ b/build/pkgs/pkgconfig/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pkgconfig
--- 
-cgit v1.0-1-gd88e
-
-
-From 5b373b49e06aadeb36dc57e500da9a322460e658 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:19:54 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for pkgconfig.
-
----
- build/pkgs/pkgconfig/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pkgconfig/spkg-configure.m4
-
-diff --git a/build/pkgs/pkgconfig/spkg-configure.m4 b/build/pkgs/pkgconfig/spkg-configure.m4
-new file mode 100644
-index 00000000..6708293
---- /dev/null
-+++ b/build/pkgs/pkgconfig/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pkgconfig], [SAGE_PYTHON_PACKAGE_CHECK([pkgconfig])])
--- 
-cgit v1.0-1-gd88e
-
-
-From ce578729eb0d14baab365351ba9a9ffffb7b79f2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:21:10 -0500
-Subject: Trac #29665: add Gentoo package information for
- sphinxcontrib_serializinghtml.
-
----
- build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt b/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
-new file mode 100644
-index 00000000..38bca8f
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_serializinghtml/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-serializinghtml
--- 
-cgit v1.0-1-gd88e
-
-
-From bb0f42c32bbce0e4488678312f5e2d88c6f42c9b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:21:54 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_serializinghtml.
-
----
- build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4 b/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
-new file mode 100644
-index 00000000..be8e625
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_serializinghtml/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_serializinghtml], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_serializinghtml])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From e47dcf985e40475de85c9436a85537751318bc3d Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:22:54 -0500
-Subject: Trac #29665: add Gentoo package information for sphinxcontrib_jsmath.
-
----
- build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt b/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
-new file mode 100644
-index 00000000..041a471
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_jsmath/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-jsmath
--- 
-cgit v1.0-1-gd88e
-
-
-From 72cff6fd35f93de4fa855bc870569dd733ff5c24 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:23:49 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_jsmath.
-
----
- build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4 b/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
-new file mode 100644
-index 00000000..e46bde2
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_jsmath/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_jsmath], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_jsmath])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From a36395d70f759449cd63c1b0990fbdcb4cb25ca0 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:24:26 -0500
-Subject: Trac #29665: add Gentoo package information for
- sphinxcontrib_devhelp.
-
----
- build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
-new file mode 100644
-index 00000000..9b5c899
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_devhelp/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-devhelp
--- 
-cgit v1.0-1-gd88e
-
-
-From 9953a5dd1646ed0ad51d2e3935cf609bc9e7fd1c Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:25:04 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_devhelp.
-
----
- build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
-new file mode 100644
-index 00000000..8728136
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_devhelp/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_devhelp], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_devhelp])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From b199d5363aad93f3cb23f7904c9553a28b06348f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:25:53 -0500
-Subject: Trac #29665: add Gentoo package information for sphinxcontrib_qthelp.
-
----
- build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
-new file mode 100644
-index 00000000..7210099
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_qthelp/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-qthelp
--- 
-cgit v1.0-1-gd88e
-
-
-From 94ac8806739f3938e73f5857328e91e0d42e98d2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:26:28 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_qthelp.
-
----
- build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
-new file mode 100644
-index 00000000..81ea5e1
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_qthelp/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_qthelp], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_qthelp])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From beedc154aa405e8a58aee8889f510db07adc89a7 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:26:54 -0500
-Subject: Trac #29665: add Gentoo package information for
- sphinxcontrib_applehelp.
-
----
- build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
-new file mode 100644
-index 00000000..66ac8da
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_applehelp/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-applehelp
--- 
-cgit v1.0-1-gd88e
-
-
-From 07d47c3673d6b35423b71f621cb400989c0101c2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:27:19 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_applehelp.
-
----
- build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
-new file mode 100644
-index 00000000..e834aed
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_applehelp/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_applehelp], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_applehelp])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 333a66546c5d421735c49dbafd7370a827f22781 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:27:46 -0500
-Subject: Trac #29665: add Gentoo package information for
- sphinxcontrib_htmlhelp.
-
----
- build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
-
-diff --git a/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt b/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
-new file mode 100644
-index 00000000..e080bac
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_htmlhelp/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/sphinxcontrib-htmlhelp
--- 
-cgit v1.0-1-gd88e
-
-
-From bfaeb3962254439b63f1f2e0e883de462c7831be Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:29:18 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- sphinxcontrib_htmlhelp.
-
----
- build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
-
-diff --git a/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4 b/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
-new file mode 100644
-index 00000000..c77b003
---- /dev/null
-+++ b/build/pkgs/sphinxcontrib_htmlhelp/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([sphinxcontrib_htmlhelp], [
-+  SAGE_PYTHON_PACKAGE_CHECK([sphinxcontrib_htmlhelp])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 782cde13da06e8b85806cb7cbc8aceee0364e639 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:30:23 -0500
-Subject: Trac #29665: add Gentoo package information for jupyterlab_pygments.
-
----
- build/pkgs/jupyterlab_pygments/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/jupyterlab_pygments/distros/gentoo.txt
-
-diff --git a/build/pkgs/jupyterlab_pygments/distros/gentoo.txt b/build/pkgs/jupyterlab_pygments/distros/gentoo.txt
-new file mode 100644
-index 00000000..c57b4f1
---- /dev/null
-+++ b/build/pkgs/jupyterlab_pygments/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/jupyterlab_pygments
--- 
-cgit v1.0-1-gd88e
-
-
-From 39f974cfa4a8c6e5dd897f152f83ec82f40ee9f7 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Wed, 10 Nov 2021 20:31:13 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- jupyterlab_pygments.
-
----
- build/pkgs/jupyterlab_pygments/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/jupyterlab_pygments/spkg-configure.m4
-
-diff --git a/build/pkgs/jupyterlab_pygments/spkg-configure.m4 b/build/pkgs/jupyterlab_pygments/spkg-configure.m4
-new file mode 100644
-index 00000000..e46e21f
---- /dev/null
-+++ b/build/pkgs/jupyterlab_pygments/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([jupyterlab_pygments], [
-+  SAGE_PYTHON_PACKAGE_CHECK([jupyterlab_pygments])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From db704620700fd36cec3bf6125938f3ee00a9eb5e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:29:15 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for ply.
-
----
- build/pkgs/ply/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ply/spkg-configure.m4
-
-diff --git a/build/pkgs/ply/spkg-configure.m4 b/build/pkgs/ply/spkg-configure.m4
-new file mode 100644
-index 00000000..ffb0030
---- /dev/null
-+++ b/build/pkgs/ply/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([ply], [SAGE_PYTHON_PACKAGE_CHECK([ply])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 6aac31dabcdfdef228d7780398a3fda1a4cc566f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:29:51 -0500
-Subject: Trac #29665: add Gentoo package information for ply.
-
----
- build/pkgs/ply/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/ply/distros/gentoo.txt
-
-diff --git a/build/pkgs/ply/distros/gentoo.txt b/build/pkgs/ply/distros/gentoo.txt
-new file mode 100644
-index 00000000..c8b1630
---- /dev/null
-+++ b/build/pkgs/ply/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/ply
--- 
-cgit v1.0-1-gd88e
-
-
-From bb8d3372936ec37470d69687a0f91592129460ae Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:30:33 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for gast.
-
----
- build/pkgs/gast/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/gast/spkg-configure.m4
-
-diff --git a/build/pkgs/gast/spkg-configure.m4 b/build/pkgs/gast/spkg-configure.m4
-new file mode 100644
-index 00000000..26ec59f
---- /dev/null
-+++ b/build/pkgs/gast/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([gast], [SAGE_PYTHON_PACKAGE_CHECK([gast])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 1cdc4046a88f1c2b4e5c162f66c6db6090b24194 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:31:15 -0500
-Subject: Trac #29665: add Gentoo package information for gast.
-
----
- build/pkgs/gast/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/gast/distros/gentoo.txt
-
-diff --git a/build/pkgs/gast/distros/gentoo.txt b/build/pkgs/gast/distros/gentoo.txt
-new file mode 100644
-index 00000000..3be5e7e
---- /dev/null
-+++ b/build/pkgs/gast/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/gast
--- 
-cgit v1.0-1-gd88e
-
-
-From 96068b8a3742b65d619190e1d9fa5db399e6b4f2 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:32:20 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for pythran.
-
----
- build/pkgs/pythran/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pythran/spkg-configure.m4
-
-diff --git a/build/pkgs/pythran/spkg-configure.m4 b/build/pkgs/pythran/spkg-configure.m4
-new file mode 100644
-index 00000000..592e95b
---- /dev/null
-+++ b/build/pkgs/pythran/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([pythran], [SAGE_PYTHON_PACKAGE_CHECK([pythran])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 1fa0fad3ae8f7e559c6fc315c6773a7d8aac0bfb Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:32:55 -0500
-Subject: Trac #29665: add Gentoo package information for pythran.
-
----
- build/pkgs/pythran/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/pythran/distros/gentoo.txt
-
-diff --git a/build/pkgs/pythran/distros/gentoo.txt b/build/pkgs/pythran/distros/gentoo.txt
-new file mode 100644
-index 00000000..1bb7cdc
---- /dev/null
-+++ b/build/pkgs/pythran/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/pythran
--- 
-cgit v1.0-1-gd88e
-
-
-From d26370e5b8c88e76abfb7c27e3defb71c9e9f711 Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:33:50 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for beniget.
-
----
- build/pkgs/beniget/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/beniget/spkg-configure.m4
-
-diff --git a/build/pkgs/beniget/spkg-configure.m4 b/build/pkgs/beniget/spkg-configure.m4
-new file mode 100644
-index 00000000..8ae6101
---- /dev/null
-+++ b/build/pkgs/beniget/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([beniget], [SAGE_PYTHON_PACKAGE_CHECK([beniget])])
--- 
-cgit v1.0-1-gd88e
-
-
-From eeeb296ed9b9694a865534103fd58e62a151ef5e Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:34:22 -0500
-Subject: Trac #29665: add Gentoo package information for beniget.
-
----
- build/pkgs/beniget/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/beniget/distros/gentoo.txt
-
-diff --git a/build/pkgs/beniget/distros/gentoo.txt b/build/pkgs/beniget/distros/gentoo.txt
-new file mode 100644
-index 00000000..1a5972c
---- /dev/null
-+++ b/build/pkgs/beniget/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/beniget
--- 
-cgit v1.0-1-gd88e
-
-
-From 078b2ff272d0eeff5cce40ad7eb176d9ddd7bdff Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:35:37 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for alabaster.
-
----
- build/pkgs/alabaster/spkg-configure.m4 | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/alabaster/spkg-configure.m4
-
-diff --git a/build/pkgs/alabaster/spkg-configure.m4 b/build/pkgs/alabaster/spkg-configure.m4
-new file mode 100644
-index 00000000..4eca6e0
---- /dev/null
-+++ b/build/pkgs/alabaster/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([alabaster], [SAGE_PYTHON_PACKAGE_CHECK([alabaster])])
--- 
-cgit v1.0-1-gd88e
-
-
-From 7dc264353e5f64110431ff28c1b8b7e89699e9bd Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:36:06 -0500
-Subject: Trac #29665: add Gentoo package information for alabaster.
-
----
- build/pkgs/alabaster/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/alabaster/distros/gentoo.txt
-
-diff --git a/build/pkgs/alabaster/distros/gentoo.txt b/build/pkgs/alabaster/distros/gentoo.txt
-new file mode 100644
-index 00000000..cffece6
---- /dev/null
-+++ b/build/pkgs/alabaster/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/alabaster
--- 
-cgit v1.0-1-gd88e
-
-
-From 8011a5e675e7e61a77ce34a299ee961a9f44253f Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:43:59 -0500
-Subject: Trac #29665: standard python spkg-configure.m4 for
- importlib_metadata.
-
----
- build/pkgs/importlib_metadata/spkg-configure.m4 | 3 +++
- 1 file changed, 3 insertions(+)
- create mode 100644 build/pkgs/importlib_metadata/spkg-configure.m4
-
-diff --git a/build/pkgs/importlib_metadata/spkg-configure.m4 b/build/pkgs/importlib_metadata/spkg-configure.m4
-new file mode 100644
-index 00000000..0554e52
---- /dev/null
-+++ b/build/pkgs/importlib_metadata/spkg-configure.m4
-@@ -0,0 +1,3 @@
-+SAGE_SPKG_CONFIGURE([importlib_metadata], [
-+  SAGE_PYTHON_PACKAGE_CHECK([importlib_metadata])
-+])
--- 
-cgit v1.0-1-gd88e
-
-
-From 928ca0019e3ec6c4541a16b28bcc6710df6d010b Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 20:44:28 -0500
-Subject: Trac #29665: add Gentoo package information for importlib_metadata.
-
----
- build/pkgs/importlib_metadata/distros/gentoo.txt | 1 +
- 1 file changed, 1 insertion(+)
- create mode 100644 build/pkgs/importlib_metadata/distros/gentoo.txt
-
-diff --git a/build/pkgs/importlib_metadata/distros/gentoo.txt b/build/pkgs/importlib_metadata/distros/gentoo.txt
-new file mode 100644
-index 00000000..4f92786
---- /dev/null
-+++ b/build/pkgs/importlib_metadata/distros/gentoo.txt
-@@ -0,0 +1 @@
-+dev-python/importlib_metadata
--- 
-cgit v1.0-1-gd88e
-
-
-From 135f184f7498a2046065e669723e68efe2d65cee Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky <michael@orlitzky.com>
-Date: Thu, 30 Dec 2021 21:16:58 -0500
-Subject: Trac #29665: fix sage.misc.package doctest with system alabaster.
-
-When alabaster from the system is used, these tests won't be able to
-find its SPKG installed. Add some ellipses, and switch one test to
-look for sage_conf instead.
----
- src/sage/misc/package.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/sage/misc/package.py b/src/sage/misc/package.py
-index 84f3d50..c7ad206 100644
---- a/src/sage/misc/package.py
-+++ b/src/sage/misc/package.py
-@@ -386,9 +386,9 @@ def installed_packages(exclude_pip=True):
-     EXAMPLES::
- 
-         sage: sorted(installed_packages().keys())  # optional - build
--        [...'gmpy2', ...'sage_conf', ...]
--        sage: installed_packages()['gmpy2']  # optional - build, random
--        '2.1.0b5'
-+        [...'sage_conf', ...]
-+        sage: installed_packages()['sage_conf']  # optional - build, random
-+        '9.5'
- 
-     .. SEEALSO::
- 
--- 
-cgit v1.0-1-gd88e
-
diff --git a/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch b/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch
deleted file mode 100644
index 093e3d56eb33..000000000000
--- a/srcpkgs/sagemath/patches/zzz-more_site_packages_not_in_29665.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-More site packages not included in trac 29665
-
-diff --git a/build/pkgs/gmpy2/spkg-configure.m4 b/build/pkgs/gmpy2/spkg-configure.m4
-new file mode 100644
-index 0000000000..2d0390f7db
---- /dev/null
-+++ b/build/pkgs/gmpy2/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([gmpy2], [SAGE_PYTHON_PACKAGE_CHECK([gmpy2])])
-diff --git a/build/pkgs/sphinx/spkg-configure.m4 b/build/pkgs/sphinx/spkg-configure.m4
-new file mode 100644
-index 0000000000..e149fbb2cf
---- /dev/null
-+++ b/build/pkgs/sphinx/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([sphinx], [SAGE_PYTHON_PACKAGE_CHECK([sphinx])])
-diff --git a/build/pkgs/typing_extensions/spkg-configure.m4 b/build/pkgs/typing_extensions/spkg-configure.m4
-new file mode 100644
-index 0000000000..d475fd8257
---- /dev/null
-+++ b/build/pkgs/typing_extensions/spkg-configure.m4
-@@ -0,0 +1 @@
-+SAGE_SPKG_CONFIGURE([typing_extensions], [SAGE_PYTHON_PACKAGE_CHECK([typing_extensions])])
--- 
-diff --git a/build/pkgs/gmpy2/install-requires.txt b/build/pkgs/gmpy2/install-requires.txt
-index 51d24518ef..c25feff557 100644
---- a/build/pkgs/gmpy2/install-requires.txt
-+++ b/build/pkgs/gmpy2/install-requires.txt
-@@ -1,3 +1 @@
--# We would like to write gmpy2 >=2.1.0b5, but pipenv does not accept prereleases in version ranges
--# https://github.com/pypa/pipenv/issues/1760
--gmpy2 ==2.1.0rc1
-+gmpy2 >=2.1
-diff --git a/build/pkgs/ptyprocess/install-requires.txt b/build/pkgs/ptyprocess/install-requires.txt
-index de89260872..7c336f636c 100644
---- a/build/pkgs/ptyprocess/install-requires.txt
-+++ b/build/pkgs/ptyprocess/install-requires.txt
-@@ -1,3 +1,3 @@
--ptyprocess ==0.5.1
-+ptyprocess
- # https://trac.sagemath.org/ticket/31280#comment:42 and following
- # sagelib is not compatible with ptyprocess 0.5.2, 0.6, and 0.7
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index de9fe5177766..e182267cdb96 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -39,6 +39,21 @@ _spkg_skip="appnope fonttools importlib_resources pycygwin
 # Force use these sage packages from system
 _spkg_system="cppy cython cysignals cypari pplpy fpylll memory_allocator
  primecountpy
+ alabaster argcomplete argon2_cffi attrs babel backcall beniget bleach certifi
+ cffi charset_normalizer cvxopt cycler dateutil debugpy decorator defusedxml
+ docutils entrypoints flit_core gast gmpy2 html5lib idna imagesize
+ importlib_metadata importlib_resources ipykernel ipython ipython_genutils
+ ipywidgets jedi jinja2 jsonschema jupyter_client jupyter_core
+ jupyterlab_pygments kiwisolver markupsafe matplotlib matplotlib_inline mistune
+ mpmath nbclient nbconvert nbformat nest_asyncio networkx notebook numpy
+ packaging pandocfilters parso pexpect pickleshare pillow pip pkgconfig pluggy
+ ply prometheus_client prompt_toolkit ptyprocess py pybind11 pycparser pygments
+ pyparsing pyrsistent pythran pytz pyzmq requests scipy send2trash setuptools
+ setuptools_scm simplegeneric six snowballstemmer sphinx
+ sphinxcontrib_applehelp sphinxcontrib_devhelp sphinxcontrib_htmlhelp
+ sphinxcontrib_jsmath sphinxcontrib_qthelp sphinxcontrib_serializinghtml sympy
+ terminado testpath texttable tomli tornado traitlets typing_extensions tzlocal
+ urllib3 wcwidth webencodings wheel widgetsnbextension zipp
  linbox gap maxima"
 
 # Databases to be used from system

From c4396fa600bb0682f6eeb8d2431493d634269099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Wed, 19 Jan 2022 19:13:37 -0300
Subject: [PATCH 6/9] sagemath: simplify ratpoints patch

---
 .../patches/zzz-dont_link_ratpoints.patch     |   8 +
 .../patches/zzz-remove_ratpoints.patch        | 887 ------------------
 srcpkgs/sagemath/template                     |   4 +-
 3 files changed, 11 insertions(+), 888 deletions(-)
 create mode 100644 srcpkgs/sagemath/patches/zzz-dont_link_ratpoints.patch
 delete mode 100644 srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch

diff --git a/srcpkgs/sagemath/patches/zzz-dont_link_ratpoints.patch b/srcpkgs/sagemath/patches/zzz-dont_link_ratpoints.patch
new file mode 100644
index 000000000000..b3c5c734298a
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-dont_link_ratpoints.patch
@@ -0,0 +1,8 @@
+--- a/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
++++ b/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
+@@ -1,5 +1,3 @@
+-# distutils: libraries = ratpoints
+-
+ r"""
+ Descent on elliptic curves over `\QQ` with a 2-isogeny
+ """
diff --git a/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch b/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch
deleted file mode 100644
index 0842d9d7f6d5..000000000000
--- a/srcpkgs/sagemath/patches/zzz-remove_ratpoints.patch
+++ /dev/null
@@ -1,887 +0,0 @@
-From 3178a5e1e4f7174343fd913494ae255b3e05fb85 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
-Date: Mon, 17 Jan 2022 21:04:42 -0300
-Subject: [PATCH] ratpoints: remove deprecated package
-
----
- .github/workflows/ci-cygwin-minimal.yml       |   2 +-
- .github/workflows/ci-cygwin-standard.yml      |   2 +-
- COPYING.txt                                   |   1 -
- build/pkgs/ratpoints/SPKG.rst                 |  29 --
- build/pkgs/ratpoints/checksums.ini            |   4 -
- build/pkgs/ratpoints/dependencies             |   5 -
- build/pkgs/ratpoints/distros/arch.txt         |   1 -
- build/pkgs/ratpoints/distros/conda.txt        |   1 -
- build/pkgs/ratpoints/distros/debian.txt       |   1 -
- build/pkgs/ratpoints/distros/nix.txt          |   1 -
- build/pkgs/ratpoints/distros/repology.txt     |   1 -
- build/pkgs/ratpoints/package-version.txt      |   1 -
- build/pkgs/ratpoints/patches/Makefile.patch   |  37 ---
- .../patches/sturm_and_rp_private.patch        | 194 ------------
- build/pkgs/ratpoints/spkg-install.in          |  46 ---
- build/pkgs/ratpoints/type                     |   1 -
- build/pkgs/sagelib/dependencies               |   2 +-
- src/sage/libs/ratpoints.pxd                   |  74 -----
- src/sage/libs/ratpoints.pyx                   | 283 ------------------
- .../elliptic_curves/descent_two_isogeny.pyx   |   2 -
- src/sage_setup/library_order.py               |   2 +-
- 21 files changed, 4 insertions(+), 686 deletions(-)
- delete mode 100644 build/pkgs/ratpoints/SPKG.rst
- delete mode 100644 build/pkgs/ratpoints/checksums.ini
- delete mode 100644 build/pkgs/ratpoints/dependencies
- delete mode 100644 build/pkgs/ratpoints/distros/arch.txt
- delete mode 100644 build/pkgs/ratpoints/distros/conda.txt
- delete mode 100644 build/pkgs/ratpoints/distros/debian.txt
- delete mode 100644 build/pkgs/ratpoints/distros/nix.txt
- delete mode 100644 build/pkgs/ratpoints/distros/repology.txt
- delete mode 100644 build/pkgs/ratpoints/package-version.txt
- delete mode 100644 build/pkgs/ratpoints/patches/Makefile.patch
- delete mode 100644 build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
- delete mode 100644 build/pkgs/ratpoints/spkg-install.in
- delete mode 100644 build/pkgs/ratpoints/type
- delete mode 100644 src/sage/libs/ratpoints.pxd
- delete mode 100644 src/sage/libs/ratpoints.pyx
-
-diff --git a/.github/workflows/ci-cygwin-minimal.yml b/.github/workflows/ci-cygwin-minimal.yml
-index 9e847e7474..9df1365657 100644
---- a/.github/workflows/ci-cygwin-minimal.yml
-+++ b/.github/workflows/ci-cygwin-minimal.yml
-@@ -217,7 +217,7 @@ jobs:
-     env:
-       STAGE: ii-b
-       PREVIOUS_STAGES: i-*
--      TARGETS: singular maxima gap pari gfan palp flintqs ratpoints arb ecm givaro
-+      TARGETS: singular maxima gap pari gfan palp flintqs arb ecm givaro
-       LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
-       LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
- 
-diff --git a/.github/workflows/ci-cygwin-standard.yml b/.github/workflows/ci-cygwin-standard.yml
-index cbbe0f46a8..8aee1c2c3c 100644
---- a/.github/workflows/ci-cygwin-standard.yml
-+++ b/.github/workflows/ci-cygwin-standard.yml
-@@ -217,7 +217,7 @@ jobs:
-     env:
-       STAGE: ii-b
-       PREVIOUS_STAGES: i-*
--      TARGETS: singular maxima gap pari gfan palp flintqs ratpoints arb ecm givaro
-+      TARGETS: singular maxima gap pari gfan palp flintqs arb ecm givaro
-       LOCAL_ARTIFACT_NAME: sage-local-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
-       LOGS_ARTIFACT_NAME: logs-commit-${{ github.sha }}-cygwin-${{ matrix.pkgs }}
- 
-diff --git a/COPYING.txt b/COPYING.txt
-index 1176a856a0..a3e9cc6645 100644
---- a/COPYING.txt
-+++ b/COPYING.txt
-@@ -107,7 +107,6 @@ pynac                       GPLv2+
- pyparsing                   MIT License
- python                      Python License (see below)
- R                           GPLv2+
--ratpoints                   GPLv2+
- readline                    GPLv3+
- rpy                         GPLv2+
- rubiks/dietz                GPL, any version
-diff --git a/build/pkgs/ratpoints/SPKG.rst b/build/pkgs/ratpoints/SPKG.rst
-deleted file mode 100644
-index 6607094bec..0000000000
---- a/build/pkgs/ratpoints/SPKG.rst
-+++ /dev/null
-@@ -1,29 +0,0 @@
--ratpoints: Find rational points on hyperelliptic curves
--=======================================================
--
--Description
-------------
--
--Michael Stoll's program which searches for rational points on
--hyperelliptic curves.
--
--NOTE: the ratpoints package has been assimilated by PARI/GP. Therefore,
--this package (as Sage package) is deprecated. In the future, it will be
--removed from Sage.
--
--
--Upstream Contact
------------------
--
---  Author: Michael Stoll
---  Email: Michael.Stoll@uni-bayreuth.de
---  Website: http://www.mathe2.uni-bayreuth.de/stoll/programs/
--
--
--Note on SSE2 instructions
--~~~~~~~~~~~~~~~~~~~~~~~~~
--
---  On several architectures, the SSE2 instructions used by ratpoints
--   cause
--   compiler errors. In the case that ratpoints fails to build with SSE2
--   instructions enabled, the build is repeated with SSE2 disabled.
-diff --git a/build/pkgs/ratpoints/checksums.ini b/build/pkgs/ratpoints/checksums.ini
-deleted file mode 100644
-index 46ba1c9ec1..0000000000
---- a/build/pkgs/ratpoints/checksums.ini
-+++ /dev/null
-@@ -1,4 +0,0 @@
--tarball=ratpoints-VERSION.tar.bz2
--sha1=14fbc3dd50742794e0b33d2dd1217e5dd8ad2623
--md5=9bf091d1b90132433f0a1fc6b585d024
--cksum=670991933
-diff --git a/build/pkgs/ratpoints/dependencies b/build/pkgs/ratpoints/dependencies
-deleted file mode 100644
-index 9a77ea16f7..0000000000
---- a/build/pkgs/ratpoints/dependencies
-+++ /dev/null
-@@ -1,5 +0,0 @@
--$(MP_LIBRARY)
--
------------
--All lines of this file are ignored except the first.
--It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
-diff --git a/build/pkgs/ratpoints/distros/arch.txt b/build/pkgs/ratpoints/distros/arch.txt
-deleted file mode 100644
-index e137758627..0000000000
---- a/build/pkgs/ratpoints/distros/arch.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--ratpoints
-diff --git a/build/pkgs/ratpoints/distros/conda.txt b/build/pkgs/ratpoints/distros/conda.txt
-deleted file mode 100644
-index e137758627..0000000000
---- a/build/pkgs/ratpoints/distros/conda.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--ratpoints
-diff --git a/build/pkgs/ratpoints/distros/debian.txt b/build/pkgs/ratpoints/distros/debian.txt
-deleted file mode 100644
-index dabd28d624..0000000000
---- a/build/pkgs/ratpoints/distros/debian.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--libratpoints-dev
-diff --git a/build/pkgs/ratpoints/distros/nix.txt b/build/pkgs/ratpoints/distros/nix.txt
-deleted file mode 100644
-index e137758627..0000000000
---- a/build/pkgs/ratpoints/distros/nix.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--ratpoints
-diff --git a/build/pkgs/ratpoints/distros/repology.txt b/build/pkgs/ratpoints/distros/repology.txt
-deleted file mode 100644
-index e137758627..0000000000
---- a/build/pkgs/ratpoints/distros/repology.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--ratpoints
-diff --git a/build/pkgs/ratpoints/package-version.txt b/build/pkgs/ratpoints/package-version.txt
-deleted file mode 100644
-index efed46a7bd..0000000000
---- a/build/pkgs/ratpoints/package-version.txt
-+++ /dev/null
-@@ -1 +0,0 @@
--2.1.3.p5
-diff --git a/build/pkgs/ratpoints/patches/Makefile.patch b/build/pkgs/ratpoints/patches/Makefile.patch
-deleted file mode 100644
-index 093d7c0018..0000000000
---- a/build/pkgs/ratpoints/patches/Makefile.patch
-+++ /dev/null
-@@ -1,37 +0,0 @@
----- src/Makefile	2009-10-01 01:08:54.000000000 +0200
--+++ patches/Makefile	2012-03-17 13:57:33.026315142 +0100
--@@ -21,11 +21,11 @@
-- #
-- #    Michael Stoll, September 21, 2009
-- 
---CC = gcc
--+CC ?= gcc
-- RM = rm -f
-- INSTALL = cp
-- 
---INSTALL_DIR = /usr/local
--+INSTALL_DIR ?= /usr/local
-- 
-- DISTFILES = Makefile ratpoints.h rp-private.h primes.h \
--             gen_find_points_h.c gen_init_sieve_h.c \
--@@ -47,14 +47,14 @@
-- 	diff -q testbase rptest.out
-- 
-- install-bin: ratpoints
---	${INSTALL} ratpoints ${INSTALL_DIR}/bin/
---	chmod 755 ${INSTALL_DIR}/bin/ratpoints
--+	${INSTALL} ratpoints "${INSTALL_DIR}/bin/"
--+	chmod 755 "${INSTALL_DIR}/bin/ratpoints"
-- 
-- install-lib: ratpoints.h libratpoints.a
---	${INSTALL} ratpoints.h ${INSTALL_DIR}/include/
---	chmod 644 ${INSTALL_DIR}/include/ratpoints.h
---	${INSTALL} libratpoints.a ${INSTALL_DIR}/lib/
---	chmod 644 ${INSTALL_DIR}/lib/libratpoints.a
--+	${INSTALL} ratpoints.h "${INSTALL_DIR}/include/"
--+	chmod 644 "${INSTALL_DIR}/include/ratpoints.h"
--+	${INSTALL} libratpoints.a "${INSTALL_DIR}/lib/"
--+	chmod 644 "${INSTALL_DIR}/lib/libratpoints.a"
-- 
-- install: install-bin install-lib
-- 
-diff --git a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch b/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
-deleted file mode 100644
-index 664198c4de..0000000000
---- a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch
-+++ /dev/null
-@@ -1,194 +0,0 @@
--diff --git a/rp-private.h b/rp-private.h
--index b4c7dad..0c7193e 100644
----- a/rp-private.h
--+++ b/rp-private.h
--@@ -36,7 +36,7 @@
-- #define LONG_SHIFT ((LONG_LENGTH == 16) ? 4 : \
--                     (LONG_LENGTH == 32) ? 5 : \
-- 		    (LONG_LENGTH == 64) ? 6 : 0)
---#define LONG_MASK (~(-1L<<LONG_SHIFT))
--+#define LONG_MASK (~(-(1L<<LONG_SHIFT)))
-- 
-- /* Check if SSE instructions can be used.
--    We assume that one SSE word of 128 bit is two long's,
--diff --git a/sturm.c b/sturm.c
--index c78d7c6..5fd2cf5 100644
----- a/sturm.c
--+++ b/sturm.c
--@@ -27,7 +27,6 @@
--  ***********************************************************************/
-- 
-- #include "ratpoints.h"
---
-- /**************************************************************************
--  * Arguments of _ratpoints_compute_sturm() : (from the args argument)     *
--  *                                                                        *
--@@ -53,7 +52,7 @@
-- /* A helper function: evaluate the polynomial in cofs[] of given degree
--   at num/2^denexp and return the sign. */
-- 
---static long eval_sign(ratpoints_args *args, mpz_t *cofs, long degree,
--+static long eval_sign(const ratpoints_args *args, const mpz_t *cofs, long degree,
--                       long num, long denexp)
-- {
--   long n, e, s;
--@@ -70,11 +69,80 @@ static long eval_sign(ratpoints_args *args, mpz_t *cofs, long degree,
--   return(s);
-- }
-- 
--+static const    long max = (long)(((unsigned long)(-1))>>1);
--+static const    long min = (long)(-(((unsigned long)(-1))>>1));
--+    /* recursive helper function */
--+static void iterate(long nl, long nr, long del, long der, long cleft, long cright,
--+                 long sl, long sr, long depth,
--+		 ratpoints_interval **iptr, const ratpoints_interval *ivlo,
--+		 const ratpoints_args *args, const long k, const long sturm_degs[],
--+                 const mpz_t sturm[][args->degree + 1])
--+    { /* nl/2^del, nr/2^der : interval left/right endpoints,
--+         cleft, cright: sign change counts at endpoints,
--+         sl, sr: signs at endpoints,
--+         depth: iteration depth */
--+     long iter = args->sturm;
--+      if(cleft == cright && sl < 0) { return; }
--+         /* here we know the polynomial is negative on the interval */
--+      if((cleft == cright && sl > 0) || depth >= iter)
--+      /* we have to add/extend an interval if we either know that
--+         the polynomial is positive on the interval (first condition)
--+         or the maximal iteration depth has been reached (second condition) */
--+      { double l = ((double)nl)/((double)(1<<del));
--+        double u = ((double)nr)/((double)(1<<der));
--+        if(*iptr == ivlo)
--+        { (*iptr)->low = l; (*iptr)->up  = u; (*iptr)++; }
--+        else
--+        { if(((*iptr)-1)->up == l) /* extend interval */
--+          { ((*iptr)-1)->up = u; }
--+          else /* new interval */
--+          { (*iptr)->low = l; (*iptr)->up  = u; (*iptr)++; }
--+        }
--+        return;
--+      }
--+      /* now we must split the interval and evaluate the sturm sequence
--+         at the midpoint */
--+      { long nm, dem, s0, s1, s2, s, cmid = 0, n;
--+        if(nl == min)
--+        { if(nr == max) { nm = 0; dem = 0; }
--+          else { nm = (nr == 0) ? -1 : 2*nr; dem = 0; }
--+        }
--+        else
--+        { if(nr == max) { nm = (nl == 0) ? 1 : 2*nl; dem = 0; }
--+          else /* "normal" case */
--+          { if(del == der) /* then both are zero */
--+            { if(((nl+nr) & 1) == 0) { nm = (nl+nr)>>1; dem = 0; }
--+              else { nm = nl+nr; dem = 1; }
--+            }
--+            else /* here one de* is greater */
--+            { if(del > der) { nm = nl + (nr<<(del-der)); dem = del+1; }
--+              else { nm = (nl<<(der-del)) + nr; dem = der+1; }
--+            }
--+          }
--+        }
--+        s0 = eval_sign(args, sturm[0], sturm_degs[0], nm, dem);
--+        s1 = eval_sign(args, sturm[1], sturm_degs[1], nm, dem);
--+        if(s0*s1 == -1) { cmid++; }
--+        s = (s1 == 0) ? s0 : s1;
--+        for(n = 2; n <= k; n++)
--+        { s2 = eval_sign(args, sturm[n], sturm_degs[n], nm, dem);
--+          if(s2 == -s) { cmid++; s = s2; }
--+          else if(s2 != 0) { s = s2; }
--+        }
--+        /* now recurse */
--+        iterate(nl, nm, del, dem, cleft, (s0==0) ? (cmid+1) : cmid,
--+                sl, (s0==0) ? -s1 : s0, depth+1,
--+                iptr, ivlo, args, k, sturm_degs, sturm);
--+        iterate(nm, nr, dem, der, cmid, cright,
--+                (s0==0) ? s1 : s0, sr, depth+1,
--+		iptr, ivlo, args, k, sturm_degs, sturm);
--+      }
--+    } /* end iterate() */
--+
-- long _ratpoints_compute_sturm(ratpoints_args *args)
-- { 
--   mpz_t *cofs = args->cof;
--   long degree = args->degree;
---  long iter = args->sturm; 
--   ratpoints_interval *ivlist = args->domain;
--   long num_iv = args->num_inter;
--   long n, m, k, new_num;
--@@ -165,75 +233,12 @@ long _ratpoints_compute_sturm(ratpoints_args *args)
--   /* recall: typedef struct {double low; double up;} ratpoints_interval; */
--   { ratpoints_interval ivlocal[1 + (degree>>1)];
--     ratpoints_interval *iptr = &ivlocal[0];
---    long max = (long)(((unsigned long)(-1))>>1);
---    long min = -max;
--     long num_intervals;
--     long slcf = mpz_cmp_si(cofs[degree], 0);
-- 
---    /* recursive helper function */
---    void iterate(long nl, long nr, long del, long der, long cleft, long cright,
---                 long sl, long sr, long depth)
---    { /* nl/2^del, nr/2^der : interval left/right endpoints,
---         cleft, cright: sign change counts at endpoints,
---         sl, sr: signs at endpoints,
---         depth: iteration depth */
---      if(cleft == cright && sl < 0) { return; }
---         /* here we know the polynomial is negative on the interval */
---      if((cleft == cright && sl > 0) || depth >= iter) 
---      /* we have to add/extend an interval if we either know that
---         the polynomial is positive on the interval (first condition)
---         or the maximal iteration depth has been reached (second condition) */
---      { double l = ((double)nl)/((double)(1<<del));
---        double u = ((double)nr)/((double)(1<<der));
---        if(iptr == &ivlocal[0])
---        { iptr->low = l; iptr->up  = u; iptr++; }
---        else
---        { if((iptr-1)->up == l) /* extend interval */
---          { (iptr-1)->up = u; }
---          else /* new interval */
---          { iptr->low = l; iptr->up  = u; iptr++; }
---        }
---        return; 
---      }
---      /* now we must split the interval and evaluate the sturm sequence
---         at the midpoint */
---      { long nm, dem, s0, s1, s2, s, cmid = 0, n;
---        if(nl == min)
---        { if(nr == max) { nm = 0; dem = 0; }
---          else { nm = (nr == 0) ? -1 : 2*nr; dem = 0; }
---        }
---        else
---        { if(nr == max) { nm = (nl == 0) ? 1 : 2*nl; dem = 0; } 
---          else /* "normal" case */
---          { if(del == der) /* then both are zero */
---            { if(((nl+nr) & 1) == 0) { nm = (nl+nr)>>1; dem = 0; }
---              else { nm = nl+nr; dem = 1; } 
---            }
---            else /* here one de* is greater */
---            { if(del > der) { nm = nl + (nr<<(del-der)); dem = del+1; }
---              else { nm = (nl<<(der-del)) + nr; dem = der+1; }
---            }
---          }
---        }
---        s0 = eval_sign(args, sturm[0], sturm_degs[0], nm, dem);
---        s1 = eval_sign(args, sturm[1], sturm_degs[1], nm, dem);
---        if(s0*s1 == -1) { cmid++; }
---        s = (s1 == 0) ? s0 : s1;
---        for(n = 2; n <= k; n++)
---        { s2 = eval_sign(args, sturm[n], sturm_degs[n], nm, dem);
---          if(s2 == -s) { cmid++; s = s2; }
---          else if(s2 != 0) { s = s2; }
---        }
---        /* now recurse */
---        iterate(nl, nm, del, dem, cleft, (s0==0) ? (cmid+1) : cmid, 
---                sl, (s0==0) ? -s1 : s0, depth+1);
---        iterate(nm, nr, dem, der, cmid, cright, 
---                (s0==0) ? s1 : s0, sr, depth+1);
---      }
---    } /* end iterate() */
---
--     iterate(min, max, 0, 0, count2, count1, 
---            (degree & 1) ? -slcf : slcf, slcf, 0);
--+            (degree & 1) ? -slcf : slcf, slcf, 0,
--+	    &iptr, &ivlocal[0], args, k, sturm_degs, sturm);
--     num_intervals = iptr - &ivlocal[0];
--     /* intersect with given intervals */
--     { ratpoints_interval local_copy[num_iv];
-diff --git a/build/pkgs/ratpoints/spkg-install.in b/build/pkgs/ratpoints/spkg-install.in
-deleted file mode 100644
-index b6856c4d4a..0000000000
---- a/build/pkgs/ratpoints/spkg-install.in
-+++ /dev/null
-@@ -1,46 +0,0 @@
--PRIME_SIZE=7
--
--CCFLAGS_NO_SSE="-I$SAGE_LOCAL/include -Wall -O2 -fPIC -DRATPOINTS_MAX_BITS_IN_PRIME=$PRIME_SIZE"
--CCFLAGS2="-L$SAGE_LOCAL/lib -lgmp -lm $LDFLAGS"
--CCFLAGS3="-L. -lratpoints"
--
--if [[ "$UNAME" = "Darwin" ]]; then
--    CCFLAGS1="$CCFLAGS_NO_SSE"
--    echo "Building without SSE2 instructions (MacOS X)."
--else
--    CCFLAGS1="$CCFLAGS_NO_SSE -DUSE_SSE"
--    echo "Attempting to build ratpoints making use of SSE2 instructions."
--fi
--
--# Copy CFLAGS set externally to CCFLAGS.
--CCFLAGS="$CFLAGS"
--
--export CCFLAGS1
--export CCFLAGS2
--export CCFLAGS3
--export CCFLAGS
--
--cd src/
--
--#############################
--# Build (just) the library: #
--#############################
--
--# PLEASE, don't break this again by deleting "libratpoints.a".  See trac 8267.
--if ! $MAKE libratpoints.a; then
--    [ "$UNAME" = "Darwin" ] && sdh_die "Error building ratpoints."
--    echo "Build failed. Trying without SSE2 instructions."
--    CCFLAGS1="$CCFLAGS_NO_SSE"
--    sdh_make libratpoints.a
--fi
--
--##############################################
--# Install (just) the library and its header: #
--##############################################
--
--# The following requires that the Makefile got patched;
--# otherwise one could pass 'INSTALL_DIR=...' on the 'make'
--# command line:
--export INSTALL_DIR="$SAGE_DESTDIR_LOCAL"
--mkdir -p "$INSTALL_DIR"/{lib,include}
--sdh_make install-lib
-diff --git a/build/pkgs/ratpoints/type b/build/pkgs/ratpoints/type
-deleted file mode 100644
-index a6a7b9cd72..0000000000
---- a/build/pkgs/ratpoints/type
-+++ /dev/null
-@@ -1 +0,0 @@
--standard
-diff --git a/build/pkgs/sagelib/dependencies b/build/pkgs/sagelib/dependencies
-index 9c7797b1f4..6a7d4b8132 100644
---- a/build/pkgs/sagelib/dependencies
-+++ b/build/pkgs/sagelib/dependencies
-@@ -1,4 +1,4 @@
--FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) ratpoints requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup
-+FORCE $(SCRIPTS) arb boost_cropped $(BLAS) brial cliquer cypari cysignals cython ecl eclib ecm flint libgd gap giac givaro glpk gmpy2 gsl iml jinja2 jupyter_core lcalc lrcalc libbraiding libhomfly libpng linbox m4ri m4rie memory_allocator mpc mpfi mpfr $(MP_LIBRARY) ntl numpy pari pip pkgconfig planarity ppl pplpy primesieve primecount primecountpy pycygwin $(PYTHON) requests rw sage_conf singular symmetrica zn_poly $(PCFILES) | $(PYTHON_TOOLCHAIN) sage_setup
- 
- ----------
- All lines of this file are ignored except the first.
-diff --git a/src/sage/libs/ratpoints.pxd b/src/sage/libs/ratpoints.pxd
-deleted file mode 100644
-index 67e309b109..0000000000
---- a/src/sage/libs/ratpoints.pxd
-+++ /dev/null
-@@ -1,74 +0,0 @@
--from sage.rings.integer cimport Integer
--from sage.libs.gmp.mpz cimport *
--
--cdef extern from "ratpoints.h":
--    long RATPOINTS_MAX_DEGREE
--    long RATPOINTS_ARRAY_SIZE
--    long RATPOINTS_DEFAULT_SP1
--    long RATPOINTS_DEFAULT_SP2
--    long RATPOINTS_DEFAULT_NUM_PRIMES
--    long RATPOINTS_DEFAULT_MAX_FORBIDDEN
--    long RATPOINTS_DEFAULT_STURM
--    long RATPOINTS_NON_SQUAREFREE
--    long RATPOINTS_BAD_ARGS
--
--    # for args flags:
--    long RATPOINTS_NO_CHECK # when set, do not check whether the surviving
--                            # x-coordinates give rise to rational points
--    long RATPOINTS_NO_Y # when set, only list x coordinates instead of actual points
--    long RATPOINTS_NO_REVERSE # when set, do not modify the mpz_t array
--    long RATPOINTS_NO_JACOBI # when set, prevent use of Jacobi symbol test
--    long RATPOINTS_VERBOSE # when set, print some output on what ratpoints is doing
--    # define RATPOINTS_FLAGS_INPUT_MASK \
--    # (RATPOINTS_NO_CHECK | RATPOINTS_NO_Y | RATPOINTS_NO_REVERSE | \
--    #  RATPOINTS_NO_JACOBI | RATPOINTS_VERBOSE)
--
--
--    ctypedef struct ratpoints_interval:
--        double low
--        double up
--    ctypedef struct ratpoints_args:
--        mpz_t *cof
--        long degree
--        long height
--        ratpoints_interval *domain
--        long num_inter
--        long b_low
--        long b_high
--        long sp1
--        long sp2
--        long array_size
--        long sturm
--        long num_primes
--        long max_forbidden
--        unsigned int flags
--        # from here: private data
--        # mpz_t *work
--        # void *se_buffer
--        # void *se_next
--        # void *ba_buffer
--        # void *ba_next
--        # int *int_buffer
--        # int *int_next
--        # void *sieve_list
--    long find_points(ratpoints_args*, int proc(long, long, mpz_t, void*, int*), void*)
--    void find_points_init(ratpoints_args*)
--    long find_points_work(ratpoints_args*, int proc(long, long, mpz_t, void*, int*), void*)
--    void find_points_clear(ratpoints_args*)
--
--ctypedef struct point_list:
--    long *xes
--    mpz_t *ys
--    long *zs
--    long array_size
--    long num_points
--    long max_num_points
--
--ctypedef struct info_struct_exists_only:
--    int verbose
--
--cdef int ratpoints_mpz_exists_only(mpz_t *, long, int, bint) except -1
--
--
--
--
-diff --git a/src/sage/libs/ratpoints.pyx b/src/sage/libs/ratpoints.pyx
-deleted file mode 100644
-index 257dfe3eeb..0000000000
---- a/src/sage/libs/ratpoints.pyx
-+++ /dev/null
-@@ -1,283 +0,0 @@
--# distutils: libraries = ratpoints
--r"""
--Hyperelliptic Curve Point Finding, via ratpoints (deprecated)
--
--This module is deprecated, use PARI instead::
--
--    sage: pari(EllipticCurve("389a1")).ellratpoints(4)
--    [[-2, 0], [-2, -1], [-1, 1], [-1, -2], [0, 0], [0, -1], [1, 0], [1, -1], [3, 5], [3, -6], [4, 8], [4, -9], [-3/4, 7/8], [-3/4, -15/8]]
--    sage: pari("[x^3 + x^2 - 2*x, 1]").hyperellratpoints(4)
--    [[-2, 0], [-2, -1], [-1, 1], [-1, -2], [0, 0], [0, -1], [1, 0], [1, -1], [3, 5], [3, -6], [4, 8], [4, -9], [-3/4, 7/8], [-3/4, -15/8]]
--"""
--
--from cysignals.memory cimport sig_malloc, sig_realloc, sig_free
--from cysignals.signals cimport sig_on, sig_off
--
--from sage.misc.superseded import deprecation_cython as deprecation
--deprecation(24531, "the module sage.libs.ratpoints is deprecated; use pari.ellratpoints or pari.hyperellratpoints instead")
--
--
--cdef int process(long x, long z, mpz_t y, void *info0, int *quit):
--    # ratpoints calls this function when it finds a point [x : y : z]
--    # info0 is the pointer passed to ratpoints originally
--    # if quit[0] is set to a nonzero value, ratpoints will abort immediately
--    cdef point_list *plist = <point_list *> info0
--    cdef long i
--    if plist.array_size == plist.num_points:
--        i = plist.array_size
--        plist.array_size *= 2
--        plist.xes = <long *> sig_realloc(plist.xes, plist.array_size * sizeof(long))
--        plist.ys = <mpz_t *> sig_realloc(plist.ys, plist.array_size * sizeof(mpz_t))
--        plist.zs = <long *> sig_realloc(plist.zs, plist.array_size * sizeof(long))
--        while i < plist.array_size:
--            mpz_init(plist.ys[i])
--            i += 1
--    plist.xes[plist.num_points] = x
--    mpz_set(plist.ys[plist.num_points], y)
--    plist.zs[plist.num_points] = z
--    plist.num_points += 1
--    if plist.max_num_points > 0:
--        if plist.max_num_points == plist.num_points:
--            quit[0] = -1
--    return 1 # weight for counting the points
--
--def ratpoints(list coeffs, long H, verbose=False, long max=0,
--              min_x_denom=None, max_x_denom=None, intervals=[]):
--    """
--    Access the ratpoints library to find points on the hyperelliptic curve:
--
--    `y^2 = a_n x^n + \cdots + a_1 x + a_0.`
--
--    INPUT:
--
--    - ``coeffs`` -- list of integer coefficients `a_0` , `a_1`, ..., `a_n`
--
--    - ``H`` -- the bound for the denominator and the absolute value of the
--      numerator of the `x`-coordinate
--
--    - ``verbose`` -- if ``True``, ratpoints will print comments about
--      its progress
--
--    - ``max`` -- maximum number of points to find (if 0, find all of them)
--
--    OUTPUT:
--
--    The points output by this program are points in (1, ceil(n/2), 1)-weighted
--    projective space. If n is even, then the associated homogeneous equation is
--    `y^2 = a_n x^n + \cdots + a_1 x z^{n-1} + a_0 z^n` while if n is odd, it is
--    `y^2 = a_n x^n z + \cdots + a_1 x z^n + a_0 z^{n+1}`.
--
--    EXAMPLES::
--
--        sage: from sage.libs.ratpoints import ratpoints
--        doctest:...: DeprecationWarning: the module sage.libs.ratpoints is deprecated; use pari.ellratpoints or pari.hyperellratpoints instead
--        See http://trac.sagemath.org/24531 for details.
--        sage: for x,y,z in ratpoints([1..6], 200):
--        ....:     print(-1*y^2 + 1*z^6 + 2*x*z^5 + 3*x^2*z^4 + 4*x^3*z^3 + 5*x^4*z^2 + 6*x^5*z)
--        0
--        0
--        0
--        0
--        0
--        0
--        0
--        sage: for x,y,z in ratpoints([1..5], 200):
--        ....:    print(-1*y^2 + 1*z^4 + 2*x*z^3 + 3*x^2*z^2 + 4*x^3*z + 5*x^4)
--        0
--        0
--        0
--        0
--        0
--        0
--        0
--        0
--
--        sage: for x,y,z in ratpoints([1..200], 1000):
--        ....:    print("{} {} {}".format(x,y,z))
--        1 0 0
--        0 1 1
--        0 -1 1
--        201 25353012004564588029934064107520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 200
--        201 -25353012004564588029934064107520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 200
--
--    The denominator of `x` can be restricted, for example to find
--    integral points::
--
--        sage: from sage.libs.ratpoints import ratpoints
--        sage: coeffs = [400, -112, 0, 1]
--        sage: ratpoints(coeffs, 10^6, max_x_denom=1, intervals=[[-10,0],[1000,2000]])
--        [(1, 0, 0), (-8, 28, 1), (-8, -28, 1), (-7, 29, 1), (-7, -29, 1),
--         (-4, 28, 1), (-4, -28, 1), (0, 20, 1), (0, -20, 1), (1368, 50596, 1),
--         (1368, -50596, 1), (1624, 65444, 1), (1624, -65444, 1)]
--
--        sage: ratpoints(coeffs, 1000, min_x_denom=100, max_x_denom=200)
--        [(1, 0, 0),
--        (-656, 426316, 121),
--        (-656, -426316, 121),
--        (452, 85052, 121),
--        (452, -85052, 121),
--        (988, 80036, 121),
--        (988, -80036, 121),
--        (-556, 773188, 169),
--        (-556, -773188, 169),
--        (264, 432068, 169),
--        (264, -432068, 169)]
--
--    Finding the integral points on the compact component of an elliptic curve::
--
--        sage: E = EllipticCurve([0,1,0,-35220,-1346400])
--        sage: e1, e2, e3 = E.division_polynomial(2).roots(multiplicities=False)
--        sage: coeffs = [E.a6(),E.a4(),E.a2(),1]
--        sage: ratpoints(coeffs, 1000, max_x_denom=1, intervals=[[e3,e2]])
--        [(1, 0, 0),
--        (-165, 0, 1),
--        (-162, 366, 1),
--        (-162, -366, 1),
--        (-120, 1080, 1),
--        (-120, -1080, 1),
--        (-90, 1050, 1),
--        (-90, -1050, 1),
--        (-85, 1020, 1),
--        (-85, -1020, 1),
--        (-42, 246, 1),
--        (-42, -246, 1),
--        (-40, 0, 1)]
--    """
--    cdef ratpoints_args args
--    cdef long i, total, verby
--    cdef Integer sage_int, s_x, s_y, s_z
--    cdef point_list *plist
--
--
--    verby = ~0 if verbose else 0
--
--    # Set the coefficient array:
--    coeffs = [Integer(a) for a in coeffs]
--    args.degree = len(coeffs)-1
--    args.cof = <mpz_t *> sig_malloc((args.degree+1) * sizeof(mpz_t))
--
--    # Create an array to hold the points found:
--    plist = <point_list *> sig_malloc(sizeof(point_list))
--    if max == 0:
--        plist.array_size = 64
--    else:
--        plist.array_size = max
--    plist.xes = <long *> sig_malloc(plist.array_size * sizeof(long))
--    plist.ys = <mpz_t *> sig_malloc(plist.array_size * sizeof(mpz_t))
--    for i from 0 <= i < plist.array_size:
--        mpz_init(plist.ys[i])
--    plist.zs = <long *> sig_malloc(plist.array_size * sizeof(long))
--    plist.num_points = 0
--    plist.max_num_points = max
--
--    # Set the height bound:
--    args.height = H
--
--    # Set the intervals to be searched, including any specified:
--    args.num_inter = len(intervals)
--    args.domain = <ratpoints_interval *> sig_malloc((args.num_inter + args.degree) * sizeof(ratpoints_interval))
--    for i,I in enumerate(intervals):
--        args.domain[i].low = I[0]
--        args.domain[i].up  = I[1]
--
--    # Set the minimum and maximum denominators:
--    if not min_x_denom:  min_x_denom = 1
--    if not max_x_denom:  max_x_denom = H
--    args.b_low = min_x_denom
--    args.b_high = max_x_denom
--
--    # Set the remaining arguments, whose non-default use is technical
--    # (see ratpoints documentation)
--    args.sp1 = RATPOINTS_DEFAULT_SP1
--    args.sp2 = RATPOINTS_DEFAULT_SP2
--    args.array_size = RATPOINTS_ARRAY_SIZE
--    args.sturm = RATPOINTS_DEFAULT_STURM
--    args.num_primes = RATPOINTS_DEFAULT_NUM_PRIMES
--    args.max_forbidden = RATPOINTS_DEFAULT_MAX_FORBIDDEN
--    args.flags = (RATPOINTS_VERBOSE & verby)
--
--    for i from 0 <= i <= args.degree:
--        mpz_init(args.cof[i])
--        sage_int = <Integer> coeffs[i]
--        mpz_set(args.cof[i], sage_int.value)
--
--    sig_on()
--    total = find_points(&args, process, <void *>plist)
--    sig_off()
--    if total == RATPOINTS_NON_SQUAREFREE:
--        raise RuntimeError('Polynomial must be square-free')
--    if total == RATPOINTS_BAD_ARGS:
--        raise RuntimeError('Bad arguments to ratpoints')
--
--    for i from 0 <= i <= args.degree:
--        mpz_clear(args.cof[i])
--
--    sig_free(args.cof)
--    sig_free(args.domain)
--
--    cdef list L = []
--    for i from 0 <= i < plist.num_points:
--        s_x = Integer(0)
--        s_y = Integer(0)
--        s_z = Integer(0)
--        mpz_set_si(s_x.value, plist.xes[i])
--        mpz_set(s_y.value, plist.ys[i])
--        mpz_set_si(s_z.value, plist.zs[i])
--        L.append((s_x,s_y,s_z))
--
--    for i from 0 <= i < plist.array_size:
--        mpz_clear(plist.ys[i])
--    sig_free(plist.xes)
--    sig_free(plist.ys)
--    sig_free(plist.zs)
--    sig_free(plist)
--
--    return L
--
--cdef int process_exists_only(long x, long z, mpz_t y, void *info0, int *quit):
--    cdef info_struct_exists_only *info_s = <info_struct_exists_only *>info0
--    cdef Integer YY
--    if info_s.verbose:
--        YY = Integer(0); mpz_set(YY.value, y)
--        print('Found point [ %d : %d : %d ], quitting' % (x, YY, z))
--    quit[0] = -1
--    return 1
--
--cdef int ratpoints_mpz_exists_only(mpz_t *coeffs, long H, int degree, bint verbose) except -1:
--    """
--    Direct call to ratpoints to search for existence only.
--
--    WARNING - The coefficient array will be modified by ratpoints.
--    """
--    cdef ratpoints_args args
--    cdef info_struct_exists_only info_s
--    cdef long total, verby = ~0 if verbose else 0
--    info_s.verbose = verbose
--    assert degree <= RATPOINTS_MAX_DEGREE
--    args.degree = degree
--    args.cof = coeffs
--    args.domain = <ratpoints_interval *> sig_malloc(2*args.degree * sizeof(ratpoints_interval))
--    args.height = H
--    args.num_inter = 0
--    args.b_low = 1
--    args.b_high = H
--    args.sp1 = RATPOINTS_DEFAULT_SP1
--    args.sp2 = RATPOINTS_DEFAULT_SP2
--    args.array_size = RATPOINTS_ARRAY_SIZE
--    args.sturm = RATPOINTS_DEFAULT_STURM
--    args.num_primes = RATPOINTS_DEFAULT_NUM_PRIMES
--    args.max_forbidden = RATPOINTS_DEFAULT_MAX_FORBIDDEN
--    args.flags = (RATPOINTS_VERBOSE & verby)
--    sig_on()
--    total = find_points(&args, process_exists_only, <void *>(&info_s))
--    sig_off()
--    sig_free(args.domain)
--    if total == RATPOINTS_NON_SQUAREFREE:
--        raise RuntimeError('Polynomial must be square-free')
--    if total == RATPOINTS_BAD_ARGS:
--        raise RuntimeError('Bad arguments to ratpoints')
--    return 1 if (total > 0) else 0
--
--
--
--
-diff --git a/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx b/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
-index 1cc70925fa..c2f994a650 100644
---- a/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
-+++ b/src/sage/schemes/elliptic_curves/descent_two_isogeny.pyx
-@@ -1,5 +1,3 @@
--# distutils: libraries = ratpoints
--
- r"""
- Descent on elliptic curves over `\QQ` with a 2-isogeny
- """
-diff --git a/src/sage_setup/library_order.py b/src/sage_setup/library_order.py
-index 8830d44a95..0b450b3723 100644
---- a/src/sage_setup/library_order.py
-+++ b/src/sage_setup/library_order.py
-@@ -25,7 +25,7 @@ library_order_list = aliases.get("SINGULAR_LIBRARIES", []) + [
-     "giac", "intl", "curl",
-     "ec", "ecm"
- ] + aliases.get("LINBOX_LIBRARIES", []) + aliases.get("FFLASFFPACK_LIBRARIES", []) + aliases.get("GSL_LIBRARIES", []) + [
--    "pari", "flint", "ratpoints", "ecl", "glpk", "ppl",
-+    "pari", "flint", "ecl", "glpk", "ppl",
- ] + arb_dylib_names + [
-     "mpfi", "mpfr", "mpc", "ntl", "gmp", "gmpxx",
-     "brial",
--- 
-2.34.1
-
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index e182267cdb96..97ce9a93f10d 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -33,7 +33,7 @@ _SAGE_ROOT=/usr/lib/sage-${version}
 # Skip these sage packages: they are not needed
 _spkg_skip="appnope fonttools importlib_resources pycygwin
  setuptools_scm_git_archive setuptools_wheel sphinxcontrib_websupport
- pplpy_doc vcversioner
+ pplpy_doc vcversioner ratpoints
  jmol mathjax sagenb_export thebe sagetex jupyter_jsmol rpy2 threejs"
 
 # Force use these sage packages from system
@@ -107,6 +107,8 @@ do_clean() {
 }
 
 post_patch() {
+	# these are unused and nothing else uses ratpoints spkg
+	rm src/sage/libs/ratpoints.{pyx,pxd}
 	./bootstrap
 }
 

From c2cd5110499d1e26c2164d26d56a819e4ffbeabc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Mon, 24 Jan 2022 15:44:40 -0300
Subject: [PATCH 7/9] sagemath: use --disable-doc, cleanup

---
 srcpkgs/sagemath/template | 21 +--------------------
 1 file changed, 1 insertion(+), 20 deletions(-)

diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index 97ce9a93f10d..58a64211e73e 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -5,10 +5,7 @@ revision=1
 wrksrc=sage-$version
 build_style=configure
 configure_args="--enable-build-as-root --with-system-python3
- --enable-system-site-packages"
-make_check_target=ptest
-# for now skip building docs
-make_build_target=build
+ --enable-system-site-packages --disable-doc"
 depends="giac git FlintQS zn_poly sympow
  pari-elldata-small pari-galdata pari-galpol-small pari-seadata-small
  flintlib-devel gsl-devel ntl-devel eclib-devel pari-devel mpfr-devel
@@ -24,9 +21,6 @@ checksum=dabc1a98e883c6069b59a755852bb0030395404a95d19d497c56f557c02619c2
 python_version=3
 patch_args="-F0 -Np1"
 
-build_options="debug"
-desc_option_debug="Build with debug symbols"
-
 # path where sage will be installed
 _SAGE_ROOT=/usr/lib/sage-${version}
 
@@ -95,11 +89,6 @@ post_extract() {
 	rm -rf $_SAGE_ROOT
 	mv -T $wrksrc $_SAGE_ROOT
 	ln -srfT $_SAGE_ROOT $wrksrc
-
-	mkdir -p $wrksrc/upstream
-	for u in ${_upstream}; do
-		cp "$XBPS_SRCDISTDIR/${pkgname}-${version}/${u##*[/>]}" $wrksrc/upstream
-	done
 }
 
 do_clean() {
@@ -112,14 +101,6 @@ post_patch() {
 	./bootstrap
 }
 
-pre_configure() {
-	if [ "$build_option_debug" ]; then
-		export SAGE_DEBUG=yes
-	fi
-
-	export MAKE="make -j ${XBPS_MAKEJOBS}"
-}
-
 post_configure() {
 	# we set some variables, right after configure has created sage_conf.py
 	cat <<-EOF >> pkgs/sage-conf/sage_conf.py

From 6e18d73a3b8272b370a7de82f6021de66cce5181 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Jan 2022 17:34:12 -0300
Subject: [PATCH 8/9] sagemath: dependencies not needed with --disable-doc

---
 srcpkgs/sagemath/template | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index 58a64211e73e..df96e5dfa542 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -33,9 +33,9 @@ _spkg_skip="appnope fonttools importlib_resources pycygwin
 # Force use these sage packages from system
 _spkg_system="cppy cython cysignals cypari pplpy fpylll memory_allocator
  primecountpy
- alabaster argcomplete argon2_cffi attrs babel backcall beniget bleach certifi
+ argcomplete argon2_cffi attrs backcall beniget bleach certifi
  cffi charset_normalizer cvxopt cycler dateutil debugpy decorator defusedxml
- docutils entrypoints flit_core gast gmpy2 html5lib idna imagesize
+ docutils entrypoints flit_core gast gmpy2 html5lib idna
  importlib_metadata importlib_resources ipykernel ipython ipython_genutils
  ipywidgets jedi jinja2 jsonschema jupyter_client jupyter_core
  jupyterlab_pygments kiwisolver markupsafe matplotlib matplotlib_inline mistune
@@ -43,12 +43,14 @@ _spkg_system="cppy cython cysignals cypari pplpy fpylll memory_allocator
  packaging pandocfilters parso pexpect pickleshare pillow pip pkgconfig pluggy
  ply prometheus_client prompt_toolkit ptyprocess py pybind11 pycparser pygments
  pyparsing pyrsistent pythran pytz pyzmq requests scipy send2trash setuptools
- setuptools_scm simplegeneric six snowballstemmer sphinx
- sphinxcontrib_applehelp sphinxcontrib_devhelp sphinxcontrib_htmlhelp
- sphinxcontrib_jsmath sphinxcontrib_qthelp sphinxcontrib_serializinghtml sympy
+ setuptools_scm simplegeneric six sympy
  terminado testpath texttable tomli tornado traitlets typing_extensions tzlocal
  urllib3 wcwidth webencodings wheel widgetsnbextension zipp
  linbox gap maxima"
+### Not required with --disable-doc
+#alabaster babel imagesize snowballstemmer sphinx
+#sphinxcontrib_applehelp sphinxcontrib_devhelp sphinxcontrib_htmlhelp
+#sphinxcontrib_jsmath sphinxcontrib_qthelp sphinxcontrib_serializinghtml
 
 # Databases to be used from system
 _spkg_db="combinatorial_designs conway_polynomials elliptic_curves graphs
@@ -216,13 +218,13 @@ makedepends+="
 
 # python packages for trac-29665
 _sage_python3_modules="
- python3-Babel python3-Jinja2 python3-MarkupSafe python3-Pillow
- python3-Pygments python3-Sphinx python3-alabaster python3-argcomplete
+ python3-Jinja2 python3-MarkupSafe python3-Pillow
+ python3-Pygments python3-argcomplete
  python3-argon2 python3-attrs python3-backcall python3-beniget
  python3-bleach python3-certifi python3-cffi python3-charset-normalizer
  python3-cycler python3-dateutil python3-decorator python3-defusedxml
  python3-docutils python3-entrypoints python3-flit_core python3-gast
- python3-gmpy2 python3-html5lib python3-idna python3-imagesize
+ python3-gmpy2 python3-html5lib python3-idna
  python3-importlib_metadata python3-ipython python3-ipython_genutils
  python3-ipython_ipykernel python3-jedi python3-jsonschema
  python3-jupyter_client python3-jupyter_core python3-jupyter_ipywidgets
@@ -237,10 +239,7 @@ _sage_python3_modules="
  python3-pycparser python3-pyrsistent python3-pytz python3-pyzmq
  python3-requests python3-scipy python3-send2trash python3-setuptools
  python3-setuptools_scm python3-simplegeneric python3-six
- python3-snowballstemmer python3-sphinxcontrib-applehelp
- python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp
- python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp
- python3-sphinxcontrib-serializinghtml python3-sympy python3-terminado
+ python3-sympy python3-terminado
  python3-testpath python3-texttable python3-toml python3-tomli
  python3-tornado python3-traitlets python3-typing_extensions
  python3-tzlocal python3-urllib3 python3-wcwidth python3-webencodings

From fdeaf09bf6591de4e6cdcabc689cc5058ccf143c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Tue, 25 Jan 2022 17:35:24 -0300
Subject: [PATCH 9/9] sagemath: update to 9.5.rc4.

---
 .../sagemath/patches/zzz-disable_rpath.patch  | 35 +++++++++++++++++++
 srcpkgs/sagemath/patches/zzz-shebang.patch    | 12 +++++++
 srcpkgs/sagemath/template                     |  4 +--
 3 files changed, 49 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/sagemath/patches/zzz-disable_rpath.patch
 create mode 100644 srcpkgs/sagemath/patches/zzz-shebang.patch

diff --git a/srcpkgs/sagemath/patches/zzz-disable_rpath.patch b/srcpkgs/sagemath/patches/zzz-disable_rpath.patch
new file mode 100644
index 000000000000..107fd3dce23a
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-disable_rpath.patch
@@ -0,0 +1,35 @@
+diff --git a/src/bin/sage-env b/src/bin/sage-env
+index 27edbf4cfb..0ead5789cb 100644
+--- a/src/bin/sage-env
++++ b/src/bin/sage-env
+@@ -411,14 +411,6 @@ if [ -n "$PYTHONHOME" ]; then
+     unset PYTHONHOME
+ fi
+ 
+-if [ -n "$SAGE_LOCAL" ]; then
+-    LDFLAGS="-L$SAGE_LOCAL/lib -Wl,-rpath,$SAGE_LOCAL/lib $LDFLAGS"
+-    if [ "$UNAME" = "Linux" ]; then
+-        LDFLAGS="-Wl,-rpath-link,$SAGE_LOCAL/lib $LDFLAGS"
+-    fi
+-    export LDFLAGS
+-fi
+-
+ if [ -z "$IPYTHONDIR" ]; then
+     # We hardcode a version number in the directory name. The idea is
+     # that we keep using the same version number as long as that is
+diff --git a/src/sage_setup/setenv.py b/src/sage_setup/setenv.py
+index b059a6e709..b6a9e3646c 100644
+--- a/src/sage_setup/setenv.py
++++ b/src/sage_setup/setenv.py
+@@ -30,11 +30,6 @@ def setenv():
+         _environ_prepend('PATH',         f'{SAGE_LOCAL}/bin')
+         _environ_prepend('LIBRARY_PATH', f'{SAGE_LOCAL}/lib')
+         _environ_prepend('CPATH',        f'{SAGE_LOCAL}/include')
+-        _environ_prepend('LDFLAGS',      f'-L{SAGE_LOCAL}/lib -Wl,-rpath,{SAGE_LOCAL}/lib',
+-                         separator=' ')
+-        if UNAME == 'Linux':
+-            _environ_prepend('LDFLAGS',      f'-Wl,-rpath-link,{SAGE_LOCAL}/lib',
+-                             separator=' ')
+         if Path(SAGE_VENV).resolve() != Path(SAGE_LOCAL).resolve():
+             # This condition is always true, but we are keeping it for clarity.
+             _environ_prepend('PATH',         f'{SAGE_VENV}/bin')
diff --git a/srcpkgs/sagemath/patches/zzz-shebang.patch b/srcpkgs/sagemath/patches/zzz-shebang.patch
new file mode 100644
index 000000000000..82b0c610ef66
--- /dev/null
+++ b/srcpkgs/sagemath/patches/zzz-shebang.patch
@@ -0,0 +1,12 @@
+--- a/src/setup.cfg.m4
++++ b/src/setup.cfg.m4
+@@ -25,6 +25,9 @@ classifiers =
+     Programming Language :: Python :: Implementation :: CPython
+     Topic :: Scientific/Engineering :: Mathematics
+ 
++[build]
++executable = /usr/bin/python3
++
+ [options]
+ python_requires = >=3.7, <3.11
+ install_requires =
diff --git a/srcpkgs/sagemath/template b/srcpkgs/sagemath/template
index df96e5dfa542..e5169576b95d 100644
--- a/srcpkgs/sagemath/template
+++ b/srcpkgs/sagemath/template
@@ -1,6 +1,6 @@
 # Template file for 'sagemath'
 pkgname=sagemath
-version=9.5.rc3
+version=9.5.rc4
 revision=1
 wrksrc=sage-$version
 build_style=configure
@@ -17,7 +17,7 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="GPL-3.0-only, GPL-2.0-or-later, CC-BY-SA-3.0, custom:Various free"
 homepage="http://sagemath.org/"
 distfiles="https://github.com/sagemath/sage/archive/refs/tags/$version.tar.gz"
-checksum=dabc1a98e883c6069b59a755852bb0030395404a95d19d497c56f557c02619c2
+checksum=9d5053b83648e9fac5590516a39871ac57524ab9d37102206977e0010e61bb6e
 python_version=3
 patch_args="-F0 -Np1"
 

  parent reply	other threads:[~2022-01-25 20:37 UTC|newest]

Thread overview: 250+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-11 14:12 [PR PATCH] [WIP] New package: sagemath-9.5.beta5 tornaria
2021-11-11 16:08 ` dkwo
2021-11-12  7:27 ` fosslinux
2021-11-12 20:16 ` dkwo
2021-11-12 20:22 ` dkwo
2021-11-12 20:28 ` dkwo
2021-11-12 20:37 ` dkwo
2021-11-12 22:06 ` fosslinux
2021-11-12 22:12 ` [PR REVIEW] " Duncaen
2021-11-13  1:27 ` tornaria
2021-11-13  1:30 ` tornaria
2021-11-13  1:33 ` tornaria
2021-11-13  3:14 ` [PR PATCH] [Updated] " tornaria
2021-11-13  3:18 ` tornaria
2021-11-13  8:59 ` dkwo
2021-11-13  9:02 ` dkwo
2021-11-13  9:28 ` dkwo
2021-11-13  9:36 ` dkwo
2021-11-13 10:22 ` dkwo
2021-11-13 10:48 ` dkwo
2021-11-13 10:50 ` [PR PATCH] [Updated] " tornaria
2021-11-13 10:59 ` tornaria
2021-11-13 11:05 ` tornaria
2021-11-13 11:42 ` tornaria
2021-11-13 12:30 ` dkwo
2021-11-13 13:48 ` dkwo
2021-11-13 13:50 ` dkwo
2021-11-13 13:53 ` leahneukirchen
2021-11-13 14:20 ` leahneukirchen
2021-11-13 14:22 ` leahneukirchen
2021-11-13 14:55 ` leahneukirchen
2021-11-13 14:58 ` leahneukirchen
2021-11-13 15:00 ` dkwo
2021-11-13 15:07 ` leahneukirchen
2021-11-13 15:11 ` leahneukirchen
2021-11-13 15:28 ` dkwo
2021-11-13 15:34 ` leahneukirchen
2021-11-14  4:42 ` ericonr
2021-11-14  4:43 ` ericonr
2021-11-14 14:27 ` leahneukirchen
2021-11-14 15:20 ` tornaria
2021-11-14 16:31 ` leahneukirchen
2021-11-14 21:28 ` [PR PATCH] [Updated] " tornaria
2021-11-14 21:47 ` tornaria
2021-11-15 15:58 ` leahneukirchen
2021-11-15 16:16 ` tornaria
2021-11-17  9:20 ` dkwo
2021-11-20 22:12 ` [PR PATCH] [Updated] " tornaria
2021-11-21  9:37 ` dkwo
2021-11-21 14:00 ` tornaria
2021-11-21 19:44 ` dkwo
2021-11-22 12:51 ` tornaria
2021-11-22 13:17 ` [WIP] New package: sagemath-9.5.beta7 dkwo
2021-11-22 14:30 ` [PR PATCH] [Updated] " tornaria
2021-11-22 14:35 ` tornaria
2021-11-22 14:55 ` tornaria
2021-11-22 15:22 ` tornaria
2021-11-22 15:30 ` dkwo
2021-11-22 15:30 ` dkwo
2021-11-22 15:41 ` dkwo
2021-11-22 16:30 ` dkwo
2021-11-22 16:35 ` tornaria
2021-11-22 17:09 ` dkwo
2021-11-22 17:28 ` tornaria
2021-11-22 17:52 ` dkwo
2021-11-22 23:41 ` tornaria
2021-11-23  3:22 ` [PR PATCH] [Updated] " tornaria
2021-11-23  3:25 ` tornaria
2021-11-23  9:22 ` dkwo
2021-11-23 12:16 ` tornaria
2021-11-24 19:28 ` tornaria
2021-11-25 22:41 ` tornaria
2021-11-26  3:04 ` [PR PATCH] [Updated] " tornaria
2021-11-26  3:12 ` tornaria
2021-11-26  9:30 ` dkwo
2021-11-26  9:31 ` dkwo
2021-11-26  9:33 ` dkwo
2021-11-26 13:10 ` tornaria
2021-11-27 14:08 ` dkwo
2021-11-28 12:32 ` tornaria
2021-11-28 13:42 ` tornaria
2021-11-28 13:52 ` tornaria
2021-11-28 23:21 ` [PR PATCH] [Updated] " tornaria
2021-11-28 23:27 ` tornaria
2021-11-28 23:32 ` tornaria
2021-12-02 16:38 ` dkwo
2021-12-02 16:44 ` leahneukirchen
2021-12-02 17:04 ` dkwo
2021-12-02 17:12 ` leahneukirchen
2021-12-04 15:37 ` [PR PATCH] [Updated] " tornaria
2021-12-04 15:38 ` tornaria
2021-12-04 15:47 ` tornaria
2021-12-05 10:22 ` dkwo
2021-12-10 21:28 ` dkwo
2021-12-10 21:31 ` dkwo
2021-12-11  2:29 ` ericonr
2021-12-11 17:58 ` dkwo
2021-12-13  3:13 ` [PR PATCH] [Updated] " tornaria
2021-12-13  9:25 ` dkwo
2021-12-13 13:17 ` tornaria
2021-12-13 13:28 ` dkwo
2021-12-13 15:25 ` dkwo
2021-12-13 17:10 ` tornaria
2021-12-13 17:48 ` tornaria
2021-12-13 20:34 ` dkwo
2021-12-13 21:00 ` dkwo
2021-12-13 21:13 ` dkwo
2021-12-14 17:36 ` ericonr
2021-12-15 10:41 ` dkwo
2021-12-15 14:57 ` tornaria
2021-12-15 14:59 ` tornaria
2021-12-15 15:04 ` dkwo
2021-12-15 15:19 ` dkwo
2021-12-16 23:11 ` tornaria
2021-12-17 20:08 ` dkwo
2021-12-20  2:23 ` tornaria
2021-12-20  2:35 ` [PR PATCH] [Updated] " tornaria
2021-12-23 17:18 ` [WIP] New package: sagemath-9.5.beta8 dkwo
2021-12-23 17:47 ` dkwo
2021-12-23 18:28 ` tornaria
2021-12-23 19:20 ` dkwo
2021-12-23 19:39 ` tornaria
2021-12-23 19:50 ` tornaria
2021-12-23 20:41 ` dkwo
2021-12-23 22:08 ` tornaria
2021-12-24  9:08 ` dkwo
2021-12-24 11:36 ` tornaria
2021-12-24 11:53 ` dkwo
2021-12-24 12:15 ` tornaria
2021-12-24 16:10 ` tornaria
2021-12-24 16:35 ` tornaria
2021-12-24 17:39 ` tornaria
2021-12-25  8:44 ` dkwo
2021-12-25 13:33 ` tornaria
2021-12-25 15:29 ` tornaria
2021-12-25 15:59 ` ericonr
2021-12-25 15:59 ` ericonr
2021-12-25 16:21 ` tornaria
2021-12-26  2:11 ` ericonr
2021-12-26  9:28 ` dkwo
2021-12-26 10:33 ` dkwo
2021-12-26 10:34 ` dkwo
2021-12-26 10:36 ` dkwo
2021-12-27  0:08 ` [PR PATCH] [Updated] " tornaria
2021-12-27  4:12 ` tornaria
2021-12-27 16:28 ` dkwo
2021-12-27 16:29 ` dkwo
2021-12-27 16:37 ` tornaria
2021-12-27 17:15 ` tornaria
2021-12-27 21:52 ` ericonr
2021-12-27 23:21 ` [PR PATCH] [Updated] " tornaria
2021-12-28 15:50 ` [WIP] New package: sagemath-9.5.beta9 dkwo
2021-12-28 17:37 ` tornaria
2021-12-28 18:31 ` dkwo
2021-12-28 18:55 ` dkwo
2021-12-28 21:23 ` tornaria
2021-12-28 22:08 ` tornaria
2021-12-28 22:12 ` tornaria
2021-12-28 22:15 ` tornaria
2021-12-28 23:22 ` tornaria
2021-12-29 12:37 ` dkwo
2022-01-03 20:02 ` [PR PATCH] [Updated] " tornaria
2022-01-03 20:50 ` tornaria
2022-01-04 17:52 ` dkwo
2022-01-04 17:57 ` dkwo
2022-01-04 18:14 ` tornaria
2022-01-04 18:14 ` [PR PATCH] [Closed]: " tornaria
2022-01-04 18:17 ` tornaria
2022-01-04 18:17 ` tornaria
2022-01-04 18:28 ` tornaria
2022-01-04 18:48 ` tornaria
2022-01-05  9:56 ` dkwo
2022-01-07 10:55 ` dkwo
2022-01-07 10:57 ` dkwo
2022-01-07 10:59 ` dkwo
2022-01-07 15:04 ` tornaria
2022-01-07 15:13 ` tornaria
2022-01-08 16:51 ` [PR PATCH] [Updated] " tornaria
2022-01-10  3:22 ` tornaria
2022-01-11 13:00 ` [WIP] New package: sagemath-9.5.rc0 dkwo
2022-01-11 13:39 ` tornaria
2022-01-11 14:39 ` tornaria
2022-01-12 23:43 ` [PR PATCH] [Updated] " tornaria
2022-01-12 23:47 ` tornaria
2022-01-13  2:34 ` tornaria
2022-01-13 18:50 ` [PR PATCH] [Updated] " tornaria
2022-01-13 19:11 ` tornaria
2022-01-14 14:34 ` [PR PATCH] [Updated] " tornaria
2022-01-14 14:36 ` tornaria
2022-01-14 14:48 ` tornaria
2022-01-14 15:21 ` [PR PATCH] [Updated] [WIP] New package: sagemath-9.5.rc1 tornaria
2022-01-14 15:24 ` tornaria
2022-01-14 15:27 ` leahneukirchen
2022-01-14 15:31 ` tornaria
2022-01-14 16:35 ` leahneukirchen
2022-01-14 16:57 ` tornaria
2022-01-14 17:04 ` leahneukirchen
2022-01-14 17:39 ` leahneukirchen
2022-01-15  2:13 ` [PR PATCH] [Updated] " tornaria
2022-01-15  4:48 ` tornaria
2022-01-15 13:35 ` tornaria
2022-01-15 13:57 ` tornaria
2022-01-15 17:55 ` dkwo
2022-01-15 18:23 ` tornaria
2022-01-15 18:24 ` tornaria
2022-01-15 18:27 ` [PR PATCH] [Updated] " tornaria
2022-01-15 18:31 ` tornaria
2022-01-17  5:10 ` [PR PATCH] [Updated] " tornaria
2022-01-17  5:17 ` [WIP] New package: sagemath-9.5.rc2 tornaria
2022-01-17  5:31 ` tornaria
2022-01-17  5:54 ` [PR PATCH] [Updated] " tornaria
2022-01-17  5:55 ` tornaria
2022-01-17  9:37 ` dkwo
2022-01-17 10:42 ` tornaria
2022-01-17 10:50 ` dkwo
2022-01-17 13:07 ` [PR PATCH] [Updated] " tornaria
2022-01-17 16:20 ` dkwo
2022-01-17 17:05 ` dkwo
2022-01-17 17:17 ` tornaria
2022-01-17 17:24 ` dkwo
2022-01-18  1:46 ` [PR PATCH] [Updated] " tornaria
2022-01-18  1:47 ` tornaria
2022-01-18  9:05 ` dkwo
2022-01-18  9:56 ` [PR PATCH] [Updated] " tornaria
2022-01-18 21:55 ` tornaria
2022-01-19 11:01 ` tornaria
2022-01-19 11:09 ` tornaria
2022-01-19 13:37 ` tornaria
2022-01-19 16:51 ` [PR PATCH] [Updated] " tornaria
2022-01-19 17:08 ` tornaria
2022-01-19 17:22 ` dkwo
2022-01-20 13:17 ` [WIP] New package: sagemath-9.5.rc3 dkwo
2022-01-20 15:41 ` tornaria
2022-01-20 15:53 ` dkwo
2022-01-20 16:04 ` dkwo
2022-01-20 16:04 ` dkwo
2022-01-25 20:37 ` tornaria [this message]
2022-01-25 21:27 ` [WIP] New package: sagemath-9.5.rc4 leahneukirchen
2022-01-25 23:19 ` tornaria
2022-01-26 13:07 ` [PR PATCH] [Updated] " tornaria
2022-01-30 22:13 ` tornaria
2022-01-30 22:41 ` [WIP] New package: sagemath-9.5 tornaria
2022-01-31  9:01 ` dkwo
2022-01-31  9:40 ` dkwo
2022-02-02 21:03 ` [PR PATCH] [Updated] " tornaria
2022-02-02 21:41 ` tornaria
2022-02-03  0:31 ` tornaria
2022-02-03  2:48 ` tornaria
2022-02-03 13:31 ` [PR PATCH] [Merged]: " leahneukirchen
2022-02-03 15:41 ` Vindaar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220125203729.JB-tqd1itjaZHy85ewsjqvF_No4pYk7MR9vnzl2PUpA@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).