|
20 | 20 | # platform, or the dependency on them is satisfied by an existing |
21 | 21 | # system package. |
22 | 22 | # |
23 | | -# - SAGE_STANDARD_PACKAGES - lists the names of all packages that have |
24 | | -# the "standard" type. All "standard" packages are installed by |
25 | | -# default (if they are listed in SAGE_DUMMY_PACKAGES "installed" in |
26 | | -# this case is a no-op). |
| 23 | +# - SAGE_OPTIONAL_INSTALLED_PACKAGES - lists the names of packages with the |
| 24 | +# "standard", "optional", or "experimental" type that should be installed. |
27 | 25 | # |
28 | | -# - SAGE_OPTIONAL_PACKAGES - lists the names of packages with the |
29 | | -# "optional" type that should be installed. |
| 26 | +# - SAGE_OPTIONAL_CLEANED_PACKAGES - lists the names of packages with the |
| 27 | +# "standard", "optional", or "experimental" type that should be installed. |
30 | 28 | # |
31 | 29 | # - SAGE_SDIST_PACKAGES - lists the names of all packages whose sources |
32 | 30 | # need to be downloaded to be included in the source distribution. |
@@ -107,9 +105,6 @@ SAGE_BUILT_PACKAGES='' |
107 | 105 | # underlying system. |
108 | 106 | SAGE_DUMMY_PACKAGES='' |
109 | 107 |
|
110 | | -# Standard packages |
111 | | -SAGE_STANDARD_PACKAGES='' |
112 | | -
|
113 | 108 | # List of currently installed and to-be-installed optional packages - filled in SAGE_SPKG_ENABLE |
114 | 109 | #SAGE_OPTIONAL_INSTALLED_PACKAGES |
115 | 110 | # List of optional packages to be uninstalled - filled in SAGE_SPKG_ENABLE |
@@ -155,26 +150,24 @@ for DIR in $SAGE_ROOT/build/pkgs/*; do |
155 | 150 | base) |
156 | 151 | message="came preinstalled with the SageMath tarball" |
157 | 152 | ;; |
158 | | - standard) |
159 | | - SAGE_STANDARD_PACKAGES="${SAGE_STANDARD_PACKAGES} \\$(printf '\n ')${SPKG_NAME}" |
160 | | - in_sdist=yes |
161 | | - message="will be installed as an SPKG" |
162 | | - ;; |
163 | | - optional|experimental) |
| 153 | + standard|optional|experimental) |
164 | 154 | AS_VAR_IF([SAGE_ENABLE_]${SPKG_NAME}, [yes], [ |
165 | 155 | message="$SPKG_TYPE, will be installed as an SPKG" |
166 | 156 | ], [ |
167 | 157 | message="$SPKG_TYPE, use \"$srcdir/configure --enable-$SPKG_NAME\" to install" |
168 | 158 | ]) |
169 | | - uninstall_message=", use \"$srcdir/configure --disable-$SPKG_NAME\" to uninstall" |
170 | 159 | ;; |
171 | 160 | *) |
172 | 161 | AC_MSG_ERROR([The content of "$SPKG_TYPE_FILE" must be 'base', 'standard', 'optional', or 'experimental']) |
173 | 162 | ;; |
174 | 163 | esac |
175 | 164 |
|
176 | 165 | case "$SPKG_TYPE" in |
| 166 | + standard) |
| 167 | + in_sdist=yes |
| 168 | + ;; |
177 | 169 | optional|experimental) |
| 170 | + uninstall_message=", use \"$srcdir/configure --disable-$SPKG_NAME\" to uninstall" |
178 | 171 | stampfile="" |
179 | 172 | for f in "$SAGE_SPKG_INST/$SPKG_NAME"-*; do |
180 | 173 | AS_IF([test -r "$f"], [ |
@@ -325,7 +318,6 @@ AC_SUBST([SAGE_PIP_PACKAGES]) |
325 | 318 | AC_SUBST([SAGE_SCRIPT_PACKAGES]) |
326 | 319 | AC_SUBST([SAGE_BUILT_PACKAGES]) |
327 | 320 | AC_SUBST([SAGE_DUMMY_PACKAGES]) |
328 | | -AC_SUBST([SAGE_STANDARD_PACKAGES]) |
329 | 321 | AC_SUBST([SAGE_OPTIONAL_INSTALLED_PACKAGES]) |
330 | 322 | AC_SUBST([SAGE_OPTIONAL_CLEANED_PACKAGES]) |
331 | 323 | AC_SUBST([SAGE_SDIST_PACKAGES]) |
|
0 commit comments