Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2021 04:12:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 257312] x11/dsbxinput: Update to 0.1.1
Message-ID:  <bug-257312-21822-FGNfgyWM6G@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257312-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257312-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257312

--- Comment #3 from Kubilay Kocak <koobs@FreeBSD.org> ---
(In reply to Marcel Kaiser from comment #2)

Thanks for the feedback Marcel.

That (3.8) is just the 'current point in time' default version, provided by=
 the
ports framework, not individual ports. The default changes over time, and u=
sers
cann choose whatever default version they like (overriding the default).

Individual ports declaratively just specify what versions the package (code)
supports.

In py-qt5's case, that's:

  USES=3D         metaport python:3.5+ (annythingn from 3.5 up, currently, =
to
3.10)

In this ports case, whatever python versions the code in dsbxinput.in suppo=
rts
("actually can run with"). This is a matter of testing the code.

A good best-practice read over how to write as portably as possible (as an
upstream), is:

  https://www.python.org/dev/peps/pep-0394/

For example the shebang line in sdbxinput should likely/probably be
"/usr/bin/env python3" (in that it supports, and will call python3 on user
systems), unless its Python 2/3 compatible in which case "/usr/bin/env pyth=
on"
might be more suitable.

Don't hesitate to jump on #freebsd-python on LiberaChat IRC if you need sup=
port
or have further questions, we're happy to help

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257312-21822-FGNfgyWM6G>