From fdb0d20da58f80d35ce9b51c66e094cac7b43a76 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 05:42:14 +0000 Subject: automatic import of python-snakemq --- .gitignore | 1 + python-snakemq.spec | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 182 insertions(+) create mode 100644 python-snakemq.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2cd133e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/snakeMQ-1.6.tar.gz diff --git a/python-snakemq.spec b/python-snakemq.spec new file mode 100644 index 0000000..c8b9fb0 --- /dev/null +++ b/python-snakemq.spec @@ -0,0 +1,180 @@ +%global _empty_manifest_terminate_build 0 +Name: python-snakeMQ +Version: 1.6 +Release: 1 +Summary: message queuing for Python +License: MIT License +URL: http://www.snakemq.net +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/f9/bdfc5e80bb66cea0f86634e76ed42e5a9cfdd7580a0464c528b832419b58/snakeMQ-1.6.tar.gz +BuildArch: noarch + + +%description +SnakeMQ is a small cross-platform Python library for easy and reliable +communication between hosts. + +[![Build Status](https://travis-ci.org/dsiroky/snakemq.svg?branch=master)](https://travis-ci.org/dsiroky/snakemq) + +# Features + * pure Python, cross-platform + * automatic reconnect + * keep-alive for idle connections + * reliable delivery - configurable message role and delivery timeout + * persistent/transient queues + * asynchronous - polling + * symmetrical - single TCP connection for duplex communication + * multiple storage options - SQLite, MongoDB, ... + * brokerless - similar philosophy like [ZeroMQ](http://www.zeromq.org/) + * additional modules - RPC, bandwidth throttling + +Tested and working with Python versions: 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, pypy + +# Homepage + + +# Forum & bugs & issues + * forum at [Google Groups](https://groups.google.com/forum/#!forum/snakemq) + * bugtracking at [GitHub issues](https://github.com/dsiroky/snakemq/issues) + +# Download + * packages at [PyPI](http://pypi.python.org/pypi/snakeMQ) + +# Documentation + + +# Changelog + + +# Notes +Python 3.5 has broken SSL support. + +%package -n python3-snakeMQ +Summary: message queuing for Python +Provides: python-snakeMQ +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-snakeMQ +SnakeMQ is a small cross-platform Python library for easy and reliable +communication between hosts. + +[![Build Status](https://travis-ci.org/dsiroky/snakemq.svg?branch=master)](https://travis-ci.org/dsiroky/snakemq) + +# Features + * pure Python, cross-platform + * automatic reconnect + * keep-alive for idle connections + * reliable delivery - configurable message role and delivery timeout + * persistent/transient queues + * asynchronous - polling + * symmetrical - single TCP connection for duplex communication + * multiple storage options - SQLite, MongoDB, ... + * brokerless - similar philosophy like [ZeroMQ](http://www.zeromq.org/) + * additional modules - RPC, bandwidth throttling + +Tested and working with Python versions: 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, pypy + +# Homepage + + +# Forum & bugs & issues + * forum at [Google Groups](https://groups.google.com/forum/#!forum/snakemq) + * bugtracking at [GitHub issues](https://github.com/dsiroky/snakemq/issues) + +# Download + * packages at [PyPI](http://pypi.python.org/pypi/snakeMQ) + +# Documentation + + +# Changelog + + +# Notes +Python 3.5 has broken SSL support. + +%package help +Summary: Development documents and examples for snakeMQ +Provides: python3-snakeMQ-doc +%description help +SnakeMQ is a small cross-platform Python library for easy and reliable +communication between hosts. + +[![Build Status](https://travis-ci.org/dsiroky/snakemq.svg?branch=master)](https://travis-ci.org/dsiroky/snakemq) + +# Features + * pure Python, cross-platform + * automatic reconnect + * keep-alive for idle connections + * reliable delivery - configurable message role and delivery timeout + * persistent/transient queues + * asynchronous - polling + * symmetrical - single TCP connection for duplex communication + * multiple storage options - SQLite, MongoDB, ... + * brokerless - similar philosophy like [ZeroMQ](http://www.zeromq.org/) + * additional modules - RPC, bandwidth throttling + +Tested and working with Python versions: 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, 3.6, pypy + +# Homepage + + +# Forum & bugs & issues + * forum at [Google Groups](https://groups.google.com/forum/#!forum/snakemq) + * bugtracking at [GitHub issues](https://github.com/dsiroky/snakemq/issues) + +# Download + * packages at [PyPI](http://pypi.python.org/pypi/snakeMQ) + +# Documentation + + +# Changelog + + +# Notes +Python 3.5 has broken SSL support. + +%prep +%autosetup -n snakeMQ-1.6 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-snakeMQ -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 1.6-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c023c6d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +8a5d1f533fc37674a3170f1e90eb61e1 snakeMQ-1.6.tar.gz -- cgit v1.2.3