Building a local subport

Jeremy Lavergne jeremy at lavergne.gotdns.org
Wed Jul 31 12:46:54 PDT 2013


You want to append "subport=$name" to the command:
 "sudo port build subport=py27-pypdf2"

On Jul 31, 2013, at 3:42 PM, Freek Dijkstra wrote:

> I've just created a Portfile for a python module, and like to test this.
> My normal action is just cd to the folder where the Portfile is located
> and type "port build".
> 
> However, I'm getting an error:
>> --->  Computing dependencies for py-pypdf2
>> Error: Dependency 'py27-pypdf2' not found.
> 
> I realised I don't want to build py-pypdf2 but rather py27-pypdf2. How
> do I specify the Python version to use? "port build py27-pypdf2" seems
> to check the Port database, and ignores the local folder.



More information about the macports-users mailing list