From 6a56c4ee537aa3a2dad3210688cd3ef0d5d25486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E4=B8=9C?= Date: Sun, 12 Jul 2020 12:52:53 +0800 Subject: [PATCH] update python-argparse-manpage.spec. update description --- python-argparse-manpage.spec | 48 +++--------------------------------- 1 file changed, 3 insertions(+), 45 deletions(-) diff --git a/python-argparse-manpage.spec b/python-argparse-manpage.spec index b88967f..1e25ae1 100644 --- a/python-argparse-manpage.spec +++ b/python-argparse-manpage.spec @@ -10,21 +10,7 @@ BuildArch: noarch %description -Download `./build_manpages` directory and place it somewhere where Python can -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={ +Automatically build manpage from argparse %package -n python3-argparse-manpage Summary: Build manual page from python's ArgumentParser object. @@ -32,41 +18,13 @@ Provides: python-argparse-manpage BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-argparse-manpage -Download `./build_manpages` directory and place it somewhere where Python can -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={ +Automatically build manpage from argparse %package help Summary: Development documents and examples for argparse-manpage Provides: python3-argparse-manpage-doc %description help -Download `./build_manpages` directory and place it somewhere where Python can -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={ +Automatically build manpage from argparse %prep %autosetup -n argparse-manpage-1.4