Compare commits
10 Commits
ae504bef6f
...
e8574c5c13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8574c5c13 | ||
|
|
cc8c3b0831 | ||
|
|
5b08f4fcab | ||
|
|
49b4eb12ee | ||
|
|
57f22628f2 | ||
|
|
faa80507f6 | ||
|
|
c1f32484fd | ||
|
|
956fc95205 | ||
|
|
46116c6cee | ||
|
|
7f086f24ab |
Binary file not shown.
BIN
argparse-manpage-4.5.tar.gz
Normal file
BIN
argparse-manpage-4.5.tar.gz
Normal file
Binary file not shown.
@ -1,22 +1,23 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-argparse-manpage
|
||||
Version: 1.4
|
||||
Version: 4.5
|
||||
Release: 1
|
||||
Summary: Build manual page from python's ArgumentParser object.
|
||||
License: Apache 2.0
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/praiskup/argparse-manpage
|
||||
Source0: https://files.pythonhosted.org/packages/4a/36/321928bb01ad13714d92413d8d65bd22494da1b327d1ef23d3b9c468bdf2/argparse-manpage-1.4.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/fe/0d/8b343214e65ae5e50d3de88706197e2351224b0cc52dde63e621c038d5fa/argparse-manpage-4.5.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
%description
|
||||
Automatically build manpage from argparse
|
||||
|
||||
%package -n python3-argparse-manpage
|
||||
Summary: Build manual page from python's ArgumentParser object.
|
||||
Provides: python-argparse-manpage
|
||||
Provides: python-argparse-manpage = %{version}-%{release}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-tomli
|
||||
BuildRequires: python3-toml
|
||||
%description -n python3-argparse-manpage
|
||||
Automatically build manpage from argparse
|
||||
|
||||
@ -27,7 +28,7 @@ Provides: python3-argparse-manpage-doc
|
||||
Automatically build manpage from argparse
|
||||
|
||||
%prep
|
||||
%autosetup -n argparse-manpage-1.4
|
||||
%autosetup -n argparse-manpage-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -39,6 +40,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
if [ -d usr/lib ]; then
|
||||
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||
@ -67,5 +71,20 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.5-1
|
||||
- Update package to version 4.5
|
||||
|
||||
* Sun Jun 25 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.3-1
|
||||
- Update package to version 4.3
|
||||
|
||||
* Fri Apr 28 2023 wubijie <wubijie@kylinos.cn> - 4.1-1
|
||||
- Update package to version 4.1
|
||||
|
||||
* Tue Nov 01 2022 wangjunqi <wangjunqi@kylinos.cn> - 4-1
|
||||
- Update package to version 4
|
||||
|
||||
* Thu Jan 27 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.1
|
||||
- Upgrade to version 2.1
|
||||
|
||||
* Mon Jul 06 2020 Python_Bot <Python_Bot@openeuler.org>
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user