Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37560367
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python3-module-huey

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define oname huey
Name: python3-module-%oname
Version: 2.4.5
Release: alt1

Summary: a little task queue for python

License: MIT
Group: Development/Python
Url: https://github.com/coleifer/huey/

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3 rpm-build-intro
# for test
BuildRequires: python3-module-setuptools_scm

%py3_use redis-py

%description
huey is:
* a task queue written in python
* clean and simple API
* redis, sqlite, or in-memory storage
* example code.

huey supports:
* multi-process, multi-thread or greenlet task execution models
* schedule tasks to execute at a given time, or after a given delay
* schedule recurring tasks, like a crontab
* automatically retry tasks that fail
* task prioritization
* task result storage
* task locking
* task pipelines and chains

%prep
%setup

%build
%python3_build

%install
%python3_install
%python3_prune
rm -rfv %buildroot%python3_sitelibdir/huey/contrib/

%check
#python3_test

%files
%_bindir/huey_consumer
%_bindir/huey_consumer.py
%python3_sitelibdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin