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

Commit

Permalink
Merge branch 'develop' into u/tscrim/coxeter3_new_style_spkg-19178
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Sep 13, 2015
2 parents b4acdc4 + 559f73b commit 93d6d20
Show file tree
Hide file tree
Showing 186 changed files with 3,819 additions and 1,458 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bootstrap-clean:
maintainer-clean: distclean bootstrap-clean
rm -rf upstream

micro_release: bdist-clean lib-clean
micro_release: bdist-clean sagelib-clean
@echo "Stripping binaries ..."
LC_ALL=C find local/lib local/bin -type f -exec strip '{}' ';' 2>&1 | grep -v "File format not recognized" | grep -v "File truncated" || true

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sage version 6.9.beta5, released 2015-09-04
Sage version 6.9.beta6, released 2015-09-10
54 changes: 23 additions & 31 deletions build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export LC_ALL=C
usage()
{
cat <<EOF
Usage: sage -i <options> <package name>
Usage: sage -p <options> <package name>
If <package name> is a URL, download and install it. If it is a file
name, install it. Otherwise, search Sage's list of packages (see
Expand Down Expand Up @@ -175,38 +175,30 @@ if [ $# -eq 0 ]; then
exit 0
fi

# Options have to come in a specific order,
# this is ensured by spkg/bin/sage.
# Parse options
INFO=0
if [ "$1" = '--info' ]; then
INFO=1
shift
fi

FORCE=0
if [ "$1" = '-f' ]; then
FORCE=1
while true; do
case "$1" in
--info)
INFO=1;;
-f)
FORCE=1;;
-d)
SAGE_INSTALL_FETCH_ONLY=1;;
-s)
export SAGE_KEEP_BUILT_SPKGS=yes;;
-c|--check)
SAGE_CHECK_PACKAGES=x # nonempty, so not set to '!python2' later
export SAGE_CHECK=yes;;
-*)
echo >&2 "Error: unknown option '$1'"
exit 2;;
*) break;;
esac
shift
fi

DOWNLOAD_ONLY=0
if [ "$1" = '-d' ]; then
DOWNLOAD_ONLY=1
shift
elif [ -n "$SAGE_INSTALL_FETCH_ONLY" ]; then
DOWNLOAD_ONLY=1
fi
done

if [ "$1" = '-s' ]; then
export SAGE_KEEP_BUILT_SPKGS=yes
shift
fi

if [ "$1" = '-c' ]; then
export SAGE_CHECK=yes
SAGE_CHECK_PACKAGES=x # nonempty, so not set to '!python' later
shift
fi

##################################################################
# Figure out the package filename, download it if needed.
Expand Down Expand Up @@ -405,7 +397,7 @@ if [ -n "$SAGE_SPKG_COPY_UPSTREAM" ]; then
exit 1
fi
fi
if [ $DOWNLOAD_ONLY -ne 0 ]; then
if [ -n "$SAGE_INSTALL_FETCH_ONLY" ]; then
exit 0
fi

Expand Down Expand Up @@ -557,7 +549,7 @@ fi
# Since Python's self-tests seem to fail on all platforms, we disable
# its test suite by default.
if [ -z "$SAGE_CHECK_PACKAGES" ]; then
SAGE_CHECK_PACKAGES='!python'
SAGE_CHECK_PACKAGES='!python2'
fi
# Allow spaces, commas, or colons as separator (the documentation suggests commas).
if echo ",$SAGE_CHECK_PACKAGES," | grep -i "[ ,:]\!$PKG_BASE[ ,:]" > /dev/null ; then
Expand Down
6 changes: 3 additions & 3 deletions build/make/deps
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ STARTED = $(SAGE_LOCAL)/etc/sage-started.txt
.PHONY: all all-sage all-toolchain all-build start \
base toolchain toolchain-deps sagelib \
doc doc-html doc-html-jsmath doc-html-mathjax doc-pdf \
doc-clean clean lib-clean build-clean
doc-clean clean sagelib-clean build-clean

# Build everything and start Sage.
# Note that we put the "doc" target first in the rule below because
Expand Down Expand Up @@ -227,7 +227,7 @@ clean:
@echo "Deleting package build directories..."
rm -rf "$(SAGE_LOCAL)/var/tmp/sage/build"

lib-clean:
sagelib-clean:
cd "$(SAGE_SRC)" && $(MAKE) clean

build-clean: clean doc-clean lib-clean
build-clean: clean doc-clean sagelib-clean
2 changes: 1 addition & 1 deletion build/pkgs/brial/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(INST)/$(BOOST_CROPPED) $(INST)/$(M4RI) $(INST)/$(LIBPNG)
$(INST)/$(BOOST_CROPPED) $(INST)/$(M4RI) $(INST)/$(LIBPNG) $(INST)/$(PKGCONF) $(INST)/$(PYTHON)

----------
All lines of this file are ignored except the first.
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=205ca2be0f055ebac84723ccda60989a7a1c91a7
md5=186c1817ecb28c891eaed8f936255846
cksum=936437807
sha1=eb85e3b0ebd4348d9ea95f6f756fc2691cb97969
md5=33ea4bae501251c7794d76dc3b28eaaa
cksum=2999590347
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
111
112
25 changes: 25 additions & 0 deletions build/pkgs/database_jones_numfield/SPKG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
= database_jones_numfield =

== Description ==

This is a table of number fields with bounded ramification and degree ≤6.

== License ==

GPLv2+

== SPKG Maintainers ==

* Sagemath developers

== Upstream Contact ==

sage-devel@googlegroups.com

== Dependencies ==

None

== Special Update/Build Instructions ==

Created by taking the original old-style spkg and removing crud from it.
4 changes: 4 additions & 0 deletions build/pkgs/database_jones_numfield/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
tarball=database_jones_numfield-VERSION.tar.gz
sha1=f7b1c4c330ff6be47ade4ec7fc14df9cebe8e2a8
md5=a8da4f207235a1de980a23a06e1e6d76
cksum=1843797635
1 change: 1 addition & 0 deletions build/pkgs/database_jones_numfield/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4
14 changes: 14 additions & 0 deletions build/pkgs/database_jones_numfield/spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

if [ -z "$SAGE_SHARE" ]; then
echo >&2 "SAGE_SHARE undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

TARGET="${SAGE_SHARE}/jones"
if [ ! -d "${TARGET}" ]; then
mkdir "${TARGET}"
fi

cp 'src/jones.sobj' "${TARGET}/"
File renamed without changes.
64 changes: 0 additions & 64 deletions build/pkgs/gap3/SPKG.txt

This file was deleted.

4 changes: 0 additions & 4 deletions build/pkgs/gap3/checksums.ini

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/gap3/package-version.txt

This file was deleted.

64 changes: 0 additions & 64 deletions build/pkgs/gap3/patches/gap_startup_script.patch

This file was deleted.

79 changes: 0 additions & 79 deletions build/pkgs/gap3/spkg-install

This file was deleted.

0 comments on commit 93d6d20

Please sign in to comment.