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

Commit

Permalink
fix zn_poly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Jun 16, 2014
1 parent bc71b57 commit e94c3c9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions build/manager/sage_pkg/package_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def build_queue(self, stop_at='install'):
while not packages.is_finished():
pkg_task = packages.next()
pkg = pkg_task.work
logger.debug('adding %s to build queue', pkg)
print dependencies
if pkg.category != 'standard':
# cannot be a dependency for a standard package either
pass
Expand Down
5 changes: 3 additions & 2 deletions build/manager/sage_pkg/upgrade_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
'eclib': ['pari', 'ntl', 'flint'],
'libm4ri': ['libpng', 'pkgconf'],
'libm4rie': ['libm4ri', 'givaro', 'ntl'],
'znpoly': ['mpir', 'python'],
'zn_poly': ['mpir', 'python'],
'sagenb': [
'python', 'setuptools', 'pexpect',
'jinja2', 'sphinx', 'docutils'],
Expand Down Expand Up @@ -168,8 +168,9 @@ def upgrade_all():
fullname = os.path.join(config.path.packages, name)
if not os.path.isdir(fullname):
continue
if not os.path.exists('package-version.txt'):
if not os.path.exists(os.path.join(fullname, 'package-version.txt')):
continue
print('upgrading ' + name)
upgrade(name, fullname)


Expand Down
7 changes: 6 additions & 1 deletion build/pkgs/zn_poly/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name:
zn_poly

category:
optional
standard

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

depends:
hard:
- mpir
- python

0 comments on commit e94c3c9

Please sign in to comment.