Install Instructions: This is only temporary until its fixed but:
We first Fix our file... and make an archive: cd ..
tar -czvf anytree-2.12.0.tar.gz anytree-2.12.0
then lets get the hashsum for this file:
we can remove rmd160sum i think.... until we script for it in perl....
sha256sum /Users/fspkwon/Downloads/anytree-2.12.0.tar.gz
change the hashsum in the portfile: and minor version from 2.12.1 to 2.12.0
ed6a74e15c5c112e4b2a559086d602855d226fd916dce303a11d761b3588d69a
lets change the address to our fork:
https://github.com/fspkwon/anytree
mkdir --parents /Users/username/ports/python/py-anytree
sudo nano /opt/local/etc/macports/sources.conf
above: rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz [default]
add:
file://Users/username/ports
ctrl-x and close and save....
sudo cp /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-anytree/portfile /Users/username/ports/python/py-anytree
now that our portfiles done....
sudo port distfiles py-anytree
and should return we dont have a distfile...
cd /Users/username/ports/python/py-anytree
sudo port -f install /Users/fspkwon/username/python/py-anytree
you may have to sudo mv Portfile.txt Portfile
anyhow fixed it with:
sudo mv /Users/username/Downloads/anytree-2.12.0/pyproject.toml /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-anytree/py312-anytree/work/anytree-2.12.1/pyproject.toml
so just follow the guides thats the only file...