summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 09:09:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 09:09:12 +0000
commitc6a6e3ee690ca94e91f5152bcbcbe8e7adab87f4 (patch)
treeff3958fcb349c658198b528e633e900cb619b328
parent198827163f2e40b94707df0924049f5f68849389 (diff)
automatic import of python-firenado
-rw-r--r--.gitignore1
-rw-r--r--python-firenado.spec385
-rw-r--r--sources1
3 files changed, 387 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b64124e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Firenado-0.2.17.tar.gz
diff --git a/python-firenado.spec b/python-firenado.spec
new file mode 100644
index 0000000..aefb76a
--- /dev/null
+++ b/python-firenado.spec
@@ -0,0 +1,385 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Firenado
+Version: 0.2.17
+Release: 1
+Summary: Firenado is a python web framework based on Tornado web framework/server.
+License: Apache License V2.0
+URL: https://github.com/candango/firenado
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2a/70/79e99e3ea2a304b33856b540e6d3f68416e11f012edb5b36592d0710a47f/Firenado-0.2.17.tar.gz
+BuildArch: noarch
+
+Requires: python3-cartola
+Requires: python3-pymobiledetect
+Requires: python3-tornado
+Requires: python3-pexpect
+Requires: python3-redis
+Requires: python3-hiredis
+Requires: python3-croniter
+Requires: python3-sqlalchemy
+Requires: python3-pexpect
+Requires: python3-redis
+Requires: python3-hiredis
+Requires: python3-croniter
+Requires: python3-sqlalchemy
+
+%description
+# Firenado Framework
+
+[![Latest PyPI version](https://img.shields.io/pypi/v/firenado.svg)](https://pypi.org/project/firenado/)
+[![Number of PyPI downloads](https://img.shields.io/pypi/dm/firenado.svg)](https://pypi.org/project/firenado/#files)
+[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fcandango%2Ffirenado%2Fbadge&style=flat)](https://actions-badge.atrox.dev/candango/firenado/goto)
+[![GitHub license](https://img.shields.io/github/license/candango/firenado)](https://github.com/candango/firenado/blob/develop/LICENSE)
+
+## Introduction
+
+Firenado is a Python web framework that encapsulates and extends
+[Tornado](http://www.tornadoweb.org) organizing the application in
+components also adding a server side session layer, yaml based configuration
+files as other features common that will help developers building web
+applications and services.
+
+Firenado is a web framework that extends the original Tornado Web framework
+adding new features like loose couple components, server side session layer,
+yaml based configuration files and more.
+
+## Installation
+
+Installing Firenado will only force the installation of pyyaml, Tornado and
+six. We call it the basic installation:
+
+```
+pip install firenado
+```
+
+It is possible to install extra packages as redis-py, sqlalchemy and pexpect.
+
+To install only redis-py:
+
+```
+pip install firenado[redis]
+```
+
+Complete installation:
+
+```
+pip install firenado[pexpect, redis, sqlalchemy]
+```
+
+## Usage
+
+Creating and running a new application:
+
+```shell
+firenado project init helloworld
+cd helloworld
+firenado app run
+```
+
+An application will be created with the redis based session engine
+and a redis data source linked to the session.
+
+Firenado won't install redis-py so it is necessary to inform the extra
+requirement parameter or install it separately. It is possible to change
+the session to a file based engine or disable the session engine completely.
+
+In order to change the session type to file go to helloworld/conf/firenado.yml
+and change the session definition to:
+
+```yaml
+# Session types could be:
+# file or redis.
+session:
+ type: file
+ enabled: true
+ # Redis session handler configuration
+ #data:
+ # source: session
+ # File session handler related configuration
+ path: /tmp
+```
+
+If your helloworld project isn't located in the python path just go
+helloworld/conf/firenado.yml and changed it to:
+
+```yaml
+app:
+ component: helloworld
+ data:
+ sources:
+ # Set here references from sources defined on data.sources
+ - session
+ pythonpath: ..
+ port: 8888
+```
+
+## Support
+
+Firenado is one of [Candango Open Source Group
+](http://www.candango.org/projects/) initiatives. It is available under
+the [Apache License, Version 2.0
+](http://www.apache.org/licenses/LICENSE-2.0.html).
+
+This web site and all documentation is licensed under [Creative
+Commons 3.0](http://creativecommons.org/licenses/by/3.0/).
+
+
+
+
+%package -n python3-Firenado
+Summary: Firenado is a python web framework based on Tornado web framework/server.
+Provides: python-Firenado
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Firenado
+# Firenado Framework
+
+[![Latest PyPI version](https://img.shields.io/pypi/v/firenado.svg)](https://pypi.org/project/firenado/)
+[![Number of PyPI downloads](https://img.shields.io/pypi/dm/firenado.svg)](https://pypi.org/project/firenado/#files)
+[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fcandango%2Ffirenado%2Fbadge&style=flat)](https://actions-badge.atrox.dev/candango/firenado/goto)
+[![GitHub license](https://img.shields.io/github/license/candango/firenado)](https://github.com/candango/firenado/blob/develop/LICENSE)
+
+## Introduction
+
+Firenado is a Python web framework that encapsulates and extends
+[Tornado](http://www.tornadoweb.org) organizing the application in
+components also adding a server side session layer, yaml based configuration
+files as other features common that will help developers building web
+applications and services.
+
+Firenado is a web framework that extends the original Tornado Web framework
+adding new features like loose couple components, server side session layer,
+yaml based configuration files and more.
+
+## Installation
+
+Installing Firenado will only force the installation of pyyaml, Tornado and
+six. We call it the basic installation:
+
+```
+pip install firenado
+```
+
+It is possible to install extra packages as redis-py, sqlalchemy and pexpect.
+
+To install only redis-py:
+
+```
+pip install firenado[redis]
+```
+
+Complete installation:
+
+```
+pip install firenado[pexpect, redis, sqlalchemy]
+```
+
+## Usage
+
+Creating and running a new application:
+
+```shell
+firenado project init helloworld
+cd helloworld
+firenado app run
+```
+
+An application will be created with the redis based session engine
+and a redis data source linked to the session.
+
+Firenado won't install redis-py so it is necessary to inform the extra
+requirement parameter or install it separately. It is possible to change
+the session to a file based engine or disable the session engine completely.
+
+In order to change the session type to file go to helloworld/conf/firenado.yml
+and change the session definition to:
+
+```yaml
+# Session types could be:
+# file or redis.
+session:
+ type: file
+ enabled: true
+ # Redis session handler configuration
+ #data:
+ # source: session
+ # File session handler related configuration
+ path: /tmp
+```
+
+If your helloworld project isn't located in the python path just go
+helloworld/conf/firenado.yml and changed it to:
+
+```yaml
+app:
+ component: helloworld
+ data:
+ sources:
+ # Set here references from sources defined on data.sources
+ - session
+ pythonpath: ..
+ port: 8888
+```
+
+## Support
+
+Firenado is one of [Candango Open Source Group
+](http://www.candango.org/projects/) initiatives. It is available under
+the [Apache License, Version 2.0
+](http://www.apache.org/licenses/LICENSE-2.0.html).
+
+This web site and all documentation is licensed under [Creative
+Commons 3.0](http://creativecommons.org/licenses/by/3.0/).
+
+
+
+
+%package help
+Summary: Development documents and examples for Firenado
+Provides: python3-Firenado-doc
+%description help
+# Firenado Framework
+
+[![Latest PyPI version](https://img.shields.io/pypi/v/firenado.svg)](https://pypi.org/project/firenado/)
+[![Number of PyPI downloads](https://img.shields.io/pypi/dm/firenado.svg)](https://pypi.org/project/firenado/#files)
+[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fcandango%2Ffirenado%2Fbadge&style=flat)](https://actions-badge.atrox.dev/candango/firenado/goto)
+[![GitHub license](https://img.shields.io/github/license/candango/firenado)](https://github.com/candango/firenado/blob/develop/LICENSE)
+
+## Introduction
+
+Firenado is a Python web framework that encapsulates and extends
+[Tornado](http://www.tornadoweb.org) organizing the application in
+components also adding a server side session layer, yaml based configuration
+files as other features common that will help developers building web
+applications and services.
+
+Firenado is a web framework that extends the original Tornado Web framework
+adding new features like loose couple components, server side session layer,
+yaml based configuration files and more.
+
+## Installation
+
+Installing Firenado will only force the installation of pyyaml, Tornado and
+six. We call it the basic installation:
+
+```
+pip install firenado
+```
+
+It is possible to install extra packages as redis-py, sqlalchemy and pexpect.
+
+To install only redis-py:
+
+```
+pip install firenado[redis]
+```
+
+Complete installation:
+
+```
+pip install firenado[pexpect, redis, sqlalchemy]
+```
+
+## Usage
+
+Creating and running a new application:
+
+```shell
+firenado project init helloworld
+cd helloworld
+firenado app run
+```
+
+An application will be created with the redis based session engine
+and a redis data source linked to the session.
+
+Firenado won't install redis-py so it is necessary to inform the extra
+requirement parameter or install it separately. It is possible to change
+the session to a file based engine or disable the session engine completely.
+
+In order to change the session type to file go to helloworld/conf/firenado.yml
+and change the session definition to:
+
+```yaml
+# Session types could be:
+# file or redis.
+session:
+ type: file
+ enabled: true
+ # Redis session handler configuration
+ #data:
+ # source: session
+ # File session handler related configuration
+ path: /tmp
+```
+
+If your helloworld project isn't located in the python path just go
+helloworld/conf/firenado.yml and changed it to:
+
+```yaml
+app:
+ component: helloworld
+ data:
+ sources:
+ # Set here references from sources defined on data.sources
+ - session
+ pythonpath: ..
+ port: 8888
+```
+
+## Support
+
+Firenado is one of [Candango Open Source Group
+](http://www.candango.org/projects/) initiatives. It is available under
+the [Apache License, Version 2.0
+](http://www.apache.org/licenses/LICENSE-2.0.html).
+
+This web site and all documentation is licensed under [Creative
+Commons 3.0](http://creativecommons.org/licenses/by/3.0/).
+
+
+
+
+%prep
+%autosetup -n Firenado-0.2.17
+
+%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-Firenado -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.17-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..dfd7252
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+444fdcd7e3d4b1d8b9c03cc711e02cb1 Firenado-0.2.17.tar.gz