summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-fastybird-ws-server-plugin.spec232
-rw-r--r--sources1
3 files changed, 234 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..95a6ff4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fastybird-ws-server-plugin-0.13.0.tar.gz
diff --git a/python-fastybird-ws-server-plugin.spec b/python-fastybird-ws-server-plugin.spec
new file mode 100644
index 0000000..71b2dc7
--- /dev/null
+++ b/python-fastybird-ws-server-plugin.spec
@@ -0,0 +1,232 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fastybird-ws-server-plugin
+Version: 0.13.0
+Release: 1
+Summary: FastyBird WS server plugin
+License: Apache Software License (Apache Software License 2.0)
+URL: https://github.com/FastyBird/ws-server-plugin
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/02/b0/7127b0b39a525f81ac796aa6847ef0919581cd4506dda70b67ddbafc95b1/fastybird-ws-server-plugin-0.13.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-fastybird-metadata
+Requires: python3-kink
+Requires: python3-setuptools
+Requires: python3-whistle
+
+%description
+# FastyBird WS server plugin
+
+[![Build Status](https://badgen.net/github/checks/FastyBird/ws-server-plugin/master?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/actions)
+[![Licence](https://badgen.net/github/license/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md)
+[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/ws-server-plugin)
+
+![PHP](https://badgen.net/packagist/php/FastyBird/ws-server-plugin?cache=300&style=flat-square)
+[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/ws-server-plugin/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan)
+
+![Python](https://badgen.net/pypi/python/fastybird-ws-server-plugin?cache=300&style=flat-square)
+[![Python latest stable](https://badgen.net/pypi/v/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Black](https://img.shields.io/badge/black-enabled-brightgreen.svg?style=flat-square)](https://github.com/psf/black)
+[![MyPy](https://img.shields.io/badge/mypy-enabled-brightgreen.svg?style=flat-square)](http://mypy-lang.org)
+
+## What is FastyBird WS server plugin?
+
+This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is
+implementing [WAMPv1](https://wamp-proto.org) server based
+on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension
+for [FastyBird](https://www.fastybird.com) IoT services
+
+## Installation
+
+### PHP based project:
+
+The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/):
+
+```sh
+$ composer require fastybird/ws-server-plugin
+```
+
+### Python based project:
+
+The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/):
+
+```sh
+$ pip install fastybird-ws-server-plugin
+```
+
+## Documentation
+
+Learn how to connect & call RPC messages
+in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md).
+
+***
+Homepage [https://www.fastybird.com](https://www.fastybird.com) and
+repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin).
+
+
+
+
+%package -n python3-fastybird-ws-server-plugin
+Summary: FastyBird WS server plugin
+Provides: python-fastybird-ws-server-plugin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fastybird-ws-server-plugin
+# FastyBird WS server plugin
+
+[![Build Status](https://badgen.net/github/checks/FastyBird/ws-server-plugin/master?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/actions)
+[![Licence](https://badgen.net/github/license/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md)
+[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/ws-server-plugin)
+
+![PHP](https://badgen.net/packagist/php/FastyBird/ws-server-plugin?cache=300&style=flat-square)
+[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/ws-server-plugin/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan)
+
+![Python](https://badgen.net/pypi/python/fastybird-ws-server-plugin?cache=300&style=flat-square)
+[![Python latest stable](https://badgen.net/pypi/v/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Black](https://img.shields.io/badge/black-enabled-brightgreen.svg?style=flat-square)](https://github.com/psf/black)
+[![MyPy](https://img.shields.io/badge/mypy-enabled-brightgreen.svg?style=flat-square)](http://mypy-lang.org)
+
+## What is FastyBird WS server plugin?
+
+This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is
+implementing [WAMPv1](https://wamp-proto.org) server based
+on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension
+for [FastyBird](https://www.fastybird.com) IoT services
+
+## Installation
+
+### PHP based project:
+
+The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/):
+
+```sh
+$ composer require fastybird/ws-server-plugin
+```
+
+### Python based project:
+
+The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/):
+
+```sh
+$ pip install fastybird-ws-server-plugin
+```
+
+## Documentation
+
+Learn how to connect & call RPC messages
+in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md).
+
+***
+Homepage [https://www.fastybird.com](https://www.fastybird.com) and
+repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin).
+
+
+
+
+%package help
+Summary: Development documents and examples for fastybird-ws-server-plugin
+Provides: python3-fastybird-ws-server-plugin-doc
+%description help
+# FastyBird WS server plugin
+
+[![Build Status](https://badgen.net/github/checks/FastyBird/ws-server-plugin/master?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/actions)
+[![Licence](https://badgen.net/github/license/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://github.com/FastyBird/ws-server-plugin/blob/master/LICENSE.md)
+[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/ws-server-plugin)
+
+![PHP](https://badgen.net/packagist/php/FastyBird/ws-server-plugin?cache=300&style=flat-square)
+[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/ws-server-plugin/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/ws-server-plugin?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/ws-server-plugin)
+[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan)
+
+![Python](https://badgen.net/pypi/python/fastybird-ws-server-plugin?cache=300&style=flat-square)
+[![Python latest stable](https://badgen.net/pypi/v/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-ws-server-plugin?cache=300&style=flat-square)](https://pypi.org/project/fastybird-ws-server-plugin/)
+[![Black](https://img.shields.io/badge/black-enabled-brightgreen.svg?style=flat-square)](https://github.com/psf/black)
+[![MyPy](https://img.shields.io/badge/mypy-enabled-brightgreen.svg?style=flat-square)](http://mypy-lang.org)
+
+## What is FastyBird WS server plugin?
+
+This is a combined plugin for [Nette framework](https://nette.org) and [Python](https://www.python.org) which is
+implementing [WAMPv1](https://wamp-proto.org) server based
+on [iPbulikuj WAMP server](https://github.com/ipublikuj/websockets-wamp) extension
+for [FastyBird](https://www.fastybird.com) IoT services
+
+## Installation
+
+### PHP based project:
+
+The best way to install **fastybird/ws-server-plugin** is using [Composer](http://getcomposer.org/):
+
+```sh
+$ composer require fastybird/ws-server-plugin
+```
+
+### Python based project:
+
+The best way to install **fastybird-redisdb-storage-plugin** is using [Pip](https://pip.pypa.io/en/stable/):
+
+```sh
+$ pip install fastybird-ws-server-plugin
+```
+
+## Documentation
+
+Learn how to connect & call RPC messages
+in [documentation](https://github.com/FastyBird/ws-server-plugin/blob/master/.docs/en/index.md).
+
+***
+Homepage [https://www.fastybird.com](https://www.fastybird.com) and
+repository [https://github.com/FastyBird/ws-server-plugin](https://github.com/FastyBird/ws-server-plugin).
+
+
+
+
+%prep
+%autosetup -n fastybird-ws-server-plugin-0.13.0
+
+%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-fastybird-ws-server-plugin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.13.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..ab797ba
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1dedbd87a0d768f172c769d46f5ca0d8 fastybird-ws-server-plugin-0.13.0.tar.gz