Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a85e0d9318
!16 [sync] PR-15: Fix changelog error
From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-06-09 10:29:29 +00:00
chendexi
193dcb5ded Fix changelog error
(cherry picked from commit c79c14874a63e420b64c8cd8d5724c3d601188de)
2022-06-09 18:23:25 +08:00
openeuler-ci-bot
a50c87adcb
!14 [sync] PR-12: [轻量级PR] 删除spec文件中不必要的buildrequirements
From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-04-14 01:15:14 +00:00
kkz
aae30eb2e3 remove some unnecessary buildrequires
(cherry picked from commit 06503bfadde0391fbc8d25fb2c5b58c638e13c58)
2022-03-07 10:36:10 +08:00
openeuler-ci-bot
49a6b7d523 !10 [sync] PR-7: Upgrade package version for OpenStack Wallaby support
From: @openeuler-sync-bot
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
2021-08-20 01:41:17 +00:00
sean-lau
9f2885dc29 Upgrade package to version 5.4.0 for OpenStack Wallaby support
(cherry picked from commit 1c5b6a6de96312ecb63a42333bbc54cab619563a)
2021-08-20 09:22:41 +08:00
openeuler-ci-bot
7c4d501282 !9 python-zope-interface delete BuildRequires gdb
From: @chenyanpanHW
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
2021-08-05 03:30:58 +00:00
chenyanpanHW
f3676499b8
delete BuildRequires gdb 2021-08-04 21:20:41 +08:00
openeuler-ci-bot
4580ab9c78 !6 Update python-zope-interface from 4.7.2 to 5.2.0
From: @lei_ju
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-24 16:01:37 +08:00
lei_ju
7f72437cf8 Update pkg from 4.7.2 to 5.2.0 2020-12-24 15:43:45 +08:00
4 changed files with 86 additions and 39 deletions

View File

@ -1,58 +1,105 @@
Name: python-zope-interface %global _empty_manifest_terminate_build 0
Version: 4.7.2 Name: python-zope-interface
Release: 1 Version: 5.4.0
Summary: Zope 3 Interface Infrastructure Release: 2
Group: Development/Libraries Summary: Interfaces for Python
License: ZPLv2.1 License: ZPL 2.1
URL: https://pypi.org/project/zope.interface URL: https://github.com/zopefoundation/zope.interface
Source0: https://files.pythonhosted.org/packages/f8/44/8531e65de6fde76e6055f5ce93e8a482dff534cea9bebcac7845e2273efd/zope.interface-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/ae/58/e0877f58daa69126a5fb325d6df92b20b77431cd281e189c5ec42b722f58/zope.interface-5.4.0.tar.gz
%description %description
Interfaces are a mechanism for labeling objects as conforming to a given API This package is intended to be independently reusable in any Python project.
or contract. It is maintained by the Zope Toolkit project.
This package provides an implementation of "object interfaces" for Python.
This is a separate distribution of the zope.interface package used in Zope 3. Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%package -n python3-zope-interface %package -n python3-zope-interface
Summary: Zope 3 Interface Infrastructure Summary: Interfaces for Python
%{?python_provide:%python_provide python3-zope-interface} Provides: python-zope-interface
# Base build requires
BuildRequires: python3-devel python3-setuptools python3-nose python3-zope-event BuildRequires: python3-devel
Requires: python3-zope-event BuildRequires: python3-setuptools
BuildRequires: python3-zope.testing
BuildRequires: python3-zope-event
BuildRequires: python3-coverage
BuildRequires: gcc
%description -n python3-zope-interface %description -n python3-zope-interface
Interfaces are a mechanism for labeling objects as conforming to a given API This package is intended to be independently reusable in any Python project.
or contract. It is maintained by the Zope Toolkit project.
This package provides an implementation of "object interfaces" for Python.
Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
This is a separate distribution of the zope.interface package used in Zope 3. %package help
Summary: Interfaces for Python
Provides: python3-zope-interface-doc
%description help
This package is intended to be independently reusable in any Python project.
It is maintained by the Zope Toolkit project.
This package provides an implementation of "object interfaces" for Python.
Interfaces are a mechanism for labeling objects as conforming to a given
API or contract. So, this package can be considered as implementation of
the Design By Contract methodology support in Python.
%prep %prep
%autosetup -n zope.interface-%{version} %autosetup -n zope.interface-%{version}
rm -rf %{modname}.egg-info
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/{,tests/}*.txt
%{__rm} -f %{buildroot}%{python3_sitearch}/zope/interface/_zope_interface_coptimizations.c install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%check %check
PYTHONPATH=$(pwd) nosetests-3 %{__python3} setup.py test
%files -n python3-zope-interface -f filelist.lst
%dir %{python3_sitearch}/*
%files -n python3-zope-interface %files help -f doclist.lst
%doc README.rst CHANGES.rst COPYRIGHT.txt docs/ %{_docdir}/*
%license LICENSE.txt
%{python3_sitearch}/zope/interface/
%dir %{python3_sitearch}/zope/
%exclude %{python3_sitearch}/zope/interface/tests/
%exclude %{python3_sitearch}/zope/interface/common/tests/
%{python3_sitearch}/zope.interface-*.egg-info
%{python3_sitearch}/zope.interface-*-nspkg.pth
%changelog %changelog
* Thu Mar 03 2022 zhaoshuang <zhaoshuang@uniontech.com> - 5.4.0-2
- remove some unnecessary buildrequires
* Thu Aug 05 2021 OpenStack_SIG <openstack@openeuler.org> - 5.4.0-1
- Upgrade to version 5.4.0
* Wed Aug 04 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.2.0-2
- DESC: delete BuildRequires gdb
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> - 5.2.0-1
- Update to 5.2.0
* Wed Aug 5 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.7.2-1 * Wed Aug 5 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 4.7.2-1
- Upgrade to 4.7.2 to remove deprecated use of setuptools features - Upgrade to 4.7.2 to remove deprecated use of setuptools features

View File

@ -1,4 +1,4 @@
version_control: pypi version_control: github
src_repo: zope-interface src_repo: zopefoundation/zope.interface
tag_pattern: ^v tag_prefix: "^"
seperator: . separator: "."

Binary file not shown.

BIN
zope.interface-5.4.0.tar.gz Normal file

Binary file not shown.