Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13665
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sandro Tosi <morph@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Build an initial Debian source package with py2dsp from a GitHub project |
| Date | Fri, 29 Oct 2021 06:50:01 +0200 |
| Message-ID | <Dds01-87O-1@gated-at.bofh.it> (permalink) |
| References | <C7Ez7-2eh-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Fri Oct 29 04:47:06 2021 |
| Old-Return-Path | <sandro.tosi@gmail.com> |
| X-Amavis-Spam-Status | No, score=-6.381 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, 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-yb1-f172.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Gm-Message-State | AOAM530V42Cn6qdfl94xzGG9Qnr9lHyJ1/ElqNVMQogaQHBzUPA92JMj DbOMmaGlDMpo9bmy6Sj389I9diSavn3lGGuZ7P4Vj8sV |
| X-Google-SMTP-Source | ABdhPJwuvcS8HptBkgp9M6zVxcj8vGF2MvRMo8ptEy4L/vZ4Z7GH3EUlJaZ3DHYeOc72uuRT+SOr74EIi08MEKVUT2o= |
| X-Received | by 2002:a25:49c3:: with SMTP id w186mr9666218yba.429.1635482809320; Thu, 28 Oct 2021 21:46:49 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/19465 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAB4XWXyUtnOhf2VPoKkBahxfCwG-W2vCfqF6dKr9x7XVTipAgQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 61 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 29 Oct 2021 00:46:22 -0400 |
| X-Original-Message-ID | <CAB4XWXyUtnOhf2VPoKkBahxfCwG-W2vCfqF6dKr9x7XVTipAgQ@mail.gmail.com> |
| X-Original-References | <CAB4XWXypAdeUBKo08faZVou8uqH8X8+71cgPhsgFzafeSNKx5Q@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.python:13665 |
Show key headers only | View raw
couple of features recently introduced that may interest people: - rudimental support for autopkgtests: autodep8 + a stub for developers to setup autopkgstests for unittests - salsa repo creation, if SALSA_TOKEN is available in ~/.devscripts; this also setup the KGB webhook to post in #d-p-changes I'm definitely no expert in autopkgtests, so if there's something to improve, lemme know. On Sun, Apr 25, 2021 at 12:22 AM Sandro Tosi <morph@debian.org> wrote: > > Hello, > recently i've been making some enhancements to py2dsp (part of > pypi2deb[1] ); for those who dont know what that is, py2dsp is a tool > that, given a PyPI project, will create an (initial) Debian source > package. > > [1] https://packages.qa.debian.org/p/pypi2deb.html > > I've just finished a patch that extend py2dsp to fetch the upstream > tarball from GitHub instead; nowadays this is my preferred source for > upstream tarballs, given it contains all the project files (not only > the one published on pypi via sdist, often missing important files > like tests, or doc sources, etc). > > it's currently available at the git branch at [2] (there's a PR open at [3]): > > [2] https://github.com/sandrotosi/pypi2deb/tree/morph > [3] https://github.com/p1otr/pypi2deb/pull/27 > > once you cloned/checkout that branch, you can run: > > $ ./py2dsp --profile dpt --distribution unstable --revision 1 --github > https://github.com/USER/PROJECT > > alternatively, you can specify an additional argument `<source name>`, > if PROJECT is not the source name you want to use in Debian: > > $ ./py2dsp --profile dpt --distribution unstable --revision 1 --github > https://github.com/USER/PROJECT <source name> > > and it will create the source package in the `result/` directory. > > Let me know if you find this useful and if there are > issues/enhancement you'd like to see added/fixed. > > Regards, > -- > Sandro "morph" Tosi > My website: http://sandrotosi.me/ > Me at Debian: http://wiki.debian.org/SandroTosi > Twitter: https://twitter.com/sandrotosi -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-25 06:30 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Antonio Terceiro <terceiro@debian.org> - 2021-04-25 14:40 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-26 00:30 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Antonio Terceiro <terceiro@debian.org> - 2021-04-26 01:20 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-04-26 03:30 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 20:40 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Andrey Rahmatullin <wrar@debian.org> - 2021-05-05 21:00 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-05 21:10 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 21:50 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Utkarsh Gupta <utkarsh@debian.org> - 2021-05-05 22:00 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-06 00:20 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Paul Wise <pabs@debian.org> - 2021-05-06 00:50 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-05-06 01:10 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Andrey Rahmatullin <wrar@debian.org> - 2021-05-05 22:00 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Paul Wise <pabs@debian.org> - 2021-05-06 00:50 +0200
Re: Build an initial Debian source package with py2dsp from a GitHub project Sandro Tosi <morph@debian.org> - 2021-10-29 06:50 +0200
csiph-web