Brython packaging for Debian, help welcome!

26 views
Skip to first unread message

Goffi

unread,
Oct 30, 2022, 9:42:44 AM10/30/22
to bry...@googlegroups.com
Hello,

There is currently an effort in progress to package Brython for Debian (done by Debacle at https://salsa.debian.org/python-team/packages/brython/).

The package is technically ready, put copyright need to be in shape before it can be push to Debian. In particular, the file https://salsa.debian.org/python-team/packages/brython/-/blob/debian/master/debian/copyright need to be filled with all copyright information of Brython.

Is anybody willing to give a hand? Having Brython of Debian would be great, and could be a boost to its adoption.

For the record, I'm working on a XMPP client (Libervia) which uses Brython in its web frontend, and packaging Brython is a mandatory step before packaging the web frontend.


Thanks!
Goffi


Edward Elliott

unread,
Nov 1, 2022, 5:27:07 PM11/1/22
to bry...@googlegroups.com
Hi Goffi, thanks for starting this effort.  I started with debian in grad school (won't mention which century ;).  Still have fond memories.

Let me know what needs done and I'll help if I can.  Brython user, not a contributor, just occasional bug reports.  My legal background might come in handy.

Edward


--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/4751728.GXAFRqVoOG%40tazar3.

Goffi

unread,
Nov 3, 2022, 8:04:20 AM11/3/22
to bry...@googlegroups.com
Le mardi 1 novembre 2022, 22:26:30 CET Edward Elliott a écrit :
> Hi Goffi, thanks for starting this effort. I started with debian in grad
> school (won't mention which century ;). Still have fond memories.
>
> Let me know what needs done and I'll help if I can. Brython user, not a
> contributor, just occasional bug reports. My legal background might come
> in handy.
>
> Edward

Hi Edward,

I'm not the one starting the effort, it's done by W. Martin Borgert "debacle", a Debian developer, I'm just the messenger here.

I'm transmitting your message to him, thanks a lot.

BTW, the issue tracking progress is here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862191

Kind Regards
Goffi


Pierre Quentel

unread,
Nov 3, 2022, 1:09:34 PM11/3/22
to brython
FYI, here is the information (slightly edited for clarity)  I sent to Martin when he asked me about licensing:

The Brython distribution is made of several parts:
1 - the translation engine, which translates Python source code into Javascript before running a program
2 - the runtime, with an implementation of Python objects in Javascript
3 - the standard library, which is itself made of:
  a - a copy of modules / packages in CPython standard library
  b - an adaptation of other CPython stdlib modules to Brython, or a rewriting in Javascript with the same interface as the Python module
  c - some Brython-specific modules / packages, those that are specific to the browser environment (HTML tags, widgets, Ajax, etc.)

This page https://www.brython.info/static_doc/en/stdlib.html explains how Brython stdlib is split into these categories.

Parts 1, 2 and 3c are published under the licence I chose for Brython, BSD-3-Clause Licence.
CPython is released under the PSF Licence 2, so I suppose that the same licence applies to part 3a
For part 3b I honestly don't know which licence applies...


Regarding the last line, Martin answered:

it should be under *your* copyright, under the license you select, e.g. BSD-3-clause or PSF-2.0 or dual-licensed under both

Reply all
Reply to author
Forward
0 new messages