Bug#756017: Partial packaging

2023-11-28 Thread Andreas Tille
Hi,

Am Tue, Sep 08, 2015 at 10:25:11PM -0700 schrieb Diane Trout:
> I have a packaging tree that I'm using at:
> https://github.com/detrout/python-bokeh
> 
> It can't be released to Debian until we find a solution for building BokehJS. 
> (And that it also needs a jquery 2.1.1).

It seems there is some common interest so packaging bokeh inside Debian
Python Team might make sense.  I've independently from this RFP (which
I was not aware about) createt a repository

   https://salsa.debian.org/python-team/packages/python-bokeh

and merged+updated the packaging code from Diane above.

As you can see in the build log[1] there is a failurein creating
bokeh.js which becomes obvious if you run the command in setup.py
manually:


$ node make build  
node:internal/modules/cjs/loader:1042
  throw err;
  ^

Error: Cannot find module '/build/python-bokeh-3.3.1/make'
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Function.executeUserEntryPoint [as runMain] 
(node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.13.0


This is due to the missing JS packages[2] mentioned here in this bug
log.

While bokeh would be in fact very helpful for several interesting
scientific Python3 packages I personally do not have the power to dive
into JS packaging.

Kind regards
Andreas.


[1] https://salsa.debian.org/python-team/packages/python-bokeh/-/jobs/4978289
[2] https://wiki.debian.org/Javascript/Nodejs/Tasks/bokehjs

-- 
http://fam-tille.de



Bug#756017: Partial packaging

2020-07-08 Thread Shayan Doust
Hello Diane et. al.,

I am packaging gneiss[1], where one of its dependency is Bokeh. What is
the progress of Bokeh at this time? Additionally, is this a WIP?

Kind regards,
Shayan Doust

[1]: https://salsa.debian.org/med-team/gneiss

On Sat, 14 Sep 2019 00:22:04 +0200 Pierre-Elliott =?utf-8?B?QsOpY3Vl?=
 wrote:
> Le mardi 08 septembre 2015 à 22:25:11-0700, Diane Trout a écrit :
> > I have a packaging tree that I'm using at:
> > https://github.com/detrout/python-bokeh
> > 
> > It can't be released to Debian until we find a solution for building 
> > BokehJS. 
> > (And that it also needs a jquery 2.1.1).
> > 
> > But at least its a start.
> 
> Dear Diane,
> 
> It seems that bokeh 1.3.4 ships a version of BokehJS that is
> non-minified and ready-to-use. Wouldn't that be a correct solution for
> an initial packaging, even though one could wish to finish the proper
> javascript package in a second time?
> 
> With best regards,
> 
> -- 
> Pierre-Elliott Bécue
> GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
> It's far easier to fight for one's principles than to live up to them.


0x6D7D441919D02395.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Bug#756017: Partial packaging

2019-09-13 Thread Pierre-Elliott Bécue
Le mardi 08 septembre 2015 à 22:25:11-0700, Diane Trout a écrit :
> I have a packaging tree that I'm using at:
> https://github.com/detrout/python-bokeh
> 
> It can't be released to Debian until we find a solution for building BokehJS. 
> (And that it also needs a jquery 2.1.1).
> 
> But at least its a start.

Dear Diane,

It seems that bokeh 1.3.4 ships a version of BokehJS that is
non-minified and ready-to-use. Wouldn't that be a correct solution for
an initial packaging, even though one could wish to finish the proper
javascript package in a second time?

With best regards,

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.


signature.asc
Description: PGP signature


Bug#756017: Partial packaging

2016-12-19 Thread Trout, Diane E.
I found the javascript teams tool for tracking javascript dependencies
and created a page for bokehjs

https://wiki.debian.org/Javascript/Nodejs/Tasks/bokehjs

Bug#756017: Partial packaging

2016-12-13 Thread Trout, Diane E.
On Tue, 08 Sep 2015 22:25:11 -0700 Diane Trout 
wrote:
> I have a packaging tree that I'm using at:
> https://github.com/detrout/python-bokeh

I updated my packaging recipe to 0.12.3, though it still uses the
prebuilt javascript provided when upstream builds the pypi package.

I also looked through the bokehjs dependency list

Name  | | Debian  | Version
underscore|  ^1.5.2 | libjs-underscore|   1.8.3
backbone  |  ^1.1.0 | libjs-backbone  |   1.3.3
es6-promise   |   3.0.2 | libjs-es6-promise   |   3.2.2
jquery|  ^2.1.1 | libjs-jquery|   3.1.1
jquery-mousewheel | ^3.1.12 | libjs-jquery-mousewheel |  11
jquery-ui | ^1.10.5 | libjs-jquery-ui |  1.12.1
jsnlog|  ^2.7.5 | |
mathutils |   0.0.1 | |
rbush |  ^1.3.5 | node-rbush  |   2.0.1
proj4 | ^2.3.10 | libjs-proj4 |  2.3.15
sprintf   |  ^0.1.5 | node-sprintf-js?|   1.0.3
timezone  |  0.0.38 | |
coffee-script |   1.9.3 | coffeescript    |  1.10.0

Most of the dependencies seem to be in Debian. The build process seems
to use gulp and browserfy.

Also there's another key "devDependency" in the package.json of which I
have no idea how many are important.

Bug#756017: Partial packaging

2015-09-08 Thread Diane Trout
I have a packaging tree that I'm using at:
https://github.com/detrout/python-bokeh

It can't be released to Debian until we find a solution for building BokehJS. 
(And that it also needs a jquery 2.1.1).

But at least its a start.

Diane