Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Merge tag '9.5.beta7' into t/29039/pip_installable_package_sage_boots…
Browse files Browse the repository at this point in the history
…trap

SageMath version 9.5.beta7, Release Date: 2021-11-18
  • Loading branch information
mkoeppe committed Nov 19, 2021
2 parents 0026892 + cc60cfe commit 2a4a323
Show file tree
Hide file tree
Showing 583 changed files with 9,788 additions and 6,310 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# This list is different from the one in tox.yml:
# Trac #31526 switches gcc 4.x-based distributions to using the gcc_spkg configuration factor
# Trac #32281 removes gcc 4.x-based distributions whose binutils are unusable
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_packages_factor: [maximal]
targets_pattern: [0-g, h-o, p, q-z]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tox-optional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# This list is different from the one in tox.yml:
# Trac #31526 switches gcc 4.x-based distributions to using the gcc_spkg configuration factor
# Trac #32281 removes gcc 4.x-based distributions whose binutils are unusable
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_system_factor: [ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, debian-jessie-gcc_spkg, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, centos-7-gcc_spkg, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386-gcc_spkg]
tox_packages_factor: [maximal]
targets_pattern: [0-g, h-o, p, q-z]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: false
max-parallel: 20
matrix:
tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, ubuntu-impish, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, linuxmint-20.2, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, fedora-35, centos-7, centos-8, gentoo, gentoo-python3.7, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386]
tox_system_factor: [ubuntu-trusty, ubuntu-xenial, ubuntu-bionic, ubuntu-focal, ubuntu-groovy, ubuntu-hirsute, ubuntu-impish, debian-jessie, debian-stretch, debian-buster, debian-bullseye, debian-sid, linuxmint-17, linuxmint-18, linuxmint-19, linuxmint-19.3, linuxmint-20.1, linuxmint-20.2, fedora-26, fedora-27, fedora-28, fedora-29, fedora-30, fedora-31, fedora-32, fedora-33, fedora-34, fedora-35, centos-7, centos-8, gentoo-python3.9, gentoo-python3.10, archlinux-latest, opensuse-15, opensuse-15.3, opensuse-tumbleweed, slackware-14.2, conda-forge, ubuntu-bionic-i386, manylinux-2_24-i686, debian-buster-i386, centos-7-i386]
tox_packages_factor: [minimal, standard]
env:
TOX_ENV: docker-${{ matrix.tox_system_factor }}-${{ matrix.tox_packages_factor }}
Expand Down
4 changes: 2 additions & 2 deletions .homebrew-build-env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# that activate keg-only homebrew package installations

HOMEBREW=`brew --prefix` || return 1
for l in gettext bzip2 texinfo; do
for l in gettext bzip2 texinfo polymake; do
if [ -d "$HOMEBREW/opt/$l/bin" ]; then
PATH="$HOMEBREW/opt/$l/bin:$PATH"
fi
Expand All @@ -23,7 +23,7 @@ export PKG_CONFIG_PATH
LIBRARY_PATH="$HOMEBREW/lib$LIBRARY_PATH"
[ -z "$CPATH" ] || CPATH=":${CPATH}"
CPATH="$HOMEBREW/include$CPATH"
for l in readline bzip2 ntl; do
for l in readline bzip2 ntl polymake; do
if [ -d "$HOMEBREW/opt/$l/lib" ]; then
LIBRARY_PATH="$HOMEBREW/opt/$l/lib:$LIBRARY_PATH"
fi
Expand Down
8 changes: 4 additions & 4 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"description": "Mirror of the Sage https://sagemath.org/ source tree",
"license": "other-open",
"title": "sagemath/sage: 9.5.beta5",
"version": "9.5.beta5",
"title": "sagemath/sage: 9.5.beta7",
"version": "9.5.beta7",
"upload_type": "software",
"publication_date": "2021-10-28",
"publication_date": "2021-11-18",
"creators": [
{
"affiliation": "SageMath.org",
Expand All @@ -15,7 +15,7 @@
"related_identifiers": [
{
"scheme": "url",
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta5",
"identifier": "https://github.com/sagemath/sage/tree/9.5.beta7",
"relation": "isSupplementTo"
},
{
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SageMath version 9.5.beta5, Release Date: 2021-10-28
SageMath version 9.5.beta7, Release Date: 2021-11-18
14 changes: 13 additions & 1 deletion build/bin/sage-bootstrap-python
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,19 @@ if [ "$LC_ALL" = "C" -o "$LANG" = "C" -o "$LC_CTYPE" = "C" ]; then
export LANG
fi

PYTHONS="python python3 python3.8 python3.7 python2.7 python3.6 python2"
PYTHONS="python python3 python3.10 python3.9 python3.8 python3.7 python2.7 python3.6 python2"
# Trac #32405: Prefer a Python that provides ssl with SNI, which allows developers
# to download from upstream URLs (configure --enable-download-from-upstream-url),
# in particular from PyPI, which requires SNI.
for PY in $PYTHONS; do
PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)"
if [ -n "$PYTHON" ]; then
if "$PYTHON" -c "import argparse; import urllib; from hashlib import sha1; from ssl import HAS_SNI; assert HAS_SNI; from os import listdir; listdir(\"$(pwd)\");" 2>/dev/null; then
exec "$PYTHON" "$@"
fi
fi
done
# Second round, no ssl/SNI test.
for PY in $PYTHONS; do
PYTHON="$(PATH="$SAGE_ORIG_PATH" command -v $PY)"
if [ -n "$PYTHON" ]; then
Expand Down
40 changes: 34 additions & 6 deletions build/bin/sage-dist-helpers
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@
# be given as arguments. If $SAGE_DESTDIR is not set then the command is
# run with $SAGE_SUDO, if set.
#
# - sdh_pip_install [...]
# - sdh_pip_install [--no-deps] [--build-isolation] [...]
#
# Runs `pip install` with the given arguments, as well as additional
# default arguments used for installing packages into Sage with pip.
# Currently this is just a wrapper around the `sage-pip-install` command.
# Builds a wheel using `pip wheel` with the given options [...], then installs
# the wheel. Unless the special option --build-isolation is given,
# the wheel is built using the option --no-build-isolation.
# If the special option --no-deps is given, it is passed to pip install.
# If $SAGE_DESTDIR is not set then the command is run with $SAGE_SUDO, if
# set.
#
Expand Down Expand Up @@ -240,10 +241,37 @@ sdh_pip_install() {
echo "Installing $PKG_NAME"
mkdir -p dist
rm -f dist/*.whl
python3 -m pip wheel --use-feature=in-tree-build --wheel-dir=dist --no-binary :all: --verbose --no-deps --no-index --isolated --no-build-isolation --ignore-requires-python "$@" || \
install_options=""
# pip has --no-build-isolation but no flag that turns the default back on...
build_isolation_option="--no-build-isolation --no-binary :all:"
while [ $# -gt 0 ]; do
case "$1" in
--build-isolation)
# If a package requests build isolation, we allow it to provision
# its build environment using the stored wheels.
# We pass --find-links and remove the --no-binary option.
# The SPKG needs to declare "setuptools_wheel" as a dependency.
build_isolation_option="--find-links=$SAGE_SPKG_WHEELS"
;;
--no-deps)
install_options="$install_options $1"
;;
*)
break
;;
esac
shift
done
python3 -m pip wheel --use-feature=in-tree-build --wheel-dir=dist --verbose --no-deps --no-index --isolated --ignore-requires-python $build_isolation_option "$@" || \
sdh_die "Error building a wheel for $PKG_NAME"

sdh_store_and_pip_install_wheel .
sdh_store_and_pip_install_wheel $install_options .
}

sdh_pip_editable_install() {
echo "Installing $PKG_NAME (editable mode)"
python3 -m pip install --verbose --no-deps --no-index --no-build-isolation --isolated --editable "$@" || \
sdh_die "Error installing $PKG_NAME"
}

sdh_store_wheel() {
Expand Down
4 changes: 2 additions & 2 deletions build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -498,15 +498,14 @@ export PKG_NAME="$PKG_NAME"
export PKG_BASE="$PKG_BASE"
export PKG_VER="$PKG_VER"
for lib in "\$SAGE_ROOT/build/bin/sage-dist-helpers" "\$SAGE_SRC/bin/sage-env-config" "\$SAGE_SRC/bin/sage-env" "\$SAGE_ROOT/build/bin/sage-build-env-config" "\$SAGE_ROOT/build/bin/sage-build-env"; do
for lib in "\$SAGE_ROOT/build/bin/sage-dist-helpers" "\$SAGE_SRC/bin/sage-src-env-config" "\$SAGE_SRC/bin/sage-env-config" "\$SAGE_SRC/bin/sage-env" "\$SAGE_ROOT/build/bin/sage-build-env-config" "\$SAGE_ROOT/build/bin/sage-build-env"; do
source "\$lib"
if [ \$? -ne 0 ]; then
echo >&2 "Error: failed to source \$lib"
echo >&2 "Is \$SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
done
export PATH="$SAGE_INST_LOCAL/bin:$PATH"
export SAGE_INST_LOCAL="$SAGE_INST_LOCAL"
Expand Down Expand Up @@ -773,6 +772,7 @@ if [ "$SAGE_CHECK" = "yes" -o "$SAGE_CHECK" = "warn" ]; then
if [ $? -ne 0 ]; then
TEST_SUITE_RESULT="failed"
if [ "$SAGE_CHECK" = "warn" ]; then
# The following warning message must be consistent with SAGE_ROOT/build/make/install (see trac:32781)
error_msg "Warning: Failures testing package $PKG_NAME (ignored)" "make check"
else
error_msg "Error testing package $PKG_NAME" "make check"
Expand Down
44 changes: 23 additions & 21 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ SAGE_SPKG = sage-spkg
# These are added to SAGE_SPKG in the call
SAGE_SPKG_OPTIONS = @SAGE_SPKG_OPTIONS@

# Where the Sage distribution installs documentation.
# set to empty if --disable-doc is used
SAGE_DOCS = $(SAGE_LOCAL)

# Where the Sage distribution installs Python packages.
# This can be overridden by 'make SAGE_VENV=/some/venv'.
SAGE_VENV = @SAGE_VENV@
Expand Down Expand Up @@ -142,7 +146,7 @@ SCRIPT_PACKAGES = @SAGE_SCRIPT_PACKAGES@
# inst_git = $(INST)/.dummy

$(foreach pkgname,$(BUILT_PACKAGES),\
$(eval inst_$(pkgname) = $(foreach tree, $(trees_$(pkgname)), $($(tree))/$(SPKG_INST_RELDIR)/$(pkgname)-$(vers_$(pkgname)))))
$(eval inst_$(pkgname) = $(foreach tree, $(trees_$(pkgname)), $(and $($(tree)), $($(tree))/$(SPKG_INST_RELDIR)/$(pkgname)-$(vers_$(pkgname))))))
$(foreach pkgname,$(DUMMY_PACKAGES),\
$(eval inst_$(pkgname) = $(SAGE_LOCAL)/$(SPKG_INST_RELDIR)/.dummy))

Expand All @@ -157,7 +161,7 @@ $(SAGE_LOCAL)/$(SPKG_INST_RELDIR)/.dummy:


# Filtered by installation tree
$(foreach tree,SAGE_LOCAL SAGE_VENV, \
$(foreach tree,SAGE_LOCAL SAGE_VENV SAGE_DOCS, \
$(eval $(tree)_INSTALLED_PACKAGE_INSTS = \
$(foreach pkgname,$(INSTALLED_PACKAGES), \
$(if $(findstring $(tree),$(trees_$(pkgname))), \
Expand Down Expand Up @@ -228,10 +232,10 @@ build-start: all-build
base-toolchain: _clean-broken-gcc base
+$(MAKE_REC) toolchain

# All targets except for the base packages
# All targets except for the base packages and except the documentation
all-sage: \
$(INSTALLED_PACKAGE_INSTS) \
$(UNINSTALLED_PACKAGES_CLEANS)
$(SAGE_LOCAL_INSTALLED_PACKAGE_INSTS) $(SAGE_LOCAL_UNINSTALLED_PACKAGES_CLEANS) \
$(SAGE_VENV_INSTALLED_PACKAGE_INSTS) $(SAGE_VENV_UNINSTALLED_PACKAGES_CLEANS)

# Same but filtered by installation trees:
all-build-local: toolchain-deps
Expand All @@ -244,6 +248,11 @@ all-build-venv: toolchain-deps

all-sage-venv: $(SAGE_VENV_INSTALLED_PACKAGE_INSTS) $(SAGE_VENV_UNINSTALLED_PACKAGES_CLEANS)

all-build-docs: toolchain-deps
+$(MAKE_REC) all-sage-docs

all-sage-docs: $(SAGE_DOCS_INSTALLED_PACKAGE_INSTS) $(SAGE_DOCS_UNINSTALLED_PACKAGES_CLEANS)

# Download all packages which should be inside an sdist tarball (the -B
# option to make forces all targets to be built unconditionally)
download-for-sdist:
Expand Down Expand Up @@ -315,35 +324,28 @@ base: $(inst_patch) $(inst_pkgconf)
#
# $ ./sage --docbuild -H

# Building the documentation has many dependencies, because all
# documented modules are imported and because we use matplotlib to
# produce plots.
DOC_DEPENDENCIES = sagelib sage_docbuild $(inst_sphinx) \
| $(SAGERUNTIME) $(inst_maxima) $(inst_networkx) $(inst_scipy) $(inst_sympy) \
$(inst_matplotlib) $(inst_pillow) $(inst_mathjax) $(inst_mpmath) \
$(inst_ipykernel) $(inst_jupyter_client) $(inst_conway_polynomials) \
$(inst_tachyon) $(inst_jmol) $(inst_thebe) $(inst_ipywidgets)

doc: doc-html
doc: $(SAGE_DOCS_INSTALLED_PACKAGE_INSTS) $(SAGE_DOCS_UNINSTALLED_PACKAGES_CLEANS)

doc-html: $(DOC_DEPENDENCIES)
$(AM_V_at)cd "$(SAGE_SRC)/doc" && sage-logger -p "$(MAKE) doc-html" $(SAGE_ROOT)/logs/dochtml.log
# All doc-building is delegated to the script packages
# sagemath_doc_html, sagemath_doc_pdf
doc-html: sagemath_doc_html

# 'doc-html-no-plot': build docs without building the graphics coming
# from the '.. plot' directive, in case you want to save a few
# megabytes of disk space. 'doc-clean' is a prerequisite because the
# presence of graphics is cached in src/doc/output.
doc-html-no-plot: doc-clean
$(AM_V_at)sage-logger -p "$(MAKE) SAGE_DOCBUILD_OPTS=\"$(SAGE_DOCBUILD_OPTS) --no-plot\" doc-html" $(SAGE_ROOT)/logs/dochtml.log
+$(MAKE_REC) SAGE_DOCBUILD_OPTS="$(SAGE_DOCBUILD_OPTS) --no-plot" doc-html

# Using mathjax is actually the default, but this target can be used
# to override an environment setting of SAGE_DOC_MATHJAX=no
doc-html-mathjax:
$(AM_V_at)sage-logger -p "$(MAKE) SAGE_DOCBUILD_OPTS=\"$(SAGE_DOCBUILD_OPTS) -j\" doc-html" $(SAGE_ROOT)/logs/dochtml.log
+$(MAKE_REC) SAGE_DOCBUILD_OPTS="$(SAGE_DOCBUILD_OPTS) -j" doc-html

# Keep target 'doc-html-jsmath' for backwards compatibility.
doc-html-jsmath: doc-html-mathjax

doc-pdf: $(DOC_DEPENDENCIES)
$(AM_V_at)cd "$(SAGE_SRC)/doc" && sage-logger -p "$(MAKE) doc-pdf" $(SAGE_ROOT)/logs/docpdf.log
doc-pdf: sagemath_doc_pdf

doc-clean: doc-src-clean doc-output-clean

Expand Down
3 changes: 2 additions & 1 deletion build/make/install
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ EOF

elif [ "$SAGE_CHECK" = "warn" ]; then
echo "SAGE_CHECK=warn, so scanning the log files. This may take a few seconds."
warnings=`look_for_errors "$SAGE_LOGS/*.log" 20 "^Warning: Error testing" package`
# The following warning message must be consistent with SAGE_ROOT/build/bin/sage-spkg (see trac:32781)
warnings=`look_for_errors "$SAGE_LOGS/*.log" 20 "^Warning: Failures testing package" package`
if [ -n "$warnings" ]; then
cat >&2 <<EOF
***************************************************************
Expand Down
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=ab6592f2216c48049bbbcfb3a42c3e157f44d917
md5=fc3a50e0f47802e55969eade44648af4
cksum=3704729867
sha1=d9fff88398cb15f16c7dcb3b6180163bb206a699
md5=585dece094717b58049a2bfaf9811162
cksum=3669459096
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c5a87834e7e2939b878a5134cd240e6c712bd573
cdb3614b34926cee3c4cc918313678d3deea4e8d
6 changes: 3 additions & 3 deletions build/pkgs/database_knotinfo/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=database_knotinfo-VERSION.tar.gz
sha1=549e3162b2ba6942dede30366072d10e26643f54
md5=c6487321cd2e0fd6b9f9ee7bdfa19993
cksum=2255768788
sha1=187e6b5ee2a935e3a50bc7648b181dfc7cb7bfa2
md5=90822e09a1a84c8dbb84e20773c367f1
cksum=1855405219
upstream_url=https://pypi.io/packages/source/d/database_knotinfo/database_knotinfo-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/database_knotinfo/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021.9.1
2021.10.1
3 changes: 2 additions & 1 deletion build/pkgs/flit_core/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cd src
sdh_pip_install .
# We use --no-deps to suppress a warning regarding tomli.
sdh_pip_install --no-deps .
15 changes: 15 additions & 0 deletions build/pkgs/gengetopt/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
gengetopt: getopt_long parser generator
===========================================

Description
-----------

GNU Gengetopt converts a textual description of your program's
arguments and options into a getopt_long() parser in C (or C++).

Website: https://www.gnu.org/software/gengetopt/


License
-------
GPL-3+ (https://www.gnu.org/software/gengetopt/LICENSE)
5 changes: 5 additions & 0 deletions build/pkgs/gengetopt/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=gengetopt-VERSION.tar.xz
sha1=0d5979af61a7be309898608803056aeebe3a3657
md5=ea165d618640dbdecb42ae4491337965
cksum=3423561524
upstream_url=ftp://ftp.gnu.org/gnu/gengetopt/gengetopt-VERSION.tar.xz
7 changes: 7 additions & 0 deletions build/pkgs/gengetopt/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
| xz

xz is needed for unpacking the tarball when sage-bootstrap-python is ancient

----------
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.
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/cygwin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/debian.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/fedora.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/gentoo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dev-util/gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/nix.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/repology.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/distros/void.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gengetopt
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.23
11 changes: 11 additions & 0 deletions build/pkgs/gengetopt/spkg-build.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
cd src
sdh_configure

# Don't run "make" at the top-level because the documentation build
# requires the "makeinfo" program. This is a bug that should be fixed
# in gengetopt-2.24. First build gnulib, then build gengetopt.
cd gl
sdh_make
cd ../src
sdh_make
cd ..
8 changes: 8 additions & 0 deletions build/pkgs/gengetopt/spkg-check.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cd src

# See spkg-build.in for an explanation of this hack.
cd src
sdh_make_check
cd ../tests
sdh_make_check
cd ..
4 changes: 4 additions & 0 deletions build/pkgs/gengetopt/spkg-configure.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SAGE_SPKG_CONFIGURE([gengetopt], [
AC_PATH_PROG(GENGETOPT, gengetopt)
AS_IF([test -z "${GENGETOPT}"], [sage_spkg_install_gengetopt=yes])
])
7 changes: 7 additions & 0 deletions build/pkgs/gengetopt/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cd src

# Only run "make install" in the src directory to avoid the
# documentation, which currently (due to a bug) tries to invoke the
# "makeinfo" program.
cd src
sdh_make_install
1 change: 1 addition & 0 deletions build/pkgs/gengetopt/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard

0 comments on commit 2a4a323

Please sign in to comment.