Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10754 > unrolled thread

Is there a tool to debianize for the first time a package from pypi

Started byPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
First post2018-08-03 15:50 +0200
Last post2018-08-03 16:30 +0200
Articles 9 — 5 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Is there a tool to debianize for the first time a package from pypi PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-03 15:50 +0200
    Re: Is there a tool to debianize for the first time a package from pypi Ghislain Vaillant <ghisvail@gmail.com> - 2018-08-03 16:00 +0200
      RE:Is there a tool to debianize for the first time a package from  pypi PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-03 16:20 +0200
    Re: Is there a tool to debianize for the first time a package from pypi Sandro Tosi <morph@debian.org> - 2018-08-03 16:20 +0200
      Re: Is there a tool to debianize for the first time a package from  pypi Piotr Ożarowski <piotr@debian.org> - 2018-08-04 10:20 +0200
        Re: Is there a tool to debianize for the first time a package from  pypi Piotr Ożarowski <piotr@debian.org> - 2018-08-04 10:40 +0200
          RE:Is there a tool to debianize for the first time a package from  pypi PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-04 11:00 +0200
        RE:Is there a tool to debianize for the first time a package from  pypi PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2018-08-04 10:50 +0200
    Re: Is there a tool to debianize for the first time a package from  pypi Adrian Vondendriesch <adrian.vondendriesch@credativ.de> - 2018-08-03 16:30 +0200

#10754 — Is there a tool to debianize for the first time a package from pypi

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2018-08-03 15:50 +0200
SubjectIs there a tool to debianize for the first time a package from pypi
Message-ID<wiICS-4wL-13@gated-at.bofh.it>
Hello, I need to create a new package for 

spyder_kernels.

Is there a tool which allows to create the first version of a package which create the debian/directory from the setup.py files ?

thanks

Frederic

[toc] | [next] | [standalone]


#10755

FromGhislain Vaillant <ghisvail@gmail.com>
Date2018-08-03 16:00 +0200
Message-ID<wiIMx-4A8-7@gated-at.bofh.it>
In reply to#10754

[Multipart message — attachments visible in raw view] — view raw

Hi Fred,

You can probably use one of the packaging for one of the Spyder plugins as
the basis for src:spyder-kernels.

Otherwise, I can do it if you prefer?

Le ven. 3 août 2018 à 14:45, PICCA Frederic-Emmanuel <
frederic-emmanuel.picca@synchrotron-soleil.fr> a écrit :

> Hello, I need to create a new package for
>
> spyder_kernels.
>
> Is there a tool which allows to create the first version of a package
> which create the debian/directory from the setup.py files ?
>
> thanks
>
> Frederic
>

[toc] | [prev] | [next] | [standalone]


#10757 — RE:Is there a tool to debianize for the first time a package from pypi

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2018-08-03 16:20 +0200
SubjectRE:Is there a tool to debianize for the first time a package from pypi
Message-ID<wiJ5U-4VP-13@gated-at.bofh.it>
In reply to#10755
no problem Ghislain, I am on it :))

Cheers

Fred

[toc] | [prev] | [next] | [standalone]


#10756

FromSandro Tosi <morph@debian.org>
Date2018-08-03 16:20 +0200
Message-ID<wiJ5U-4VP-5@gated-at.bofh.it>
In reply to#10754
https://packages.debian.org/unstable/pypi2deb
On Fri, Aug 3, 2018 at 9:45 AM PICCA Frederic-Emmanuel
<frederic-emmanuel.picca@synchrotron-soleil.fr> wrote:
>
> Hello, I need to create a new package for
>
> spyder_kernels.
>
> Is there a tool which allows to create the first version of a package which create the debian/directory from the setup.py files ?
>
> thanks
>
> Frederic



-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

[toc] | [prev] | [next] | [standalone]


#10761 — Re: Is there a tool to debianize for the first time a package from pypi

FromPiotr Ożarowski <piotr@debian.org>
Date2018-08-04 10:20 +0200
SubjectRe: Is there a tool to debianize for the first time a package from pypi
Message-ID<wiZX3-6B8-9@gated-at.bofh.it>
In reply to#10756
[Sandro Tosi, 2018-08-03]
> https://packages.debian.org/unstable/pypi2deb

I uploaded new version today, `py2dsp --profile dpmt` now generates
salsa/gbp git repo instead of alioth/dpm
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [prev] | [next] | [standalone]


#10763 — Re: Is there a tool to debianize for the first time a package from pypi

FromPiotr Ożarowski <piotr@debian.org>
Date2018-08-04 10:40 +0200
SubjectRe: Is there a tool to debianize for the first time a package from pypi
Message-ID<wj0gq-6HF-5@gated-at.bofh.it>
In reply to#10761
[PICCA Frederic-Emmanuel, 2018-08-04]
> once debianize, is there a command which allow to update the control
> file for a new upsteam version in order to take into account the new
> python dependencies ?
> 
> It would simplify a lot the maintenance of python packages.
> 
> py2dsp update

remove control file and invoke py2dsp - it will regenerate it
That said, you probably want dch (debchange) rather than new control
file
-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

[toc] | [prev] | [next] | [standalone]


#10765 — RE:Is there a tool to debianize for the first time a package from pypi

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2018-08-04 11:00 +0200
SubjectRE:Is there a tool to debianize for the first time a package from pypi
Message-ID<wj0zM-6Ox-11@gated-at.bofh.it>
In reply to#10763
> remove control file and invoke py2dsp - it will regenerate it
> That said, you probably want dch (debchange) rather than new control
> file


Thanks a lot,

It would be nice to have an equivalent of dgit-main-xxx for maintaining python packages.
Maybe in the policy ?

this way peoples new commers etc... will use the right workflow to maintain python packages.

my 2cents

Cheers

Fred

[toc] | [prev] | [next] | [standalone]


#10764 — RE:Is there a tool to debianize for the first time a package from pypi

FromPICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date2018-08-04 10:50 +0200
SubjectRE:Is there a tool to debianize for the first time a package from pypi
Message-ID<wj0gq-6HF-7@gated-at.bofh.it>
In reply to#10761
Hello,

once debianize, is there a command which allow to update the control file for a new upsteam version in order to take into account the new python dependencies ?

It would simplify a lot the maintenance of python packages.

py2dsp update

like the cme command ?

Cheers

Frederic

[toc] | [prev] | [next] | [standalone]


#10758 — Re: Is there a tool to debianize for the first time a package from pypi

FromAdrian Vondendriesch <adrian.vondendriesch@credativ.de>
Date2018-08-03 16:30 +0200
SubjectRe: Is there a tool to debianize for the first time a package from pypi
Message-ID<wiJfz-4YX-7@gated-at.bofh.it>
In reply to#10754
Hi Frederic,

Am Freitag, den 03.08.2018, 13:28 +0000 schrieb PICCA Frederic-
Emmanuel:
> Hello, I need to create a new package for 
> 
> spyder_kernels.
> 
> Is there a tool which allows to create the first version of a package
> which create the debian/directory from the setup.py files ?

There is stdeb [1]. I've used it in the past to create the initial
debian/ files. However, most of the generated files needs to be
adjusted manually.

[1]: https://pypi.org/project/stdeb/

Cheers,
 - Adrian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web