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

Commit

Permalink
bootstrap-conda: Do not include packages that declare SAGERUNTIME as …
Browse files Browse the repository at this point in the history
…a dependency
  • Loading branch information
Matthias Koeppe committed May 17, 2022
1 parent d2b8c4e commit ffde371
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bootstrap-conda
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ echo >&2 $0:$LINENO: generating conda environment files
PKG_SCRIPTS=build/pkgs/$PKG_BASE
SYSTEM_PACKAGES_FILE=$PKG_SCRIPTS/requirements.txt
PKG_TYPE=$(cat $PKG_SCRIPTS/type)
if [ -n "PKG_SYSTEM_PACKAGES" ]; then
if grep -q SAGERUNTIME $PKG_SCRIPTS/dependencies 2>/dev/null; then
: # cannot install packages that depend on the Sage library
else
case "$PKG_BASE:$PKG_TYPE" in
$DEVELOP_SPKG_PATTERN:*) FD=4;;
*) FD=5;;
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/sage_flatsurf/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN) surface_dynamics
$(PYTHON) | $(PYTHON_TOOLCHAIN) surface_dynamics $(SAGERUNTIME)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/slabbe/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN)
$(PYTHON) | $(PYTHON_TOOLCHAIN) $(SAGERUNTIME)

----------
All lines of this file are ignored except the first.

0 comments on commit ffde371

Please sign in to comment.