Example package using python3-pbr and Sphinx documentation with manual page
I'm trying to package pwclient, which depends on python3-pbr and has a rudimentary manual page generated from Sphinx documentation. Is there a similar example package which I can look at, to see how to trigger the manual page generation? I currently get this: dh_sphinxdoc: warning: Sphinx documentation not found debian/rules has: #!/usr/bin/make -f %: dh $@ --with python3,sphinxdoc --buildsystem=pybuild I have patched this into docs/conf.py at the end: # -- Options for manual page output man_pages = [ ('usage', 'pwclient', 'VCS-agnostic tool for interacting with Patchwork', ['The pwclient authors (see AUTHORS file)'], 1), ] Any suggestions what to try next? Thanks.
Re: Example package using python3-pbr and Sphinx documentation with manual page
On 2020-05-04 19:13:38 +0200 (+0200), Florian Weimer wrote: > I'm trying to package pwclient, which depends on python3-pbr and has a > rudimentary manual page generated from Sphinx documentation. Is there > a similar example package which I can look at, to see how to trigger > the manual page generation? > > I currently get this: > > dh_sphinxdoc: warning: Sphinx documentation not found [...] Since PBR originated in OpenStack, the python3-openstackclient package may serve as a good example. It does a dh_sphinxdoc override for manpage building here: https://salsa.debian.org/openstack-team/clients/python-openstackclient/-/blob/88bdecc66a30b4e3d5aec9cdae4cc529c33690e6/debian/rules#L27 > Then there's a similar dh_installman override a few lines later. -- Jeremy Stanley signature.asc Description: PGP signature
Re: Example package using python3-pbr and Sphinx documentation with manual page
On 2020-05-04 19:07:00 + (+), Jeremy Stanley wrote: > On 2020-05-04 19:13:38 +0200 (+0200), Florian Weimer wrote: > > I'm trying to package pwclient, which depends on python3-pbr and has a > > rudimentary manual page generated from Sphinx documentation. Is there > > a similar example package which I can look at, to see how to trigger > > the manual page generation? > > > > I currently get this: > > > > dh_sphinxdoc: warning: Sphinx documentation not found > [...] > > Since PBR originated in OpenStack, the python3-openstackclient > package may serve as a good example. It does a dh_sphinxdoc override > for manpage building here: > > https://salsa.debian.org/openstack-team/clients/python-openstackclient/-/blob/88bdecc66a30b4e3d5aec9cdae4cc529c33690e6/debian/rules#L27 > > > > Then there's a similar dh_installman override a few lines later. Oh, and since you mentioned the conf.py contents, here's how it's being done in the upstream source for that repo: https://opendev.org/openstack/python-openstackclient/src/commit/fdefe5558b7237757d788ee000382f913772bffc/doc/source/conf.py#L225-L233 > -- Jeremy Stanley signature.asc Description: PGP signature
Re: #930780 ITS: pssh
Am 04.04.2020 um 09:46 teilte Jochen Sprickerhof mit: Hi Jochen, Sorry, late response! >>> * update to the latest upstream release (check #891340 or even >>> https://github.com/ParallelSSH/parallel-ssh ?) >>> >> Yes one has to do that. > > parallel-ssh seems to be a Python library and different code base, so I > would rather go with the Github fork mentioned in #891340. But there are > no new releases, so it's probably easiest to pull in the patches via > debian/patches. There is a discussion to make it upstream, so I would > propose to ask for a release after that is cleared: > > https://github.com/lilydjwg/pssh/issues/110#issuecomment-580609871 > >>> * upload to debian. >>> >> Well, probably. I'd need a sponsor for initial upload as I'm just a DM. > > I'm happy to sponsor and help maintain as well. > > Do you have time later today or tomorrow to work on it together? > Otherwise I will go ahead and do some cleanup. My hope would be to get a > fixed version into unstable by the end of the weekend. > So, you did all the work already I was expected to do. Many thanks! I'll try to continue working. Hilmar -- signature.asc Description: OpenPGP digital signature
python 3.7 for Debian 9
Dear Administrator, I have my python application written in version 3.7 and would like to run the application on Debian. I would like to know of there is a plan to upgrade python to version 3.7 from 3.5 in Debian 9. Best regards, Vimanyu