-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove annoying printing of primes in conway polynomials spkg #14075
Comments
comment:1
François, I see this commit in sage-on-gentoo, but
and none of these are easy to look at for me, and your commit of course is to the ebuild. What file here could someone (I?) fix? Sorry, I'm not a binary file whiz :( |
comment:2
Replying to @kcrisman:
Hi Karl-Dieter, You need to edit spkg-install and remove the line that says "print .....". There are a couple more things we have done in sage-on-gentoo that could be interesting. Currently this spkg depends on sage-runtime and I think the change we made could enable us to drop that in favor of just sage. Long story short I had problems with gap and that prevented this to be installed. sage-runtime implies that gap for example can be loaded and it is in the current incarnation of the spkg. With what we did it is not necessary anymore. |
comment:3
spkg-install in sage-on-gentoo look like this:
the definition of install_root is gentoo specific, so you shouldn't use that bit. The rest is ok for consumption in "vanilla" sage. |
comment:4
Oh, I see, I was confused because we had
but #12205 wasn't merged until 5.7 betas, so I couldn't just get it from the standard packages directory. Now I see what happened, sorry for that - I'll download the correct spkg later and fix this :) |
comment:5
Here we go. diff --git a/SPKG.txt b/SPKG.txt
--- a/SPKG.txt
+++ b/SPKG.txt
@@ -15,6 +15,9 @@
== Changelog ==
+=== conway_polynomials-0.4.p0 (Karl-Dieter Crisman, 13 February 2013) ===
+ * #14075: Remove printing of primes while installing
+
=== conway_polynomials-0.4 (R. Andrew Ohana and William Stein, 18 June 2012) ===
* #12205: Rewrite database to not use ZODB
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -12,7 +12,6 @@
for p,n,v in conway_polynomials:
if not db.has_key(p):
db[p] = {}
- print p
db[p][n] = v
if not os.path.exists(install_root):
os.makedirs(install_root) |
comment:6
Package at http://sage.math.washington.edu/home/kcrisman/conway_polynomials-0.4.p0.spkg. William and Andrew, if there is some good reason to not make this change, I'm happy to have this ticket closed as wontfix, but it seems like it was just an oversight. |
Author: Karl-Dieter Crisman |
This comment has been minimized.
This comment has been minimized.
comment:8
And I am happy to give this a positive review. I just checked the spkg and it is all good by me. So if William and Andrew have no objection the button can be pushed. |
comment:9
This looks fine to me, the only thing I might change is the version number to be 0.5 since there is no upstream package. |
comment:10
Okay, thanks. I think I'll leave it since you and WIlliam are "upstream" and I'm not ;-) |
Reviewer: François Bissey, R. Andrew Ohana |
Merged: sage-5.8.beta0 |
See #12205 and this log. For some reason it always prints a lot of primes.
Spkg at http://sage.math.washington.edu/home/kcrisman/conway_polynomials-0.4.p0.spkg
CC: @kiwifb @williamstein @ohanar
Component: packages: standard
Author: Karl-Dieter Crisman
Reviewer: François Bissey, R. Andrew Ohana
Merged: sage-5.8.beta0
Issue created by migration from https://trac.sagemath.org/ticket/14075
The text was updated successfully, but these errors were encountered: