package init
This commit is contained in:
parent
501a19f4b2
commit
a9fcf5cb27
BIN
0.2.5.tar.gz
Normal file
BIN
0.2.5.tar.gz
Normal file
Binary file not shown.
20
LICENSE
Normal file
20
LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013 Alex Rudakov
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
47
python-sphinx-argparse.spec
Normal file
47
python-sphinx-argparse.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
%{?python_enable_dependency_generator}
|
||||||
|
%global srcname sphinx-argparse
|
||||||
|
%global sum Sphinx extension that automatically documents argparse commands and options
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Version: 0.2.5
|
||||||
|
Release: 1
|
||||||
|
Summary: %{sum}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
Url: https://github.com/ribozz/%{srcname}/
|
||||||
|
Source0: https://github.com/ribozz/%{srcname}/archive/%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
|
||||||
|
%description
|
||||||
|
Sphinx extension that automatically documents argparse commands and options
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
Requires: python3-sphinx
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
|
Summary: %{sum}
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
|
%description -n python3-%{srcname}
|
||||||
|
Sphinx extension that automatically documents argparse commands and options
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jun 28 2021 liufeng <liufeng@kylinos.cn> - 0.2.5-1
|
||||||
|
- Initial package.
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user