summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 06:20:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 06:20:41 +0000
commitf200e85d2e0856cedd8351e7a1c4ec95b57de311 (patch)
treef3c18ea707f727e2933ee6da9a7e7a96a53860ad
parent4abd23f181d35f942c2db3166bea70e0ef4aed9d (diff)
automatic import of python-awokado
-rw-r--r--.gitignore1
-rw-r--r--python-awokado.spec347
-rw-r--r--sources1
3 files changed, 349 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..86dadf6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/awokado-0.7.tar.gz
diff --git a/python-awokado.spec b/python-awokado.spec
new file mode 100644
index 0000000..ad7d692
--- /dev/null
+++ b/python-awokado.spec
@@ -0,0 +1,347 @@
+%global _empty_manifest_terminate_build 0
+Name: python-awokado
+Version: 0.7
+Release: 1
+Summary: Fast and flexible API framework based on Falcon and SQLAlchemy
+License: MIT License
+URL: https://gitlab.com/5783354/awokado
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dd/1c/18c0374d29461fd2926ef950b483c0758400cddc3b40d52965c2684bf7bf/awokado-0.7.tar.gz
+BuildArch: noarch
+
+Requires: python3-sqlalchemy
+Requires: python3-dynaconf
+Requires: python3-psycopg2-binary
+Requires: python3-pyaml
+Requires: python3-clavis
+Requires: python3-marshmallow
+Requires: python3-falcon
+Requires: python3-apispec
+Requires: python3-bulky
+Requires: python3-boto3
+Requires: python3-cached-property
+
+%description
+[![pipeline status](https://gitlab.com/5783354/awokado/badges/master/pipeline.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![coverage report](https://gitlab.com/5783354/awokado/badges/master/coverage.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![Codacy Badge](https://api.codacy.com/project/badge/Grade/349840fc0f144baba98aa04ad19bc10a)](https://www.codacy.com/app/5783354/awokado?utm_source=gitlab.com&amp;utm_medium=referral&amp;utm_content=5783354/awokado&amp;utm_campaign=Badge_Grade)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/awokado.svg?style=popout)](https://pypi.org/project/awokado/)
+[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
+[![PyPI](https://img.shields.io/pypi/v/awokado)](https://pypi.org/project/awokado/)
+
+
+Fast and flexible low-level API framework based on [Falcon](https://github.com/falconry/falcon), [Marshmallow](https://github.com/marshmallow-code/marshmallow/) and [SQLAlchemy Core](https://docs.sqlalchemy.org/en/latest/core/)
+
+API is close to OpenAPI 3.0 specification
+
+**Currently is under active development**
+
+ ![Awokado Diagram](https://raw.githubusercontent.com/5783354/awokado/master/awokado_diagram.png)
+
+# Documentation
+
+You can find in: [Documentation](https://awokado.readthedocs.io/en/latest/)
+
+# Changelog
+
+You can find in: [CHANGELOG.md](https://gitlab.com/5783354/awokado/blob/master/CHANGELOG.md)
+
+# Installation
+
+```sh
+$ pipenv install awokado
+```
+or
+```sh
+$ pip install awokado
+```
+
+Awokado uses [dynaconf](https://github.com/rochacbruno/dynaconf/) for loading it settings
+
+You can find all available variables in `settings.toml` file
+
+# Contributing
+
+### Tests
+
+To run tests locally you should create `.secrets.toml` file in the project root directory:
+
+```toml
+[default]
+ DATABASE_PASSWORD='your_db_password_here'
+ DATABASE_HOST='localhost'
+ DATABASE_USER='your_db_username_here'
+ DATABASE_PORT=5432 #DB port
+ DATABASE_DB='test'
+
+```
+or
+
+```toml
+[default]
+ DATABASE_URL='your_full_db_url'
+
+```
+Do not use both ways at the same time, you will get error!
+
+Install required packages:
+
+`$ pipenv install --dev`
+
+Then you can setup your database:
+
+`$ pipenv python -m tests.test_app.init_db`
+
+And run tests:
+
+`$ pipenv python -m unittest`
+
+
+# Authors
+Is being made with the help of
+
+[Alex Sidorov](mailto:alex.n.sidorov@gmail.com)
+
+[Ksenia Malyavskaya](mailto:ksenia.malyavskaya@upsilonit.com)
+
+[Pavel Danilyuk](mailto:pavel.danilyuk@upsilonit.com)
+
+[Andrew Osenenko](mailto:andrew.osenenko@upsilonit.com)
+
+
+
+
+%package -n python3-awokado
+Summary: Fast and flexible API framework based on Falcon and SQLAlchemy
+Provides: python-awokado
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-awokado
+[![pipeline status](https://gitlab.com/5783354/awokado/badges/master/pipeline.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![coverage report](https://gitlab.com/5783354/awokado/badges/master/coverage.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![Codacy Badge](https://api.codacy.com/project/badge/Grade/349840fc0f144baba98aa04ad19bc10a)](https://www.codacy.com/app/5783354/awokado?utm_source=gitlab.com&amp;utm_medium=referral&amp;utm_content=5783354/awokado&amp;utm_campaign=Badge_Grade)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/awokado.svg?style=popout)](https://pypi.org/project/awokado/)
+[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
+[![PyPI](https://img.shields.io/pypi/v/awokado)](https://pypi.org/project/awokado/)
+
+
+Fast and flexible low-level API framework based on [Falcon](https://github.com/falconry/falcon), [Marshmallow](https://github.com/marshmallow-code/marshmallow/) and [SQLAlchemy Core](https://docs.sqlalchemy.org/en/latest/core/)
+
+API is close to OpenAPI 3.0 specification
+
+**Currently is under active development**
+
+ ![Awokado Diagram](https://raw.githubusercontent.com/5783354/awokado/master/awokado_diagram.png)
+
+# Documentation
+
+You can find in: [Documentation](https://awokado.readthedocs.io/en/latest/)
+
+# Changelog
+
+You can find in: [CHANGELOG.md](https://gitlab.com/5783354/awokado/blob/master/CHANGELOG.md)
+
+# Installation
+
+```sh
+$ pipenv install awokado
+```
+or
+```sh
+$ pip install awokado
+```
+
+Awokado uses [dynaconf](https://github.com/rochacbruno/dynaconf/) for loading it settings
+
+You can find all available variables in `settings.toml` file
+
+# Contributing
+
+### Tests
+
+To run tests locally you should create `.secrets.toml` file in the project root directory:
+
+```toml
+[default]
+ DATABASE_PASSWORD='your_db_password_here'
+ DATABASE_HOST='localhost'
+ DATABASE_USER='your_db_username_here'
+ DATABASE_PORT=5432 #DB port
+ DATABASE_DB='test'
+
+```
+or
+
+```toml
+[default]
+ DATABASE_URL='your_full_db_url'
+
+```
+Do not use both ways at the same time, you will get error!
+
+Install required packages:
+
+`$ pipenv install --dev`
+
+Then you can setup your database:
+
+`$ pipenv python -m tests.test_app.init_db`
+
+And run tests:
+
+`$ pipenv python -m unittest`
+
+
+# Authors
+Is being made with the help of
+
+[Alex Sidorov](mailto:alex.n.sidorov@gmail.com)
+
+[Ksenia Malyavskaya](mailto:ksenia.malyavskaya@upsilonit.com)
+
+[Pavel Danilyuk](mailto:pavel.danilyuk@upsilonit.com)
+
+[Andrew Osenenko](mailto:andrew.osenenko@upsilonit.com)
+
+
+
+
+%package help
+Summary: Development documents and examples for awokado
+Provides: python3-awokado-doc
+%description help
+[![pipeline status](https://gitlab.com/5783354/awokado/badges/master/pipeline.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![coverage report](https://gitlab.com/5783354/awokado/badges/master/coverage.svg)](https://gitlab.com/5783354/awokado/commits/master)
+[![Codacy Badge](https://api.codacy.com/project/badge/Grade/349840fc0f144baba98aa04ad19bc10a)](https://www.codacy.com/app/5783354/awokado?utm_source=gitlab.com&amp;utm_medium=referral&amp;utm_content=5783354/awokado&amp;utm_campaign=Badge_Grade)
+[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/awokado.svg?style=popout)](https://pypi.org/project/awokado/)
+[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
+[![PyPI](https://img.shields.io/pypi/v/awokado)](https://pypi.org/project/awokado/)
+
+
+Fast and flexible low-level API framework based on [Falcon](https://github.com/falconry/falcon), [Marshmallow](https://github.com/marshmallow-code/marshmallow/) and [SQLAlchemy Core](https://docs.sqlalchemy.org/en/latest/core/)
+
+API is close to OpenAPI 3.0 specification
+
+**Currently is under active development**
+
+ ![Awokado Diagram](https://raw.githubusercontent.com/5783354/awokado/master/awokado_diagram.png)
+
+# Documentation
+
+You can find in: [Documentation](https://awokado.readthedocs.io/en/latest/)
+
+# Changelog
+
+You can find in: [CHANGELOG.md](https://gitlab.com/5783354/awokado/blob/master/CHANGELOG.md)
+
+# Installation
+
+```sh
+$ pipenv install awokado
+```
+or
+```sh
+$ pip install awokado
+```
+
+Awokado uses [dynaconf](https://github.com/rochacbruno/dynaconf/) for loading it settings
+
+You can find all available variables in `settings.toml` file
+
+# Contributing
+
+### Tests
+
+To run tests locally you should create `.secrets.toml` file in the project root directory:
+
+```toml
+[default]
+ DATABASE_PASSWORD='your_db_password_here'
+ DATABASE_HOST='localhost'
+ DATABASE_USER='your_db_username_here'
+ DATABASE_PORT=5432 #DB port
+ DATABASE_DB='test'
+
+```
+or
+
+```toml
+[default]
+ DATABASE_URL='your_full_db_url'
+
+```
+Do not use both ways at the same time, you will get error!
+
+Install required packages:
+
+`$ pipenv install --dev`
+
+Then you can setup your database:
+
+`$ pipenv python -m tests.test_app.init_db`
+
+And run tests:
+
+`$ pipenv python -m unittest`
+
+
+# Authors
+Is being made with the help of
+
+[Alex Sidorov](mailto:alex.n.sidorov@gmail.com)
+
+[Ksenia Malyavskaya](mailto:ksenia.malyavskaya@upsilonit.com)
+
+[Pavel Danilyuk](mailto:pavel.danilyuk@upsilonit.com)
+
+[Andrew Osenenko](mailto:andrew.osenenko@upsilonit.com)
+
+
+
+
+%prep
+%autosetup -n awokado-0.7
+
+%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-awokado -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..13b62e7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a5b477d36dc62ec2346ebcc81957651b awokado-0.7.tar.gz