From 84937d68bb15f0ef58003bc457186174902d9e46 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 16 Aug 2010 00:11:36 +0000 Subject: [PATCH 01/96] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 36179bcb8cc019a348773f99e2d4287b8f24b882 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 16 Aug 2010 13:10:46 +0200 Subject: [PATCH 02/96] initial import (#603245) --- .gitignore | 1 + python-zmq-os-walk.patch | 30 +++++++ python-zmq.spec | 178 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 210 insertions(+) create mode 100644 python-zmq-os-walk.patch create mode 100644 python-zmq.spec diff --git a/.gitignore b/.gitignore index e69de29..26b3ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pyzmq-0.1.20100725git18f5d06.tar.xz diff --git a/python-zmq-os-walk.patch b/python-zmq-os-walk.patch new file mode 100644 index 0000000..34929e5 --- /dev/null +++ b/python-zmq-os-walk.patch @@ -0,0 +1,30 @@ +commit 12bca65badafebf0d45864b2011c32543be271d4 +Author: Thomas Spura +Date: Tue Aug 3 12:56:54 2010 +0200 + + s/os.path.walk/os.walk/g in python 3 + + When running python3, there is no os.path.walk() anymore. + It's renamed as os.walk(), so prefer the later and fall back to the + first. + + Signed-off-by: Thomas Spura + +diff --git a/setup.py b/setup.py +index 6c765a6..2fe9055 100644 +--- a/setup.py ++++ b/setup.py +@@ -30,7 +30,12 @@ from distutils.extension import Extension + + from unittest import TextTestRunner, TestLoader + from glob import glob +-from os.path import splitext, basename, join as pjoin, walk ++from os.path import splitext, basename, join as pjoin ++ ++try: ++ from os import walk ++except ImportError: ++ from os.path import walk + + + #----------------------------------------------------------------------------- diff --git a/python-zmq.spec b/python-zmq.spec new file mode 100644 index 0000000..f13ab3c --- /dev/null +++ b/python-zmq.spec @@ -0,0 +1,178 @@ +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%global with_python3 1 +%endif + + +%global _use_internal_dependency_generator 0 +%global __find_provides %{_rpmconfigdir}/find-provides | grep -v _zmq.so + +%global checkout 18f5d061558a176f5496aa8e049182c1a7da64f6 + +%global srcname pyzmq + +Name: python-zmq +Version: 0.1.20100725git18f5d06 +Release: 3%{?dist} +Summary: Software library for fast, message-based applications + +Group: Development/Libraries +License: LGPLv3+ and ASL 2.0 +URL: http://www.zeromq.org/bindings:python +# VCS: git:http://github.com/zeromq/pyzmq.git +# git checkout with the commands: +# git clone http://github.com/zeromq/pyzmq.git pyzmq.git +# cd pyzmq.git +# git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz +Source0: %{srcname}-%{version}.tar.xz +Patch0: python-zmq-os-walk.patch + +BuildRequires: python2-devel +BuildRequires: python-setuptools +BuildRequires: zeromq-devel +BuildRequires: python-nose + +%if 0%{?with_python3} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# needed for 2to3 +BuildRequires: python-tools +# not yet build +#BuildRequires: python3-nose +%endif + +%description +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. + +This package contains the python bindings. + + +%if 0%{?with_python3} +%package -n python3-zmq +Summary: Software library for fast, message-based applications +Group: Development/Libraries +License: LGPLv3+ +%description -n python3-zmq +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. + +This package contains the python bindings. +%endif + + +%prep +%setup -q -n %{srcname}-%{version} +%patch0 -p1 +# remove shebangs +for lib in zmq/eventloop/*.py; do + sed '/\/usr\/bin\/env/d' $lib > $lib.new && + touch -r $lib $lib.new && + mv $lib.new $lib +done + +# remove excecutable bits +chmod -x examples/kernel/frontend.py +chmod -x examples/pubsub/topics_pub.py +chmod -x examples/kernel/kernel.py +chmod -x examples/pubsub/topics_sub.py + +%if 0%{?with_python3} +rm -rf %{py3dir} +cp -a . %{py3dir} +find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +rm -r %{py3dir}/examples +2to3 --write --nobackups %{py3dir} +%endif + + +%build +CFLAGS="%{optflags}" %{__python} setupegg.py build + +%if 0%{?with_python3} +pushd %{py3dir} +CFLAGS="%{optflags}" %{__python3} setupegg.py build +popd +%endif # with_python3 + + + +%install +# Must do the python3 install first because the scripts in /usr/bin are +# overwritten with every setup.py install (and we want the python2 version +# to be the default for now). +%if 0%{?with_python3} +pushd %{py3dir} +%{__python3} setupegg.py install --skip-build --root $RPM_BUILD_ROOT + +# remove tests doesn't work here, do that after running the tests + +popd +%endif # with_python3 + + +%{__python} setupegg.py install -O1 --skip-build --root %{buildroot} + +# remove tests doesn't work here, do that after running the tests + + + +%check +rm zmq/__* +pushd zmq +PYTHONPATH=%{buildroot}%{python_sitearch} nosetests +popd +rm -r %{buildroot}%{python_sitearch}/zmq/tests + +%if 0%{?with_python3} +# there is no python3-nose yet +pushd %{py3dir} + rm zmq/__* + pushd zmq + #PYTHONPATH=%{buildroot}%{python3_sitearch} nosetests + popd + rm -r %{buildroot}%{python3_sitearch}/zmq/tests +popd +%endif + + +%files +%defattr(-,root,root,-) +%doc README.rst COPYING.LESSER examples/ +%{python_sitearch}/%{srcname}-*.egg-info +%{python_sitearch}/zmq + + +%if 0%{?with_python3} +%files -n python3-zmq +%defattr(-,root,root,-) +%doc README.rst COPYING.LESSER +# examples/ +%{python3_sitearch}/%{srcname}-*.egg-info +%{python3_sitearch}/zmq +%endif + + +%changelog +* Thu Aug 5 2010 Thomas Spura - 0.1.20100725git18f5d06-3 +- add missing BR for 2to3 + +* Tue Aug 3 2010 Thomas Spura - 0.1.20100725git18f5d06-2 +- build python3 subpackage +- rename to from pyzmq to python-zmq +- change license + +* Sun Jul 25 2010 Thomas Spura - 0.1.20100725git18f5d06-1 +- renew git snapshot +- start from version 0.1 like upstream (not the version from zeromq) +- remove buildroot / %%clean + +* Sat Jun 12 2010 Thomas Spura Date: Sun, 22 Aug 2010 14:02:34 +0200 Subject: [PATCH 03/96] - rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html --- python-zmq.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index f13ab3c..3786e43 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 0.1.20100725git18f5d06 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -161,6 +161,10 @@ popd %changelog +* Sun Aug 22 2010 Thomas Spura - 0.1.20100725git18f5d06-4 +- rebuild with python3.2 + http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html + * Thu Aug 5 2010 Thomas Spura - 0.1.20100725git18f5d06-3 - add missing BR for 2to3 From 342c17d9af6f27f2eed05ac413ef851db44f7343 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 23 Sep 2010 14:08:23 +0200 Subject: [PATCH 04/96] update to new version to be comply with zeromq --- python-zmq.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 3786e43..5e256a0 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,8 +11,8 @@ %global srcname pyzmq Name: python-zmq -Version: 0.1.20100725git18f5d06 -Release: 4%{?dist} +Version: 2.0.8 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -23,7 +23,7 @@ URL: http://www.zeromq.org/bindings:python # git clone http://github.com/zeromq/pyzmq.git pyzmq.git # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -Source0: %{srcname}-%{version}.tar.xz +Source0: http://github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz Patch0: python-zmq-os-walk.patch BuildRequires: python2-devel @@ -84,6 +84,9 @@ chmod -x examples/pubsub/topics_pub.py chmod -x examples/kernel/kernel.py chmod -x examples/pubsub/topics_sub.py +# delete hidden files +find examples -name '.*' | xargs rm -v + %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} @@ -161,6 +164,9 @@ popd %changelog +* Thu Sep 23 2010 Thomas Spura - 2.0.8-1 +- update to new version to be comply with zeromp + * Sun Aug 22 2010 Thomas Spura - 0.1.20100725git18f5d06-4 - rebuild with python3.2 http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html From 014726d88a858ee1627aea26241cd34b2002f864 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 23 Sep 2010 14:16:28 +0200 Subject: [PATCH 05/96] forgot to upload the new sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 26b3ad6..aa0e555 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /pyzmq-0.1.20100725git18f5d06.tar.xz +/pyzmq-2.0.8.tar.gz diff --git a/sources b/sources index 652a3fa..4947f25 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c9fd5482f4103735747ecf2aa6c6ab0e pyzmq-0.1.20100725git18f5d06.tar.xz +f70dfbf2b7d67eed011aa63674ee0937 pyzmq-2.0.8.tar.gz From 9454fd32202ec1037667e89c8a7f7a6076784cf7 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 29 Dec 2010 20:00:56 -0500 Subject: [PATCH 06/96] rebuild for newer python3 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 5e256a0..4430140 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 2.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -164,6 +164,9 @@ popd %changelog +* Wed Dec 29 2010 David Malcolm - 2.0.8-2 +- rebuild for newer python3 + * Thu Sep 23 2010 Thomas Spura - 2.0.8-1 - update to new version to be comply with zeromp From a0075cac9f2583bcbac7290efbb34e0aa3ad7cad Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Tue, 18 Jan 2011 23:11:13 +0100 Subject: [PATCH 07/96] - update to new version - remove patch (is upstream) - run tests differently --- .gitignore | 1 + python-zmq-os-walk.patch | 30 ------------------------------ python-zmq.spec | 39 ++++++++++++++++++++++++--------------- sources | 2 +- 4 files changed, 26 insertions(+), 46 deletions(-) delete mode 100644 python-zmq-os-walk.patch diff --git a/.gitignore b/.gitignore index aa0e555..cc3ea39 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /pyzmq-0.1.20100725git18f5d06.tar.xz /pyzmq-2.0.8.tar.gz +/pyzmq-2.0.10.tar.gz diff --git a/python-zmq-os-walk.patch b/python-zmq-os-walk.patch deleted file mode 100644 index 34929e5..0000000 --- a/python-zmq-os-walk.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 12bca65badafebf0d45864b2011c32543be271d4 -Author: Thomas Spura -Date: Tue Aug 3 12:56:54 2010 +0200 - - s/os.path.walk/os.walk/g in python 3 - - When running python3, there is no os.path.walk() anymore. - It's renamed as os.walk(), so prefer the later and fall back to the - first. - - Signed-off-by: Thomas Spura - -diff --git a/setup.py b/setup.py -index 6c765a6..2fe9055 100644 ---- a/setup.py -+++ b/setup.py -@@ -30,7 +30,12 @@ from distutils.extension import Extension - - from unittest import TextTestRunner, TestLoader - from glob import glob --from os.path import splitext, basename, join as pjoin, walk -+from os.path import splitext, basename, join as pjoin -+ -+try: -+ from os import walk -+except ImportError: -+ from os.path import walk - - - #----------------------------------------------------------------------------- diff --git a/python-zmq.spec b/python-zmq.spec index 4430140..4610907 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -3,16 +3,18 @@ %endif -%global _use_internal_dependency_generator 0 -%global __find_provides %{_rpmconfigdir}/find-provides | grep -v _zmq.so +%{?filter_setup: +%filter_provides_in %{python_sitearch}/.*\.so$ +%filter_setup +} %global checkout 18f5d061558a176f5496aa8e049182c1a7da64f6 %global srcname pyzmq Name: python-zmq -Version: 2.0.8 -Release: 2%{?dist} +Version: 2.0.10 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -23,8 +25,7 @@ URL: http://www.zeromq.org/bindings:python # git clone http://github.com/zeromq/pyzmq.git pyzmq.git # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -Source0: http://github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz -Patch0: python-zmq-os-walk.patch +Source0: http://cloud.github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz BuildRequires: python2-devel BuildRequires: python-setuptools @@ -70,7 +71,6 @@ This package contains the python bindings. %prep %setup -q -n %{srcname}-%{version} -%patch0 -p1 # remove shebangs for lib in zmq/eventloop/*.py; do sed '/\/usr\/bin\/env/d' $lib > $lib.new && @@ -79,13 +79,12 @@ for lib in zmq/eventloop/*.py; do done # remove excecutable bits -chmod -x examples/kernel/frontend.py chmod -x examples/pubsub/topics_pub.py -chmod -x examples/kernel/kernel.py chmod -x examples/pubsub/topics_sub.py # delete hidden files -find examples -name '.*' | xargs rm -v +#find examples -name '.*' | xargs rm -v + %if 0%{?with_python3} rm -rf %{py3dir} @@ -93,6 +92,7 @@ cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' rm -r %{py3dir}/examples 2to3 --write --nobackups %{py3dir} + %endif @@ -129,18 +129,22 @@ popd %check rm zmq/__* -pushd zmq -PYTHONPATH=%{buildroot}%{python_sitearch} nosetests -popd +#pushd zmq + #PYTHONPATH=%{buildroot}%{python_sitearch} nosetests +#popd +PYTHONPATH=%{buildroot}%{python_sitearch} \ + %{__python} setup.py test rm -r %{buildroot}%{python_sitearch}/zmq/tests %if 0%{?with_python3} # there is no python3-nose yet pushd %{py3dir} rm zmq/__* - pushd zmq + #pushd zmq #PYTHONPATH=%{buildroot}%{python3_sitearch} nosetests - popd + #popd + #PYTHONPATH=%{buildroot}%{python3_sitearch} \ + # %{__python3} setup.py test rm -r %{buildroot}%{python3_sitearch}/zmq/tests popd %endif @@ -164,6 +168,11 @@ popd %changelog +* Thu Jan 13 2011 Thomas Spura - 2.0.10-1 +- update to new version +- remove patch (is upstream) +- run tests differently + * Wed Dec 29 2010 David Malcolm - 2.0.8-2 - rebuild for newer python3 diff --git a/sources b/sources index 4947f25..75dfa42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f70dfbf2b7d67eed011aa63674ee0937 pyzmq-2.0.8.tar.gz +b8b397b2b459c6cdf7571eca5b697bc5 pyzmq-2.0.10.tar.gz From d57ff9e655a5b056456b39ed36ea68fbc1b1dec8 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Sun, 30 Jan 2011 21:51:21 +0100 Subject: [PATCH 08/96] - update to new version (fixes memory leak) - no need to run 2to3 on python3 subpackage --- .gitignore | 1 + python-zmq.spec | 14 +++++++------- sources | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index cc3ea39..d997b47 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pyzmq-0.1.20100725git18f5d06.tar.xz /pyzmq-2.0.8.tar.gz /pyzmq-2.0.10.tar.gz +/pyzmq-2.0.10.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 4610907..0ef887f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -13,7 +13,7 @@ %global srcname pyzmq Name: python-zmq -Version: 2.0.10 +Version: 2.0.10.1 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -91,7 +91,6 @@ rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' rm -r %{py3dir}/examples -2to3 --write --nobackups %{py3dir} %endif @@ -101,7 +100,7 @@ CFLAGS="%{optflags}" %{__python} setupegg.py build %if 0%{?with_python3} pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setupegg.py build +CFLAGS="%{optflags}" %{__python3} setup.py build popd %endif # with_python3 @@ -113,7 +112,7 @@ popd # to be the default for now). %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setupegg.py install --skip-build --root $RPM_BUILD_ROOT +%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT # remove tests doesn't work here, do that after running the tests @@ -129,9 +128,6 @@ popd %check rm zmq/__* -#pushd zmq - #PYTHONPATH=%{buildroot}%{python_sitearch} nosetests -#popd PYTHONPATH=%{buildroot}%{python_sitearch} \ %{__python} setup.py test rm -r %{buildroot}%{python_sitearch}/zmq/tests @@ -168,6 +164,10 @@ popd %changelog +* Sun Jan 30 2011 Thomas Spura - 2.0.10.1-1 +- update to new version (fixes memory leak) +- no need to run 2to3 on python3 subpackage + * Thu Jan 13 2011 Thomas Spura - 2.0.10-1 - update to new version - remove patch (is upstream) diff --git a/sources b/sources index 75dfa42..f76c02b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8b397b2b459c6cdf7571eca5b697bc5 pyzmq-2.0.10.tar.gz +472f43b8a409aabe093e204c9abea7a8 pyzmq-2.0.10.1.tar.gz From b9823d17c715564326d64c3bd0944801883cb58f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 01:30:08 -0600 Subject: [PATCH 09/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 0ef887f..c271374 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -14,7 +14,7 @@ Name: python-zmq Version: 2.0.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -164,6 +164,9 @@ popd %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 2.0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sun Jan 30 2011 Thomas Spura - 2.0.10.1-1 - update to new version (fixes memory leak) - no need to run 2to3 on python3 subpackage From bc2b5f7054c17ff3123073a7f71a56a15efeffcc Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 23 Mar 2011 19:10:28 +0100 Subject: [PATCH 10/96] update to new version --- .gitignore | 1 + python-zmq.spec | 28 ++++++++++++++++------------ sources | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d997b47..10de3a6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /pyzmq-2.0.8.tar.gz /pyzmq-2.0.10.tar.gz /pyzmq-2.0.10.1.tar.gz +/pyzmq-2.1.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index c271374..8e17801 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,9 +12,11 @@ %global srcname pyzmq +%global run_tests 0 + Name: python-zmq -Version: 2.0.10.1 -Release: 2%{?dist} +Version: 2.1.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -127,22 +129,21 @@ popd %check -rm zmq/__* -PYTHONPATH=%{buildroot}%{python_sitearch} \ +%if 0%{?run_tests} + rm zmq/__* + PYTHONPATH=%{buildroot}%{python_sitearch} \ %{__python} setup.py test -rm -r %{buildroot}%{python_sitearch}/zmq/tests + rm -r %{buildroot}%{python_sitearch}/zmq/tests -%if 0%{?with_python3} -# there is no python3-nose yet -pushd %{py3dir} + %if 0%{?with_python3} + # there is no python3-nose yet + pushd %{py3dir} rm zmq/__* - #pushd zmq - #PYTHONPATH=%{buildroot}%{python3_sitearch} nosetests - #popd #PYTHONPATH=%{buildroot}%{python3_sitearch} \ # %{__python3} setup.py test rm -r %{buildroot}%{python3_sitearch}/zmq/tests -popd + popd + %endif %endif @@ -164,6 +165,9 @@ popd %changelog +* Wed Mar 23 2011 Thomas Spura - 2.1.1-1 +- update to new version (#682201) + * Wed Feb 09 2011 Fedora Release Engineering - 2.0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index f76c02b..c41111e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -472f43b8a409aabe093e204c9abea7a8 pyzmq-2.0.10.1.tar.gz +f1d52b8bdf1f5f1e34b2c545da87a1e0 pyzmq-2.1.1.tar.gz From 48bbb9fbb871212546ca61341d17ddcc819a58cb Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 6 Apr 2011 11:12:49 +0200 Subject: [PATCH 11/96] update to new version 2.1.4 (#690199) --- python-zmq.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 8e17801..f5cc98d 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,10 +12,10 @@ %global srcname pyzmq -%global run_tests 0 +%global run_tests 1 Name: python-zmq -Version: 2.1.1 +Version: 2.1.4 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -28,6 +28,8 @@ URL: http://www.zeromq.org/bindings:python # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz Source0: http://cloud.github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz +# upstream forgot to add this file into the tarball, fetched from current git +Source1: buildutils.py BuildRequires: python2-devel BuildRequires: python-setuptools @@ -87,6 +89,8 @@ chmod -x examples/pubsub/topics_sub.py # delete hidden files #find examples -name '.*' | xargs rm -v +cp %{_sourcedir}/buildutils.py . + %if 0%{?with_python3} rm -rf %{py3dir} @@ -165,6 +169,9 @@ popd %changelog +* Wed Apr 6 2011 Thomas Spura - 2.1.4-1 +- update to new version (#690199) + * Wed Mar 23 2011 Thomas Spura - 2.1.1-1 - update to new version (#682201) From f2217ca9e42c3795625cf5ed2f8b5b2f858323df Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 6 Apr 2011 11:13:59 +0200 Subject: [PATCH 12/96] also upload new sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 10de3a6..66c37b9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /pyzmq-2.0.10.tar.gz /pyzmq-2.0.10.1.tar.gz /pyzmq-2.1.1.tar.gz +/pyzmq-2.1.4.tar.gz diff --git a/sources b/sources index c41111e..6a9fa0f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f1d52b8bdf1f5f1e34b2c545da87a1e0 pyzmq-2.1.1.tar.gz +c43876c1726ea2f2c4e4b0bbb090951a pyzmq-2.1.4.tar.gz From 4a762c492c6ab3b9965f2d188f75384c0c2f7b2b Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 6 Apr 2011 11:19:19 +0200 Subject: [PATCH 13/96] upload buildutils, fetched from upstream git repo --- buildutils.py | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 268 insertions(+) create mode 100644 buildutils.py diff --git a/buildutils.py b/buildutils.py new file mode 100644 index 0000000..83c18a6 --- /dev/null +++ b/buildutils.py @@ -0,0 +1,268 @@ +"""Detect zmq version""" +# +# Copyright (c) 2011 Min Ragan-Kelley +# +# This file is part of pyzmq, copied and adapted from h5py. +# h5py source used under the New BSD license +# +# h5py: +# BSD license: +# +# pyzmq is free software; you can redistribute it and/or modify it under +# the terms of the Lesser GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# pyzmq is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# Lesser GNU General Public License for more details. +# +# You should have received a copy of the Lesser GNU General Public License +# along with this program. If not, see . + +import shutil +import sys +import os +import logging +import pickle +from distutils import ccompiler +from subprocess import Popen, PIPE + +try: + from configparser import ConfigParser +except: + from ConfigParser import ConfigParser + +pjoin = os.path.join + +#----------------------------------------------------------------------------- +# Logging (adapted from h5py: http://h5py.googlecode.com) +#----------------------------------------------------------------------------- +logger = logging.getLogger() +logger.addHandler(logging.StreamHandler(sys.stderr)) + +def debug(what): + pass + +def fatal(instring, code=1): + logger.error("Fatal: "+instring) + exit(code) + +def warn(instring): + logger.error("Warning: "+instring) + + +#----------------------------------------------------------------------------- +# Utility functions (adapted from h5py: http://h5py.googlecode.com) +#----------------------------------------------------------------------------- + +def detect_zmq(basedir, **compiler_attrs): + """Compile, link & execute a test program, in empty directory `basedir`. + + The C compiler will be updated with any keywords given via setattr. + + Parameters + ---------- + + basedir : path + The location where the test program will be compiled and run + **compiler_attrs : dict + Any extra compiler attributes, which will be set via ``setattr(cc)``. + + Returns + ------- + + A dict of properties for zmq compilation, with the following two keys: + + vers : tuple + The ZMQ version as a tuple of ints, e.g. (2,2,0) + options : dict + The compiler options used to compile the test function, e.g. `include_dirs`, + `library_dirs`, `libs`, etc. + """ + + cc = ccompiler.new_compiler() + for name, val in compiler_attrs.items(): + setattr(cc, name, val) + + cfile = pjoin(basedir, 'vers.c') + efile = pjoin(basedir, 'vers') + + f = open(cfile, 'w') + try: + f.write( +r""" +#include +#include "zmq.h" + +int main(){ + unsigned int major, minor, patch; + zmq_version(&major, &minor, &patch); + fprintf(stdout, "vers: %d.%d.%d\n", major, minor, patch); + return 0; +} +""") + finally: + f.close() + + if sys.platform == 'darwin': + # allow for missing UB arch, since it will still work: + preargs = ['-undefined', 'dynamic_lookup'] + else: + preargs = None + + objs = cc.compile([cfile]) + cc.link_executable(objs, efile, extra_preargs=preargs) + + result = Popen(efile, stdout=PIPE, stderr=PIPE) + so, se = result.communicate() + # for py3k: + so = so.decode() + se = se.decode() + if result.returncode: + msg = "Error running version detection script:\n%s\n%s" % (so,se) + logging.error(msg) + raise IOError(msg) + + handlers = {'vers': lambda val: tuple(int(v) for v in val.split('.'))} + + props = {} + for line in (x for x in so.split('\n') if x): + key, val = line.split(':') + props[key] = handlers[key](val) + + props['options'] = compiler_attrs + return props + +def localpath(*args): + plist = [os.path.dirname(__file__)]+list(args) + return os.path.abspath(pjoin(*plist)) + +def loadpickle(name): + """ Load object from pickle file, or None if it can't be opened """ + name = pjoin('conf', name) + try: + f = open(name,'rb') + except IOError: + # raise + return None + try: + return pickle.load(f) + except Exception: + # raise + return None + finally: + f.close() + +def savepickle(name, data): + """ Save to pickle file, exiting if it can't be written """ + if not os.path.exists('conf'): + os.mkdir('conf') + name = pjoin('conf', name) + try: + f = open(name, 'wb') + except IOError: + fatal("Can't open pickle file \"%s\" for writing" % name) + try: + pickle.dump(data, f, 0) + finally: + f.close() + +def v_str(v_tuple): + """turn (2,0,1) into '2.0.1'.""" + return ".".join(str(x) for x in v_tuple) + +def get_eargs(): + """ Look for options in environment vars """ + + settings = {} + + zmq = os.environ.get("ZMQ_DIR", '') + if zmq != '': + debug("Found environ var ZMQ_DIR=%s" % zmq) + settings['zmq'] = zmq + + return settings + +def get_cfg_args(): + """ Look for options in setup.cfg """ + + settings = {} + zmq = '' + if not os.path.exists('setup.cfg'): + return settings + cfg = ConfigParser() + cfg.read('setup.cfg') + if 'build_ext' in cfg.sections() and \ + cfg.has_option('build_ext', 'include_dirs'): + includes = cfg.get('build_ext', 'include_dirs') + include = includes.split(os.pathsep)[0] + if include.endswith('include') and os.path.isdir(include): + zmq = include[:-8] + if zmq != '': + debug("Found ZMQ=%s in setup.cfg" % zmq) + settings['zmq'] = zmq + + return settings + +def get_cargs(): + """ Look for global options in the command line """ + settings = loadpickle('buildconf.pickle') + if settings is None: settings = {} + for arg in sys.argv[:]: + if arg.find('--zmq=') == 0: + zmq = arg.split('=')[-1] + if zmq.lower() == 'default': + settings.pop('zmq', None) + else: + settings['zmq'] = zmq + sys.argv.remove(arg) + savepickle('buildconf.pickle', settings) + return settings + +def discover_settings(): + """ Discover custom settings for ZMQ path""" + settings = get_cfg_args() # lowest priority + settings.update(get_eargs()) + settings.update(get_cargs()) # highest priority + return settings.get('zmq') + +def copy_and_patch_libzmq(ZMQ, libzmq): + """copy libzmq into source dir, and patch it if necessary. + + This command is necessary prior to running a bdist on Linux or OS X. + """ + if sys.platform.startswith('win'): + return + # copy libzmq into zmq for bdist + local = localpath('zmq',libzmq) + if ZMQ is None and not os.path.exists(local): + fatal("Please specify zmq prefix via `setup.py configure --zmq=/path/to/zmq` " + "or copy libzmq into zmq/ manually prior to running bdist.") + try: + lib = pjoin(ZMQ, 'lib', libzmq) + print ("copying %s -> %s"%(lib, local)) + shutil.copy(lib, local) + except Exception: + if not os.path.exists(local): + fatal("Could not copy libzmq into zmq/, which is necessary for bdist. " + "Please specify zmq prefix via `setup.py configure --zmq=/path/to/zmq` " + "or copy libzmq into zmq/ manually.") + finally: + # link libzmq.dylib -> libzmq.1.dylib + link = localpath('zmq',libzmq.replace('.1','')) + if not os.path.exists(link): + os.symlink(libzmq, link) + + if sys.platform == 'darwin': + # patch install_name on darwin, instead of using rpath + cmd = ['install_name_tool', '-id', '@loader_path/../%s'%libzmq, local] + try: + p = Popen(cmd, stdout=PIPE,stderr=PIPE) + except OSError: + fatal("install_name_tool not found, cannot patch libzmq for bundling.") + out,err = p.communicate() + if p.returncode: + fatal("Could not patch bundled libzmq install_name: %s"%err, p.returncode) + From 0b1941ea987612ead27521677359f814770c9da2 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Sun, 31 Jul 2011 15:47:31 +0200 Subject: [PATCH 14/96] - don't delete the tests, needed by ipython-tests on runtime - don't use _sourcedir macro --- python-zmq.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index f5cc98d..f51ee31 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -16,7 +16,7 @@ Name: python-zmq Version: 2.1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -56,6 +56,21 @@ multiple transport protocols and more. This package contains the python bindings. +%package tests +Summary: Software library for fast, message-based applications +Group: Development/Libraries +License: LGPLv3+ +%description tests +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. + +This package contains the testsuite for the python bindings. + + %if 0%{?with_python3} %package -n python3-zmq Summary: Software library for fast, message-based applications @@ -70,6 +85,22 @@ patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. This package contains the python bindings. + + +%package -n python3-zmq-tests +Summary: Software library for fast, message-based applications +Group: Development/Libraries +License: LGPLv3+ +%description -n python3-zmq-tests +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. + +This package contains the testsuite for the python bindings. + %endif @@ -89,7 +120,7 @@ chmod -x examples/pubsub/topics_sub.py # delete hidden files #find examples -name '.*' | xargs rm -v -cp %{_sourcedir}/buildutils.py . +cp %{SOURCE1} . %if 0%{?with_python3} @@ -137,7 +168,6 @@ popd rm zmq/__* PYTHONPATH=%{buildroot}%{python_sitearch} \ %{__python} setup.py test - rm -r %{buildroot}%{python_sitearch}/zmq/tests %if 0%{?with_python3} # there is no python3-nose yet @@ -145,7 +175,6 @@ popd rm zmq/__* #PYTHONPATH=%{buildroot}%{python3_sitearch} \ # %{__python3} setup.py test - rm -r %{buildroot}%{python3_sitearch}/zmq/tests popd %endif %endif @@ -157,6 +186,9 @@ popd %{python_sitearch}/%{srcname}-*.egg-info %{python_sitearch}/zmq +%files tests +%defattr(-,root,root,-) +%{python_sitearch}/zmq/tests %if 0%{?with_python3} %files -n python3-zmq @@ -165,10 +197,18 @@ popd # examples/ %{python3_sitearch}/%{srcname}-*.egg-info %{python3_sitearch}/zmq + +%files -n python3-zmq-tests +%defattr(-,root,root,-) +%{python3_sitearch}/zmq/tests %endif %changelog +* Sun Jul 31 2011 Thomas Spura - 2.1.4-2 +- don't delete the tests, needed by ipython-tests on runtime +- don't use _sourcedir macro + * Wed Apr 6 2011 Thomas Spura - 2.1.4-1 - update to new version (#690199) From 9c45c1e47bac205a642514e7e208b5a4c6b41b96 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 21 Sep 2011 11:40:16 +0200 Subject: [PATCH 15/96] - update to new version - run testsuite on python3 --- .gitignore | 1 + buildutils.py | 268 ------------------------------------------------ python-zmq.spec | 21 ++-- sources | 2 +- 4 files changed, 12 insertions(+), 280 deletions(-) delete mode 100644 buildutils.py diff --git a/.gitignore b/.gitignore index 66c37b9..5048bb2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /pyzmq-2.0.10.1.tar.gz /pyzmq-2.1.1.tar.gz /pyzmq-2.1.4.tar.gz +/pyzmq-2.1.9.tar.gz diff --git a/buildutils.py b/buildutils.py deleted file mode 100644 index 83c18a6..0000000 --- a/buildutils.py +++ /dev/null @@ -1,268 +0,0 @@ -"""Detect zmq version""" -# -# Copyright (c) 2011 Min Ragan-Kelley -# -# This file is part of pyzmq, copied and adapted from h5py. -# h5py source used under the New BSD license -# -# h5py: -# BSD license: -# -# pyzmq is free software; you can redistribute it and/or modify it under -# the terms of the Lesser GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# pyzmq is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# Lesser GNU General Public License for more details. -# -# You should have received a copy of the Lesser GNU General Public License -# along with this program. If not, see . - -import shutil -import sys -import os -import logging -import pickle -from distutils import ccompiler -from subprocess import Popen, PIPE - -try: - from configparser import ConfigParser -except: - from ConfigParser import ConfigParser - -pjoin = os.path.join - -#----------------------------------------------------------------------------- -# Logging (adapted from h5py: http://h5py.googlecode.com) -#----------------------------------------------------------------------------- -logger = logging.getLogger() -logger.addHandler(logging.StreamHandler(sys.stderr)) - -def debug(what): - pass - -def fatal(instring, code=1): - logger.error("Fatal: "+instring) - exit(code) - -def warn(instring): - logger.error("Warning: "+instring) - - -#----------------------------------------------------------------------------- -# Utility functions (adapted from h5py: http://h5py.googlecode.com) -#----------------------------------------------------------------------------- - -def detect_zmq(basedir, **compiler_attrs): - """Compile, link & execute a test program, in empty directory `basedir`. - - The C compiler will be updated with any keywords given via setattr. - - Parameters - ---------- - - basedir : path - The location where the test program will be compiled and run - **compiler_attrs : dict - Any extra compiler attributes, which will be set via ``setattr(cc)``. - - Returns - ------- - - A dict of properties for zmq compilation, with the following two keys: - - vers : tuple - The ZMQ version as a tuple of ints, e.g. (2,2,0) - options : dict - The compiler options used to compile the test function, e.g. `include_dirs`, - `library_dirs`, `libs`, etc. - """ - - cc = ccompiler.new_compiler() - for name, val in compiler_attrs.items(): - setattr(cc, name, val) - - cfile = pjoin(basedir, 'vers.c') - efile = pjoin(basedir, 'vers') - - f = open(cfile, 'w') - try: - f.write( -r""" -#include -#include "zmq.h" - -int main(){ - unsigned int major, minor, patch; - zmq_version(&major, &minor, &patch); - fprintf(stdout, "vers: %d.%d.%d\n", major, minor, patch); - return 0; -} -""") - finally: - f.close() - - if sys.platform == 'darwin': - # allow for missing UB arch, since it will still work: - preargs = ['-undefined', 'dynamic_lookup'] - else: - preargs = None - - objs = cc.compile([cfile]) - cc.link_executable(objs, efile, extra_preargs=preargs) - - result = Popen(efile, stdout=PIPE, stderr=PIPE) - so, se = result.communicate() - # for py3k: - so = so.decode() - se = se.decode() - if result.returncode: - msg = "Error running version detection script:\n%s\n%s" % (so,se) - logging.error(msg) - raise IOError(msg) - - handlers = {'vers': lambda val: tuple(int(v) for v in val.split('.'))} - - props = {} - for line in (x for x in so.split('\n') if x): - key, val = line.split(':') - props[key] = handlers[key](val) - - props['options'] = compiler_attrs - return props - -def localpath(*args): - plist = [os.path.dirname(__file__)]+list(args) - return os.path.abspath(pjoin(*plist)) - -def loadpickle(name): - """ Load object from pickle file, or None if it can't be opened """ - name = pjoin('conf', name) - try: - f = open(name,'rb') - except IOError: - # raise - return None - try: - return pickle.load(f) - except Exception: - # raise - return None - finally: - f.close() - -def savepickle(name, data): - """ Save to pickle file, exiting if it can't be written """ - if not os.path.exists('conf'): - os.mkdir('conf') - name = pjoin('conf', name) - try: - f = open(name, 'wb') - except IOError: - fatal("Can't open pickle file \"%s\" for writing" % name) - try: - pickle.dump(data, f, 0) - finally: - f.close() - -def v_str(v_tuple): - """turn (2,0,1) into '2.0.1'.""" - return ".".join(str(x) for x in v_tuple) - -def get_eargs(): - """ Look for options in environment vars """ - - settings = {} - - zmq = os.environ.get("ZMQ_DIR", '') - if zmq != '': - debug("Found environ var ZMQ_DIR=%s" % zmq) - settings['zmq'] = zmq - - return settings - -def get_cfg_args(): - """ Look for options in setup.cfg """ - - settings = {} - zmq = '' - if not os.path.exists('setup.cfg'): - return settings - cfg = ConfigParser() - cfg.read('setup.cfg') - if 'build_ext' in cfg.sections() and \ - cfg.has_option('build_ext', 'include_dirs'): - includes = cfg.get('build_ext', 'include_dirs') - include = includes.split(os.pathsep)[0] - if include.endswith('include') and os.path.isdir(include): - zmq = include[:-8] - if zmq != '': - debug("Found ZMQ=%s in setup.cfg" % zmq) - settings['zmq'] = zmq - - return settings - -def get_cargs(): - """ Look for global options in the command line """ - settings = loadpickle('buildconf.pickle') - if settings is None: settings = {} - for arg in sys.argv[:]: - if arg.find('--zmq=') == 0: - zmq = arg.split('=')[-1] - if zmq.lower() == 'default': - settings.pop('zmq', None) - else: - settings['zmq'] = zmq - sys.argv.remove(arg) - savepickle('buildconf.pickle', settings) - return settings - -def discover_settings(): - """ Discover custom settings for ZMQ path""" - settings = get_cfg_args() # lowest priority - settings.update(get_eargs()) - settings.update(get_cargs()) # highest priority - return settings.get('zmq') - -def copy_and_patch_libzmq(ZMQ, libzmq): - """copy libzmq into source dir, and patch it if necessary. - - This command is necessary prior to running a bdist on Linux or OS X. - """ - if sys.platform.startswith('win'): - return - # copy libzmq into zmq for bdist - local = localpath('zmq',libzmq) - if ZMQ is None and not os.path.exists(local): - fatal("Please specify zmq prefix via `setup.py configure --zmq=/path/to/zmq` " - "or copy libzmq into zmq/ manually prior to running bdist.") - try: - lib = pjoin(ZMQ, 'lib', libzmq) - print ("copying %s -> %s"%(lib, local)) - shutil.copy(lib, local) - except Exception: - if not os.path.exists(local): - fatal("Could not copy libzmq into zmq/, which is necessary for bdist. " - "Please specify zmq prefix via `setup.py configure --zmq=/path/to/zmq` " - "or copy libzmq into zmq/ manually.") - finally: - # link libzmq.dylib -> libzmq.1.dylib - link = localpath('zmq',libzmq.replace('.1','')) - if not os.path.exists(link): - os.symlink(libzmq, link) - - if sys.platform == 'darwin': - # patch install_name on darwin, instead of using rpath - cmd = ['install_name_tool', '-id', '@loader_path/../%s'%libzmq, local] - try: - p = Popen(cmd, stdout=PIPE,stderr=PIPE) - except OSError: - fatal("install_name_tool not found, cannot patch libzmq for bundling.") - out,err = p.communicate() - if p.returncode: - fatal("Could not patch bundled libzmq install_name: %s"%err, p.returncode) - diff --git a/python-zmq.spec b/python-zmq.spec index f51ee31..f1f4017 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -15,8 +15,8 @@ %global run_tests 1 Name: python-zmq -Version: 2.1.4 -Release: 2%{?dist} +Version: 2.1.9 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -28,8 +28,6 @@ URL: http://www.zeromq.org/bindings:python # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz Source0: http://cloud.github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz -# upstream forgot to add this file into the tarball, fetched from current git -Source1: buildutils.py BuildRequires: python2-devel BuildRequires: python-setuptools @@ -41,8 +39,7 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools # needed for 2to3 BuildRequires: python-tools -# not yet build -#BuildRequires: python3-nose +BuildRequires: python3-nose %endif %description @@ -120,8 +117,6 @@ chmod -x examples/pubsub/topics_sub.py # delete hidden files #find examples -name '.*' | xargs rm -v -cp %{SOURCE1} . - %if 0%{?with_python3} rm -rf %{py3dir} @@ -167,14 +162,14 @@ popd %if 0%{?run_tests} rm zmq/__* PYTHONPATH=%{buildroot}%{python_sitearch} \ - %{__python} setup.py test + %{__python} setup.py test %if 0%{?with_python3} # there is no python3-nose yet pushd %{py3dir} rm zmq/__* - #PYTHONPATH=%{buildroot}%{python3_sitearch} \ - # %{__python3} setup.py test + PYTHONPATH=%{buildroot}%{python3_sitearch} \ + %{__python3} setup.py test popd %endif %endif @@ -205,6 +200,10 @@ popd %changelog +* Wed Sep 21 2011 Thomas Spura - 2.1.9-1 +- update to new version +- run testsuite on python3 + * Sun Jul 31 2011 Thomas Spura - 2.1.4-2 - don't delete the tests, needed by ipython-tests on runtime - don't use _sourcedir macro diff --git a/sources b/sources index 6a9fa0f..9c669d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c43876c1726ea2f2c4e4b0bbb090951a pyzmq-2.1.4.tar.gz +44efd9e7dd041b9f779e3026d189f870 pyzmq-2.1.9.tar.gz From 4155cf537a9a6122a7684f5f86b777f4e4387223 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 8 Dec 2011 21:12:24 +0100 Subject: [PATCH 16/96] use proper buildroot macro --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index f1f4017..c440479 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -144,7 +144,7 @@ popd # to be the default for now). %if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT +%{__python3} setup.py install --skip-build --root %{buildroot} # remove tests doesn't work here, do that after running the tests @@ -200,6 +200,9 @@ popd %changelog +* Thu Dec 8 2011 Thomas Spura - 2.1.9-2 +- use proper buildroot macro + * Wed Sep 21 2011 Thomas Spura - 2.1.9-1 - update to new version - run testsuite on python3 From 6bc3ea2042e2b8b002e999a5f00248de955d594c Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 8 Dec 2011 21:15:27 +0100 Subject: [PATCH 17/96] also bump the release --- python-zmq.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index c440479..6084c07 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -16,7 +16,7 @@ Name: python-zmq Version: 2.1.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries From 8fd9ec11eaa1c9ab64cb75aa78b1e9bacf4fddcb Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 8 Dec 2011 21:42:43 +0100 Subject: [PATCH 18/96] don't include tests twice --- python-zmq.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-zmq.spec b/python-zmq.spec index 6084c07..e228146 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -180,6 +180,7 @@ popd %doc README.rst COPYING.LESSER examples/ %{python_sitearch}/%{srcname}-*.egg-info %{python_sitearch}/zmq +%exclude %{python_sitearch}/zmq/tests %files tests %defattr(-,root,root,-) @@ -192,6 +193,7 @@ popd # examples/ %{python3_sitearch}/%{srcname}-*.egg-info %{python3_sitearch}/zmq +%exclude %{python3_sitearch}/zmq/tests %files -n python3-zmq-tests %defattr(-,root,root,-) @@ -202,6 +204,7 @@ popd %changelog * Thu Dec 8 2011 Thomas Spura - 2.1.9-2 - use proper buildroot macro +- don't include tests twice * Wed Sep 21 2011 Thomas Spura - 2.1.9-1 - update to new version From 6d9942d52cedd2c5066f8da9951fb888b7e6fff3 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 14 Dec 2011 10:48:45 +0100 Subject: [PATCH 19/96] - tests package requires main package - filter python3 libs --- python-zmq.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index e228146..504f0ef 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -5,6 +5,9 @@ %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%filter_provides_in %{python3_sitearch}/.*\.so$ +%endif %filter_setup } @@ -16,7 +19,7 @@ Name: python-zmq Version: 2.1.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -57,6 +60,7 @@ This package contains the python bindings. Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ +Requires: python-zmq = %{version}-%{release} %description tests The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by @@ -88,6 +92,7 @@ This package contains the python bindings. Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ +Requires: python3-zmq = %{version}-%{release} %description -n python3-zmq-tests The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by @@ -202,6 +207,10 @@ popd %changelog +* Wed Dec 14 2011 Thomas Spura - 2.1.9-3 +- tests package requires main package +- filter python3 libs + * Thu Dec 8 2011 Thomas Spura - 2.1.9-2 - use proper buildroot macro - don't include tests twice From 5c7a9fd2f444b5c41b3d4e6a32f5f2e1f65dd503 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 20:20:25 -0600 Subject: [PATCH 20/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 504f0ef..45019e9 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.1.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -207,6 +207,9 @@ popd %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 2.1.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Wed Dec 14 2011 Thomas Spura - 2.1.9-3 - tests package requires main package - filter python3 libs From 6c354bf33e852d4dd61aff44709c366d3ad8f126 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 7 Mar 2012 22:58:48 +0100 Subject: [PATCH 21/96] update to new version Signed-off-by: Thomas Spura --- .gitignore | 1 + python-zmq.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5048bb2..8c786e7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /pyzmq-2.1.1.tar.gz /pyzmq-2.1.4.tar.gz /pyzmq-2.1.9.tar.gz +/pyzmq-2.1.11.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 45019e9..7b3513f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ %global run_tests 1 Name: python-zmq -Version: 2.1.9 -Release: 4%{?dist} +Version: 2.1.11 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -207,6 +207,9 @@ popd %changelog +* Wed Mar 7 2012 Thomas Spura - 2.1.11-1 +- update to new version + * Sat Jan 14 2012 Fedora Release Engineering - 2.1.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index 9c669d5..e240d96 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -44efd9e7dd041b9f779e3026d189f870 pyzmq-2.1.9.tar.gz +8ce303d022a1043669d4f239cddca746 pyzmq-2.1.11.tar.gz From 440b6f1f14be65f60a77b213102841c551909610 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Thu, 26 Apr 2012 13:23:08 +0200 Subject: [PATCH 22/96] update to 2.2.0 --- .gitignore | 1 + python-zmq.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8c786e7..e833506 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /pyzmq-2.1.4.tar.gz /pyzmq-2.1.9.tar.gz /pyzmq-2.1.11.tar.gz +/pyzmq-2.2.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 7b3513f..852153e 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ %global run_tests 1 Name: python-zmq -Version: 2.1.11 +Version: 2.2.0 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -207,6 +207,9 @@ popd %changelog +* Thu Apr 26 2012 Thomas Spura - 2.2.0-1 +- update to 2.2.0 + * Wed Mar 7 2012 Thomas Spura - 2.1.11-1 - update to new version diff --git a/sources b/sources index e240d96..7f3fa29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8ce303d022a1043669d4f239cddca746 pyzmq-2.1.11.tar.gz +100b73973d6fb235b8da6adea403566e pyzmq-2.2.0.tar.gz From fbd1daa2921edbb3e01b6f4cf67d83538989d618 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 06:22:15 -0500 Subject: [PATCH 23/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 852153e..b8564f5 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -207,6 +207,9 @@ popd %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 2.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Thu Apr 26 2012 Thomas Spura - 2.2.0-1 - update to 2.2.0 From 52a009b9d6d9348c65347b4ee01d2d1dfd8f0f40 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 3 Aug 2012 17:32:03 -0400 Subject: [PATCH 24/96] remove rhel logic from with_python3 conditional --- python-zmq.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index b8564f5..077e74a 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -1,11 +1,11 @@ -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?fedora} > 12 %global with_python3 1 %endif %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ -%if 0%{?fedora} > 12 || 0%{?rhel} > 6 +%if 0%{?with_python3} %filter_provides_in %{python3_sitearch}/.*\.so$ %endif %filter_setup @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -207,6 +207,9 @@ popd %changelog +* Fri Aug 3 2012 David Malcolm - 2.2.0-3 +- remove rhel logic from with_python3 conditional + * Sat Jul 21 2012 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 3e51fab75be55adaa95be6355c8bada855fa1c5c Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Fri, 3 Aug 2012 18:08:54 -0400 Subject: [PATCH 25/96] force regeneration of .c files by Cython (needed for python 3.3 support) --- python-zmq.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 077e74a..674f34a 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -36,6 +36,7 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: zeromq-devel BuildRequires: python-nose +BuildRequires: Cython %if 0%{?with_python3} BuildRequires: python3-devel @@ -108,6 +109,11 @@ This package contains the testsuite for the python bindings. %prep %setup -q -n %{srcname}-%{version} + +# forcibly regenerate the Cython-generated .c files: +find -name "*.c" -delete +%{__python} setup.py cython + # remove shebangs for lib in zmq/eventloop/*.py; do sed '/\/usr\/bin\/env/d' $lib > $lib.new && @@ -207,6 +213,9 @@ popd %changelog +* Fri Aug 3 2012 David Malcolm - 2.2.0-4 +- force regeneration of .c files by Cython (needed for python 3.3 support) + * Fri Aug 3 2012 David Malcolm - 2.2.0-3 - remove rhel logic from with_python3 conditional From 292f59886bc219e7b2d49c9ba579c9468afe1f51 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Sat, 4 Aug 2012 21:13:21 -0400 Subject: [PATCH 26/96] rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 674f34a..54c9ad0 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -213,6 +213,9 @@ popd %changelog +* Sat Aug 04 2012 David Malcolm - 2.2.0-5 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + * Fri Aug 3 2012 David Malcolm - 2.2.0-4 - force regeneration of .c files by Cython (needed for python 3.3 support) From 350aaceaa1118e63fb48e06174d2fff0eede4d2a Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 15 Oct 2012 10:15:33 +0200 Subject: [PATCH 27/96] update to 2.2.0.1 and move to BR zeromq3 Signed-off-by: Thomas Spura --- .gitignore | 1 + python-zmq.spec | 11 ++++++++--- sources | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e833506..dd85626 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /pyzmq-2.1.9.tar.gz /pyzmq-2.1.11.tar.gz /pyzmq-2.2.0.tar.gz +/pyzmq-2.2.0.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 54c9ad0..2f60faa 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ %global run_tests 1 Name: python-zmq -Version: 2.2.0 -Release: 5%{?dist} +Version: 2.2.0.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -34,7 +34,7 @@ Source0: http://cloud.github.com/downloads/zeromq/pyzmq/pyzmq-%{version}. BuildRequires: python2-devel BuildRequires: python-setuptools -BuildRequires: zeromq-devel +BuildRequires: zeromq3-devel BuildRequires: python-nose BuildRequires: Cython @@ -134,6 +134,7 @@ rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' rm -r %{py3dir}/examples +2to3 --write --nobackups %{py3dir}/zmq/green %endif @@ -213,6 +214,10 @@ popd %changelog +* Thu Apr 26 2012 Thomas Spura - 2.2.0.1-1 +- update to 2.2.0.1 +- move to BR zeromq3 + * Sat Aug 04 2012 David Malcolm - 2.2.0-5 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 diff --git a/sources b/sources index 7f3fa29..6664fa3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -100b73973d6fb235b8da6adea403566e pyzmq-2.2.0.tar.gz +f2f80709e84c8ac72d6671eee645d804 pyzmq-2.2.0.1.tar.gz From 83eb44eda11a8027280583c9719bb3710fe1d0e5 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 15 Oct 2012 10:17:24 +0200 Subject: [PATCH 28/96] Fix date in changelog Signed-off-by: Thomas Spura --- python-zmq.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 2f60faa..1061979 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -214,7 +214,7 @@ popd %changelog -* Thu Apr 26 2012 Thomas Spura - 2.2.0.1-1 +* Mon Oct 15 2012 Thomas Spura - 2.2.0.1-1 - update to 2.2.0.1 - move to BR zeromq3 From e5e1aa433ea804bacf197d64a16c27d5b6524165 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 15 Oct 2012 10:30:48 +0200 Subject: [PATCH 29/96] not all *.c files may be deleted, when receneration of .c files by Cython/remove bundled folder explicitely Signed-off-by: Thomas Spura --- python-zmq.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 1061979..f9d4470 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -111,9 +111,12 @@ This package contains the testsuite for the python bindings. %setup -q -n %{srcname}-%{version} # forcibly regenerate the Cython-generated .c files: -find -name "*.c" -delete +find zmq -name "*.c" -delete %{__python} setup.py cython +# remove bundled libraries +rm -rf bundled + # remove shebangs for lib in zmq/eventloop/*.py; do sed '/\/usr\/bin\/env/d' $lib > $lib.new && @@ -217,6 +220,8 @@ popd * Mon Oct 15 2012 Thomas Spura - 2.2.0.1-1 - update to 2.2.0.1 - move to BR zeromq3 +- not all *.c files may be deleted, when receneration of .c files by Cython +- remove bundled folder explicitely * Sat Aug 04 2012 David Malcolm - 2.2.0-5 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 From 94dcac6f5bf7bc7254db1338e7f19ac75600a98b Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 14:54:40 -0600 Subject: [PATCH 30/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index f9d4470..d4bb578 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 2.2.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 2.2.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Mon Oct 15 2012 Thomas Spura - 2.2.0.1-1 - update to 2.2.0.1 - move to BR zeromq3 From 929a52d865955e4a5936feb98a21b1a1075a0b7c Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 20 Mar 2013 12:12:44 +0100 Subject: [PATCH 31/96] update to 13.0.0 --- .gitignore | 1 + python-zmq.spec | 16 ++++++++++------ sources | 2 +- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index dd85626..73df9ee 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pyzmq-2.1.11.tar.gz /pyzmq-2.2.0.tar.gz /pyzmq-2.2.0.1.tar.gz +/pyzmq-13.0.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index d4bb578..b4b64ed 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,19 +18,19 @@ %global run_tests 1 Name: python-zmq -Version: 2.2.0.1 -Release: 2%{?dist} +Version: 13.0.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries -License: LGPLv3+ and ASL 2.0 +License: LGPLv3+ and ASL 2.0 and BSD URL: http://www.zeromq.org/bindings:python # VCS: git:http://github.com/zeromq/pyzmq.git # git checkout with the commands: # git clone http://github.com/zeromq/pyzmq.git pyzmq.git # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -Source0: http://cloud.github.com/downloads/zeromq/pyzmq/pyzmq-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz BuildRequires: python2-devel BuildRequires: python-setuptools @@ -192,7 +192,7 @@ popd %files %defattr(-,root,root,-) -%doc README.rst COPYING.LESSER examples/ +%doc README.md COPYING.* examples/ %{python_sitearch}/%{srcname}-*.egg-info %{python_sitearch}/zmq %exclude %{python_sitearch}/zmq/tests @@ -204,7 +204,7 @@ popd %if 0%{?with_python3} %files -n python3-zmq %defattr(-,root,root,-) -%doc README.rst COPYING.LESSER +%doc README.md COPYING.* # examples/ %{python3_sitearch}/%{srcname}-*.egg-info %{python3_sitearch}/zmq @@ -217,6 +217,10 @@ popd %changelog +* Wed Mar 20 2013 Thomas Spura - 13.0.0-1 +- update to 13.0.0 +- add BSD to license list + * Thu Feb 14 2013 Fedora Release Engineering - 2.2.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index 6664fa3..5aa2731 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f2f80709e84c8ac72d6671eee645d804 pyzmq-2.2.0.1.tar.gz +1325ab6819f7a087eee84aaa951b6f0c pyzmq-13.0.0.tar.gz From 9b236c4b6513c99b051f7ffcb3aacda009a76f12 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 05:59:53 -0500 Subject: [PATCH 32/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index b4b64ed..39ffc89 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 13.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 13.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Mar 20 2013 Thomas Spura - 13.0.0-1 - update to 13.0.0 - add BSD to license list From 1065f3f0547a92948c5173d65bb05fc48ac6727e Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 5 Aug 2013 11:38:22 +0200 Subject: [PATCH 33/96] update to new version (fixes FTBFS) --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 73df9ee..b42c34f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /pyzmq-2.2.0.tar.gz /pyzmq-2.2.0.1.tar.gz /pyzmq-13.0.0.tar.gz +/pyzmq-13.0.2.tar.gz diff --git a/sources b/sources index 5aa2731..8c932aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1325ab6819f7a087eee84aaa951b6f0c pyzmq-13.0.0.tar.gz +49b1a8b858693522730225e3dc2a0910 pyzmq-13.0.2.tar.gz From c4b2c8e170b665dd3afc85dc3f23af5234ddaa14 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 5 Aug 2013 11:39:18 +0200 Subject: [PATCH 34/96] Fix changelog/release from last commit --- python-zmq.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 39ffc89..aad8ce0 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ %global run_tests 1 Name: python-zmq -Version: 13.0.0 -Release: 2%{?dist} +Version: 13.0.2 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Mon Aug 5 2013 Thomas Spura - 13.0.2-1 +- update to new version (fixes FTBFS) + * Sun Aug 04 2013 Fedora Release Engineering - 13.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From ed877dc9abe2b2cf81a6bc2a66eb8d39d1201ada Mon Sep 17 00:00:00 2001 From: Slavek Kabrda Date: Fri, 16 May 2014 08:35:50 +0200 Subject: [PATCH 35/96] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index aad8ce0..a33ff69 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 13.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Wed May 14 2014 Bohuslav Kabrda - 13.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + * Mon Aug 5 2013 Thomas Spura - 13.0.2-1 - update to new version (fixes FTBFS) From d2afc48caa75b0e8bbdacfa147ba237ba6e02145 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 19:30:08 -0500 Subject: [PATCH 36/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index a33ff69..15700a2 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 13.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 13.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Wed May 14 2014 Bohuslav Kabrda - 13.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 From 3a8fb19c707a57db02b704ab18bdca6c5159aa1f Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 22:02:58 +0000 Subject: [PATCH 37/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 15700a2..abaa25d 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 13.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -217,6 +217,9 @@ popd %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 13.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 13.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 7a232ed26238f50207b1f468d81560cd2f89f708 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 27 Aug 2014 23:19:09 +0200 Subject: [PATCH 38/96] update to 14.3.1 --- .gitignore | 1 + python-zmq.spec | 22 +++++++++++++--------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index b42c34f..6d5f8eb 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /pyzmq-2.2.0.1.tar.gz /pyzmq-13.0.0.tar.gz /pyzmq-13.0.2.tar.gz +/pyzmq-14.3.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index abaa25d..db3f485 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ %global run_tests 1 Name: python-zmq -Version: 13.0.2 -Release: 4%{?dist} +Version: 14.3.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -32,6 +32,8 @@ URL: http://www.zeromq.org/bindings:python # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz +BuildRequires: chrpath + BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: zeromq3-devel @@ -110,13 +112,13 @@ This package contains the testsuite for the python bindings. %prep %setup -q -n %{srcname}-%{version} +# remove bundled libraries +rm -rf bundled + # forcibly regenerate the Cython-generated .c files: find zmq -name "*.c" -delete %{__python} setup.py cython -# remove bundled libraries -rm -rf bundled - # remove shebangs for lib in zmq/eventloop/*.py; do sed '/\/usr\/bin\/env/d' $lib > $lib.new && @@ -154,6 +156,7 @@ popd %install +%global RPATH /zmq/{backend/cython,devices} # Must do the python3 install first because the scripts in /usr/bin are # overwritten with every setup.py install (and we want the python2 version # to be the default for now). @@ -161,16 +164,14 @@ popd pushd %{py3dir} %{__python3} setup.py install --skip-build --root %{buildroot} -# remove tests doesn't work here, do that after running the tests - popd +chrpath --delete %{buildroot}%{python3_sitearch}%{RPATH}/*.so %endif # with_python3 %{__python} setupegg.py install -O1 --skip-build --root %{buildroot} -# remove tests doesn't work here, do that after running the tests - +chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %check @@ -217,6 +218,9 @@ popd %changelog +* Wed Aug 27 2014 Thomas Spura - 14.3.1-1 +- update to 14.3.1 + * Sun Aug 17 2014 Fedora Release Engineering - 13.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 8c932aa..6341a24 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -49b1a8b858693522730225e3dc2a0910 pyzmq-13.0.2.tar.gz +7196b4a6fbf98022f17ffa924be3d68d pyzmq-14.3.1.tar.gz From a0ec17ee9699d9ed2af507f52591666c7555b0c2 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 17 Nov 2014 10:03:11 +0100 Subject: [PATCH 39/96] Update to 14.4.1 and rebuild against zeromq-4 --- .gitignore | 1 + python-zmq.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6d5f8eb..f898eea 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /pyzmq-13.0.0.tar.gz /pyzmq-13.0.2.tar.gz /pyzmq-14.3.1.tar.gz +/pyzmq-14.4.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index db3f485..3ce283a 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ %global run_tests 1 Name: python-zmq -Version: 14.3.1 +Version: 14.4.1 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -36,7 +36,7 @@ BuildRequires: chrpath BuildRequires: python2-devel BuildRequires: python-setuptools -BuildRequires: zeromq3-devel +BuildRequires: zeromq-devel BuildRequires: python-nose BuildRequires: Cython @@ -48,6 +48,7 @@ BuildRequires: python-tools BuildRequires: python3-nose %endif + %description The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by @@ -116,8 +117,8 @@ This package contains the testsuite for the python bindings. rm -rf bundled # forcibly regenerate the Cython-generated .c files: -find zmq -name "*.c" -delete -%{__python} setup.py cython +#find zmq -name "*.c" -delete +#%{__python} setup.py cython # remove shebangs for lib in zmq/eventloop/*.py; do @@ -140,7 +141,6 @@ cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' rm -r %{py3dir}/examples 2to3 --write --nobackups %{py3dir}/zmq/green - %endif @@ -218,6 +218,10 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Mon Nov 17 2014 Thomas Spura - 14.4.1-1 +- update to 14.4.1 +- build against zeromq-4 + * Wed Aug 27 2014 Thomas Spura - 14.3.1-1 - update to 14.3.1 diff --git a/sources b/sources index 6341a24..2e2e0d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7196b4a6fbf98022f17ffa924be3d68d pyzmq-14.3.1.tar.gz +a6a7fb6950b1bf5333c6795f3edf196c pyzmq-14.4.1.tar.gz From 1a2809fd920ca90705c5390fff20a6752ac8de57 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 21:26:24 +0000 Subject: [PATCH 40/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 3ce283a..430e300 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ Name: python-zmq Version: 14.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -218,6 +218,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 14.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Nov 17 2014 Thomas Spura - 14.4.1-1 - update to 14.4.1 - build against zeromq-4 From 3852705b8ba71e7892efec533c7918a89b8eab49 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Tue, 23 Jun 2015 14:00:30 +0200 Subject: [PATCH 41/96] update to 14.7.0 --- .gitignore | 1 + python-zmq.spec | 12 +++++++++--- sources | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f898eea..51e174f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /pyzmq-13.0.2.tar.gz /pyzmq-14.3.1.tar.gz /pyzmq-14.4.1.tar.gz +/pyzmq-14.7.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 430e300..087979b 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ %global run_tests 1 Name: python-zmq -Version: 14.4.1 -Release: 2%{?dist} +Version: 14.7.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -40,6 +40,9 @@ BuildRequires: zeromq-devel BuildRequires: python-nose BuildRequires: Cython +# For some tests +BuildRequires: czmq-devel + %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -118,7 +121,7 @@ rm -rf bundled # forcibly regenerate the Cython-generated .c files: #find zmq -name "*.c" -delete -#%{__python} setup.py cython +#%%{__python} setup.py cython # remove shebangs for lib in zmq/eventloop/*.py; do @@ -218,6 +221,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Tue Jun 23 2015 Thomas Spura - 14.7.0-1 +- update to 14.7.0 + * Thu Jun 18 2015 Fedora Release Engineering - 14.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 2e2e0d9..6c740c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a6a7fb6950b1bf5333c6795f3edf196c pyzmq-14.4.1.tar.gz +87e3abb33af5794db5ae85c667bbf324 pyzmq-14.7.0.tar.gz From e34ead2fd5d74a6582e54a44165ca6dd4fb30058 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Tue, 23 Jun 2015 14:39:36 +0200 Subject: [PATCH 42/96] czmq currently FTBFS, so enable it some time later --- python-zmq.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 087979b..86bee60 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -41,7 +41,8 @@ BuildRequires: python-nose BuildRequires: Cython # For some tests -BuildRequires: czmq-devel +# czmq currently FTBFS, so enable it some time later +#BuildRequires: czmq-devel %if 0%{?with_python3} BuildRequires: python3-devel From e8c1d405d6b6d420fa982dc4e8c2d1c87414e11f Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Tue, 23 Jun 2015 16:37:20 +0200 Subject: [PATCH 43/96] temporarily disable python3 testsuite as it hangs on koji --- python-zmq.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 86bee60..b61d428 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -188,8 +188,10 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so # there is no python3-nose yet pushd %{py3dir} rm zmq/__* - PYTHONPATH=%{buildroot}%{python3_sitearch} \ - %{__python3} setup.py test + # Temporarily disable the testsuite for now as it currently hangs in koji: + # http://koji.fedoraproject.org/koji/taskinfo?taskID=10191201 + #PYTHONPATH=%{buildroot}%{python3_sitearch} \ + # %{__python3} setup.py test popd %endif %endif @@ -224,6 +226,7 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog * Tue Jun 23 2015 Thomas Spura - 14.7.0-1 - update to 14.7.0 +- temporarily disable python3 testsuite as it hangs on koji * Thu Jun 18 2015 Fedora Release Engineering - 14.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 0698debafcd42dccd39b8c57d037b1e0cfeae194 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 1 Sep 2015 12:19:32 -0400 Subject: [PATCH 44/96] Get ready to support python34 on EPEL7. --- python-zmq.spec | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index b61d428..9f0e9fd 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -1,7 +1,10 @@ -%if 0%{?fedora} > 12 %global with_python3 1 -%endif +%if 0%{?fedora} +%{!?python3_pkgversion: %global python3_pkgversion 3} +%else +%{!?python3_pkgversion: %global python3_pkgversion 34} +%endif %{?filter_setup: %filter_provides_in %{python_sitearch}/.*\.so$ @@ -19,7 +22,7 @@ Name: python-zmq Version: 14.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -45,11 +48,11 @@ BuildRequires: Cython #BuildRequires: czmq-devel %if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools # needed for 2to3 BuildRequires: python-tools -BuildRequires: python3-nose +BuildRequires: python%{python3_pkgversion}-nose %endif @@ -81,11 +84,11 @@ This package contains the testsuite for the python bindings. %if 0%{?with_python3} -%package -n python3-zmq +%package -n python%{python3_pkgversion}-zmq Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ -%description -n python3-zmq +%description -n python%{python3_pkgversion}-zmq The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialized messaging middle-ware products. 0MQ sockets provide an @@ -96,12 +99,12 @@ multiple transport protocols and more. This package contains the python bindings. -%package -n python3-zmq-tests +%package -n python%{python3_pkgversion}-zmq-tests Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ -Requires: python3-zmq = %{version}-%{release} -%description -n python3-zmq-tests +Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} +%description -n python%{python3_pkgversion}-zmq-tests The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialized messaging middle-ware products. 0MQ sockets provide an @@ -209,7 +212,7 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %{python_sitearch}/zmq/tests %if 0%{?with_python3} -%files -n python3-zmq +%files -n python%{python3_pkgversion}-zmq %defattr(-,root,root,-) %doc README.md COPYING.* # examples/ @@ -217,13 +220,16 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %{python3_sitearch}/zmq %exclude %{python3_sitearch}/zmq/tests -%files -n python3-zmq-tests +%files -n python%{python3_pkgversion}-zmq-tests %defattr(-,root,root,-) %{python3_sitearch}/zmq/tests %endif %changelog +* Mon Jun 29 2015 Ralph Bean - 14.7.0-2 +- Support python34 on EPEL7. + * Tue Jun 23 2015 Thomas Spura - 14.7.0-1 - update to 14.7.0 - temporarily disable python3 testsuite as it hangs on koji From ee162bc7dd98603c27b80c164b7fd38a051a265e Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 14 Oct 2015 11:04:47 +0200 Subject: [PATCH 45/96] use python_provide macro --- python-zmq.spec | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 9f0e9fd..818de76 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -17,6 +17,7 @@ %global checkout 18f5d061558a176f5496aa8e049182c1a7da64f6 %global srcname pyzmq +%global modname zmq %global run_tests 1 @@ -66,13 +67,27 @@ multiple transport protocols and more. This package contains the python bindings. +%package -n python2-zmq +Summary: Software library for fast, message-based applications +%{?python_provide:%python_provide python2-%{modname}} +%description -n python2-zmq +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more. + +This package contains the python bindings. -%package tests + +%package -n python2-zmq-tests Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ -Requires: python-zmq = %{version}-%{release} -%description tests +Requires: python2-zmq = %{version}-%{release} +%{?python_provide:%python_provide python2-%{modname}-tests} +%description -n python2-zmq-tests The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialized messaging middle-ware products. 0MQ sockets provide an @@ -88,6 +103,7 @@ This package contains the testsuite for the python bindings. Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ +%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} %description -n python%{python3_pkgversion}-zmq The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by @@ -104,6 +120,7 @@ Summary: Software library for fast, message-based applications Group: Development/Libraries License: LGPLv3+ Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}-tests} %description -n python%{python3_pkgversion}-zmq-tests The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by @@ -152,7 +169,7 @@ rm -r %{py3dir}/examples %build -CFLAGS="%{optflags}" %{__python} setupegg.py build +CFLAGS="%{optflags}" %{__python2} setupegg.py build %if 0%{?with_python3} pushd %{py3dir} @@ -200,16 +217,16 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %endif -%files +%files -n python2-%{modname} %defattr(-,root,root,-) %doc README.md COPYING.* examples/ -%{python_sitearch}/%{srcname}-*.egg-info -%{python_sitearch}/zmq -%exclude %{python_sitearch}/zmq/tests +%{python2_sitearch}/%{srcname}-*.egg-info +%{python2_sitearch}/zmq +%exclude %{python2_sitearch}/zmq/tests -%files tests +%files -n python2-%{modname}-tests %defattr(-,root,root,-) -%{python_sitearch}/zmq/tests +%{python2_sitearch}/zmq/tests %if 0%{?with_python3} %files -n python%{python3_pkgversion}-zmq @@ -227,6 +244,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Wed Oct 14 2015 Thomas Spura - 14.7.0-2 +- Use python_provide macro + * Mon Jun 29 2015 Ralph Bean - 14.7.0-2 - Support python34 on EPEL7. From 5cfd6bba0d9b7e391c96a44b6db0c16b9899c227 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 14 Oct 2015 11:18:31 +0200 Subject: [PATCH 46/96] Cleanup spec and use py_build macros --- python-zmq.spec | 42 +++++++++++------------------------------- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 818de76..32ac76d 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -159,22 +159,12 @@ chmod -x examples/pubsub/topics_sub.py #find examples -name '.*' | xargs rm -v -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -rm -r %{py3dir}/examples -2to3 --write --nobackups %{py3dir}/zmq/green -%endif - %build -CFLAGS="%{optflags}" %{__python2} setupegg.py build +%py2_build %if 0%{?with_python3} -pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build -popd +%py3_build %endif # with_python3 @@ -185,15 +175,13 @@ popd # overwritten with every setup.py install (and we want the python2 version # to be the default for now). %if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} +%py3_install -popd chrpath --delete %{buildroot}%{python3_sitearch}%{RPATH}/*.so %endif # with_python3 -%{__python} setupegg.py install -O1 --skip-build --root %{buildroot} +%py2_install chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so @@ -201,36 +189,28 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %check %if 0%{?run_tests} rm zmq/__* - PYTHONPATH=%{buildroot}%{python_sitearch} \ - %{__python} setup.py test + PYTHONPATH=%{buildroot}%{python2_sitearch} \ + %{__python2} setup.py test %if 0%{?with_python3} - # there is no python3-nose yet - pushd %{py3dir} - rm zmq/__* - # Temporarily disable the testsuite for now as it currently hangs in koji: - # http://koji.fedoraproject.org/koji/taskinfo?taskID=10191201 - #PYTHONPATH=%{buildroot}%{python3_sitearch} \ - # %{__python3} setup.py test - popd + #rm zmq/__* + PYTHONPATH=%{buildroot}%{python3_sitearch} \ + %{__python3} setup.py test %endif %endif %files -n python2-%{modname} -%defattr(-,root,root,-) %doc README.md COPYING.* examples/ %{python2_sitearch}/%{srcname}-*.egg-info %{python2_sitearch}/zmq %exclude %{python2_sitearch}/zmq/tests %files -n python2-%{modname}-tests -%defattr(-,root,root,-) %{python2_sitearch}/zmq/tests %if 0%{?with_python3} %files -n python%{python3_pkgversion}-zmq -%defattr(-,root,root,-) %doc README.md COPYING.* # examples/ %{python3_sitearch}/%{srcname}-*.egg-info @@ -238,14 +218,14 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %exclude %{python3_sitearch}/zmq/tests %files -n python%{python3_pkgversion}-zmq-tests -%defattr(-,root,root,-) %{python3_sitearch}/zmq/tests %endif %changelog * Wed Oct 14 2015 Thomas Spura - 14.7.0-2 -- Use python_provide macro +- Use python_provide and py_build macros +- Cleanup spec * Mon Jun 29 2015 Ralph Bean - 14.7.0-2 - Support python34 on EPEL7. From ac56d38dcf1c9eaaa36d1090ca59e7f56cb4cf1c Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 14 Oct 2015 13:19:53 +0200 Subject: [PATCH 47/96] Disable python3 tests again as they are randomly hanging on koji --- python-zmq.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 32ac76d..c81a89f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -193,10 +193,12 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %{__python2} setup.py test %if 0%{?with_python3} + # Temporarily disable the testsuite for now as it currently hangs in koji: + # http://koji.fedoraproject.org/koji/taskinfo?taskID=10191201 #rm zmq/__* - PYTHONPATH=%{buildroot}%{python3_sitearch} \ - %{__python3} setup.py test - %endif + #PYTHONPATH=%{buildroot}%{python3_sitearch} \ + # %{__python3} setup.py test + #%endif %endif From 4a599bb8a510aa37680eb936e22762caa066b792 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Wed, 14 Oct 2015 13:20:40 +0200 Subject: [PATCH 48/96] Close %if properly --- python-zmq.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index c81a89f..ea3e142 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -198,7 +198,7 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so #rm zmq/__* #PYTHONPATH=%{buildroot}%{python3_sitearch} \ # %{__python3} setup.py test - #%endif + %endif %endif From e01d6be6f9e54938473dc7d3c48a7ce3c98bf215 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Fri, 16 Oct 2015 09:39:09 +0200 Subject: [PATCH 49/96] rebuilt to pick up new obsoletes/provides --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index ea3e142..6e96f39 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -23,7 +23,7 @@ Name: python-zmq Version: 14.7.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -225,6 +225,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Fri Oct 16 2015 Thomas Spura - 14.7.0-3 +- rebuilt to pick up new obsoletes/provides + * Wed Oct 14 2015 Thomas Spura - 14.7.0-2 - Use python_provide and py_build macros - Cleanup spec From ad8f60c5c64604248764cf6b00914d2ddcb198d3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 10 Nov 2015 17:55:13 +0000 Subject: [PATCH 50/96] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 6e96f39..4c1d8ae 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -23,7 +23,7 @@ Name: python-zmq Version: 14.7.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -225,6 +225,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 14.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Fri Oct 16 2015 Thomas Spura - 14.7.0-3 - rebuilt to pick up new obsoletes/provides From 92c86a726b6826cd6307dd7cba755c43e30ba845 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Mon, 16 Nov 2015 12:51:44 +0100 Subject: [PATCH 51/96] Use setupegg.py for building/installing to have an unzip'ed egg --- python-zmq.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 4c1d8ae..670cab3 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -23,7 +23,7 @@ Name: python-zmq Version: 14.7.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -161,6 +161,7 @@ chmod -x examples/pubsub/topics_sub.py %build +%global py_setup setupegg.py %py2_build %if 0%{?with_python3} @@ -225,6 +226,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Mon Nov 16 2015 Thomas Spura - 14.7.0-5 +- Use setupegg.py for building/installing to have an unzip'ed egg + * Tue Nov 10 2015 Fedora Release Engineering - 14.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 From f90224095731ca1e862628c3c1d937e0695027c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 21:28:08 +0000 Subject: [PATCH 52/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 670cab3..ef009f7 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -23,7 +23,7 @@ Name: python-zmq Version: 14.7.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -226,6 +226,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 14.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Mon Nov 16 2015 Thomas Spura - 14.7.0-5 - Use setupegg.py for building/installing to have an unzip'ed egg From aec104a1ee074e646c127d54feea3dbfc8dd8afe Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 12 Jul 2016 11:40:21 -0600 Subject: [PATCH 53/96] Use modern provides filtering --- python-zmq.spec | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index ef009f7..e92bb3c 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -1,18 +1,7 @@ %global with_python3 1 -%if 0%{?fedora} -%{!?python3_pkgversion: %global python3_pkgversion 3} -%else -%{!?python3_pkgversion: %global python3_pkgversion 34} -%endif - -%{?filter_setup: -%filter_provides_in %{python_sitearch}/.*\.so$ -%if 0%{?with_python3} -%filter_provides_in %{python3_sitearch}/.*\.so$ -%endif -%filter_setup -} +# we don't want to provide private python extension libs in either the python2 or python3 dirs +%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$ %global checkout 18f5d061558a176f5496aa8e049182c1a7da64f6 @@ -23,7 +12,7 @@ Name: python-zmq Version: 14.7.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -226,6 +215,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Tue Jul 12 2016 Orion Poplawski - 14.7.0-7 +- Use modern provides filtering + * Thu Feb 04 2016 Fedora Release Engineering - 14.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 3d6389fca08a94713a82b69f864b65a7e27e9d6d Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 12 Jul 2016 11:28:13 -0600 Subject: [PATCH 54/96] Update to 15.3.0 --- .gitignore | 1 + python-zmq.spec | 49 +++++++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 51e174f..d7c9d56 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /pyzmq-14.3.1.tar.gz /pyzmq-14.4.1.tar.gz /pyzmq-14.7.0.tar.gz +/pyzmq-15.3.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index e92bb3c..72c8f0e 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,8 +11,8 @@ %global run_tests 1 Name: python-zmq -Version: 14.7.0 -Release: 7%{?dist} +Version: 15.3.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -23,15 +23,19 @@ URL: http://www.zeromq.org/bindings:python # git clone http://github.com/zeromq/pyzmq.git pyzmq.git # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz +#Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz +Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz BuildRequires: chrpath BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: zeromq-devel -BuildRequires: python-nose BuildRequires: Cython +%if 0%{?run_tests} +BuildRequires: pytest +BuildRequires: python-tornado +%endif # For some tests # czmq currently FTBFS, so enable it some time later @@ -42,7 +46,10 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools # needed for 2to3 BuildRequires: python-tools -BuildRequires: python%{python3_pkgversion}-nose +%if 0%{?run_tests} +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-tornado +%endif %endif @@ -175,25 +182,31 @@ chrpath --delete %{buildroot}%{python3_sitearch}%{RPATH}/*.so chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so +# Remove Python 3 only code from python2 package +rm %{buildroot}%{python2_sitearch}/zmq/asyncio.py \ + %{buildroot}%{python2_sitearch}/zmq/auth/asyncio.py \ + %{buildroot}%{python2_sitearch}/zmq/tests/*test_asyncio.py \ + %{buildroot}%{python2_sitearch}/zmq/tests/test_future.py + %check %if 0%{?run_tests} - rm zmq/__* + # Make sure we import from the install directory + rm zmq/__*.py + PYTHONPATH=%{buildroot}%{python3_sitearch} \ + %{__python3} setup.py test + + # Remove Python 3 only tests + rm zmq/asyncio.py zmq/auth/asyncio.py \ + zmq/tests/*test_asyncio.py zmq/tests/test_future.py PYTHONPATH=%{buildroot}%{python2_sitearch} \ %{__python2} setup.py test - - %if 0%{?with_python3} - # Temporarily disable the testsuite for now as it currently hangs in koji: - # http://koji.fedoraproject.org/koji/taskinfo?taskID=10191201 - #rm zmq/__* - #PYTHONPATH=%{buildroot}%{python3_sitearch} \ - # %{__python3} setup.py test - %endif %endif %files -n python2-%{modname} -%doc README.md COPYING.* examples/ +%license COPYING.* +%doc README.md examples/ %{python2_sitearch}/%{srcname}-*.egg-info %{python2_sitearch}/zmq %exclude %{python2_sitearch}/zmq/tests @@ -203,7 +216,8 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %if 0%{?with_python3} %files -n python%{python3_pkgversion}-zmq -%doc README.md COPYING.* +%license COPYING.* +%doc README.md # examples/ %{python3_sitearch}/%{srcname}-*.egg-info %{python3_sitearch}/zmq @@ -215,6 +229,9 @@ chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so %changelog +* Tue Jul 12 2016 Orion Poplawski - 15.3.0-1 +- Update to 15.3.0 + * Tue Jul 12 2016 Orion Poplawski - 14.7.0-7 - Use modern provides filtering diff --git a/sources b/sources index 6c740c0..1842190 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -87e3abb33af5794db5ae85c667bbf324 pyzmq-14.7.0.tar.gz +58ae1343774900f49607fd8f469b37a7 pyzmq-15.3.0.tar.gz From d314a5b1423693788052b1dfc86ea525dbab2ce3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 12:14:07 +0000 Subject: [PATCH 55/96] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 72c8f0e..efb3a7f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 15.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -229,6 +229,9 @@ rm %{buildroot}%{python2_sitearch}/zmq/asyncio.py \ %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 15.3.0-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Tue Jul 12 2016 Orion Poplawski - 15.3.0-1 - Update to 15.3.0 From ff20d52e7ec5239fc4f72b8ee163c600acf0a593 Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Sun, 13 Nov 2016 11:10:20 +0100 Subject: [PATCH 56/96] Update to 16.0.1 - Build twice: once for installing later and once for in-place testing: Testing in-place and installing conflicts (you seem to be able to do only one of them at the same time). Building twice seems to fix this --- .gitignore | 1 + python-zmq.spec | 27 +++++++++++---------------- sources | 2 +- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index d7c9d56..eb2c779 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /pyzmq-14.4.1.tar.gz /pyzmq-14.7.0.tar.gz /pyzmq-15.3.0.tar.gz +/pyzmq-16.0.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index efb3a7f..6972305 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,8 +11,8 @@ %global run_tests 1 Name: python-zmq -Version: 15.3.0 -Release: 2%{?dist} +Version: 16.0.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -23,7 +23,6 @@ URL: http://www.zeromq.org/bindings:python # git clone http://github.com/zeromq/pyzmq.git pyzmq.git # cd pyzmq.git # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -#Source0: https://pypi.python.org/packages/source/p/pyzmq/pyzmq-%{version}.tar.gz Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz BuildRequires: chrpath @@ -157,10 +156,11 @@ chmod -x examples/pubsub/topics_sub.py %build -%global py_setup setupegg.py +CFLAGS="%{optflags}" %{__python2} setup.py build_ext --inplace %py2_build %if 0%{?with_python3} +CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %py3_build %endif # with_python3 @@ -174,31 +174,22 @@ chmod -x examples/pubsub/topics_sub.py %if 0%{?with_python3} %py3_install -chrpath --delete %{buildroot}%{python3_sitearch}%{RPATH}/*.so %endif # with_python3 %py2_install -chrpath --delete %{buildroot}%{python_sitearch}%{RPATH}/*.so - -# Remove Python 3 only code from python2 package -rm %{buildroot}%{python2_sitearch}/zmq/asyncio.py \ - %{buildroot}%{python2_sitearch}/zmq/auth/asyncio.py \ - %{buildroot}%{python2_sitearch}/zmq/tests/*test_asyncio.py \ - %{buildroot}%{python2_sitearch}/zmq/tests/test_future.py - %check %if 0%{?run_tests} # Make sure we import from the install directory - rm zmq/__*.py + #rm zmq/__*.py PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{__python3} setup.py test # Remove Python 3 only tests - rm zmq/asyncio.py zmq/auth/asyncio.py \ - zmq/tests/*test_asyncio.py zmq/tests/test_future.py + #rm zmq/asyncio.py zmq/auth/asyncio.py \ + # zmq/tests/*test_asyncio.py zmq/tests/test_future.py PYTHONPATH=%{buildroot}%{python2_sitearch} \ %{__python2} setup.py test %endif @@ -229,6 +220,10 @@ rm %{buildroot}%{python2_sitearch}/zmq/asyncio.py \ %changelog +* Sun Nov 13 2016 Thomas Spura - 16.0.1-1 +- update to 16.0.1 +- build twice (for installing and testing in-place) + * Tue Jul 19 2016 Fedora Release Engineering - 15.3.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index 1842190..e9d0c42 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -58ae1343774900f49607fd8f469b37a7 pyzmq-15.3.0.tar.gz +8c59659a347c10ad349e6d8cfa45be03 pyzmq-16.0.1.tar.gz From 96adc70a4f3c5b489711141651cd14e8bcf449bb Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 23 Nov 2016 13:21:19 -0700 Subject: [PATCH 57/96] Update to 16.0.2. Fixes bug #1397615 --- .gitignore | 1 + python-zmq.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index eb2c779..344a277 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /pyzmq-14.7.0.tar.gz /pyzmq-15.3.0.tar.gz /pyzmq-16.0.1.tar.gz +/pyzmq-16.0.2.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 6972305..d6f89d5 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,7 +11,7 @@ %global run_tests 1 Name: python-zmq -Version: 16.0.1 +Version: 16.0.2 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Wed Nov 23 2016 Kevin Fenzi - 16.0.2-1 +- Update to 16.0.2. Fixes bug #1397615 + * Sun Nov 13 2016 Thomas Spura - 16.0.1-1 - update to 16.0.1 - build twice (for installing and testing in-place) diff --git a/sources b/sources index e9d0c42..15eb496 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8c59659a347c10ad349e6d8cfa45be03 pyzmq-16.0.1.tar.gz +4cf14a2995742253b2b009541f4436f4 pyzmq-16.0.2.tar.gz From f8ffed6816f010453da52d335dae0d04395e3f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:38 +0100 Subject: [PATCH 58/96] Rebuild for Python 3.6 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index d6f89d5..ae4f774 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Mon Dec 19 2016 Miro Hrončok - 16.0.2-2 +- Rebuild for Python 3.6 + * Wed Nov 23 2016 Kevin Fenzi - 16.0.2-1 - Update to 16.0.2. Fixes bug #1397615 From d51917e0d761943498e69abeeea9589adb733890 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 11:00:59 +0000 Subject: [PATCH 59/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index ae4f774..52299ee 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 16.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 16.0.2-2 - Rebuild for Python 3.6 From 8f24af5fa7b4c225520530760ccdb51cf0026312 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 12:22:48 +0000 Subject: [PATCH 60/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 52299ee..d674751 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 16.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 16.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 9a40121399c203b8d3859480e1166993f1c1f3eb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 07:03:56 +0000 Subject: [PATCH 61/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index d674751..1b97c02 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 16.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 16.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 787beee0f7727cdf9af320ddc40671dfb4e2621c Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 31 Jan 2018 22:28:42 +0100 Subject: [PATCH 62/96] Update Python 2 dependency declarations to new packaging standards --- python-zmq.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 1b97c02..1a3ac02 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -28,12 +28,12 @@ Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzm BuildRequires: chrpath BuildRequires: python2-devel -BuildRequires: python-setuptools +BuildRequires: python2-setuptools BuildRequires: zeromq-devel -BuildRequires: Cython +BuildRequires: python2-Cython %if 0%{?run_tests} -BuildRequires: pytest -BuildRequires: python-tornado +BuildRequires: python2-pytest +BuildRequires: python2-tornado %endif # For some tests @@ -44,7 +44,7 @@ BuildRequires: python-tornado BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools # needed for 2to3 -BuildRequires: python-tools +BuildRequires: python2-tools %if 0%{?run_tests} BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-tornado @@ -220,6 +220,10 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Wed Jan 31 2018 Iryna Shcherbina - 16.0.2-6 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Thu Aug 03 2017 Fedora Release Engineering - 16.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 85858ae9a11b7c00135d4508451bcdfb7cadc414 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 11:51:03 +0000 Subject: [PATCH 63/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 1a3ac02..d4ea9ce 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 16.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -220,6 +220,9 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 16.0.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jan 31 2018 Iryna Shcherbina - 16.0.2-6 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) From b37a99a622ccdb83192f68fd7c2885e2835e35e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 12 May 2018 12:48:28 +0200 Subject: [PATCH 64/96] Update to 17.0.0 (#1538381), fix shebangs --- .gitignore | 1 + python-zmq.spec | 17 +++++++++++++---- sources | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 344a277..dc92aa6 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /pyzmq-15.3.0.tar.gz /pyzmq-16.0.1.tar.gz /pyzmq-16.0.2.tar.gz +/pyzmq-17.0.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index d4ea9ce..24d3e42 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -3,16 +3,16 @@ # we don't want to provide private python extension libs in either the python2 or python3 dirs %global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$ -%global checkout 18f5d061558a176f5496aa8e049182c1a7da64f6 +%global checkout b58cb3a2ee8baaab543729e398fc1cde25ff68c3 %global srcname pyzmq %global modname zmq -%global run_tests 1 +%global run_tests 0 Name: python-zmq -Version: 16.0.2 -Release: 7%{?dist} +Version: 17.0.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -26,6 +26,7 @@ URL: http://www.zeromq.org/bindings:python Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz BuildRequires: chrpath +BuildRequires: %{_bindir}/pathfix.py BuildRequires: python2-devel BuildRequires: python2-setuptools @@ -174,11 +175,15 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %if 0%{?with_python3} %py3_install +pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} + %endif # with_python3 %py2_install +pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} + %check %if 0%{?run_tests} @@ -220,6 +225,10 @@ CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %changelog +* Sat May 12 2018 Miro Hrončok - 17.0.0-1 +- Update to 17.0.0 (#1538381) +- Fix shebangs + * Fri Feb 09 2018 Fedora Release Engineering - 16.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 15eb496..98d55b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4cf14a2995742253b2b009541f4436f4 pyzmq-16.0.2.tar.gz +SHA512 (pyzmq-17.0.0.tar.gz) = 7ee6dfd33f115a2a239fbaebd506bb81f5d98b7d87543f27535bc4d85291f072caa31c32d268508e1ba81d64da9d7c4e77ab9788dba816acda4305e4d0e013b2 From 2883e893e987864d9c85054c3b90839ea66738b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 17 Jun 2018 18:38:00 +0200 Subject: [PATCH 65/96] Rebuilt for Python 3.7 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 24d3e42..340559e 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 17.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -225,6 +225,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Sun Jun 17 2018 Miro Hrončok - 17.0.0-2 +- Rebuilt for Python 3.7 + * Sat May 12 2018 Miro Hrončok - 17.0.0-1 - Update to 17.0.0 (#1538381) - Fix shebangs From 0b262468d988fd6c6b9c77e89ceb8fceea581ffd Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 15:56:25 +0200 Subject: [PATCH 66/96] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- python-zmq.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-zmq.spec b/python-zmq.spec index 340559e..6bbd121 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -25,6 +25,7 @@ URL: http://www.zeromq.org/bindings:python # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz +BuildRequires: gcc BuildRequires: chrpath BuildRequires: %{_bindir}/pathfix.py From 5eac141775149bc86c5ae6e296529ab91f5c9654 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 02:45:46 +0000 Subject: [PATCH 67/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 6bbd121..0a03b35 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 17.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications Group: Development/Libraries @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 17.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Jun 17 2018 Miro Hrončok - 17.0.0-2 - Rebuilt for Python 3.7 From 26b7ee5c4b3c6cb57c6097257af613bc480b3038 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:19 +0100 Subject: [PATCH 68/96] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- python-zmq.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 0a03b35..1180dd6 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -15,7 +15,6 @@ Version: 17.0.0 Release: 3%{?dist} Summary: Software library for fast, message-based applications -Group: Development/Libraries License: LGPLv3+ and ASL 2.0 and BSD URL: http://www.zeromq.org/bindings:python # VCS: git:http://github.com/zeromq/pyzmq.git @@ -80,7 +79,6 @@ This package contains the python bindings. %package -n python2-zmq-tests Summary: Software library for fast, message-based applications -Group: Development/Libraries License: LGPLv3+ Requires: python2-zmq = %{version}-%{release} %{?python_provide:%python_provide python2-%{modname}-tests} @@ -98,7 +96,6 @@ This package contains the testsuite for the python bindings. %if 0%{?with_python3} %package -n python%{python3_pkgversion}-zmq Summary: Software library for fast, message-based applications -Group: Development/Libraries License: LGPLv3+ %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} %description -n python%{python3_pkgversion}-zmq @@ -114,7 +111,6 @@ This package contains the python bindings. %package -n python%{python3_pkgversion}-zmq-tests Summary: Software library for fast, message-based applications -Group: Development/Libraries License: LGPLv3+ Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}-tests} From 1b6b81a1a3d3355b24894a613c3a6317f7d85299 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 10:13:11 +0000 Subject: [PATCH 69/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 1180dd6..f475a6f 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 17.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -222,6 +222,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 17.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 17.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 652bfda805930454839551c7de45b84044a82eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 13 Feb 2019 00:52:03 +0100 Subject: [PATCH 70/96] https://fedoraproject.org/wiki/Changes/Python_Extension_Flags --- python-zmq.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index f475a6f..e0d29e3 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -154,11 +154,9 @@ chmod -x examples/pubsub/topics_sub.py %build -CFLAGS="%{optflags}" %{__python2} setup.py build_ext --inplace %py2_build %if 0%{?with_python3} -CFLAGS="%{optflags}" %{__python3} setup.py build_ext --inplace %py3_build %endif # with_python3 From 08942759f12f759c803d7ab1c491a833a06ce4f4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 29 Apr 2019 14:29:12 -0700 Subject: [PATCH 71/96] Update to 18.0.1. Fixes bug #1601128 --- .gitignore | 1 + python-zmq.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index dc92aa6..7f090b8 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /pyzmq-16.0.1.tar.gz /pyzmq-16.0.2.tar.gz /pyzmq-17.0.0.tar.gz +/pyzmq-18.0.1.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index e0d29e3..7eac53d 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,8 +11,8 @@ %global run_tests 0 Name: python-zmq -Version: 17.0.0 -Release: 4%{?dist} +Version: 18.0.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -220,6 +220,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Mon Apr 29 2019 Kevin Fenzi - 18.0.1-1 +- Update to 18.0.1. Fixes bug #1601128 + * Sat Feb 02 2019 Fedora Release Engineering - 17.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 98d55b9..b75b38d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-17.0.0.tar.gz) = 7ee6dfd33f115a2a239fbaebd506bb81f5d98b7d87543f27535bc4d85291f072caa31c32d268508e1ba81d64da9d7c4e77ab9788dba816acda4305e4d0e013b2 +SHA512 (pyzmq-18.0.1.tar.gz) = 55449e910c52057b624ea6288ec5c2e47013fd0abfbdeb7ceb360b2b3bc5081ca88e834ddd575d1aa995c20d7dc7b7d913e1a3deaecc34cda252ba27acd41bc8 From 4823970274e092b501a09481219ef851ccf22faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 14 May 2019 20:10:49 +0200 Subject: [PATCH 72/96] Regenerate Cython files --- python-zmq.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 7eac53d..1325755 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -31,7 +31,9 @@ BuildRequires: %{_bindir}/pathfix.py BuildRequires: python2-devel BuildRequires: python2-setuptools BuildRequires: zeromq-devel +%if ! 0%{?with_python3} BuildRequires: python2-Cython +%endif %if 0%{?run_tests} BuildRequires: python2-pytest BuildRequires: python2-tornado @@ -44,8 +46,8 @@ BuildRequires: python2-tornado %if 0%{?with_python3} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-Cython # needed for 2to3 -BuildRequires: python2-tools %if 0%{?run_tests} BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-tornado @@ -134,8 +136,12 @@ This package contains the testsuite for the python bindings. rm -rf bundled # forcibly regenerate the Cython-generated .c files: -#find zmq -name "*.c" -delete -#%%{__python} setup.py cython +find zmq -name "*.c" -delete +%if 0%{?with_python3} +%{__python3} setup.py cython +%else +%{__python2} setup.py cython +%endif # remove shebangs for lib in zmq/eventloop/*.py; do From 06f81f9aa7ece7bcf961ec8fdfde1a23d0ec9ee9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 29 Jun 2019 17:28:22 -0700 Subject: [PATCH 73/96] Update to 18.0.2. Fixes bug #1724706 --- .gitignore | 1 + python-zmq.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7f090b8..9e77f79 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /pyzmq-16.0.2.tar.gz /pyzmq-17.0.0.tar.gz /pyzmq-18.0.1.tar.gz +/pyzmq-18.0.2.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 1325755..c075465 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,7 +11,7 @@ %global run_tests 0 Name: python-zmq -Version: 18.0.1 +Version: 18.0.2 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Sun Jun 30 2019 Kevin Fenzi - 18.0.2-1 +- Update to 18.0.2. Fixes bug #1724706 + * Mon Apr 29 2019 Kevin Fenzi - 18.0.1-1 - Update to 18.0.1. Fixes bug #1601128 diff --git a/sources b/sources index b75b38d..33b4f10 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-18.0.1.tar.gz) = 55449e910c52057b624ea6288ec5c2e47013fd0abfbdeb7ceb360b2b3bc5081ca88e834ddd575d1aa995c20d7dc7b7d913e1a3deaecc34cda252ba27acd41bc8 +SHA512 (pyzmq-18.0.2.tar.gz) = 6e16026242e5ccd646cc1020e619e4de2476dbd402c519744bf52753a00483c5bb1378795ee280a5186223be585f7157133266297ac3043c0c0af09cb8bda7ba From c1fb4fe4e0cbc2fa15662bb48326e1142b9fa11a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 17:16:44 +0000 Subject: [PATCH 74/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index c075465..45a6ed5 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 18.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 18.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Jun 30 2019 Kevin Fenzi - 18.0.2-1 - Update to 18.0.2. Fixes bug #1724706 From 378fa220f5088a605eb52eb48ec30a0e893c6a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 16 Aug 2019 23:06:04 +0200 Subject: [PATCH 75/96] Rebuilt for Python 3.8 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 45a6ed5..ea1a46b 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 18.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Fri Aug 16 2019 Miro Hrončok - 18.0.2-3 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 18.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From a8c4a41ea7b596c2321056f63e8f78d664c7c717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:36:54 +0200 Subject: [PATCH 76/96] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index ea1a46b..11c85ac 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -12,7 +12,7 @@ Name: python-zmq Version: 18.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Thu Oct 03 2019 Miro Hrončok - 18.0.2-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Fri Aug 16 2019 Miro Hrončok - 18.0.2-3 - Rebuilt for Python 3.8 From 2984d1f63d1e8b9d3a3bfd0adf398a8062c1defd Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 6 Oct 2019 12:24:25 -0700 Subject: [PATCH 77/96] Update to 18.1.0. Fixes bug #1742606 --- .gitignore | 1 + python-zmq.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9e77f79..2f630d7 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /pyzmq-17.0.0.tar.gz /pyzmq-18.0.1.tar.gz /pyzmq-18.0.2.tar.gz +/pyzmq-18.1.0.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index 11c85ac..d7789b3 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -11,8 +11,8 @@ %global run_tests 0 Name: python-zmq -Version: 18.0.2 -Release: 4%{?dist} +Version: 18.1.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -226,6 +226,9 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} %changelog +* Sun Oct 06 2019 Kevin Fenzi - 18.1.0-1 +- Update to 18.1.0. Fixes bug #1742606 + * Thu Oct 03 2019 Miro Hrončok - 18.0.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018) diff --git a/sources b/sources index 33b4f10..7ca612c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-18.0.2.tar.gz) = 6e16026242e5ccd646cc1020e619e4de2476dbd402c519744bf52753a00483c5bb1378795ee280a5186223be585f7157133266297ac3043c0c0af09cb8bda7ba +SHA512 (pyzmq-18.1.0.tar.gz) = 12e34a16f2833ade2a65a4b0751f94e9b8007a26c50d96084a11f11423cb3269c1e5bfe00ebe375f128c28410546406bc86b27b36f28a9ffc13d33d54c551cda From bff38cfe608f71da36f69097ae2799c38adc24f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 29 Nov 2019 11:46:14 +0100 Subject: [PATCH 78/96] Subpackages python2-zmq, python2-zmq-test have been removed --- python-zmq.spec | 104 +++++------------------------------------------- 1 file changed, 11 insertions(+), 93 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index d7789b3..7115915 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -1,7 +1,5 @@ -%global with_python3 1 - -# we don't want to provide private python extension libs in either the python2 or python3 dirs -%global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$ +# we don't want to provide private python extension libs in python3 dirs +%global __provides_exclude_from ^%{python3_sitearch}/.*\\.so$ %global checkout b58cb3a2ee8baaab543729e398fc1cde25ff68c3 @@ -12,7 +10,7 @@ Name: python-zmq Version: 18.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -28,31 +26,19 @@ BuildRequires: gcc BuildRequires: chrpath BuildRequires: %{_bindir}/pathfix.py -BuildRequires: python2-devel -BuildRequires: python2-setuptools BuildRequires: zeromq-devel -%if ! 0%{?with_python3} -BuildRequires: python2-Cython -%endif -%if 0%{?run_tests} -BuildRequires: python2-pytest -BuildRequires: python2-tornado -%endif # For some tests # czmq currently FTBFS, so enable it some time later #BuildRequires: czmq-devel -%if 0%{?with_python3} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-Cython -# needed for 2to3 %if 0%{?run_tests} BuildRequires: python%{python3_pkgversion}-pytest BuildRequires: python%{python3_pkgversion}-tornado %endif -%endif %description @@ -65,39 +51,9 @@ multiple transport protocols and more. This package contains the python bindings. -%package -n python2-zmq -Summary: Software library for fast, message-based applications -%{?python_provide:%python_provide python2-%{modname}} -%description -n python2-zmq -The 0MQ lightweight messaging kernel is a library which extends the -standard socket interfaces with features traditionally provided by -specialized messaging middle-ware products. 0MQ sockets provide an -abstraction of asynchronous message queues, multiple messaging -patterns, message filtering (subscriptions), seamless access to -multiple transport protocols and more. - -This package contains the python bindings. - - -%package -n python2-zmq-tests -Summary: Software library for fast, message-based applications -License: LGPLv3+ -Requires: python2-zmq = %{version}-%{release} -%{?python_provide:%python_provide python2-%{modname}-tests} -%description -n python2-zmq-tests -The 0MQ lightweight messaging kernel is a library which extends the -standard socket interfaces with features traditionally provided by -specialized messaging middle-ware products. 0MQ sockets provide an -abstraction of asynchronous message queues, multiple messaging -patterns, message filtering (subscriptions), seamless access to -multiple transport protocols and more. - -This package contains the testsuite for the python bindings. - -%if 0%{?with_python3} %package -n python%{python3_pkgversion}-zmq -Summary: Software library for fast, message-based applications +Summary: %{summary} License: LGPLv3+ %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} %description -n python%{python3_pkgversion}-zmq @@ -112,7 +68,7 @@ This package contains the python bindings. %package -n python%{python3_pkgversion}-zmq-tests -Summary: Software library for fast, message-based applications +Summary: %{summary}, testsuite License: LGPLv3+ Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}-tests} @@ -126,8 +82,6 @@ multiple transport protocols and more. This package contains the testsuite for the python bindings. -%endif - %prep %setup -q -n %{srcname}-%{version} @@ -137,11 +91,7 @@ rm -rf bundled # forcibly regenerate the Cython-generated .c files: find zmq -name "*.c" -delete -%if 0%{?with_python3} %{__python3} setup.py cython -%else -%{__python2} setup.py cython -%endif # remove shebangs for lib in zmq/eventloop/*.py; do @@ -158,33 +108,15 @@ chmod -x examples/pubsub/topics_sub.py #find examples -name '.*' | xargs rm -v - %build -%py2_build - -%if 0%{?with_python3} %py3_build -%endif # with_python3 - %install %global RPATH /zmq/{backend/cython,devices} -# Must do the python3 install first because the scripts in /usr/bin are -# overwritten with every setup.py install (and we want the python2 version -# to be the default for now). -%if 0%{?with_python3} %py3_install - pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} -%endif # with_python3 - - -%py2_install - -pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} - %check %if 0%{?run_tests} @@ -192,40 +124,26 @@ pathfix.py -pn -i %{__python2} %{buildroot}%{python2_sitearch} #rm zmq/__*.py PYTHONPATH=%{buildroot}%{python3_sitearch} \ %{__python3} setup.py test - - # Remove Python 3 only tests - #rm zmq/asyncio.py zmq/auth/asyncio.py \ - # zmq/tests/*test_asyncio.py zmq/tests/test_future.py - PYTHONPATH=%{buildroot}%{python2_sitearch} \ - %{__python2} setup.py test %endif -%files -n python2-%{modname} -%license COPYING.* -%doc README.md examples/ -%{python2_sitearch}/%{srcname}-*.egg-info -%{python2_sitearch}/zmq -%exclude %{python2_sitearch}/zmq/tests - -%files -n python2-%{modname}-tests -%{python2_sitearch}/zmq/tests - -%if 0%{?with_python3} %files -n python%{python3_pkgversion}-zmq %license COPYING.* %doc README.md # examples/ %{python3_sitearch}/%{srcname}-*.egg-info -%{python3_sitearch}/zmq +%{python3_sitearch}/zmq/ %exclude %{python3_sitearch}/zmq/tests %files -n python%{python3_pkgversion}-zmq-tests -%{python3_sitearch}/zmq/tests -%endif +%{python3_sitearch}/zmq/tests/ %changelog +* Fri Nov 29 2019 Miro Hrončok - 18.1.0-2 +- Subpackages python2-zmq, python2-zmq-test have been removed + See https://fedoraproject.org/wiki/Changes/RetirePython2 + * Sun Oct 06 2019 Kevin Fenzi - 18.1.0-1 - Update to 18.1.0. Fixes bug #1742606 From 17cb8f049de4f17bc511698f2f343ef2aefa8e80 Mon Sep 17 00:00:00 2001 From: Jochen Breuer Date: Tue, 14 Jan 2020 15:39:48 +0000 Subject: [PATCH 79/96] Adding python-pyzqm in provides Providing python-pyzmq, since some packages are still relying on that. See: https://bugzilla.redhat.com/show_bug.cgi?id=1789889 --- python-zmq.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-zmq.spec b/python-zmq.spec index 7115915..2b8ad11 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -22,6 +22,7 @@ URL: http://www.zeromq.org/bindings:python # git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz +Provides: python%{python3_pkgversion}-pyzmq = %{version} BuildRequires: gcc BuildRequires: chrpath BuildRequires: %{_bindir}/pathfix.py @@ -140,6 +141,10 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Tue Jan 14 2020 Jochen Breuer - 18.1.0-3 +- Providing python-pyzmq, since some packages are still relying on that. + See: https://bugzilla.redhat.com/show_bug.cgi?id=1789889 + * Fri Nov 29 2019 Miro Hrončok - 18.1.0-2 - Subpackages python2-zmq, python2-zmq-test have been removed See https://fedoraproject.org/wiki/Changes/RetirePython2 From e3bf4c22ab45bbede5e68ddd2675049a58a6bf23 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 16:24:02 +0000 Subject: [PATCH 80/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 2b8ad11..c3ab737 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -10,7 +10,7 @@ Name: python-zmq Version: 18.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -141,6 +141,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 18.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Jan 14 2020 Jochen Breuer - 18.1.0-3 - Providing python-pyzmq, since some packages are still relying on that. See: https://bugzilla.redhat.com/show_bug.cgi?id=1789889 From 00806c06506c24c3ff8d9685378aaac519039d3c Mon Sep 17 00:00:00 2001 From: Carl George Date: Fri, 3 Apr 2020 19:17:18 -0500 Subject: [PATCH 81/96] Update to 19.0.0 * Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1772343 * Update upstream URL * Switch to PyPI tarball * Provide pyzmq names from subpackages --- .gitignore | 23 +----------- python-zmq.spec | 94 ++++++++++++++++++++++--------------------------- sources | 2 +- 3 files changed, 45 insertions(+), 74 deletions(-) diff --git a/.gitignore b/.gitignore index 2f630d7..3910fcc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,22 +1 @@ -/pyzmq-0.1.20100725git18f5d06.tar.xz -/pyzmq-2.0.8.tar.gz -/pyzmq-2.0.10.tar.gz -/pyzmq-2.0.10.1.tar.gz -/pyzmq-2.1.1.tar.gz -/pyzmq-2.1.4.tar.gz -/pyzmq-2.1.9.tar.gz -/pyzmq-2.1.11.tar.gz -/pyzmq-2.2.0.tar.gz -/pyzmq-2.2.0.1.tar.gz -/pyzmq-13.0.0.tar.gz -/pyzmq-13.0.2.tar.gz -/pyzmq-14.3.1.tar.gz -/pyzmq-14.4.1.tar.gz -/pyzmq-14.7.0.tar.gz -/pyzmq-15.3.0.tar.gz -/pyzmq-16.0.1.tar.gz -/pyzmq-16.0.2.tar.gz -/pyzmq-17.0.0.tar.gz -/pyzmq-18.0.1.tar.gz -/pyzmq-18.0.2.tar.gz -/pyzmq-18.1.0.tar.gz +pyzmq-*.tar.gz diff --git a/python-zmq.spec b/python-zmq.spec index c3ab737..55b0dd4 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -1,28 +1,31 @@ -# we don't want to provide private python extension libs in python3 dirs -%global __provides_exclude_from ^%{python3_sitearch}/.*\\.so$ - -%global checkout b58cb3a2ee8baaab543729e398fc1cde25ff68c3 - +# what it's called on pypi %global srcname pyzmq -%global modname zmq +# what it's imported as +%global libname zmq +# name of egg info directory +%global eggname %{srcname} +# package name fragment +%global pkgname %{libname} + +%global common_description %{expand: +The 0MQ lightweight messaging kernel is a library which extends the +standard socket interfaces with features traditionally provided by +specialized messaging middle-ware products. 0MQ sockets provide an +abstraction of asynchronous message queues, multiple messaging +patterns, message filtering (subscriptions), seamless access to +multiple transport protocols and more.} %global run_tests 0 -Name: python-zmq -Version: 18.1.0 -Release: 3%{?dist} +Name: python-%{pkgname} +Version: 19.0.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD -URL: http://www.zeromq.org/bindings:python -# VCS: git:http://github.com/zeromq/pyzmq.git -# git checkout with the commands: -# git clone http://github.com/zeromq/pyzmq.git pyzmq.git -# cd pyzmq.git -# git archive --format=tar --prefix=pyzmq-%%{version}/ %%{checkout} | xz -z --force - > pyzmq-%%{version}.tar.xz -Source0: https://github.com/zeromq/pyzmq/archive/v%{version}.tar.gz#/pyzmq-%{version}.tar.gz - -Provides: python%{python3_pkgversion}-pyzmq = %{version} +URL: https://zeromq.org/languages/python/ +Source0: %pypi_source + BuildRequires: gcc BuildRequires: chrpath BuildRequires: %{_bindir}/pathfix.py @@ -42,44 +45,30 @@ BuildRequires: python%{python3_pkgversion}-tornado %endif -%description -The 0MQ lightweight messaging kernel is a library which extends the -standard socket interfaces with features traditionally provided by -specialized messaging middle-ware products. 0MQ sockets provide an -abstraction of asynchronous message queues, multiple messaging -patterns, message filtering (subscriptions), seamless access to -multiple transport protocols and more. - -This package contains the python bindings. +%description %{common_description} -%package -n python%{python3_pkgversion}-zmq +%package -n python%{python3_pkgversion}-%{pkgname} Summary: %{summary} License: LGPLv3+ -%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} -%description -n python%{python3_pkgversion}-zmq -The 0MQ lightweight messaging kernel is a library which extends the -standard socket interfaces with features traditionally provided by -specialized messaging middle-ware products. 0MQ sockets provide an -abstraction of asynchronous message queues, multiple messaging -patterns, message filtering (subscriptions), seamless access to -multiple transport protocols and more. +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} +Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} + +%description -n python%{python3_pkgversion}-%{pkgname} %{common_description} This package contains the python bindings. -%package -n python%{python3_pkgversion}-zmq-tests +%package -n python%{python3_pkgversion}-%{pkgname}-tests Summary: %{summary}, testsuite License: LGPLv3+ Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} -%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}-tests} -%description -n python%{python3_pkgversion}-zmq-tests -The 0MQ lightweight messaging kernel is a library which extends the -standard socket interfaces with features traditionally provided by -specialized messaging middle-ware products. 0MQ sockets provide an -abstraction of asynchronous message queues, multiple messaging -patterns, message filtering (subscriptions), seamless access to -multiple transport protocols and more. +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}-tests} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-tests} +Provides: python%{python3_pkgversion}-%{srcname}-tests = %{version}-%{release} + +%description -n python%{python3_pkgversion}-%{pkgname}-tests %{common_description} This package contains the testsuite for the python bindings. @@ -128,19 +117,22 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %endif -%files -n python%{python3_pkgversion}-zmq +%files -n python%{python3_pkgversion}-%{pkgname} %license COPYING.* %doc README.md # examples/ -%{python3_sitearch}/%{srcname}-*.egg-info -%{python3_sitearch}/zmq/ -%exclude %{python3_sitearch}/zmq/tests +%{python3_sitearch}/%{eggname}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/%{libname} +%exclude %{python3_sitearch}/%{libname}/tests -%files -n python%{python3_pkgversion}-zmq-tests -%{python3_sitearch}/zmq/tests/ +%files -n python%{python3_pkgversion}-%{pkgname}-tests +%{python3_sitearch}/%{libname}/tests %changelog +* Fri Apr 03 2020 Carl George - 19.0.0-1 +- Latest upstream rhbz#1772343 + * Thu Jan 30 2020 Fedora Release Engineering - 18.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 7ca612c..7303cfd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-18.1.0.tar.gz) = 12e34a16f2833ade2a65a4b0751f94e9b8007a26c50d96084a11f11423cb3269c1e5bfe00ebe375f128c28410546406bc86b27b36f28a9ffc13d33d54c551cda +SHA512 (pyzmq-19.0.0.tar.gz) = 06a395fee62c78f806c43b07362fe2d4b7ac05813d75d4b983f8eefffbe0ca36f64db1591ead719b2866fcfe0867c919033eca0063ca32529e649cd9790461b1 From 832569fb21ee5c57cc5c40476aa783461017e3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 23 May 2020 17:28:15 +0200 Subject: [PATCH 82/96] Rebuilt for Python 3.9 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 55b0dd4..79d615b 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 19.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Sat May 23 2020 Miro Hrončok - 19.0.0-2 +- Rebuilt for Python 3.9 + * Fri Apr 03 2020 Carl George - 19.0.0-1 - Latest upstream rhbz#1772343 From 9a8ab80628dd18ef813c963f674a4427c702dcaa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 04:48:22 +0000 Subject: [PATCH 83/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 79d615b..16d7fef 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 19.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 19.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sat May 23 2020 Miro Hrončok - 19.0.0-2 - Rebuilt for Python 3.9 From 74cd90941f6ad6c211c52947c51b971440c76bcd Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Tue, 24 Nov 2020 11:19:22 +0100 Subject: [PATCH 84/96] Update to 19.0.2 --- python-zmq.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 16d7fef..9dbbb24 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 19.0.0 -Release: 3%{?dist} +Version: 19.0.2 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Tue Nov 24 2020 Joel Capitao - 19.0.2-1 +- Update to 19.0.2 + * Wed Jul 29 2020 Fedora Release Engineering - 19.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 7303cfd..eeeb633 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-19.0.0.tar.gz) = 06a395fee62c78f806c43b07362fe2d4b7ac05813d75d4b983f8eefffbe0ca36f64db1591ead719b2866fcfe0867c919033eca0063ca32529e649cd9790461b1 +SHA512 (pyzmq-19.0.2.tar.gz) = aca37b54e07fe6c3c16be56aa5bd856bbf0f4d7bebd11bd9fdecc6e74b7f996572f1dc52e32ae94562c5a63391975a1caeb04d3c0af9f82f780dbee37aae1a9f From ee3523bfd8998fe02f600d30b5b3803d961f7819 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 31 Dec 2020 18:26:14 -0800 Subject: [PATCH 85/96] Update to 20.0.0. Fixes rhbz#1832893 --- python-zmq.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 9dbbb24..d51921c 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 19.0.2 +Version: 20.0.0 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Thu Dec 31 2020 Kevin Fenzi - 20.0.0-1 +- Update to 20.0.0. Fixes rhbz#1832893 + * Tue Nov 24 2020 Joel Capitao - 19.0.2-1 - Update to 19.0.2 diff --git a/sources b/sources index eeeb633..53749f3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-19.0.2.tar.gz) = aca37b54e07fe6c3c16be56aa5bd856bbf0f4d7bebd11bd9fdecc6e74b7f996572f1dc52e32ae94562c5a63391975a1caeb04d3c0af9f82f780dbee37aae1a9f +SHA512 (pyzmq-20.0.0.tar.gz) = 7f9c15ba1a451d761b0d42d4a40834cfa6030f3ed0a5c79028a982e1fec47b080c25e3d3c220ec1b76726e2c90929dfacb50e59991e45177aefc50e5ebca7da6 From 22eeceeacdceec330ac4ddb96ee2b404eae86d70 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 16 Jan 2021 12:15:38 -0800 Subject: [PATCH 86/96] Update to 21.0.0. Fixes rhbz#1916136 --- python-zmq.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index d51921c..beb4566 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 20.0.0 +Version: 21.0.0 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Sat Jan 16 2021 Kevin Fenzi - 21.0.0-1 +- Update to 21.0.0. Fixes rhbz#1916136 + * Thu Dec 31 2020 Kevin Fenzi - 20.0.0-1 - Update to 20.0.0. Fixes rhbz#1832893 diff --git a/sources b/sources index 53749f3..cea4216 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-20.0.0.tar.gz) = 7f9c15ba1a451d761b0d42d4a40834cfa6030f3ed0a5c79028a982e1fec47b080c25e3d3c220ec1b76726e2c90929dfacb50e59991e45177aefc50e5ebca7da6 +SHA512 (pyzmq-21.0.0.tar.gz) = c756cd7c230ee3f4bdb0c9521b3efe9cb4fae172757e4a1ab0fcd946c9ee3a4017e68ed89fbd8d340f34948237bb6b3bea400fe060d0576f448dfec07db2c3cf From 64440471e9654c2dc93a1d07621546254b422e88 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 14:21:59 +0000 Subject: [PATCH 87/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index beb4566..50d4295 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 21.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 21.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Jan 16 2021 Kevin Fenzi - 21.0.0-1 - Update to 21.0.0. Fixes rhbz#1916136 From 988c4bd2b5a9fab6acf19afb7c8ebb3ef43d93e6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 28 Jan 2021 17:12:55 -0800 Subject: [PATCH 88/96] Update to 21.0.2. Fixes rhbz#1920351 --- python-zmq.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 50d4295..b4696c7 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 21.0.0 -Release: 2%{?dist} +Version: 21.0.2 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Thu Jan 28 2021 Kevin Fenzi - 21.0.2-1 +- Update to 21.0.2. Fixes rhbz#1920351 + * Wed Jan 27 2021 Fedora Release Engineering - 21.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index cea4216..bc635b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-21.0.0.tar.gz) = c756cd7c230ee3f4bdb0c9521b3efe9cb4fae172757e4a1ab0fcd946c9ee3a4017e68ed89fbd8d340f34948237bb6b3bea400fe060d0576f448dfec07db2c3cf +SHA512 (pyzmq-21.0.2.tar.gz) = f0b9c5836f3c103501eea5f21d5a1cdf2d0337b7e237aff405906eedb828eecac24302ea9f58252a53e889d1f89468cfe01680048774a4d625fee0cc19ccd8a4 From b6552cdce09ce6eab3c6b4fc54a32ba810743000 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 3 Feb 2021 08:50:12 -0800 Subject: [PATCH 89/96] Update to 22.0.2. Fixes rhbz#1922110 --- python-zmq.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index b4696c7..a9b35f4 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 21.0.2 +Version: 22.0.2 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Wed Feb 03 2021 Kevin Fenzi - 22.0.2-1 +- Update to 22.0.2. Fixes rhbz#1922110 + * Thu Jan 28 2021 Kevin Fenzi - 21.0.2-1 - Update to 21.0.2. Fixes rhbz#1920351 diff --git a/sources b/sources index bc635b0..0a20fd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-21.0.2.tar.gz) = f0b9c5836f3c103501eea5f21d5a1cdf2d0337b7e237aff405906eedb828eecac24302ea9f58252a53e889d1f89468cfe01680048774a4d625fee0cc19ccd8a4 +SHA512 (pyzmq-22.0.2.tar.gz) = 4e350c52ebcfc946f0094d263b682c4724eb356fa3573c8665947d4a562d28513cee4741896221806fd90afb43ed4e750d3a5a7a0f86e077d5f226d82757d42b From 25aa2d515ffeec33108296a8221a2905c751f09a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 12 Feb 2021 17:03:51 -0800 Subject: [PATCH 90/96] Update to 22.0.3. Fixes rhbz#1928104 --- python-zmq.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index a9b35f4..192e2ad 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 22.0.2 +Version: 22.0.3 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Fri Feb 12 2021 Kevin Fenzi - 22.0.3-1 +- Update to 22.0.3. Fixes rhbz#1928104 + * Wed Feb 03 2021 Kevin Fenzi - 22.0.2-1 - Update to 22.0.2. Fixes rhbz#1922110 diff --git a/sources b/sources index 0a20fd0..ee6f569 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-22.0.2.tar.gz) = 4e350c52ebcfc946f0094d263b682c4724eb356fa3573c8665947d4a562d28513cee4741896221806fd90afb43ed4e750d3a5a7a0f86e077d5f226d82757d42b +SHA512 (pyzmq-22.0.3.tar.gz) = c06bc3f6d61975cd33ef35cb186da9e63b0fda4a3539a79bc942847160d23ab59b85191464b36188c5c8ed79401fea53efd1b86aa020c8d3492510c598218aca From 70218f5054a8a6985cd031df45cb951293b1aadc Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 3 Jun 2021 17:20:03 +0200 Subject: [PATCH 91/96] Rebuilt for Python 3.10 --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 192e2ad..8463b5a 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 22.0.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Thu Jun 03 2021 Python Maint - 22.0.3-2 +- Rebuilt for Python 3.10 + * Fri Feb 12 2021 Kevin Fenzi - 22.0.3-1 - Update to 22.0.3. Fixes rhbz#1928104 From 7e7b4c5c47d192b6645b081781bc71650b85b6a5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 10:25:33 +0000 Subject: [PATCH 92/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 8463b5a..8df6503 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 22.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 22.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jun 03 2021 Python Maint - 22.0.3-2 - Rebuilt for Python 3.10 From 54941129077fc7af6547b7d8d9eb3da5b951c34a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 8 Aug 2021 14:44:37 -0700 Subject: [PATCH 93/96] Update to 22.2.1. Fixes rhbz#1989975 --- python-zmq.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 8df6503..491de5c 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,8 +18,8 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 22.0.3 -Release: 3%{?dist} +Version: 22.2.1 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Sun Aug 08 2021 Kevin Fenzi - 22.2.1-1 +- Update to 22.2.1. Fixes rhbz#1989975 + * Fri Jul 23 2021 Fedora Release Engineering - 22.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index ee6f569..d52a934 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-22.0.3.tar.gz) = c06bc3f6d61975cd33ef35cb186da9e63b0fda4a3539a79bc942847160d23ab59b85191464b36188c5c8ed79401fea53efd1b86aa020c8d3492510c598218aca +SHA512 (pyzmq-22.2.1.tar.gz) = bc3dc0156578dd0afbb18c48d50965ab957249071d8a8509d99b55273fc26201408117ae853d1c32e6404c7b0c5adf1499a763a964349009dcb2034ddaf42ccb From 456fc7351ad5529f579f046bf624ff4ec4b563e8 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 8 Jan 2022 17:14:01 -0800 Subject: [PATCH 94/96] Update to 22.3.0. Fixes rhbz#2004837 --- python-zmq.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index 491de5c..77d1e9d 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -18,7 +18,7 @@ multiple transport protocols and more.} %global run_tests 0 Name: python-%{pkgname} -Version: 22.2.1 +Version: 22.3.0 Release: 1%{?dist} Summary: Software library for fast, message-based applications @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Sat Nov 06 2021 Kevin Fenzi - 22.3.0-1 +- Update to 22.3.0. Fixes rhbz#2004837 + * Sun Aug 08 2021 Kevin Fenzi - 22.2.1-1 - Update to 22.2.1. Fixes rhbz#1989975 diff --git a/sources b/sources index d52a934..a8feb17 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-22.2.1.tar.gz) = bc3dc0156578dd0afbb18c48d50965ab957249071d8a8509d99b55273fc26201408117ae853d1c32e6404c7b0c5adf1499a763a964349009dcb2034ddaf42ccb +SHA512 (pyzmq-22.3.0.tar.gz) = a822262ce70e822ea7ac31f458357f61d53b6c24e3482b7f8d222b8c3ace54e4bdb04aff787be07791670f295d6c40d8482fd1a05b87cfe658bf5562da41dcf5 From 159b0600d88188c392e0f7002a296dfc04347e78 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 16:42:06 +0000 Subject: [PATCH 95/96] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-zmq.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-zmq.spec b/python-zmq.spec index 77d1e9d..20486e9 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -19,7 +19,7 @@ multiple transport protocols and more.} Name: python-%{pkgname} Version: 22.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -130,6 +130,9 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch} %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 22.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Sat Nov 06 2021 Kevin Fenzi - 22.3.0-1 - Update to 22.3.0. Fixes rhbz#2004837 From 1e5677227a6dcce02095ad520f48a80b29ec41d5 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 31 Oct 2023 00:10:29 +0300 Subject: [PATCH 96/96] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index a8feb17..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pyzmq-22.3.0.tar.gz) = a822262ce70e822ea7ac31f458357f61d53b6c24e3482b7f8d222b8c3ace54e4bdb04aff787be07791670f295d6c40d8482fd1a05b87cfe658bf5562da41dcf5