Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
37b6935b86
!13 Update to 1.0.9
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-12-18 01:07:47 +00:00
lyn1001
2fbec5d849 Update to 1.0.9 2023-12-15 15:08:50 +08:00
openeuler-ci-bot
b12902bb74
!6 Fix typo in README
From: @yangbo2022 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-18 09:31:31 +00:00
yangbo
ced40b1c43 Fix typo in README
Signed-off-by: yangbo <yangbo1@xfusion.com>
2023-01-18 14:53:56 +08:00
openeuler-ci-bot
913c69e497
!4 License compliance rectification
From: @wu-leilei 
Reviewed-by: @ruebb 
Signed-off-by: @ruebb
2022-06-10 02:53:27 +00:00
wu-leilei
23c5d4ce64 License compliance rectification 2022-05-11 15:30:51 +08:00
openeuler-ci-bot
af6fa5b491 !2 drop python2 subpackage
From: @wangxiao65
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 10:16:02 +08:00
wangxiao65
1a9113da9b drop python2 subpackage 2020-10-29 11:57:05 +08:00
openeuler-ci-bot
fb37cb9117 !1 add yaml
Merge pull request !1 from cuibb1/master
2020-05-14 11:04:14 +08:00
root
5feb5be339 yaml 2020-05-11 15:42:37 +08:00
4 changed files with 21 additions and 40 deletions

Binary file not shown.

BIN
pretend-1.0.9.tar.gz Normal file

Binary file not shown.

View File

@ -1,34 +1,16 @@
%bcond_without python3
Name: python-pretend
Version: 1.0.8
Release: 15
Version: 1.0.9
Release: 1
Summary: A library to make stubbing with Python easier
License: BSD
License: BSD-3-Clause
URL: https://github.com/alex/pretend
Source0: https://pypi.python.org/packages/source/p/pretend/pretend-%{version}.tar.gz
Source0: https://github.com/alex/pretend/archive/v%{version}/pretend-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools
%if %{with python3}
BuildRequires: python3-devel python3-setuptools
%endif
%description
Pretend is a library to make stubbing with Python easier.
%package -n python2-pretend
Summary: A library to make stubbing with Python easier
License: BSD
%{?python_provide:%python_provide python2-pretend}
%description -n python2-pretend
Pretend is a library to make stubbing with Python easier.
%if %{with python3}
%package -n python3-pretend
Summary: A library to make stubbing with Python easier
License: BSD
@ -37,39 +19,34 @@ License: BSD
%description -n python3-pretend
Pretend is a library to make stubbing with Python easier.
%endif
%prep
%autosetup -n pretend-%{version} -p1
%build
%py2_build
%if %{with python3}
%py3_build
%endif
%install
%py2_install
%if %{with python3}
%py3_install
%endif
%files -n python2-pretend
%defattr(-,root,root)
%license LICENSE.rst
%doc PKG-INFO README.rst
%{python2_sitelib}/*
%if %{with python3}
%files -n python3-pretend
%defattr(-,root,root)
%license LICENSE.rst
%doc PKG-INFO README.rst
%doc README.rst
%{python3_sitelib}/*
%endif
%changelog
* Fri Dec 15 2023 liyanan <liyanan61@h-partners.com> - 1.0.9-1
- Update to 1.0.9
* Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1.0.8-18
- Fix typo in README
* Wed May 11 2022 wulei <wulei80@h-partners.com> - 1.0.8-17
- License compliance rectification
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 1.0.8-16
- drop python2 subpackage
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.8-15
- Package init

4
python-pretend.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: pretend
tag_prefix: "^v"
seperator: "."