python-extras/python-extras.spec

49 lines
1.2 KiB
RPMSpec
Raw Normal View History

2019-11-30 10:45:53 +08:00
Name: python-extras
Version: 1.0.0
Release: 8
2019-11-30 10:45:53 +08:00
Summary: A set of extensions to the python standard library
License: MIT
URL: https://github.com/testing-cabal/extras
Source0: https://pypi.io/packages/source/e/extras/extras-%{version}.tar.gz
Patch6000: 0001-Update-classifiers.patch
2019-11-30 10:45:53 +08:00
BuildArch: noarch
%description
python-extras is a set of extensions to the standard library.
%package -n python3-extras
Summary: A set of extensions to the python3 standard library
BuildRequires: python3-devel python3-setuptools python3-testtools
%{?python_provide:%python_provide python3-extras}
%description -n python3-extras
python3-extras is a set of extensions to the standard library.
%prep
%autosetup -n extras-%{version}
rm -vrf *.egg-info
2020-08-10 13:59:52 +08:00
2019-11-30 10:45:53 +08:00
%build
%py3_build
2020-08-10 13:59:52 +08:00
2019-11-30 10:45:53 +08:00
%install
%py3_install
2020-08-10 13:59:52 +08:00
2019-11-30 10:45:53 +08:00
%check
%{__python3} setup.py test
%files -n python3-extras
%doc LICENSE NEWS README.rst
%{python3_sitelib}/extras/
%{python3_sitelib}/extras-*.egg-info/
%changelog
* Mon Jul 17 2023 caofei <caofei@xfusion.com> - 1.0.0-8
- Update classifiers
2020-08-10 13:59:52 +08:00
* Mon Aug 10 2020 lingsheng <lingsheng@huawei.com> - 1.0.0-7
- Remove python2-extras subpackage
2019-11-30 10:45:53 +08:00
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.0.0-6
- Package init