Google Magenta Portfiles Help Request for new py-note-seq port

Ryan Schmidt ryandesign at macports.org
Sat Jul 4 14:03:27 UTC 2020



On Jul 3, 2020, at 14:23, Steven Smith wrote:

>> revision            20200622

revision should be 0.


>> version             0.0.0

version should probably be 20200622, unless they have a real version number.


>>     test.env-append \
>>                     "PATH=$env(PATH):${workpath}/bin" \

Don't you want your ${workpath}/bin to precede what's already in $env(PATH)?


On Jul 3, 2020, at 19:40, Steven Smith wrote:

> Running the basic build command by hand yields a successful build:
> 
>> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j12
> 
> This suggests that one of the environment variables is causing the issue.

No, it suggests that when you run it by hand, you're not benefitting from the features of the python portgroup, one of which is to ensure that you've specified your python module dependencies correctly by preventing them from being automatically downloaded.


> How does one remove all environment variables from the build phase?

You don't do that.


> Simply invoking
> 
> build.env
> 
> doesn’t change anything

Correct.



More information about the macports-dev mailing list