diff --git a/0.2.5.tar.gz b/0.2.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d5ccdf72a1003cb05dab1e46e3367017b11df24c Binary files /dev/null and b/0.2.5.tar.gz differ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..b649775b2e6557fe770ffeff813f7c6d6b902689 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/python-sphinx-argparse.spec b/python-sphinx-argparse.spec new file mode 100644 index 0000000000000000000000000000000000000000..1e840852b3bc916ff01358a2b42be826714f3d93 --- /dev/null +++ b/python-sphinx-argparse.spec @@ -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 - 0.2.5-1 +- Initial package. +