Группа :: Разработка/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 можно просмотреть здесь
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 можно просмотреть здесь