Changes between Initial Version and Version 1 of Ticket #62905, comment 5


Ignore:
Timestamp:
May 17, 2021, 1:05:05 AM (3 years ago)
Author:
webbp (Webb Phillips)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62905, comment 5

    initial v1  
    1 /Users/webb/src/macports-ports/ is a full copy and I am editing /Users/webb/src/macports-ports/python/py-pytorch/Portfile
     1`/Users/webb/src/macports-ports/` is a full copy and I am editing `/Users/webb/src/macports-ports/python/py-pytorch/Portfile`
    22
    3 Thanks for telling me about the {port dir} command!
     3Thanks for telling me about the `port dir` command!
    44
    5 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
    6 {/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.
     5With 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
     6`/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.