update python-argparse-manpage.spec.
update description
This commit is contained in:
parent
ec96f6f7cf
commit
6a56c4ee53
@ -10,21 +10,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Download `./build_manpages` directory and place it somewhere where Python can
|
Automatically build manpage from argparse
|
||||||
find it. E.g. by:
|
|
||||||
```bash
|
|
||||||
git submodule add --name build_manpages https://github.com/praiskup/build_manpages
|
|
||||||
git submodule update --init
|
|
||||||
```
|
|
||||||
In your `setup.py` add:
|
|
||||||
```python
|
|
||||||
[...]
|
|
||||||
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
|
|
||||||
from setuptools.command.build_py import build_py
|
|
||||||
from setuptools.command.install import install
|
|
||||||
setup(
|
|
||||||
[...]
|
|
||||||
cmdclass={
|
|
||||||
|
|
||||||
%package -n python3-argparse-manpage
|
%package -n python3-argparse-manpage
|
||||||
Summary: Build manual page from python's ArgumentParser object.
|
Summary: Build manual page from python's ArgumentParser object.
|
||||||
@ -32,41 +18,13 @@ Provides: python-argparse-manpage
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-argparse-manpage
|
%description -n python3-argparse-manpage
|
||||||
Download `./build_manpages` directory and place it somewhere where Python can
|
Automatically build manpage from argparse
|
||||||
find it. E.g. by:
|
|
||||||
```bash
|
|
||||||
git submodule add --name build_manpages https://github.com/praiskup/build_manpages
|
|
||||||
git submodule update --init
|
|
||||||
```
|
|
||||||
In your `setup.py` add:
|
|
||||||
```python
|
|
||||||
[...]
|
|
||||||
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
|
|
||||||
from setuptools.command.build_py import build_py
|
|
||||||
from setuptools.command.install import install
|
|
||||||
setup(
|
|
||||||
[...]
|
|
||||||
cmdclass={
|
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for argparse-manpage
|
Summary: Development documents and examples for argparse-manpage
|
||||||
Provides: python3-argparse-manpage-doc
|
Provides: python3-argparse-manpage-doc
|
||||||
%description help
|
%description help
|
||||||
Download `./build_manpages` directory and place it somewhere where Python can
|
Automatically build manpage from argparse
|
||||||
find it. E.g. by:
|
|
||||||
```bash
|
|
||||||
git submodule add --name build_manpages https://github.com/praiskup/build_manpages
|
|
||||||
git submodule update --init
|
|
||||||
```
|
|
||||||
In your `setup.py` add:
|
|
||||||
```python
|
|
||||||
[...]
|
|
||||||
from build_manpages import build_manpages, get_build_py_cmd, get_install_cmd
|
|
||||||
from setuptools.command.build_py import build_py
|
|
||||||
from setuptools.command.install import install
|
|
||||||
setup(
|
|
||||||
[...]
|
|
||||||
cmdclass={
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n argparse-manpage-1.4
|
%autosetup -n argparse-manpage-1.4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user