[MacPorts] #59823: Update py27-eyed3 to latest version
MacPorts
noreply at macports.org
Sat Dec 14 03:01:41 UTC 2019
#59823: Update py27-eyed3 to latest version
------------------------+----------------------
Reporter: RichieB2B | Owner: elelay
Type: update | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-eyed3 |
------------------------+----------------------
Comment (by reneeotten):
the attached Portfile should fix this. You likely added {{{py-pathlib2}}}
as a dependency since that is the only port present in MacPorts. One could
add a new port for this (really old) package, but {{{pathlib2}}} should be
able to satisfy this requirement as well - so I opted for just replacing
{{{pathlib}}} for {{{pathlib2}}} in the requirements file and source
files. In any case based on the GitHub page, upstream will drop support
for PY2 in the next release so then all of this can go again.
Other changes I made are listed below:
{{{
py-eyed3: update to 0.8.11, switch to PyPI
- add and conform to modeline
- remove unneeded overrides of build.cmd and destroot.cmd
- set correct license
- update homepage
- use pathlib2 instead of pathlib for PY27
- add py37 subport
}}}
Please note that I didn't add any of the optional dependencies so you'll
get the following message when using it:
{{{
eyed3.plugins:WARNING: Plugin '('lastfm.py',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/eyed3/plugins')' requires packages that are not installed:
No module named pylast
}}}
of course, feel free to add these dependencies and add them to the
Portfile.
--
Ticket URL: <https://trac.macports.org/ticket/59823#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list