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.bu...@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.bu...@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
>

Reply via email to