Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
517086fb98
!12 Upgrade to latest release [python-zope-event -> 5.0]
From: @Jason_828e 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-07-10 09:03:10 +00:00
Jason_828e
4dc4b3121d update version to 5.0 2023-07-06 20:18:08 +08:00
openeuler-ci-bot
c94b2bd98c
!11 Update package to version 4.6
From: @wubijie123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-02-09 08:35:17 +00:00
wubijie
80d0175a1f Update package to version 4.6 2023-02-09 13:51:53 +08:00
openeuler-ci-bot
c4a2641553
!10 【更新版本】更新master分支到最新的发布版本4.5.0
From: @kkzhs_admin 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-08-03 02:17:53 +00:00
kkz
7d761ed175 update to v4.5.0(the latest release) 2022-08-02 16:19:15 +08:00
openeuler-ci-bot
8a06b0aa49 !9 remove python2 dependency
From: @xinghe_1
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 15:41:48 +08:00
s17723959267
f485af211f remove python2 dependency 2020-10-29 14:39:43 +08:00
openeuler-ci-bot
cbf4d529bc !3 Modify Source0 Url of package python-zope-event
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-09-14 09:31:00 +08:00
wangge
0315ad5e7a Modify Source0 Url 2020-09-11 14:05:26 +08:00
3 changed files with 19 additions and 61 deletions

View File

@ -1,13 +1,10 @@
%global with_python2 1
%global with_python3 1
Name: python-zope-event
Version: 4.2.0
Release: 12
Version: 5.0
Release: 1
Summary: Zope Event Publication
License: ZPLv2.1
URL: http://pypi.python.org/pypi/zope.event/
Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/46/c2/427f1867bb96555d1d34342f1dd97f8c420966ab564d58d18469a1db8736/zope.event-5.0.tar.gz
BuildArch: noarch
%description
@ -17,27 +14,6 @@ on which more sophisticated event dispatching systems can be built.
(For example, a type-based event dispatching system that builds on
zope.event can be found in zope.component.)
%if 0%{?with_python2}
%package -n python2-zope-event
Summary: Zope Event Publication (Python 2)
%{?python_provide:%python_provide python2-zope-event}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
Requires: python2
%description -n python2-zope-event
The zope.event package provides a simple event system. It provides
an event publishing system and a very simple event-dispatching system
on which more sophisticated event dispatching systems can be built.
(For example, a type-based event dispatching system that builds on
zope.event can be found in zope.component.)
This package contains the version for Python 2.
%endif
%if 0%{?with_python3}
%package -n python3-zope-event
Summary: Zope Event Publication (Python 3)
%{?python_provide:%python_provide python3-zope-event}
@ -57,22 +33,13 @@ on which more sophisticated event dispatching systems can be built.
zope.event can be found in zope.component.)
This package contains the version for Python 3.
%endif
%prep
%setup -q -n zope.event-%{version}
rm -rf %{modname}.egg-info
%build
# build with python2
%if 0%{?with_python2}
%py2_build
%endif
# build with python3
%if 0%{?with_python3}
%py3_build
%endif
# build the sphinx documents
pushd docs
@ -81,35 +48,11 @@ rm -f _build/html/.buildinfo
popd
%install
%if 0%{?with_python2}
%py2_install
%endif
%if 0%{?with_python3}
%py3_install
%endif
%check
%if 0%{?with_python2}
%{__python2} setup.py test
%endif
%if 0%{?with_python3}
%{__python3} setup.py test
%endif
%if 0%{?with_python2}
%files -n python2-zope-event
%doc CHANGES.rst COPYRIGHT.txt README.rst
%doc docs/_build/html/
%license LICENSE.txt
%{python2_sitelib}/zope/event/
%exclude %{python2_sitelib}/zope/event/tests.py*
%dir %{python2_sitelib}/zope/
%{python2_sitelib}/zope.event-*.egg-info
%{python2_sitelib}/zope.event-*-nspkg.pth
%endif
%if 0%{?with_python3}
%files -n python3-zope-event
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%doc docs/_build/html/
@ -120,8 +63,23 @@ popd
%dir %{python3_sitelib}/zope/
%{python3_sitelib}/zope.event-*.egg-info
%{python3_sitelib}/zope.event-*-nspkg.pth
%endif
%changelog
* Mon Jul 10 2023 chenzixuan<chenzixuan@kylinos.cn> - 5.0-1
- Update package to version 5.0
* Thu Feb 9 2023 wubijie <wubijie@kylinos.cn> - 4.6-1
- Update package to version 4.6
* Tue Aug 02 2022 zhaoshuang <zhaoshuang@uniontech.com> - 4.5.0-1
- update to v4.5.0
* Thu Oct 29 2020 xinghe <xinghe1@huawei.com> - 4.2.0-14
- remove python2 dependency
* Tue Sep 8 2020 Ge Wang <wangge20@huawei.com> - 4.2.0-13
- Modify Source0 Url
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 4.2.0-12
- Package init

Binary file not shown.

BIN
zope.event-5.0.tar.gz Normal file

Binary file not shown.