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
epel8 imports/epel8/python-zmq-19.0.0-1.el8
Carl George 5 years ago
parent e3bf4c22ab
commit 00806c0650

23
.gitignore vendored

@ -1,22 +1 @@
/pyzmq-0.1.20100725git18f5d06.tar.xz pyzmq-*.tar.gz
/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

@ -1,28 +1,31 @@
# we don't want to provide private python extension libs in python3 dirs # what it's called on pypi
%global __provides_exclude_from ^%{python3_sitearch}/.*\\.so$
%global checkout b58cb3a2ee8baaab543729e398fc1cde25ff68c3
%global srcname pyzmq %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 %global run_tests 0
Name: python-zmq Name: python-%{pkgname}
Version: 18.1.0 Version: 19.0.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Software library for fast, message-based applications Summary: Software library for fast, message-based applications
License: LGPLv3+ and ASL 2.0 and BSD License: LGPLv3+ and ASL 2.0 and BSD
URL: http://www.zeromq.org/bindings:python URL: https://zeromq.org/languages/python/
# VCS: git:http://github.com/zeromq/pyzmq.git Source0: %pypi_source
# 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}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: %{_bindir}/pathfix.py BuildRequires: %{_bindir}/pathfix.py
@ -42,44 +45,30 @@ BuildRequires: python%{python3_pkgversion}-tornado
%endif %endif
%description %description %{common_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.
%package -n python%{python3_pkgversion}-zmq %package -n python%{python3_pkgversion}-%{pkgname}
Summary: %{summary} Summary: %{summary}
License: LGPLv3+ License: LGPLv3+
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%description -n python%{python3_pkgversion}-zmq %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
The 0MQ lightweight messaging kernel is a library which extends the Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release}
standard socket interfaces with features traditionally provided by
specialized messaging middle-ware products. 0MQ sockets provide an %description -n python%{python3_pkgversion}-%{pkgname} %{common_description}
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. This package contains the python bindings.
%package -n python%{python3_pkgversion}-zmq-tests %package -n python%{python3_pkgversion}-%{pkgname}-tests
Summary: %{summary}, testsuite Summary: %{summary}, testsuite
License: LGPLv3+ License: LGPLv3+
Requires: python%{python3_pkgversion}-zmq = %{version}-%{release} Requires: python%{python3_pkgversion}-zmq = %{version}-%{release}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}-tests} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}-tests}
%description -n python%{python3_pkgversion}-zmq-tests %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-tests}
The 0MQ lightweight messaging kernel is a library which extends the Provides: python%{python3_pkgversion}-%{srcname}-tests = %{version}-%{release}
standard socket interfaces with features traditionally provided by
specialized messaging middle-ware products. 0MQ sockets provide an %description -n python%{python3_pkgversion}-%{pkgname}-tests %{common_description}
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. This package contains the testsuite for the python bindings.
@ -128,19 +117,22 @@ pathfix.py -pn -i %{__python3} %{buildroot}%{python3_sitearch}
%endif %endif
%files -n python%{python3_pkgversion}-zmq %files -n python%{python3_pkgversion}-%{pkgname}
%license COPYING.* %license COPYING.*
%doc README.md %doc README.md
# examples/ # examples/
%{python3_sitearch}/%{srcname}-*.egg-info %{python3_sitearch}/%{eggname}-%{version}-py%{python3_version}.egg-info
%{python3_sitearch}/zmq/ %{python3_sitearch}/%{libname}
%exclude %{python3_sitearch}/zmq/tests %exclude %{python3_sitearch}/%{libname}/tests
%files -n python%{python3_pkgversion}-zmq-tests %files -n python%{python3_pkgversion}-%{pkgname}-tests
%{python3_sitearch}/zmq/tests/ %{python3_sitearch}/%{libname}/tests
%changelog %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 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

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

Loading…
Cancel
Save