From eb3ff00a2a8bbc2f711be8c8eb117be9f4df3b99 Mon Sep 17 00:00:00 2001 From: My Karlsson Date: Oct 07 2018 09:50:10 +0000 Subject: Remove python2 subpackage This resolves rhbz#1627414. --- diff --git a/pykka.spec b/pykka.spec index de6bb08..0730345 100644 --- a/pykka.spec +++ b/pykka.spec @@ -1,13 +1,13 @@ Name: pykka Version: 1.2.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python library that provides concurrency using actor model Group: Development/Libraries License: ASL 2.0 URL: http://www.pykka.org/ Source0: https://github.com/jodal/pykka/tarball/v%{version}/pykka-%{version}.tar.gz -BuildRequires: python2-devel python2-gevent python2-sphinx BuildRequires: python3-devel +BuildRequires: python3-sphinx BuildArch: noarch %description @@ -27,32 +27,6 @@ Pykka provides an actor API with two different implementations: Much of the naming in Pykka is inspired by the Akka project which implements actors on the JVM. Though, Pykka does not aim to be a Python port of Akka. -%package -n python2-pykka -Summary: Python library that provides concurrency using actor model -Requires: python2-gevent -Provides: pykka = 1.2.1 -Obsoletes: pykka < 1.2.1 -%{?python_provide:%python_provide python2-pykka} - -%description -n python2-pykka -The goal of Pykka is to provide easy to use concurrency abstractions for Python -by using the actor model. - -Pykka provides an actor API with two different implementations: - - * ThreadingActor is built on the Python Standard Library’s threading and Queue - modules, and has no dependencies outside Python itself. It plays well - together with non-actor threads. - * GeventActor is built on the gevent library. gevent is a coroutine-based - Python networking library that uses greenlet to provide a high-level - synchronous API on top of libevent event loop. It is generally faster, but - doesn't like playing with other threads. - -Much of the naming in Pykka is inspired by the Akka project which implements -actors on the JVM. Though, Pykka does not aim to be a Python port of Akka. - -This package provides Pykka's Python 2 libraries - %package -n python3-pykka Summary: Python library that provides concurrency using actor model %{?python_provide:%python_provide python3-pykka} @@ -91,22 +65,15 @@ mv $DIR/.[a-zA-Z0-9]* ./ rmdir $DIR %build -%py2_build %py3_build cd docs -make devhelp +SPHINXBUILD=sphinx-build-3 make devhelp %install -%py2_install %py3_install mkdir -p $RPM_BUILD_ROOT%{_datarootdir}/devhelp/Pykka cp -rp docs/_build/devhelp $RPM_BUILD_ROOT%{_datarootdir}/devhelp/Pykka -%files -n python2-pykka -%doc LICENSE README.rst -%{python2_sitelib}/Pykka* -%{python2_sitelib}/pykka - %files -n python3-pykka %doc LICENSE README.rst %{python3_sitelib}/Pykka* @@ -118,6 +85,9 @@ cp -rp docs/_build/devhelp $RPM_BUILD_ROOT%{_datarootdir}/devhelp/Pykka %changelog +* Sun Oct 07 2018 My Karlsson - 1.2.1-13 +- Remove python2 subpackage (rhbz#1627414) + * Fri Jul 13 2018 Fedora Release Engineering - 1.2.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild