Bug 1623469 - Review Request: python-click-man - Generate man pages for click based CLI applications
Summary: Review Request: python-click-man - Generate man pages for click based CLI app...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Šabata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1623220
TreeView+ depends on / blocked
 
Reported: 2018-08-29 12:47 UTC by Stephen Gallagher
Modified: 2020-06-13 15:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-13 15:47:24 UTC
Type: ---
Embargoed:
psabata: fedora-review+


Attachments (Terms of Use)

Description Stephen Gallagher 2018-08-29 12:47:19 UTC
Spec URL: https://sgallagh.fedorapeople.org/packagereview/python-click-man/python-click-man.spec
SRPM URL: https://sgallagh.fedorapeople.org/packagereview/python-click-man/python-click-man-0.2.2-1.fc29.src.rpm
Description:
Automatically produces UNIX-style manual pages for Python applications that
use Click for option handling.

Fedora Account System Username: sgallagh

Comment 2 Parag Nemade 2018-08-29 12:59:51 UTC
I see URL can be defined here either as 
https://github.com/click-contrib/click-man
or
https://pypi.org/project/click-man/

Comment 3 Stephen Gallagher 2018-08-29 13:02:13 UTC
(In reply to Parag Nemade from comment #2)
> I see URL can be defined here either as 
> https://github.com/click-contrib/click-man
> or
> https://pypi.org/project/click-man/

Oops, I didn't notice that was missing. Fixing.

Comment 4 Petr Šabata 2018-08-30 10:45:45 UTC
Now the standalone SPEC file doesn't match the one in the archive ;)

Comment 5 Neal Gompa 2018-08-30 11:35:12 UTC
Stephen,

You should enable the dependency generator for this package instead of manually tracking it.

Just put the following at the top of your spec and Requires will be generated automatically based on setuptools data:

%{?python_enable_dependency_generator}

Comment 6 Stephen Gallagher 2018-08-30 11:46:50 UTC
(In reply to Neal Gompa from comment #5)
> Stephen,
> 
> You should enable the dependency generator for this package instead of
> manually tracking it.
> 
> Just put the following at the top of your spec and Requires will be
> generated automatically based on setuptools data:
> 
> %{?python_enable_dependency_generator}

Thanks for the tip! I didn't know about that one.

I generated this specfile originally with pyp2rpm (https://github.com/fedora-python/pyp2rpm) so maybe you could suggest using that as an enhancement?

Comment 8 Stephen Gallagher 2018-08-30 11:52:14 UTC
Err, that last set didn't have the dep generator change yet. I'll get that done sometime today, but it shouldn't be a blocker to review, I don't think.

Comment 10 Petr Šabata 2018-08-31 11:16:19 UTC
* The same problem with %{description} as in mmdzanata.

* It's also funny this one doesn't provide a manpage but given it's not your
  package... :)

* mmdzanata BRs python?dist(setuptools) while this one python?-setuptools.
  It doesn't matter but I'm just commenting on the inconsistency in packaging.

Just fix the description and we're good to go.

Comment 12 Petr Šabata 2018-08-31 11:34:20 UTC
Ack.  Approving.

Comment 13 Gwyn Ciesla 2018-08-31 13:17:43 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/python-click-man

Comment 14 Mattia Verga 2020-06-13 15:47:24 UTC
This package was approved and imported in repositories, but this review ticket was never closed.
I'm closing it now.


Note You need to log in before you can comment on or make changes to this bug.