2019-12-14 21:12:46 +08:00
|
|
|
Name: python-pretend
|
2023-12-15 15:08:50 +08:00
|
|
|
Version: 1.0.9
|
|
|
|
|
Release: 1
|
2019-12-14 21:12:46 +08:00
|
|
|
Summary: A library to make stubbing with Python easier
|
2022-05-11 15:30:51 +08:00
|
|
|
License: BSD-3-Clause
|
2019-12-14 21:12:46 +08:00
|
|
|
URL: https://github.com/alex/pretend
|
2023-12-15 15:08:50 +08:00
|
|
|
Source0: https://github.com/alex/pretend/archive/v%{version}/pretend-%{version}.tar.gz
|
2019-12-14 21:12:46 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Pretend is a library to make stubbing with Python easier.
|
|
|
|
|
|
|
|
|
|
%package -n python3-pretend
|
|
|
|
|
Summary: A library to make stubbing with Python easier
|
|
|
|
|
License: BSD
|
|
|
|
|
%{?python_provide:%python_provide python3-pretend}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-pretend
|
|
|
|
|
Pretend is a library to make stubbing with Python easier.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n pretend-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-pretend
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license LICENSE.rst
|
2023-12-15 15:08:50 +08:00
|
|
|
%doc README.rst
|
2019-12-14 21:12:46 +08:00
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-12-15 15:08:50 +08:00
|
|
|
* Fri Dec 15 2023 liyanan <liyanan61@h-partners.com> - 1.0.9-1
|
|
|
|
|
- Update to 1.0.9
|
|
|
|
|
|
2023-01-18 14:53:56 +08:00
|
|
|
* Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1.0.8-18
|
|
|
|
|
- Fix typo in README
|
|
|
|
|
|
2022-05-11 15:30:51 +08:00
|
|
|
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 1.0.8-17
|
|
|
|
|
- License compliance rectification
|
|
|
|
|
|
2020-10-29 11:57:05 +08:00
|
|
|
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.0.8-16
|
|
|
|
|
- drop python2 subpackage
|
|
|
|
|
|
2019-12-14 21:12:46 +08:00
|
|
|
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.8-15
|
|
|
|
|
- Package init
|