Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #13325
| 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 | 2021-04-25 06:30 +0200 |
| Message-ID | <C7Ez7-2eh-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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