summaryrefslogtreecommitdiff
path: root/python-snakemq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-snakemq.spec')
-rw-r--r--python-snakemq.spec180
1 files changed, 180 insertions, 0 deletions
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
+<https://github.com/dsiroky/snakemq>
+
+# 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
+<https://snakemq.readthedocs.io/en/latest/>
+
+# Changelog
+<https://snakemq.readthedocs.io/en/latest/changelog.html>
+
+# 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
+<https://github.com/dsiroky/snakemq>
+
+# 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
+<https://snakemq.readthedocs.io/en/latest/>
+
+# Changelog
+<https://snakemq.readthedocs.io/en/latest/changelog.html>
+
+# 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
+<https://github.com/dsiroky/snakemq>
+
+# 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
+<https://snakemq.readthedocs.io/en/latest/>
+
+# Changelog
+<https://snakemq.readthedocs.io/en/latest/changelog.html>
+
+# 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 <Python_Bot@openeuler.org> - 1.6-1
+- Package Spec generated