Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
zope.interface: Autospec creation for update from version 4.4.2 to ve…
Browse files Browse the repository at this point in the history
…rsion 4.2.0
  • Loading branch information
ahkok authored and clrbuilder committed Dec 1, 2017
1 parent be68e76 commit a9ac7e8
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 92 deletions.
76 changes: 0 additions & 76 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,82 +1,6 @@
Changes
=======

4.4.2 (2017-06-14)
------------------

- Fix a regression storing
``zope.component.persistentregistry.PersistentRegistry`` instances.
See `issue 85 <https://github.com/zopefoundation/zope.interface/issues/85>`_.

- Fix a regression that could lead to the utility registration cache
of ``Components`` getting out of sync. See `issue 93
<https://github.com/zopefoundation/zope.interface/issues/93>`_.

4.4.1 (2017-05-13)
------------------

- 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
<https://github.com/zopefoundation/zope.interface/pull/84>`_.

- Raise ``ValueError`` when non-text names are passed to adapter registry
methods: prevents corruption of lookup caches.

4.4.0 (2017-04-21)
------------------

- Avoid a warning from the C compiler.
(https://github.com/zopefoundation/zope.interface/issues/71)

- Add support for Python 3.6.

4.3.3 (2016-12-13)
------------------

- 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)


4.3.2 (2016-09-05)
------------------

- Fix equality testing of ``implementedBy`` objects and proxies.
(https://github.com/zopefoundation/zope.interface/issues/55)


4.3.1 (2016-08-31)
------------------

- Support Components subclasses that are not hashable.
(https://github.com/zopefoundation/zope.interface/issues/53)


4.3.0 (2016-08-31)
------------------

- Add the ability to sort the objects returned by ``implementedBy``.
This is compatible with the way interface classes sort so they can
be used together in ordered containers like BTrees.
(https://github.com/zopefoundation/zope.interface/issues/42)

- Make ``setuptools`` a hard dependency of ``setup.py``.
(https://github.com/zopefoundation/zope.interface/issues/13)

- Change a linear algorithm (O(n)) in ``Components.registerUtility`` and
``Components.unregisterUtility`` into a dictionary lookup (O(1)) for
hashable components. This substantially improves the time taken to
manipulate utilities in large registries at the cost of some
additional memory usage. (https://github.com/zopefoundation/zope.interface/issues/46)


4.2.0 (2016-06-10)
------------------

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := zope.interface
URL := http://pypi.debian.net/zope.interface/zope.interface-4.4.2.tar.gz
URL = http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz


include ../common/Makefile.common
6 changes: 6 additions & 0 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[package]
name = zope.interface
url = http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz
archives =
giturl =

[autospec]
# build 32 bit libraries
32bit = false
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
30
31
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e840f723ca00af379265b66bcaef6b89ab1c219c/zope.interface-4.4.2.tar.gz
8b5f345d257d9d03cd782b9e332fc1c0928928f4/zope.interface-4.2.0.tar.gz
9 changes: 9 additions & 0 deletions whatrequires
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This file contains recursive sources that require this package
certbot
persistent
zope.component
zope.configuration
zope.exceptions
zope.location
zope.proxy
zope.security
17 changes: 17 additions & 0 deletions zope.interface-4.2.0.tar.gz.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJXWsfLAAoJEPKpaDSJE9HYt6UQAIjKvLGngexErAkVDc44BjDu
0pFfJXq0tu3+DtP+YOTF12plL2/Yulfo3bI/IOj6XbvNWvRa5hdZN7djcLxscn2X
M7lFL/1uC4YnDyKWWvrc3CVOPlORntaMCKiNEP+ijD0Z4LYt0KV1TbfTv+G1FfcF
5e7CQF72R1sVm0UzeI3QMCQE3vuNkA+nezAt5EQrxIt+3j0ivxn1Z8Z48SY2c9Ky
pGMK9Gp7PWLugzhzm9ZRTaTdeJO8AhEIf/OVDQP6T+bZ42MuF5wK47aUN0nt0oFf
XIxoOJ25QYuzi6838ImoDoOb3dLnq/2wnYHi4HYuQU+hugmhDuNt/TiNAHrVu+85
D4F4PgEJOP5s4oXBj1bHGlXVDG+UuGO0CLtHTriF0uxO0YqKVhqWKR5ld0r4FWqp
rKozY7PPHTQJOrtBczyfJhfX14F5qavQkY++wC4ESp8WYzRIpPjjm+6ADynXxC8U
0ofoCjyLhrJt4wG7TGifzBLy/x1Qa9xCeovwKry6ORijqytk3au6sdKHXTl5ttY7
WxGoJSTg1oEY9FU0QIo5mnaTJL/DfhRkmxioX/uPGX32lcHYqbMQ8f/VOWtXofPX
JE1U7L/M6TbaKjVJrbhY7HVl0gybmZFjere071fQEKgZn2bPMs7s5EFOvIwDhENH
qiE+JmpbuE1Q8maPNqSi
=xUuj
-----END PGP SIGNATURE-----
52 changes: 39 additions & 13 deletions zope.interface.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
# Source0 file verified with key 0xF2A968348913D1D8 ([email protected])
#
Name : zope.interface
Version : 4.4.2
Release : 30
URL : http://pypi.debian.net/zope.interface/zope.interface-4.4.2.tar.gz
Source0 : http://pypi.debian.net/zope.interface/zope.interface-4.4.2.tar.gz
Version : 4.2.0
Release : 31
URL : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz
Source0 : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz
Source99 : http://pypi.debian.net/zope.interface/zope.interface-4.2.0.tar.gz.asc
Summary : Interfaces for Python
Group : Development/Tools
License : ZPL-2.1
Requires: zope.interface-legacypython
Requires: zope.interface-python3
Requires: zope.interface-python
Requires: Sphinx
Requires: coverage
Requires: nose
Requires: setuptools
Requires: zope.event
BuildRequires : nose
BuildRequires : pbr
BuildRequires : pip
Expand All @@ -24,34 +28,50 @@ BuildRequires : python3-dev
BuildRequires : setuptools

%description
``zope.interface``
==================
.. image:: https://img.shields.io/pypi/v/zope.interface.svg
:target: https://pypi.python.org/pypi/zope.interface/
:alt: Latest Version

%package legacypython
Summary: legacypython components for the zope.interface package.
Group: Default
Requires: python-core

%description legacypython
legacypython components for the zope.interface package.


%package python
Summary: python components for the zope.interface package.
Group: Default
Requires: zope.interface-legacypython
Requires: zope.interface-python3

%description python
python components for the zope.interface package.


%package python3
Summary: python3 components for the zope.interface package.
Group: Default
Requires: python3-core

%description python3
python3 components for the zope.interface package.


%prep
%setup -q -n zope.interface-4.4.2
%setup -q -n zope.interface-4.2.0

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1497532164
export SOURCE_DATE_EPOCH=1512081932
python2 setup.py build -b py2
python3 setup.py build -b py3

%install
export SOURCE_DATE_EPOCH=1497532164
export SOURCE_DATE_EPOCH=1512081932
rm -rf %{buildroot}
python2 -tt setup.py build -b py2 install --root=%{buildroot} --force
python3 -tt setup.py build -b py3 install --root=%{buildroot} --force
Expand All @@ -62,7 +82,13 @@ echo ----[ mark ]----
%files
%defattr(-,root,root,-)

%files python
%files legacypython
%defattr(-,root,root,-)
/usr/lib/python2*/*

%files python
%defattr(-,root,root,-)

%files python3
%defattr(-,root,root,-)
/usr/lib/python3*/*

0 comments on commit a9ac7e8

Please sign in to comment.