I seem to be getting hung up on something here.
This is all on MacPorts 1.320, with a sync run before all this.
---> Configuring py-cairo
sh: line 1: ./configure: No such file or directory
Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-cairo/work/pycairo-1.2.6" && ./configure --prefix=/opt/local" returned error 127
Command output: sh: line 1: ./configure: No such file or directory
Warning: the following items did not execute (for py-cairo): com.apple.destroot com.apple.configure com.apple.build
Error: Unable to upgrade port: 1
That's all true: there is nothing in that directory, no configure script to run. If I run
gzip -cd /opt/local/var/db/dports/distfiles/py-cairo/pycairo-1.2.6.tar.gz | tar xf -
I get a cairo-1.2.6 directory. And from there, I can configure and make just fine.
I'm not sure where the python bindings enter the picture.