Skip to content

remove the spkg/base repo! #11073

@jhpalmieri

Description

@jhpalmieri

Given the creation of the Sage root repo (see #9433), the repository in SAGE_ROOT/spkg/base should be combined with it.

  1. apply attachment: 11073_root_hgignore.patch to the root repo

cd $SAGE_ROOT/spkg/base
rm -rf .hg* stdint.h_Solaris9 sage-*
hg add *-install README.txt
mkdir ../bin
mv *.py sage-* *.sh text-* ../bin
cd ../bin
cp -p $SAGE_ROOT/local/bin/sage-env .
cp -p $SAGE_ROOT/local/bin/sage-spkg .
cp -p $SAGE_ROOT/local/bin/sage-sage sage
hg add . *
hg commit -m "Trac #11073: Move base repository to root repository"
  1. apply attachment: 11073_root_after.patch and attachment: 11073_prereq_install.patch to the root repository.

cd $SAGE_ROOT/local/bin
hg remove sage-env sage-spkg sage-sage
hg commit -m "Trac #11073: Move various scripts to spkg/bin"
  1. apply attachment: 11073_scripts.patch to the scripts repo

  2. apply attachment: 11073_sagelib_misc.patch to the main Sage repo.

  3. apply attachment: 11073_extcode.patch to data/extcode.

The file stdint.h_Solaris9 is not used and therefore deleted. sage-env, sage-spkg and sage-sage (renamed to sage) are moved to spkg/bin, sage-make_relative to scripts (local/bin).

The script sage-sage is renamed to spkg/bin/sage and $SAGE_ROOT is no longer put in the $PATH, such that running "sage" after sage-env will run $SAGE_ROOT/spkg/bin/sage.

Fixes #10970 (do not generate pipestatus), see also #12102 (make bzip2 a standard package) and #12206 (install sage_scripts earlier), #12311 (stop copying testcc.sh and testcxx.sh).

Dependencies: sage-4.8.alpha6

CC: @jdemeyer @kini @nexttime @williamstein

Component: build

Keywords: scripts base hg

Author: Volker Braun, Jeroen Demeyer

Reviewer: John Palmieri, William Stein

Merged: sage-5.0.beta0

Issue created by migration from https://trac.sagemath.org/ticket/11073

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions