diff --git a/python-sanction.spec b/python-sanction.spec new file mode 100644 index 0000000000000000000000000000000000000000..c4087d33cbf8de03c4e3649fdb47270c26aec6d1 --- /dev/null +++ b/python-sanction.spec @@ -0,0 +1,48 @@ +%global modname sanction + +Name: python-sanction +Version: 0.3.1 +Release: 1 +Summary: A simple, lightweight OAuth2 client +License: MIT +URL: http://pypi.python.org/pypi/sanction +Source0: http://pypi.python.org/packages/source/s/sanction/sanction-0.3.1.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel python3-setuptools python3-nose + +%global _description\ +python-sanction is a lightweight, dead simple client implementation of\ +the OAuth2 protocol. +%description %_description + +%package -n python3-sanction +Summary: A simple, lightweight OAuth2 client + +%description -n python3-sanction +python-sanction is a lightweight, dead simple client implementation of +the OAuth2 protocol. + +%prep +%setup -q -n %{modname}-%{version} + +rm -rf %{modname}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +PYTHONPATH=$(pwd) nosetests-%{python3_version} + +%files -n python3-sanction +%doc README.rst LICENSE.txt +%{python3_sitelib}/%{modname}/ +%{python3_sitelib}/%{modname}-%{version}* + +%changelog +* Thu Jul 08 2021 wanglixing -0.3.1-1 +- init project diff --git a/sanction-0.3.1.tar.gz b/sanction-0.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..066ff4d6537b64f49b3c529c2542a4cd3601a0d1 Binary files /dev/null and b/sanction-0.3.1.tar.gz differ