puthon curses on NetBSD

Gary E. Miller gem at rellim.com
Tue Dec 11 23:01:06 UTC 2018


Yo Hal!

On Tue, 11 Dec 2018 14:45:11 -0800
Hal Murray via devel <devel at ntpsec.org> wrote:

> > Gary E. Miller via devel <devel at ntpsec.org>:  
> >> ntpmon should not required, but very strongly encouraged.  So test
> >> for pythong curses, complain loudly when not found, but do not
> >> fail at that point.  
> 
> > +1   
> 
> Why do you say that?

Because it is the right thing to do?

> I don't care what the answer is.   That seems like the sort of code
> you like to rip out or generalize so this is an opportunity to learn.

Feel free to patch.

> The current code tests for curses and if not found, it bypasses
> testing and installing ntpmon.  It works, but seems ugly to me.

Feel free to patch.

> ctx.env['PYTHON_CURSES' is set in pylib/wscrip, tested twice in
> wscript (install), and again in wafhelpers/bin_test.py (testing).

You should have seen it before...

> Is curses special enough to deserve this treatment?

Yes.  It got that treatment to clear up multiple bug reports.

> Should we test
> for the other Python libraries we need?

I am unaware of any other Python libraries not in the base Python that
NTPsec uses.  For some reason *BSD don't like curses.

You know any other used Python packages not in the base Python?

> As far as I know, the only thing special about curses is that NetBSD 
> distributes it as a separate package and I wasn't smart enough to
> install it when installing python so ntpmon broke when we added
> bin-test to catch this sort of problem.

We know the *BSD people live in their own world, we support that.
For some reason *BSD don't like curses.

> Does anybody other than me care about ntpsec on NetBSD?

Not just NetBSD.  FreeBSD and osX are also similarly idiosyncratic.

If no one cared, no one would file bug reports, but clearly they do.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181211/8b6c2596/attachment.bin>


More information about the devel mailing list