|
Jonathan Dieter |
69274ce |
Name: pykka
|
|
Jonathan Dieter |
301a98f |
Version: 1.2.1
|
|
Jonathan Dieter |
0ba0fb0 |
Release: 2%{?dist}
|
|
Jonathan Dieter |
69274ce |
Summary: Python library that provides concurrency using actor model
|
|
Jonathan Dieter |
69274ce |
Group: Development/Libraries
|
|
Jonathan Dieter |
69274ce |
License: ASL 2.0
|
|
Jonathan Dieter |
507705c |
URL: http://www.pykka.org/
|
|
Jonathan Dieter |
69274ce |
Source0: https://github.com/jodal/pykka/tarball/v%{version}/pykka-%{version}.tar.gz
|
|
Jonathan Dieter |
69274ce |
BuildRequires: python2-devel python-gevent python-sphinx
|
|
Jonathan Dieter |
301a98f |
BuildRequires: python3-devel
|
|
Jonathan Dieter |
69274ce |
BuildArch: noarch
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
%description
|
|
Jonathan Dieter |
c700495 |
The goal of Pykka is to provide easy to use concurrency abstractions for Python
|
|
Jonathan Dieter |
c700495 |
by using the actor model.
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
Pykka provides an actor API with two different implementations:
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
* ThreadingActor is built on the Python Standard Library’s threading and Queue
|
|
Jonathan Dieter |
c700495 |
modules, and has no dependencies outside Python itself. It plays well
|
|
Jonathan Dieter |
c700495 |
together with non-actor threads.
|
|
Jonathan Dieter |
c700495 |
* GeventActor is built on the gevent library. gevent is a coroutine-based
|
|
Jonathan Dieter |
c700495 |
Python networking library that uses greenlet to provide a high-level
|
|
Jonathan Dieter |
c700495 |
synchronous API on top of libevent event loop. It is generally faster, but
|
|
Jonathan Dieter |
301a98f |
doesn't like playing with other threads.
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
Much of the naming in Pykka is inspired by the Akka project which implements
|
|
Jonathan Dieter |
c700495 |
actors on the JVM. Though, Pykka does not aim to be a Python port of Akka.
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
301a98f |
%package -n python2-pykka
|
|
Jonathan Dieter |
301a98f |
Summary: Python library that provides concurrency using actor model
|
|
Jonathan Dieter |
301a98f |
Requires: python-gevent
|
|
Jonathan Dieter |
301a98f |
Provides: pykka = 1.2.1
|
|
Jonathan Dieter |
301a98f |
Obsoletes: pykka < 1.2.1
|
|
Jonathan Dieter |
301a98f |
%{?python_provide:%python_provide python2-pykka}
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
%description -n python2-pykka
|
|
Jonathan Dieter |
301a98f |
The goal of Pykka is to provide easy to use concurrency abstractions for Python
|
|
Jonathan Dieter |
301a98f |
by using the actor model.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
Pykka provides an actor API with two different implementations:
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
* ThreadingActor is built on the Python Standard Library’s threading and Queue
|
|
Jonathan Dieter |
301a98f |
modules, and has no dependencies outside Python itself. It plays well
|
|
Jonathan Dieter |
301a98f |
together with non-actor threads.
|
|
Jonathan Dieter |
301a98f |
* GeventActor is built on the gevent library. gevent is a coroutine-based
|
|
Jonathan Dieter |
301a98f |
Python networking library that uses greenlet to provide a high-level
|
|
Jonathan Dieter |
301a98f |
synchronous API on top of libevent event loop. It is generally faster, but
|
|
Jonathan Dieter |
301a98f |
doesn't like playing with other threads.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
Much of the naming in Pykka is inspired by the Akka project which implements
|
|
Jonathan Dieter |
301a98f |
actors on the JVM. Though, Pykka does not aim to be a Python port of Akka.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
This package provides Pykka's Python 2 libraries
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
%package -n python3-pykka
|
|
Jonathan Dieter |
301a98f |
Summary: Python library that provides concurrency using actor model
|
|
Jonathan Dieter |
301a98f |
%{?python_provide:%python_provide python3-pykka}
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
%description -n python3-pykka
|
|
Jonathan Dieter |
301a98f |
The goal of Pykka is to provide easy to use concurrency abstractions for Python
|
|
Jonathan Dieter |
301a98f |
by using the actor model.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
Pykka for Python 3 provides an actor API with one implementation:
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
* ThreadingActor is built on the Python Standard Library’s threading and Queue
|
|
Jonathan Dieter |
301a98f |
modules, and has no dependencies outside Python itself. It plays well
|
|
Jonathan Dieter |
301a98f |
together with non-actor threads.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
Much of the naming in Pykka is inspired by the Akka project which implements
|
|
Jonathan Dieter |
301a98f |
actors on the JVM. Though, Pykka does not aim to be a Python port of Akka.
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
301a98f |
This package provides Pykka's Python 3 libraries
|
|
Jonathan Dieter |
301a98f |
|
|
Jonathan Dieter |
69274ce |
%package docs
|
|
Jonathan Dieter |
69274ce |
Summary: Documentation for %{name}
|
|
Jonathan Dieter |
69274ce |
Group: Documentation
|
|
Jonathan Dieter |
69274ce |
BuildArch: noarch
|
|
Jonathan Dieter |
69274ce |
Requires: devhelp
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
69274ce |
%description docs
|
|
Jonathan Dieter |
69274ce |
This package provides the documentation for %{name}, e.g. the API as
|
|
Jonathan Dieter |
69274ce |
devhelp docs, and examples.
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
c700495 |
%prep
|
|
Jonathan Dieter |
c700495 |
%setup -q -c
|
|
Jonathan Dieter |
c700495 |
DIR=`ls -d jodal-pykka-*`
|
|
Jonathan Dieter |
c700495 |
mv $DIR/* ./
|
|
Jonathan Dieter |
c700495 |
mv $DIR/.[a-zA-Z0-9]* ./
|
|
Jonathan Dieter |
c700495 |
rmdir $DIR
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
%build
|
|
Jonathan Dieter |
301a98f |
%py2_build
|
|
Jonathan Dieter |
301a98f |
%py3_build
|
|
Jonathan Dieter |
c700495 |
cd docs
|
|
Jonathan Dieter |
301a98f |
make devhelp
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
%install
|
|
Jonathan Dieter |
301a98f |
%py2_install
|
|
Jonathan Dieter |
301a98f |
%py3_install
|
|
Jonathan Dieter |
69274ce |
mkdir -p $RPM_BUILD_ROOT%{_datarootdir}/devhelp/Pykka
|
|
Jonathan Dieter |
69274ce |
cp -rp docs/_build/devhelp $RPM_BUILD_ROOT%{_datarootdir}/devhelp/Pykka
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
301a98f |
%files -n python2-pykka
|
|
Jonathan Dieter |
301a98f |
%doc LICENSE README.rst
|
|
Jonathan Dieter |
301a98f |
%{python2_sitelib}/Pykka*
|
|
Jonathan Dieter |
301a98f |
%{python2_sitelib}/pykka
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
301a98f |
%files -n python3-pykka
|
|
Jonathan Dieter |
c700495 |
%doc LICENSE README.rst
|
|
Jonathan Dieter |
301a98f |
%{python3_sitelib}/Pykka*
|
|
Jonathan Dieter |
301a98f |
%{python3_sitelib}/pykka
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
69274ce |
%files docs
|
|
Jonathan Dieter |
69274ce |
%doc examples/
|
|
Jonathan Dieter |
69274ce |
%{_datarootdir}/devhelp/Pykka
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
c700495 |
%changelog
|
|
Jonathan Dieter |
0ba0fb0 |
* Tue Aug 18 2015 Jonathan Dieter <jdieter@lesbg.com> - 1.2.1-2
|
|
Jonathan Dieter |
301a98f |
- Update to 1.2.1
|
|
Jonathan Dieter |
301a98f |
- Build Python 3 library (with limited functionality)
|
|
Jonathan Dieter |
301a98f |
|
|
|
099287c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
|
|
099287c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
099287c |
|
|
|
c5bf0d7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
c5bf0d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c5bf0d7 |
|
|
|
4f1a6e6 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
4f1a6e6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4f1a6e6 |
|
|
Jonathan Dieter |
507705c |
* Tue Apr 16 2013 Jonathan Dieter <jdieter@lesbg.com> - 1.1.0-1
|
|
Jonathan Dieter |
507705c |
- Update to latest release
|
|
Jonathan Dieter |
507705c |
|
|
|
07d9003 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
|
|
|
07d9003 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
07d9003 |
|
|
Jonathan Dieter |
69274ce |
* Thu Jan 10 2013 Matěj Cepl <mcepl@redhat.com> - 0.15-3
|
|
Jonathan Dieter |
69274ce |
- Add documentation and examples.
|
|
Jonathan Dieter |
69274ce |
|
|
Jonathan Dieter |
c700495 |
* Mon Aug 27 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.15-2
|
|
Jonathan Dieter |
c700495 |
- Update to latest version
|
|
Jonathan Dieter |
c700495 |
- Remove unneeded sections
|
|
Jonathan Dieter |
c700495 |
- Remove trailing .0 as it's not part of the original versioning
|
|
Jonathan Dieter |
c700495 |
- Remove buildroot tag
|
|
Jonathan Dieter |
c700495 |
|
|
Jonathan Dieter |
c700495 |
* Wed Jan 4 2012 Jonathan Dieter <jdieter@lesbg.com> - 0.13.0-1
|
|
Jonathan Dieter |
c700495 |
- Initial release
|