[MacPorts] #62905: editing local macports-ports/python/py-pytorch Portfile has no effect

MacPorts noreply at macports.org
Mon May 17 01:03:48 UTC 2021


#62905: editing local macports-ports/python/py-pytorch Portfile has no effect
-------------------------+--------------------
  Reporter:  webbp       |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  py-pytorch  |
-------------------------+--------------------

Comment (by webbp):

 /Users/webb/src/macports-ports/ is a full copy and I am editing
 /Users/webb/src/macports-ports/python/py-pytorch/Portfile

 Thanks for telling me about the {port dir} command!

 With that, I've solved the problem now, although i'm not sure what step
 fixed it. I removed
 {/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python
 /py-pytorch}, included only my local repo in {sources.conf}, ran
 {selfupdate}, and then {port info py-pytorch} yielded {Error: Port py-
 pytorch not found} (but it still could find other ports). Now I checked
 out local repo {py-pytorch/Portfile} and modified only the description and
 revision, did {selfupdate}, and now {port dir py37-pytorch} yields
 {/Users/webb/src/macports-ports/python/py-pytorch} as desired. It seems
 plausible that I had an error in my modified Portfile and {selfupdate} was
 falling back to the {rsync.macports.org} version.

-- 
Ticket URL: <https://trac.macports.org/ticket/62905#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list