Opened 10 years ago

Closed 9 years ago

#44555 closed update (fixed)

py-qutip update to latest release (3.0.1)

Reported by: jrjohansson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr, kurthindenburg (Kurt Hindenburg)
Port: py-qutip

Description

This patch updates the qutip version. It also drops some dependencies that are no longer needed (QT) and that are optional (mayavi and VTK)

Attachments (2)

Portfile-qutip.diff (2.6 KB) - added by jrjohansson@… 10 years ago.
main.log (11.5 KB) - added by mf2k (Frank Schima) 10 years ago.

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by jrjohansson@…

Attachment: Portfile-qutip.diff added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: mf2k@… removed
Owner: changed from macports-tickets@… to mf2k@…
Status: newassigned
Version: 2.3.1

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Thanks! A few notes:

  • The revision line needs to be set to 0 as with all version increases. Since that is the default, the revision line should be removed.
  • Is the license field change due to a license change for the project, or was it simply incorrect before?

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch added

I can remove the revision line when I commit. I'm just noting this for the next time.

comment:4 Changed 10 years ago by mf2k (Frank Schima)

The patch fails to apply for me. Please make sure you are creating it against the latest version in svn.

f$ patch Portfile Portfile-qutip.diff 
patching file Portfile
Hunk #1 FAILED at 4.
Hunk #2 FAILED at 79.
2 out of 2 hunks FAILED -- saving rejects to file Portfile.rej
Version 0, edited 10 years ago by mf2k (Frank Schima) (next)

comment:5 Changed 10 years ago by mf2k (Frank Schima)

I went ahead and tried to manually apply your changes, but I got the following build error:

:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_python_py-qutip/py27-qutip/work/qutip-3.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build --with-f90mc 
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 153, in <module>
:info:build     configuration=configuration
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/core.py", line 135, in setup
:info:build     config = configuration()
:info:build   File "setup.py", line 129, in configuration
:info:build     config.add_subpackage('qutip')
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
:info:build     caller_level = 2)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
:info:build     caller_level = caller_level + 1)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
:info:build     config = setup_module.configuration(*args)
:info:build   File "qutip/setup.py", line 10, in configuration
:info:build     config.add_subpackage('fortran')
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 966, in add_subpackage
:info:build     caller_level = 2)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 935, in get_subpackage
:info:build     caller_level = caller_level + 1)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 872, in _get_configuration_from_setup_py
:info:build     config = setup_module.configuration(*args)
:info:build   File "qutip/fortran/setup.py", line 29, in configuration
:info:build     extra_compile_args=blas_opt['extra_compile_args']
:info:build KeyError: 'extra_compile_args'

Changed 10 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:6 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:7 Changed 10 years ago by mf2k (Frank Schima)

Keywords: haspatch removed
Owner: changed from mf2k@… to macports-tickets@…
Status: assignednew

This port no longer has a maintainer.

Last edited 10 years ago by mf2k (Frank Schima) (previous) (diff)

comment:8 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:9 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

I committed update to 3.1.0 r138394

Note: See TracTickets for help on using tickets.