Update to 1.11.0 (close RHBZ#2133226)

- Improve the man pages
This commit is contained in:
Benjamin A. Beasley 2022-10-09 10:29:18 -04:00
parent 17ad7a2611
commit b7406b9507
9 changed files with 163 additions and 9 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@
/hatchling-1.8.1.tar.gz
/hatchling-1.9.0.tar.gz
/hatchling-1.10.0.tar.gz
/hatchling-1.11.0.tar.gz

40
hatchling-build.1 Normal file
View File

@ -0,0 +1,40 @@
.TH HATCHLING\-BUILD "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling\ build
.SH SYNOPSIS
.B hatchling\ build
.RB [ \-h ]
.RB [ \-d ]
.RB [ \-t ]
.RB [ \-\-hooks\-only ]
.RB [ \-\-no\-hooks ]
.RB [ \-c ]
.RB [ \-\-clean\-hooks\-after ]
.RB [ \-\-clean\-only ]
.SH OPTIONS
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
Show a help message and exit
.TP
.B \-d\fR,\ \fB\-\-directory
The directory in which to build artifacts
.TP
.B \-t\fR,\ \fB\-\-targets
Comma-separated list of targets to build, overriding project defaults
.TP
.B \-\-hooks\-only
.TP
.B \-\-no\-hooks
.TP
.B \-c\fR,\ \fB\-\-clean
.TP
.B \-\-clean\-hooks\-after
.TP
.B \-\-clean\-only
.SH "SEE\ ALSO"
.BR hatchling\-dep (1),
.BR hatchling\-metadata (1),
.BR hatchling\-version (1)
.P
.BR hatchling (1)

22
hatchling-dep-synced.1 Normal file
View File

@ -0,0 +1,22 @@
.TH HATCHLING\-DEP\-SYNCED "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling\ dep\ synced
.SH SYNOPSIS
.B hatchling\ dep\ synced
.RB [ \-h ]
.RB [ \-p ]
.I dependencies
.RI [ dependencies \ ...]
.SH OPTIONS
.SS "POSITIONAL\ ARGUMENTS"
.TP
.I dependencies
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
Show a help message and exit
.TP
.B \-p\fR,\ \fB\-\-python
.SH "SEE\ ALSO"
.BR hatchling\-dep (1),
.BR hatchling (1)

25
hatchling-dep.1 Normal file
View File

@ -0,0 +1,25 @@
.TH HATCHLING\-DEP "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling\ dep
.SH SYNOPSIS
.B hatchling\ dep
.RB [ \-h ]
.RB { synced }\ ...
.SH OPTIONS
.SS "COMMANDS"
.TP
.B synced
See
.BR hatchling\-dep\-synced (1).
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
Show a help message and exit
.SH "SEE\ ALSO"
.BR hatchling\-dep\-synced (1)
.P
.BR hatchling\-build (1),
.BR hatchling\-metadata (1),
.BR hatchling\-version (1)
.P
.BR hatchling (1)

24
hatchling-metadata.1 Normal file
View File

@ -0,0 +1,24 @@
.TH HATCHLING\-METADATA "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling\ metadata
.SH SYNOPSIS
.B hatchling\ metadata
.RB [ \-h ]
.RB [ \-c ]
.RI [ field ]
.SH OPTIONS
.SS "POSITIONAL\ ARGUMENTS"
.TP
.I field
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
Show a help message and exit
.TP
.B \-c\fR,\ \fB\-\-compact
.SH "SEE\ ALSO"
.BR hatchling\-build (1),
.BR hatchling\-dep (1),
.BR hatchling\-version (1)
.P
.BR hatchling (1)

18
hatchling-version.1 Normal file
View File

@ -0,0 +1,18 @@
.TH HATCHLING\-VERSION "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling\ version
.SH SYNOPSIS
.B hatchling\ version
.RB [ \-h ]
.SH OPTIONS
.\" .SS "POSITIONAL\ ARGUMENTS"
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
Show a help message and exit
.SH "SEE\ ALSO"
.BR hatchling\-build (1),
.BR hatchling\-dep (1),
.BR hatchling\-metadata (1)
.P
.BR hatchling (1)

View File

@ -1,4 +1,4 @@
.TH HATCHLING "1" "September 2022" "" "User Commands"
.TH HATCHLING "1" "October 2022" "" "User Commands"
.SH NAME
.B hatchling
\(en the build backend used by Hatch
@ -9,18 +9,31 @@
.SH DESCRIPTION
This is the extensible, standards compliant build backend used by Hatch.
.SH OPTIONS
.SS "POSITIONAL\ ARGUMENTS"
.SS "COMMANDS"
.TP
.B build
See
.BR hatchling\-build (1).
.TP
.B dep
See
.BR hatchling\-dep (1).
.TP
.B metadata
See
.BR hatchling\-metadata (1).
.TP
.B version
See
.BR hatchling\-version (1).
.SS "OPTIONAL\ ARGUMENTS"
.TP
.B \-h\fR,\ \fB\-\-help
show a help message and exit
Show a help message and exit
.SH "SEE\ ALSO"
.BR hatchling\-build (1),
.BR hatchling\-dep (1),
.BR hatchling\-metadata (1),
.BR hatchling\-version (1)
.P
.BR hatch (1)

View File

@ -1,5 +1,5 @@
Name: python-hatchling
Version: 1.10.0
Version: 1.11.0
Release: %autorelease
Summary: The build backend used by Hatch
@ -7,9 +7,13 @@ Summary: The build backend used by Hatch
License: MIT
URL: https://pypi.org/project/hatchling
Source0: %{pypi_source hatchling}
# Man page in groff_man(7) format, hand-written for Fedora based on package
# metadata and --help output
Source1: hatchling.1
# Written for Fedora in groff_man(7) format based on --help output
Source100: hatchling.1
Source200: hatchling-build.1
Source300: hatchling-dep.1
Source310: hatchling-dep-synced.1
Source400: hatchling-metadata.1
Source500: hatchling-version.1
BuildArch: noarch
@ -44,7 +48,13 @@ Summary: %{summary}
%install
%pyproject_install
%pyproject_save_files hatchling
install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 \
'%{SOURCE100}' \
'%{SOURCE200}' \
'%{SOURCE300}' '%{SOURCE310}' \
'%{SOURCE400}' \
'%{SOURCE500}'
%check
@ -59,6 +69,7 @@ install -t '%{buildroot}/%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
%{_bindir}/hatchling
%{_mandir}/man1/hatchling.1*
%{_mandir}/man1/hatchling-*.1*
%changelog

View File

@ -1 +1 @@
SHA512 (hatchling-1.10.0.tar.gz) = 19659bea1e8e2e1fbf27e8b62c83bf59c22114aa8c4d2cc303136cc089840a7664bb9ef32e60873c55b434d7fd8675f9521ad876e6c23964c1633d8863e5d2fd
SHA512 (hatchling-1.11.0.tar.gz) = 1a4c2cafc7cf648005ec7fc50cb203253b0529e16a0f71cdc22332874cbbc23216948306a43819eea98f118f7fbc32e22ec2ab68be6c9d41b872bf8691f4ba4a