forked from pool/python-zope.interface
Accepting request 504841 from home:okurz:matrix-synapse
Fullly delete doc generation for now to break dependency cycles OBS-URL: https://build.opensuse.org/request/show/504841 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
b7432fcf14
commit
2d206b39df
@@ -1,3 +1,35 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 13:01:14 UTC 2017 - okurz@suse.com
|
||||
|
||||
- Cover building python3 packages as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 17 16:38:43 UTC 2017 - okurz@suse.com
|
||||
|
||||
- Update to 4.4.2
|
||||
* Fix a regression storing zope.component.persistentregistry.PersistentRegistry instances. See issue 85.
|
||||
* Fix a regression that could lead to the utility registration cache of Components getting out of sync. See issue 93.
|
||||
- Update to 4.4.1
|
||||
* Simplify the caching of utility-registration data. In addition to simplification, avoids spurious test failures when checking for leaks in tests with persistent registries. See pull 84.
|
||||
* Raise ValueError when non-text names are passed to adapter registry methods: prevents corruption of lookup caches.
|
||||
- Update to 4.4.0
|
||||
* Avoid a warning from the C compiler. (https://github.com/zopefoundation/zope.interface/issues/71)
|
||||
* Add support for Python 3.6.
|
||||
- Update to 4.3.3
|
||||
* Correct typos and ReST formatting errors in documentation.
|
||||
* Add API documentation for the adapter registry.
|
||||
* Ensure that the LICENSE.txt file is included in built wheels.
|
||||
* Fix C optimizations broken on Py3k. See the Python bug at: http://bugs.python.org/issue15657 (https://github.com/zopefoundation/zope.interface/issues/60)
|
||||
- Update to 4.3.2
|
||||
* Fix equality testing of implementedBy objects and proxies. (https://github.com/zopefoundation/zope.interface/issues/55)
|
||||
- Prevent duplicate doc package generation
|
||||
- Cleanup duplicates in build tree
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 11 12:16:24 UTC 2017 - okurz@suse.com
|
||||
|
||||
- Convert package to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 10:11:54 UTC 2016 - dmueller@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-zope.interface
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,35 +16,41 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
Name: python-zope.interface
|
||||
Version: 4.3.1
|
||||
%global modname zope.interface
|
||||
Version: 4.4.2
|
||||
Release: 0
|
||||
Url: http://pypi.python.org/pypi/zope.interface
|
||||
Url: http://pypi.python.org/pypi/%{modname}
|
||||
Summary: Interfaces for Python
|
||||
License: ZPL-2.1
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.io/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
|
||||
Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Sphinx
|
||||
#!BuildIgnore: python-zope.interface
|
||||
BuildRequires: python-repoze.sphinx.autointerface
|
||||
# Testing requirements:
|
||||
BuildRequires: python-coverage
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-zope.event
|
||||
Provides: python-zopeinterface = %{version}
|
||||
Obsoletes: python-zopeinterface < %{version}
|
||||
Provides: python-zope-interface = %{version}
|
||||
Obsoletes: python-zope-interface < %{version}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module zope.event}
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
%define oldpython python
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-zopeinterface = %{version}
|
||||
Obsoletes: %{oldpython}-zopeinterface < %{version}
|
||||
Provides: %{oldpython}-zope-interface = %{version}
|
||||
Obsoletes: %{oldpython}-zope-interface < %{version}
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package is intended to be independently reusable in any Python
|
||||
project. It is maintained by the Zope Toolkit project.
|
||||
@@ -54,37 +60,23 @@ 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 doc
|
||||
Summary: Interfaces for Python
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n zope.interface-%{version}
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
PYTHONPATH=$(echo $(pwd)/build/lib.*) python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
# Remove duplicate files
|
||||
%fdupes -s %{buildroot}
|
||||
rm %{buildroot}%python_sitearch/zope/interface/_zope_interface_coptimizations.c
|
||||
%python_install
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/zope/interface/_zope_interface_coptimizations.c
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%check
|
||||
python setup.py -q test
|
||||
%python_exec setup.py test
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYRIGHT.txt CHANGES.rst LICENSE.txt README.rst
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc build/sphinx/html/
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:320920cedb07666fd4022f6a0fcd4a44551133a8415c98eac0873b753bb5a70c
|
||||
size 147262
|
||||
3
zope.interface-4.4.2.tar.gz
Normal file
3
zope.interface-4.4.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e59e427200201f69ef82956ddf9e527891becf5b7cde8ec3ce39e1d0e262eb0
|
||||
size 150150
|
||||
Reference in New Issue
Block a user