Ticket #4856 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 4 years ago

[with spkg; needs work] make qasm an optional spkg

Reported by: was Owned by: mabshoff
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

See attached spkg. This came up at

 http://groups.google.com/group/sage-devel/browse_thread/thread/175e8f515e58d497

It might be a good example of something, so maybe should become an optional spkg... It's pretty specialized and very small.

Attachments

qasm-1.4.spkg Download (14.2 KB) - added by was 4 years ago.

Change History

Changed 4 years ago by was

comment:1 Changed 4 years ago by was

  • Summary changed from [with patch; needs review] make qasm an optional spkg to [with spkg; needs review] make qasm an optional spkg

comment:2 Changed 4 years ago by GeorgSWeber

  • Summary changed from [with spkg; needs review] make qasm an optional spkg to [with spkg; needs work] make qasm an optional spkg

This ticket needs work in several areas:

  • The spkg-install says:
        echo "You must make sure the dvipng program is available on your system."
        echo "You might be able to install the dvipng program listed in the"
        echo "output of 'sage -optional'.  If that doesn't work, just use whatever"
        echo "is offered by your operating system."
        exit 1
    

but in the discussion on sage-devel (link above) it is said:

Do not install that dvipng spkg.  You *MUST* install dvipng instead
using whatever method your operating system provides (e.g., rpm, deb,
etc.).  It's a completely standard linux program.  The Sage dvipng
spkg will be deleted soon, since it doesn't make sense for us to be
hosting it.

 -- William 
  • (optional) the qasm.py would benefit from a doctest, the addition of some kind of example could easily be turned into a working spkg-check script

comment:3 follow-up: ↓ 4 Changed 4 years ago by was

  • Status changed from new to closed
  • Resolution set to wontfix

adding a check for SAGE_LOCAL to be non-empty is a blocker IMHO

I've always considered that SAGE_LOCAL thing pointless.

Anyway, upon further reflection, and given the lack of response by anybody in the community related to qasm, I think this is way too specialized to be an official optional spkg. I'm thus closing this ticket.

comment:4 in reply to: ↑ 3 Changed 4 years ago by mabshoff

  • Milestone changed from sage-3.3 to sage-duplicate/invalid/wontfix

Replying to was:

adding a check for SAGE_LOCAL to be non-empty is a blocker IMHO

I've always considered that SAGE_LOCAL thing pointless.

Not if you run spkg-install from the command line to debug things.

Cheers,

Michael

Note: See TracTickets for help on using tickets.