Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-workerpool
python-workerpool.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-workerpool.spec of Package python-workerpool
# # spec file for package python-workerpool # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-workerpool Version: 0.9.2 Release: 1 Summary: Python multithreaded job distribution module Url: http://code.google.com/p/workerpool/ Source: http://workerpool.googlecode.com/files/workerpool-%{version}.tar.gz License: MIT License Group: Development/Libraries BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description Performing tasks in many threads made fun! This module facilitates distributing simple operations into jobs that are sent to worker threads, maintained by a pool object. It consists of these components: 1. Jobs, which are single units of work that need to be performed. 2. Workers, who grab jobs from a queue and perform them. 3. Worker pool, which keeps track of workers and the job queue. %prep %setup -n workerpool-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc LICENSE README PKG-INFO %doc samples %doc test %changelog -n python-workerpool
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor