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

René Ladan rene at freebsd.org
Sun Dec 23 17:27:05 UTC 2012


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

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

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é


More information about the freebsd-ports mailing list