Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [UPDATE] net/{py-rns,py-lxmf,nomadnet} to 0.9.3, 0.6.3, 0.6.1
To:
openbsd@systemfailure.net
Cc:
Aaron Bieber <aaron@bolddaemon.com>, ports@openbsd.org
Date:
Mon, 17 Mar 2025 17:55:11 +0000

Download raw body.

Thread
On 2025/03/17 16:51, openbsd@systemfailure.net wrote:
> On Monday, March 17th, 2025 at 11:56 AM, Stuart Henderson <stu@spacehopper.org> wrote:
> 
> > On 2025/03/16 21:23, openbsd@systemfailure.net wrote:
> > 
> > > On 2025/03/14 14:13, Aaron Bieber aaron@bolddaemon.com wrote:
> > > 
> > > > Hi,
> > > > 
> > > > Here are updates to the Reticulum stack. Nomadnet runs fine for me.
> > > > 
> > > > I'll probably commit this today or tomorrow if I no one objects.
> > > > 
> > > > Cheers,
> > > > Aaron
> > > 
> > > Hi, thanks for updating these ports.
> > > 
> > > py-rns-0.9.3 works fine, as far as I tested, but 'make test' fails: see the attached log file.
> > > 
> > > Moreover, it would be very useful to include a README for people wanting to use rnodeconf, since its usage on OpenBSD is not documented anywhere. Patch attached.
> > > 
> > > Best regards.
> > 
> > 
> > Here's a tiny tweak to your Makefile diff (tabs not spaces), and fix
> > tests if cython is present when they're run.
> 
> Thank you Stuart, 'make test' can now be run with your fix.
> 
> However, to make tests pass (at least most of them), I had to reintroduce another fix you submitted previously (the "pre-test" trick), that was forgotten by Aaron.

Ah yes, seems I had a /usr/local/bin/python lying around, probably
from last time I looked at this :)

> With the attached patch, all tests are passing except one - the one that was already failing. The port is running fine anyway.

+pre-test:
+                       ln -s ${MODPY_BIN} ${WRKDIR}/bin/python

btw, usually just the one tab for instructions after targets like that.
(no need to send a new diff for that).

I took a look at adafruit-nrfutil, seems it is not really compatible
with Python 3.12, and it would be better to provide a port rather than
ask people to use pip. (Would probably make sense to have it as a
run dependency of py-rns so users don't have to mess about).

I've attached a first attempt at a port, there are patches to fix
problems I saw with 'adafruit-nrfutil keys'. I don't have hardware to
test any of the dfu bits.