2019-12-14 21:12:46 +08:00
|
|
|
Name: python-pretend
|
|
|
|
|
Version: 1.0.8
|
2020-10-29 11:57:05 +08:00
|
|
|
Release: 16
|
2019-12-14 21:12:46 +08:00
|
|
|
Summary: A library to make stubbing with Python easier
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://github.com/alex/pretend
|
|
|
|
|
Source0: https://pypi.python.org/packages/source/p/pretend/pretend-%{version}.tar.gz
|
|
|
|
|
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
|
|
|
|
|
%doc PKG-INFO README.rst
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|