Changes between Initial Version and Version 1 of Ticket #43975


Ignore:
Timestamp:
Jun 10, 2014, 1:20:09 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43975

    • Property Owner changed from macports-tickets@… to perry@…
    • Property Port cfv added
  • Ticket #43975 – Description

    initial v1  
    11The port cfv prominently lists the ability to create and test torrent files amongst its features, however this functionality is dependent upon some Python module providing the ability to read the files:
    22
     3{{{
    34tjcarter@amaya:~/test$ cfv -t torrent -f test.torrent
    45test.torrent : No module named BTL and No module named BitTorrent and No module named BitTornado (CF)
    560 files, 0 OK, 1 chksum file errors.  0.000 seconds, 0.0K/s
     7}}}
    68
    79The only module that satisfies this requirement in MacPorts is the one included with bittornado.  Which appears to be inexplicably hardcoded to use python25 for some reason of portfile-fu I do not comprehend—not that I can ever claim to have actually ever understood ANY portfile, mind you…  So far as I understand, I should be able to satisfy this undeclared dependency by changing the line reading
    810
     11{{{
    912python.default_version 25
     13}}}
    1014
    1115to
    1216
     17{{{
    1318python.default_version 27
     19}}}
    1420
    1521and installing bittornado.  And if that worked, I'd have a ticket against bittornado with the trivial portfile patch.  :)  But it didn't, and I couldn't begin to know how to fix it.  So instead I do the only thing I can do: I note the problem I was originally trying to solve (that cfv doesn't actually have any means of supporting torrent files as is indicated) and giving you the option to decide how to resolve it.