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

Commit

Permalink
towards a successful build
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Jun 16, 2014
1 parent 1f0eeeb commit 145ebed
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/manager/sage_pkg/package/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def build_tasks(self, dependencies, stop_at='install'):
tasklist.append(prev)
if stop_at == 'compile':
return tasklist
if self.want_check():
if self.want_check() or (stop_at == 'check'):
test = [prev] + [dependencies[dep] for dep in self.get_test_dependencies()]
task_check = prev = Task(self.check, test, name='{0}:check' .format(self.name))
tasklist.append(prev)
Expand Down
3 changes: 2 additions & 1 deletion build/manager/sage_pkg/upgrade_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@


DEPENDENCIES = {
'conway_polynomials': [],
'sqlite': ['readline', ],
'bzip2': ['pkgconf'],
'patch': ['bzip2'],
Expand Down Expand Up @@ -123,7 +124,7 @@
'ecl': ['mpir', 'readline', 'boehm_gc'],
'maxima': ['ecl'],
'r': ['atlas', 'iconv', 'readline', 'pkgconf'],
'rpy': ['python', 'r'],
'rpy2': ['python', 'r'],
'sympy': ['python'],
'cython': ['python'],
'flintqs': ['mpir'],
Expand Down
5 changes: 4 additions & 1 deletion build/pkgs/conway_polynomials/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name:
conway_polynomials

category:
optional
standard

source:
version:
Expand All @@ -15,3 +15,6 @@ builder:
type: SpkgInstallScript
install_script: spkg-install


depends:
hard:
4 changes: 2 additions & 2 deletions build/pkgs/graphs/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

rm -rf "$SAGE_SHARE"/graphs

mkdir -p "$SAGE_SHARE"
mv src "$SAGE_SHARE"/graphs
mkdir -p "$SAGE_SHARE"/graphs
cp -r -f src/* "$SAGE_SHARE"/graphs
3 changes: 2 additions & 1 deletion build/pkgs/pari/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ install()
fi

# Copy gprc.expect to $SAGE_LOCAL/etc
cp -f "$TOP/gprc.expect" "$SAGE_LOCAL/etc"
mkdir -p "$SAGE_LOCAL/etc"
cp -f "$TOP/gprc.expect" "$SAGE_LOCAL/etc/"
if [ $? -ne 0 ]; then
echo >&2 "Error installing gprc.expect"
exit 1
Expand Down
7 changes: 6 additions & 1 deletion build/pkgs/rpy2/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name:
rpy2

category:
optional
standard

source:
version:
Expand All @@ -15,3 +15,8 @@ builder:
type: SpkgInstallScript
install_script: spkg-install


depends:
hard:
- python
- r

0 comments on commit 145ebed

Please sign in to comment.