Opened 6 years ago
Closed 6 years ago
#57992 closed request (fixed)
HoloViews: Port Request
Reported by: | nhchan | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-holoviews |
Description
HoloViews is a powerful visualisation package for python that works with matplotlib
, bokeh
, pandas
, seaborn
, etc.
It requires numpy
and param
(https://param.pyviz.org). The former is already on MacPorts, but I am unsure about the latter.
Currently, holoviews
is available on pip
, but having it on MacPorts would be very nice.
Thank you!
Attachments (4)
Change History (12)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Port: | py-holoviews added |
---|
comment:2 Changed 6 years ago by mf2k (Frank Schima)
comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)
Unfortunately py-param
and py-pyviz_comms
have an issue adding the correct version name to the Framework. I get some thing like
running install_egg_info Copying param.egg-info to /opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_python_py-param/py37-param/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/param-None-py3.7.egg-info running install_scripts /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/setuptools/dist.py:484: UserWarning: The version specified ('None') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version
during destroot.
The param-None-py3.7.egg-info
file should really be called param-1.8.1-py3.7.egg-info
I tried several ways of overriding the builtin mechanism from https://github.com/pyviz/autover - to no avail.
comment:4 Changed 6 years ago by mf2k (Frank Schima)
Can you rename it in pre-destroot? Can you post your Portfile?
Changed 6 years ago by Schamschula (Marius Schamschula)
py-param Portfile
Changed 6 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile.2 added |
---|
py-pyviz_comms Portfile
comment:5 Changed 6 years ago by Schamschula (Marius Schamschula)
The py-param
has some attempts at getting the version number added commented out. The py-pyviz_comms
has the exact same issue. holoviews
fails to load w/o proper version numbers.
Changed 6 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile.3 added |
---|
holoviews Portfile
Changed 6 years ago by mf2k (Frank Schima)
Attachment: | Portfile.4 added |
---|
Fixed py-param Portfile. Please test if this works for you like it does for me.
comment:6 Changed 6 years ago by mf2k (Frank Schima)
I'm not understanding your HoloViews Portfile. Should it simply be py-holoviews? Thus no need to python variants.
comment:7 Changed 6 years ago by Schamschula (Marius Schamschula)
Frank,
I've run into this before: by convention, the final executable does not have the py prefix, i.e. certbot
, not py-certbot
. However, you are right, I need to move it out of the python directory.
The suggestion to rename the *--py3.7.egg-info
directory worked. I also had to manually update the Version in the PKG-INFO
file.
comment:8 Changed 6 years ago by Schamschula (Marius Schamschula)
Owner: | set to Schamschula |
---|---|
Resolution: | → fixed |
Status: | new → closed |
It looks like we also need to create a port for py-param.