On 2013/10/24 20:59, Alex Holst wrote:
> I'm trying to create a port of www.roundup-tracker.org but I get the
> following errors at build and fake. I have been unable to find the cause
> so I'd like input on what I'm doing wrong:
> 
> /usr/ports/www/roundup$ make clean fake
> ===>  Cleaning for roundup-1.5.0
> [..]
> ===>  Building for roundup-1.5.0
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>    or: setup.py --help [cmd1 cmd2 ...]
>    or: setup.py --help-commands
>    or: setup.py cmd --help
> 
> error: invalid command 'egg_info'

This can be ignored, this is triggered by some new code to avoid the
need for the MODPY_BADEGGS thing..

> error: option --single-version-externally-managed not recognized

This is from using MODPY_SETUPUTILS=Yes, which isn't needed and is
breaking this for you.

|| post-install:
||         @${INSTALL_SCRIPT} 
${SCRIPTS:S,^,${WRKSRC}/build/scripts-${PYTHON_VER}/,} ${PREFIX}/bin

normally don't @ out these, it makes it harder to debug - the
scripts should get installed OK anyway.

With post-install and MODPY_SETUPUTILS lines removed, you can "make plist"
to generate a PLIST, but it needs a bit of hand-patching; change

lib/python${MODPY_VERSION}/site-packages/${FULLPKGNAME\-}-py${MODPY_VERSION}.egg-info

to

lib/python${MODPY_VERSION}/site-packages/roundup-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info


Reply via email to