new port for WebSocket-for-Python, some ironing required

Chris Rees utisoft at gmail.com
Mon Dec 24 09:17:07 UTC 2012


On 23 Dec 2012 17:27, "René Ladan" <rene at freebsd.org> wrote:
>
> Hi,
>
> I created a port for WebSocket-for-Python (www/py-ws4py at [1],
> tinderbox log at [2]) but there are some issues to be ironed out:
>
> 1. Somehow the OPTIONS are not properly saved, resulting in 'make
> showconfig' showing the default values and the options dialog appearing
> on every invocation of make.
>
> 2. Is there some way to add a variable with spaces in its value to a
> value of SUB_LIST? E.g.
> GEVENT_FILES=   ws4py/client/geventclient.py ws4py/server/geventserver.py
> SUB_LIST+=      NO_MSG_GEVENT=  ${GEVENT_FILES}
> This results in a sed error when preparing pkg-message. Putting quotes
("")
> SUB_LIST+=      NO_MSG_GEVENT=  "${GEVENT_FILES}"
> gives the same error

Did you try "NO_MSG_GEVENT=${GEVENT_FILES}"?

> 3. If you enable options you get blank lines in pkg-message, maybe there
> is a nicer way to create pkg-message.

Use pkg-install script and ECHO_MSG.

Chris

> Since this is a python port, I'm OK with python@ taking it over if that
> improves their workflow.
>
> [1] ftp://rene-ladan.nl/pub/freebsd/py-ws4py.tar
> SIZE=9216
> SHA256=295673d648d8444a4e22338cf4d36b97c1f9e52168df71a40cb6fea22204a165
> [2] http://rene-ladan.nl/tb/logs/9-FreeBSD/py27-ws4py-0.2.4.log
>
> Regards,
> René
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>


More information about the freebsd-ports mailing list