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


Groups > linux.debian.maint.python > #15655

Re: Docu: Need help to understand section about package creation

From weepingclown <weepingclown@disroot.org>
Newsgroups linux.debian.maint.python
Subject Re: Docu: Need help to understand section about package creation
Date 2024-03-28 20:40 +0100
Message-ID <In3Ls-2lVK-17@gated-at.bofh.it> (permalink)
References <In38J-2lm0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Hello Christian,

Without knowing what exactly fails for you, it is quite difficult to point out anything. The steps documented in the wiki are supposed to be working.

That said, the current packaging go to tool for the DPT should be py2dsp, if what you are working on is a python package. `apt install pypi2deb` will give the py2dsp command and `py2dsp <package-name-in-pypi>` can give you a nifty initial template to start with. For more info you can try `py2dsp --help`. What I typically use when creating a new package is `py2dsp --profile dpt --distribution unstable --revision 1 --github <github-url> <pypi-package-name>`.

No other structured documentation on using py2dsp is available AFAIK, and I did struggle initially to understand how to use it. Creating a wiki page for that has been my plan since then, but couldn't get to it because of time constraints as well as fear of presenting the wrong info. Maybe I'll try to get to that soon enough.

Hope this helps.

Best,
Ananthu

On 28 March 2024 6:55:30 pm UTC, c.buhtz@posteo.jp wrote:
>Hello again,
>
>the problem persists.
>
>I don't have the right information in the wiki. So I don't know how to
>proceed with creating a package.
>
>Can someone point me into the right direction please.
>
>I have the repo on Salsa. But it is empty. And the commands
>described in "Creating a new package" don't help me to fill it up.
>
>Thanks in advance,
>Christian Buhtz
>
>On 2024-03-20 22:32 <c.buhtz@posteo.jp> wrote:
>> Hello,
>> 
>> in order to improve the documentation I need to understand some parts.
>> But I am stuck. I don't get it what the authors trying to explain.
>> 
>> It is about "Creating a new package" section:
>> https://wiki.debian.org/Python/GitPackaging#Creating_a_new_package
>> 
>> The second paragraph points to dsc-file creation described here:
>> https://wiki.debian.org/PackagingWithGit/GitDpm/Initialize
>> 
>> The third paragraph is a list of shell commands that do not work in my
>> case. For example "uscan" don't work because it does not know what and
>> where to download. Of course I understand that.
>> 
>> I assume I need a dsc file?
>> 
>> It seems that my understanding problem is the second paragraph and the
>> dsc-page it is linking, too.
>> 
>> For example the first paragraph on the page
>> "/PackagingWithGit/GitDpm/Initialize" is impossible to understand for
>> newbies. What is it talking about? There is the term "git-dpm" 
>> pointing to "/PackagingWithGit/GitDpm/" (now after I edit that page
>> myself). But I am not sure what "git-dpm" is and how much of that big
>> page I should work on to make that "uscan" command run.
>> 
>> Kind
>> Christian
>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-28 20:00 +0100
  Re: Docu: Need help to understand section about package creation weepingclown <weepingclown@disroot.org> - 2024-03-28 20:40 +0100
    Re: Re: Docu: Need help to understand section about package creation Boyuan Yang <byang@debian.org> - 2024-03-29 04:50 +0100
      Re: Docu: Need help to understand section about package creation Andreas Tille <andreas@an3as.eu> - 2024-03-29 07:50 +0100
        Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 09:00 +0100
      Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 09:00 +0100
      Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 09:00 +0100
        Re: Docu: Need help to understand section about package creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-29 10:00 +0100
          Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 12:30 +0100
          Re: Docu: Need help to understand section about package creation Paul Boddie <paul@boddie.org.uk> - 2024-03-29 14:00 +0100
            Re: Docu: Need help to understand section about package creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-29 14:50 +0100
              Re: Docu: Need help to understand section about package creation weepingclown <weepingclown@disroot.org> - 2024-03-29 16:40 +0100
                Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 17:30 +0100
              Re: Docu: Need help to understand section about package creation <c.buhtz@posteo.jp> - 2024-03-29 17:20 +0100

csiph-web