Path: csiph.com!1.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod From: Sandro Tosi Newsgroups: linux.debian.maint.python Subject: Re: Build an initial Debian source package with py2dsp from a GitHub project Date: Mon, 26 Apr 2021 03:30:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Apr 26 01:24:01 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.501 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-f51.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 X-Gm-Message-State: AOAM531KhBJ0hZOQ3PD5In4p0IEPr5a7jnDL3nmDcN0+S1Gsu1RE/75I OImykesM2L135N0LhuMUoy7xwBbxqiVWvZdSdrvKpGmhqJoqFg== X-Google-SMTP-Source: ABdhPJztarY/STVjtC0GW5UV5ThFjWYSx+LpdvffCYZBtDumWPJSeviX5XxNc5jYwHQrLScf2+q7ECkitX7kWEzwZ8w= X-Received: by 2002:a05:6512:3b1:: with SMTP id v17mr10944928lfp.327.1619400224222; Sun, 25 Apr 2021 18:23:44 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailing-List: archive/latest/19116 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAB4XWXzpQOpZxzqdn3oC=-JigRfBojE0LFSiw_ghrvdWhJbFkw@mail.gmail.com Approved: robomod@news.nic.it Lines: 19 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Apr 2021 21:23:18 -0400 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:13329 > > > or git repository (a directory) that one has already downloaded. > > > > i dont see how starting from a git repo is useful, can you expand? > > instead of generating a .dsc first and then importing it into a git > repository, it's more logical to me to import an upstream tarball into a > git repository first (gbp import-orig), and then generate the debian > packaging on top of that. py2dsp does that for you: it creates a git repo, along with a source package, with the DPT settings (note i used the `--profile dpt`) ready to be pushed to salsa (the repo creation on salsa is still manual) Regards, -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi