Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13325
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Sandro Tosi <morph@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Build an initial Debian source package with py2dsp from a GitHub project |
| Date | Sun, 25 Apr 2021 06:30:01 +0200 |
| Message-ID | <C7Ez7-2eh-9@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Apr 25 04:23:03 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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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-lj1-f181.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Gm-Message-State | AOAM533RRnb5GRMnbMrals6k+DIWPGFUuCw0qWJepVBmAX9xDjWkdFun HxHQNdlp8K728f6KOnQQD6nq37NP6RYZ6Zppk4BlJH//3yUrvA== |
| X-Google-SMTP-Source | ABdhPJzYnHWjebUCCVXR5TfRmlvve97y/t0iJuFNahcw4LxncCy+qkzd8eGDvAiNHMlSM+jbmbsHdOvm3EG9iKDDWls= |
| X-Received | by 2002:a05:651c:b29:: with SMTP id b41mr8109672ljr.136.1619324565514; Sat, 24 Apr 2021 21:22:45 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/19112 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAB4XWXypAdeUBKo08faZVou8uqH8X8+71cgPhsgFzafeSNKx5Q@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 41 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 25 Apr 2021 00:22:19 -0400 |
| X-Original-Message-ID | <CAB4XWXypAdeUBKo08faZVou8uqH8X8+71cgPhsgFzafeSNKx5Q@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.python:13325 |
Show key headers only | View raw
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
Back to linux.debian.maint.python | Previous | Next — Next 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