summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 10:12:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 10:12:28 +0000
commit1b54130f9f6c8a6c93ccd767e783f7cd9d77798b (patch)
tree7ed088f12de55473f179b81f60102d975379f245
parentae4d087ab685be63eb74dcd809450ea809d98189 (diff)
automatic import of python-piccolo-apiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-piccolo-api.spec159
-rw-r--r--sources1
3 files changed, 161 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..2a56d43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/piccolo_api-0.54.0.tar.gz
diff --git a/python-piccolo-api.spec b/python-piccolo-api.spec
new file mode 100644
index 0000000..cd579b5
--- /dev/null
+++ b/python-piccolo-api.spec
@@ -0,0 +1,159 @@
+%global _empty_manifest_terminate_build 0
+Name: python-piccolo-api
+Version: 0.54.0
+Release: 1
+Summary: Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting.
+License: MIT
+URL: https://github.com/piccolo-orm/piccolo_api
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/56/451ef53b94fc3efd045433cddf8c04793183425618673438afa3eb4eb858/piccolo_api-0.54.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-Jinja2
+Requires: python3-piccolo[postgres]
+Requires: python3-pydantic[email]
+Requires: python3-multipart
+Requires: python3-fastapi
+Requires: python3-PyJWT
+Requires: python3-httpx
+Requires: python3-boto3
+Requires: python3-boto3
+
+%description
+![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo")
+
+![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg)
+![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg)
+[![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/)
+[![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api)
+
+# Piccolo API
+
+Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/).
+
+Includes a bunch of useful ASGI middleware:
+
+- Session Auth
+- Token Auth
+- Rate Limiting
+- CSRF
+- Content Security Policy (CSP)
+- And more
+
+It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables.
+
+You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/).
+
+
+
+
+%package -n python3-piccolo-api
+Summary: Utilities for using the Piccolo ORM in ASGI apps, plus essential ASGI middleware such as authentication and rate limiting.
+Provides: python-piccolo-api
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-piccolo-api
+![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo")
+
+![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg)
+![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg)
+[![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/)
+[![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api)
+
+# Piccolo API
+
+Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/).
+
+Includes a bunch of useful ASGI middleware:
+
+- Session Auth
+- Token Auth
+- Rate Limiting
+- CSRF
+- Content Security Policy (CSP)
+- And more
+
+It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables.
+
+You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/).
+
+
+
+
+%package help
+Summary: Development documents and examples for piccolo-api
+Provides: python3-piccolo-api-doc
+%description help
+![Logo](https://github.com/piccolo-orm/piccolo_api/raw/master/docs/logo_hero.png "Piccolo API Logo")
+
+![Tests](https://github.com/piccolo-orm/piccolo_api/actions/workflows/tests.yaml/badge.svg)
+![Release](https://github.com/piccolo-orm/piccolo_api/actions/workflows/release.yaml/badge.svg)
+[![Documentation Status](https://readthedocs.org/projects/piccolo-api/badge/?version=latest)](https://piccolo-api.readthedocs.io/en/latest/?badge=latest)
+[![PyPI](https://img.shields.io/pypi/v/piccolo-api?color=%2334D058&label=pypi)](https://pypi.org/project/piccolo-api/)
+[![codecov](https://codecov.io/gh/piccolo-orm/piccolo_api/branch/master/graph/badge.svg?token=JJ5326P7FT)](https://codecov.io/gh/piccolo-orm/piccolo_api)
+
+# Piccolo API
+
+Utilities for easily exposing [Piccolo](https://piccolo-orm.readthedocs.io/en/latest/) tables as REST endpoints in ASGI apps, such as [Starlette](https://starlette.io) and [FastAPI](https://fastapi.tiangolo.com/).
+
+Includes a bunch of useful ASGI middleware:
+
+- Session Auth
+- Token Auth
+- Rate Limiting
+- CSRF
+- Content Security Policy (CSP)
+- And more
+
+It also contains excellent Pydantic support, allowing you to easily create Pydantic models based on your Piccolo tables.
+
+You can read the docs [here](https://piccolo-api.readthedocs.io/en/latest/).
+
+
+
+
+%prep
+%autosetup -n piccolo-api-0.54.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-piccolo-api -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.54.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3014f30
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+f342cfde038bf6773ba8a7566ed4233f piccolo_api-0.54.0.tar.gz