diff --git a/.gitignore b/.gitignore index 67843ac..54b828e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/hatchling-build.1 b/hatchling-build.1 new file mode 100644 index 0000000..943805f --- /dev/null +++ b/hatchling-build.1 @@ -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) diff --git a/hatchling-dep-synced.1 b/hatchling-dep-synced.1 new file mode 100644 index 0000000..7199db2 --- /dev/null +++ b/hatchling-dep-synced.1 @@ -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) diff --git a/hatchling-dep.1 b/hatchling-dep.1 new file mode 100644 index 0000000..419824f --- /dev/null +++ b/hatchling-dep.1 @@ -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) diff --git a/hatchling-metadata.1 b/hatchling-metadata.1 new file mode 100644 index 0000000..bdd98a1 --- /dev/null +++ b/hatchling-metadata.1 @@ -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) diff --git a/hatchling-version.1 b/hatchling-version.1 new file mode 100644 index 0000000..df0607e --- /dev/null +++ b/hatchling-version.1 @@ -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) diff --git a/hatchling.1 b/hatchling.1 index 87853f8..91c5d25 100644 --- a/hatchling.1 +++ b/hatchling.1 @@ -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) diff --git a/python-hatchling.spec b/python-hatchling.spec index 87d73a4..d1e3ce7 100644 --- a/python-hatchling.spec +++ b/python-hatchling.spec @@ -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 diff --git a/sources b/sources index 93a3afd..12d108e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hatchling-1.10.0.tar.gz) = 19659bea1e8e2e1fbf27e8b62c83bf59c22114aa8c4d2cc303136cc089840a7664bb9ef32e60873c55b434d7fd8675f9521ad876e6c23964c1633d8863e5d2fd +SHA512 (hatchling-1.11.0.tar.gz) = 1a4c2cafc7cf648005ec7fc50cb203253b0529e16a0f71cdc22332874cbbc23216948306a43819eea98f118f7fbc32e22ec2ab68be6c9d41b872bf8691f4ba4a