From 63ddf3fc6b068e7e68da692a825af1e44aca6c0a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 13:26:44 +0000 Subject: automatic import of python-fastybird-devices-module --- python-fastybird-devices-module.spec | 456 +++++++++++++++++++++++++++++++++++ 1 file changed, 456 insertions(+) create mode 100644 python-fastybird-devices-module.spec (limited to 'python-fastybird-devices-module.spec') diff --git a/python-fastybird-devices-module.spec b/python-fastybird-devices-module.spec new file mode 100644 index 0000000..d8562fc --- /dev/null +++ b/python-fastybird-devices-module.spec @@ -0,0 +1,456 @@ +%global _empty_manifest_terminate_build 0 +Name: python-fastybird-devices-module +Version: 0.75.0 +Release: 1 +Summary: FastyBird IoT devices module for devices management & basic control logic +License: Apache Software License (Apache Software License 2.0) +URL: https://github.com/FastyBird/devices-module +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a8/43/30f09253cbbd3e15c75b0652cf20bd99e6ca5396d35ff785c2f8e62806dd/fastybird-devices-module-0.75.0.tar.gz +BuildArch: noarch + +Requires: python3-kink +Requires: python3-fastnumbers +Requires: python3-fastybird-exchange +Requires: python3-fastybird-metadata +Requires: python3-inflection +Requires: python3-mysqlclient +Requires: python3-setuptools +Requires: python3-sqlalchemy +Requires: python3-pymysql + +%description +# FastyBird IoT devices module + +[![Build Status](https://badgen.net/github/checks/FastyBird/devices-module/main?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/actions) +[![Licence](https://badgen.net/github/license/FastyBird/devices-module?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/blob/main/LICENSE.md) +[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/devices-module?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/devices-module) + +![PHP](https://badgen.net/packagist/php/FastyBird/devices-module?cache=300&style=flat-square) +[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/devices-module/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/devices-module?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan) + +![JS](https://img.shields.io/badge/js-es6-blue.svg?style=flat-square) +[![JS latest stable](https://badgen.net/npm/v/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +[![JS downloads total](https://badgen.net/npm/dt/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +![Types](https://badgen.net/npm/types/@fastybird/devices-module?cache=300&style=flat-square) + +![Python](https://badgen.net/pypi/python/fastybird-devices-module?cache=300&style=flat-square) +[![Python latest stable](https://badgen.net/pypi/v/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![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 IoT devices module? + +Devices module is a combined [Nette framework](https://nette.org) extension, [Vuex ORM](https://vuex-orm.org) plugin +and also [Python](https://python.org) module for managing connectors and connected devices and their basic logic. + +[FastyBird](https://www.fastybird.com) [IoT](https://en.wikipedia.org/wiki/Internet_of_things) devices module is +an [Apache2 licensed](http://www.apache.org/licenses/LICENSE-2.0) distributed extension, developed +in [PHP](https://www.php.net) with [Nette framework](https://nette.org), in [Typescript](https://www.typescriptlang.org) +and also in [Python](https://python.org). + +### Features: + +- Devices connectors management +- Devices and channels management +- Support for data [exchange bus](https://github.com/FastyBird/exchange) +- [{JSON:API}](https://jsonapi.org/) schemas for full api access +- User access [check & validation](https://github.com/FastyBird/simple-auth) +- Multilingual +- JS integration via [Vuex ORM](https://vuex-orm.org) plugin +- Python integration via [SQLAlchemy](https://www.sqlalchemy.org) +- Integrated connector worker for Python based connectors & PHP based connectors + +## Requirements + +PHP part of [FastyBird](https://www.fastybird.com) devices module is tested against PHP 7.4 +and [ReactPHP http](https://github.com/reactphp/http) 0.8 event-driven, streaming plaintext HTTP server +and [Nette framework](https://nette.org/en/) 3.0 PHP framework for real programmers + +JavaScript part of [FastyBird](https://www.fastybird.com) devices module is tested +against [ECMAScript 6](https://www.w3schools.com/JS/js_es6.asp) + +Python part of [FastyBird](https://www.fastybird.com) devices module is tested against [Python 3.7](http://python.org) + +## Installation + +#### Application backend in PHP + +The best way to install **fastybird/devices-module** is using [Composer](http://getcomposer.org/): + +```sh +composer require fastybird/devices-module +``` + +#### Application frontend in JS + +The best way to install **@fastybird/devices-module** is using [Yarn](https://yarnpkg.com/): + +```sh +yarn add @fastybird/devices-module +``` + +or if you prefer npm: + +```sh +npm install @fastybird/devices-module +``` + +#### Application workers in Python + +The best way to install **fastybird-devices-module** is using [pip](https://pip.pypa.io/): + +```sh +pip install fastybird-devices-module +``` + +## Documentation + +Learn how to use devices module and manage your connectors & devices +in [documentation](https://github.com/FastyBird/devices-module/blob/main/.docs/en/index.md). + +## Feedback + +Use the [issue tracker](https://github.com/FastyBird/devices-module/issues) for bugs +or [mail](mailto:code@fastybird.com) or [Tweet](https://twitter.com/fastybird) us for any idea that can improve the +project. + +Thank you for testing, reporting and contributing. + +## Changelog + +For release info check [release page](https://github.com/FastyBird/devices-module/releases) + +## Maintainers + + + + + + + +
+ + + +
+ Adam Kadlec +
+ +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/fastybird/devices-module](https://github.com/fastybird/devices-module). + + + + +%package -n python3-fastybird-devices-module +Summary: FastyBird IoT devices module for devices management & basic control logic +Provides: python-fastybird-devices-module +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-fastybird-devices-module +# FastyBird IoT devices module + +[![Build Status](https://badgen.net/github/checks/FastyBird/devices-module/main?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/actions) +[![Licence](https://badgen.net/github/license/FastyBird/devices-module?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/blob/main/LICENSE.md) +[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/devices-module?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/devices-module) + +![PHP](https://badgen.net/packagist/php/FastyBird/devices-module?cache=300&style=flat-square) +[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/devices-module/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/devices-module?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan) + +![JS](https://img.shields.io/badge/js-es6-blue.svg?style=flat-square) +[![JS latest stable](https://badgen.net/npm/v/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +[![JS downloads total](https://badgen.net/npm/dt/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +![Types](https://badgen.net/npm/types/@fastybird/devices-module?cache=300&style=flat-square) + +![Python](https://badgen.net/pypi/python/fastybird-devices-module?cache=300&style=flat-square) +[![Python latest stable](https://badgen.net/pypi/v/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![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 IoT devices module? + +Devices module is a combined [Nette framework](https://nette.org) extension, [Vuex ORM](https://vuex-orm.org) plugin +and also [Python](https://python.org) module for managing connectors and connected devices and their basic logic. + +[FastyBird](https://www.fastybird.com) [IoT](https://en.wikipedia.org/wiki/Internet_of_things) devices module is +an [Apache2 licensed](http://www.apache.org/licenses/LICENSE-2.0) distributed extension, developed +in [PHP](https://www.php.net) with [Nette framework](https://nette.org), in [Typescript](https://www.typescriptlang.org) +and also in [Python](https://python.org). + +### Features: + +- Devices connectors management +- Devices and channels management +- Support for data [exchange bus](https://github.com/FastyBird/exchange) +- [{JSON:API}](https://jsonapi.org/) schemas for full api access +- User access [check & validation](https://github.com/FastyBird/simple-auth) +- Multilingual +- JS integration via [Vuex ORM](https://vuex-orm.org) plugin +- Python integration via [SQLAlchemy](https://www.sqlalchemy.org) +- Integrated connector worker for Python based connectors & PHP based connectors + +## Requirements + +PHP part of [FastyBird](https://www.fastybird.com) devices module is tested against PHP 7.4 +and [ReactPHP http](https://github.com/reactphp/http) 0.8 event-driven, streaming plaintext HTTP server +and [Nette framework](https://nette.org/en/) 3.0 PHP framework for real programmers + +JavaScript part of [FastyBird](https://www.fastybird.com) devices module is tested +against [ECMAScript 6](https://www.w3schools.com/JS/js_es6.asp) + +Python part of [FastyBird](https://www.fastybird.com) devices module is tested against [Python 3.7](http://python.org) + +## Installation + +#### Application backend in PHP + +The best way to install **fastybird/devices-module** is using [Composer](http://getcomposer.org/): + +```sh +composer require fastybird/devices-module +``` + +#### Application frontend in JS + +The best way to install **@fastybird/devices-module** is using [Yarn](https://yarnpkg.com/): + +```sh +yarn add @fastybird/devices-module +``` + +or if you prefer npm: + +```sh +npm install @fastybird/devices-module +``` + +#### Application workers in Python + +The best way to install **fastybird-devices-module** is using [pip](https://pip.pypa.io/): + +```sh +pip install fastybird-devices-module +``` + +## Documentation + +Learn how to use devices module and manage your connectors & devices +in [documentation](https://github.com/FastyBird/devices-module/blob/main/.docs/en/index.md). + +## Feedback + +Use the [issue tracker](https://github.com/FastyBird/devices-module/issues) for bugs +or [mail](mailto:code@fastybird.com) or [Tweet](https://twitter.com/fastybird) us for any idea that can improve the +project. + +Thank you for testing, reporting and contributing. + +## Changelog + +For release info check [release page](https://github.com/FastyBird/devices-module/releases) + +## Maintainers + + + + + + + +
+ + + +
+ Adam Kadlec +
+ +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/fastybird/devices-module](https://github.com/fastybird/devices-module). + + + + +%package help +Summary: Development documents and examples for fastybird-devices-module +Provides: python3-fastybird-devices-module-doc +%description help +# FastyBird IoT devices module + +[![Build Status](https://badgen.net/github/checks/FastyBird/devices-module/main?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/actions) +[![Licence](https://badgen.net/github/license/FastyBird/devices-module?cache=300&style=flat-square)](https://github.com/FastyBird/devices-module/blob/main/LICENSE.md) +[![Code coverage](https://badgen.net/coveralls/c/github/FastyBird/devices-module?cache=300&style=flat-square)](https://coveralls.io/r/FastyBird/devices-module) + +![PHP](https://badgen.net/packagist/php/FastyBird/devices-module?cache=300&style=flat-square) +[![PHP latest stable](https://badgen.net/packagist/v/FastyBird/devices-module/latest?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHP downloads total](https://badgen.net/packagist/dt/FastyBird/devices-module?cache=300&style=flat-square)](https://packagist.org/packages/FastyBird/devices-module) +[![PHPStan](https://img.shields.io/badge/phpstan-enabled-brightgreen.svg?style=flat-square)](https://github.com/phpstan/phpstan) + +![JS](https://img.shields.io/badge/js-es6-blue.svg?style=flat-square) +[![JS latest stable](https://badgen.net/npm/v/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +[![JS downloads total](https://badgen.net/npm/dt/@fastybird/devices-module?cache=300&style=flat-square)](https://www.npmjs.com/package/@fastybird/devices-module) +![Types](https://badgen.net/npm/types/@fastybird/devices-module?cache=300&style=flat-square) + +![Python](https://badgen.net/pypi/python/fastybird-devices-module?cache=300&style=flat-square) +[![Python latest stable](https://badgen.net/pypi/v/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![Python downloads month](https://img.shields.io/pypi/dm/fastybird-devices-module?cache=300&style=flat-square)](https://pypi.org/project/fastybird-devices-module/) +[![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 IoT devices module? + +Devices module is a combined [Nette framework](https://nette.org) extension, [Vuex ORM](https://vuex-orm.org) plugin +and also [Python](https://python.org) module for managing connectors and connected devices and their basic logic. + +[FastyBird](https://www.fastybird.com) [IoT](https://en.wikipedia.org/wiki/Internet_of_things) devices module is +an [Apache2 licensed](http://www.apache.org/licenses/LICENSE-2.0) distributed extension, developed +in [PHP](https://www.php.net) with [Nette framework](https://nette.org), in [Typescript](https://www.typescriptlang.org) +and also in [Python](https://python.org). + +### Features: + +- Devices connectors management +- Devices and channels management +- Support for data [exchange bus](https://github.com/FastyBird/exchange) +- [{JSON:API}](https://jsonapi.org/) schemas for full api access +- User access [check & validation](https://github.com/FastyBird/simple-auth) +- Multilingual +- JS integration via [Vuex ORM](https://vuex-orm.org) plugin +- Python integration via [SQLAlchemy](https://www.sqlalchemy.org) +- Integrated connector worker for Python based connectors & PHP based connectors + +## Requirements + +PHP part of [FastyBird](https://www.fastybird.com) devices module is tested against PHP 7.4 +and [ReactPHP http](https://github.com/reactphp/http) 0.8 event-driven, streaming plaintext HTTP server +and [Nette framework](https://nette.org/en/) 3.0 PHP framework for real programmers + +JavaScript part of [FastyBird](https://www.fastybird.com) devices module is tested +against [ECMAScript 6](https://www.w3schools.com/JS/js_es6.asp) + +Python part of [FastyBird](https://www.fastybird.com) devices module is tested against [Python 3.7](http://python.org) + +## Installation + +#### Application backend in PHP + +The best way to install **fastybird/devices-module** is using [Composer](http://getcomposer.org/): + +```sh +composer require fastybird/devices-module +``` + +#### Application frontend in JS + +The best way to install **@fastybird/devices-module** is using [Yarn](https://yarnpkg.com/): + +```sh +yarn add @fastybird/devices-module +``` + +or if you prefer npm: + +```sh +npm install @fastybird/devices-module +``` + +#### Application workers in Python + +The best way to install **fastybird-devices-module** is using [pip](https://pip.pypa.io/): + +```sh +pip install fastybird-devices-module +``` + +## Documentation + +Learn how to use devices module and manage your connectors & devices +in [documentation](https://github.com/FastyBird/devices-module/blob/main/.docs/en/index.md). + +## Feedback + +Use the [issue tracker](https://github.com/FastyBird/devices-module/issues) for bugs +or [mail](mailto:code@fastybird.com) or [Tweet](https://twitter.com/fastybird) us for any idea that can improve the +project. + +Thank you for testing, reporting and contributing. + +## Changelog + +For release info check [release page](https://github.com/FastyBird/devices-module/releases) + +## Maintainers + + + + + + + +
+ + + +
+ Adam Kadlec +
+ +*** +Homepage [https://www.fastybird.com](https://www.fastybird.com) and +repository [https://github.com/fastybird/devices-module](https://github.com/fastybird/devices-module). + + + + +%prep +%autosetup -n fastybird-devices-module-0.75.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-devices-module -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 0.75.0-1 +- Package Spec generated -- cgit v1.2.3