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
This commit is contained in:
Carl George 2020-04-03 19:17:18 -05:00
parent e3bf4c22ab
commit 00806c0650
3 changed files with 44 additions and 73 deletions

23
.gitignore vendored
View File

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

View File

@ -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
URL: https://zeromq.org/languages/python/
Source0: %pypi_source
Provides: python%{python3_pkgversion}-pyzmq = %{version}
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 <carl@george.computer> - 19.0.0-1
- Latest upstream rhbz#1772343
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pyzmq-18.1.0.tar.gz) = 12e34a16f2833ade2a65a4b0751f94e9b8007a26c50d96084a11f11423cb3269c1e5bfe00ebe375f128c28410546406bc86b27b36f28a9ffc13d33d54c551cda
SHA512 (pyzmq-19.0.0.tar.gz) = 06a395fee62c78f806c43b07362fe2d4b7ac05813d75d4b983f8eefffbe0ca36f64db1591ead719b2866fcfe0867c919033eca0063ca32529e649cd9790461b1