mirror of https://gitee.com/openkylin/quart.git
Import Debian changes 0.19.4-ok1
quart (0.19.4-ok1) nile; urgency=medium * Build for openKylin.
This commit is contained in:
parent
d6740846f6
commit
0463561a44
|
@ -0,0 +1,29 @@
|
||||||
|
This package is maintained with git-buildpackage(1). It follows DEP-14 for
|
||||||
|
branch naming (e.g. using debian/master for the current version in Debian
|
||||||
|
unstable due Debian Python team policy).
|
||||||
|
|
||||||
|
It uses pristine-tar(1) to store enough information in git to generate bit
|
||||||
|
identical tarballs when building the package without having downloaded an
|
||||||
|
upstream tarball first.
|
||||||
|
|
||||||
|
When working with patches it is recommended to use "gbp pq import" to import
|
||||||
|
the patches, modify the source and then use "gbp pq export --commit" to commit
|
||||||
|
the modifications.
|
||||||
|
|
||||||
|
The changelog is generated using "gbp dch" so if you submit any changes don't
|
||||||
|
bother to add changelog entries but rather provide a nice git commit message
|
||||||
|
that can then end up in the changelog.
|
||||||
|
|
||||||
|
It is recommended to build the package with pbuilder using:
|
||||||
|
|
||||||
|
gbp buildpackage --git-pbuilder
|
||||||
|
|
||||||
|
For information on how to set up a pbuilder environment see the git-pbuilder(1)
|
||||||
|
manpage. In short:
|
||||||
|
|
||||||
|
DIST=sid git-pbuilder create
|
||||||
|
gbp clone https://salsa.debian.org/python-team/packages/quart.git
|
||||||
|
cd quart
|
||||||
|
gbp buildpackage --git-pbuilder
|
||||||
|
|
||||||
|
-- Carsten Schoenert <c.schoenert> Mon, 17 Oct 2022 20:47:00 +0200
|
|
@ -0,0 +1,5 @@
|
||||||
|
quart (0.19.4-ok1) nile; urgency=medium
|
||||||
|
|
||||||
|
* Build for openKylin.
|
||||||
|
|
||||||
|
-- openKylinBot <openKylinBot@openkylin.top> Tue, 07 May 2024 15:48:24 +0800
|
|
@ -0,0 +1,82 @@
|
||||||
|
Source: quart
|
||||||
|
Maintainer: openKylin Developers <packaging@lists.openkylin.top>
|
||||||
|
Uploaders: Andrej Shadura <andrewsh@debian.org>
|
||||||
|
Section: python
|
||||||
|
Testsuite: autopkgtest-pkg-python
|
||||||
|
Priority: optional
|
||||||
|
Build-Depends: debhelper-compat (= 13),
|
||||||
|
dh-sequence-python3,
|
||||||
|
pybuild-plugin-pyproject,
|
||||||
|
python3-aiofiles,
|
||||||
|
python3-all,
|
||||||
|
python3-blinker,
|
||||||
|
python3-click,
|
||||||
|
python3-dotenv,
|
||||||
|
python3-flask <!nodoc>,
|
||||||
|
python3-hypercorn,
|
||||||
|
python3-hypothesis,
|
||||||
|
python3-itsdangerous,
|
||||||
|
python3-jinja2,
|
||||||
|
python3-markupsafe,
|
||||||
|
python3-poetry,
|
||||||
|
python3-poetry-core,
|
||||||
|
python3-pytest <!nocheck>,
|
||||||
|
python3-pytest-asyncio <!nocheck>,
|
||||||
|
python3-pytest-cov <!nocheck>,
|
||||||
|
python3-sphinx <!nodoc>,
|
||||||
|
python3-sphinx-rtd-theme <!nodoc>,
|
||||||
|
python3-toml,
|
||||||
|
python3-werkzeug (>= 2.2.0~),
|
||||||
|
Standards-Version: 4.6.2
|
||||||
|
Vcs-Browser: https://salsa.debian.org/python-team/packages/quart
|
||||||
|
Vcs-Git: https://salsa.debian.org/python-team/packages/quart.git
|
||||||
|
Homepage: https://github.com/pallets/quart
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
|
Package: python-quart-doc
|
||||||
|
Architecture: all
|
||||||
|
Multi-Arch: foreign
|
||||||
|
Section: doc
|
||||||
|
Depends: ${misc:Depends},
|
||||||
|
${sphinxdoc:Depends}
|
||||||
|
Description: Python ASGI web microframework with the same API as Flask (Documentation)
|
||||||
|
Quart is a Python ASGI web microframework. It is intended to provide the
|
||||||
|
easiest way to use asyncio functionality in a web context, especially
|
||||||
|
with existing Flask apps. This is possible as the Quart API is a superset
|
||||||
|
of the Flask API.
|
||||||
|
.
|
||||||
|
Quart aims to be a complete web microframework, as it supports HTTP/1.1,
|
||||||
|
HTTP/2 and websockets. Quart is very extendable and has a number of
|
||||||
|
known extensions and works with many of the Flask extensions.
|
||||||
|
.
|
||||||
|
Quart supports the full ASGI 3.0 specification as well as the websocket
|
||||||
|
response and HTTP/2 server push extensions. For those of you familiar
|
||||||
|
with Flask, Quart extends the Flask API by adding support for:
|
||||||
|
.
|
||||||
|
* HTTP/1.1 request streaming
|
||||||
|
* Websockets
|
||||||
|
* HTTP/2 server push
|
||||||
|
.
|
||||||
|
This package contains the documentation and examples.
|
||||||
|
|
||||||
|
Package: python3-quart
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends},
|
||||||
|
${python3:Depends}
|
||||||
|
Description: Python ASGI web microframework with the same API as Flask
|
||||||
|
Quart is a Python ASGI web microframework. It is intended to provide the
|
||||||
|
easiest way to use asyncio functionality in a web context, especially
|
||||||
|
with existing Flask apps. This is possible as the Quart API is a superset
|
||||||
|
of the Flask API.
|
||||||
|
.
|
||||||
|
Quart aims to be a complete web microframework, as it supports HTTP/1.1,
|
||||||
|
HTTP/2 and websockets. Quart is very extendable and has a number of
|
||||||
|
known extensions and works with many of the Flask extensions.
|
||||||
|
.
|
||||||
|
Quart supports the full ASGI 3.0 specification as well as the websocket
|
||||||
|
response and HTTP/2 server push extensions. For those of you familiar
|
||||||
|
with Flask, Quart extends the Flask API by adding support for:
|
||||||
|
.
|
||||||
|
* HTTP/1.1 request streaming
|
||||||
|
* Websockets
|
||||||
|
* HTTP/2 server push
|
|
@ -0,0 +1,41 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Source: https://github.com/pallets/quart
|
||||||
|
Upstream-Name: Quart
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2017-2022 Philip G Jones <philip.graham.jones@googlemail.com>
|
||||||
|
License: Expat
|
||||||
|
|
||||||
|
Files: artwork/*
|
||||||
|
Copyright: 2017 Vic Shóstak
|
||||||
|
License: CC0
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2020 Andrej Shadura <andrewsh@debian.org>
|
||||||
|
License: Expat
|
||||||
|
|
||||||
|
License: CC0
|
||||||
|
On Debian systems, the complete text of the CC0 1.0 Universal
|
||||||
|
license can be found in ‘/usr/share/common-licenses/CC0-1.0’.
|
||||||
|
|
||||||
|
License: Expat
|
||||||
|
Permission is hereby granted, free of charge, to any person
|
||||||
|
obtaining a copy of this software and associated documentation
|
||||||
|
files (the "Software"), to deal in the Software without
|
||||||
|
restriction, including without limitation the rights to use,
|
||||||
|
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following
|
||||||
|
conditions:
|
||||||
|
.
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
.
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||||
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||||
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -0,0 +1,11 @@
|
||||||
|
debian/:
|
||||||
|
copyright: 2020 Andrej Shadura <andrewsh@debian.org>
|
||||||
|
license: Expat
|
||||||
|
LICENSE:
|
||||||
|
skip: 1
|
||||||
|
artwork/*:
|
||||||
|
override-copyright: 2017 Vic Shóstak
|
||||||
|
license: CC0
|
||||||
|
.*:
|
||||||
|
copyright: 2017-2020 Philip G Jones <philip.graham.jones@googlemail.com>
|
||||||
|
license: Expat
|
|
@ -0,0 +1,7 @@
|
||||||
|
[DEFAULT]
|
||||||
|
debian-branch = debian/master
|
||||||
|
upstream-branch = upstream/latest
|
||||||
|
pristine-tar = True
|
||||||
|
|
||||||
|
[pq]
|
||||||
|
patch-numbers = False
|
|
@ -0,0 +1,25 @@
|
||||||
|
From: Carsten Schoenert <c.schoenert@t-online.de>
|
||||||
|
Date: Mon, 12 Feb 2024 09:39:42 +0100
|
||||||
|
Subject: docs/conf.py: Use sphinx_rtd_theme instead
|
||||||
|
|
||||||
|
The used theme by upstream (pydata_sphinx_theme) isn't packaged in
|
||||||
|
Debian, falling back than to the classical RTD theme.
|
||||||
|
|
||||||
|
Forwarded: not-needed
|
||||||
|
---
|
||||||
|
docs/conf.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/docs/conf.py b/docs/conf.py
|
||||||
|
index fa5647a..337135c 100644
|
||||||
|
--- a/docs/conf.py
|
||||||
|
+++ b/docs/conf.py
|
||||||
|
@@ -84,7 +84,7 @@ todo_include_todos = False
|
||||||
|
# a list of builtin themes.
|
||||||
|
#
|
||||||
|
|
||||||
|
-html_theme = "pydata_sphinx_theme"
|
||||||
|
+html_theme = "sphinx_rtd_theme"
|
||||||
|
html_logo = "_static/logo_short.png"
|
||||||
|
|
||||||
|
# Theme options are theme-specific and customize the look and feel of a theme
|
|
@ -0,0 +1 @@
|
||||||
|
docs-conf.py-Use-sphinx_rtd_theme-instead.patch
|
|
@ -0,0 +1,8 @@
|
||||||
|
Document: python-quart-doc
|
||||||
|
Title: Fast Python web microframework
|
||||||
|
Abstract: Quart is an asyncio reimplementation of the popular Flask microframework API.
|
||||||
|
Section: Programming/Python
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/python-quart-doc/html/index.html
|
||||||
|
Files: /usr/share/doc/python-quart-doc/html/*.html
|
|
@ -0,0 +1 @@
|
||||||
|
examples/*
|
|
@ -0,0 +1 @@
|
||||||
|
usr/share/doc/python-quart-doc/html/_images/logo.png usr/share/doc/python-quart-doc/html/_static/logo.png
|
|
@ -0,0 +1,10 @@
|
||||||
|
# All these folders are examples and collected this way by upstream.
|
||||||
|
python-quart-doc: repeated-path-segment api [usr/share/doc/python3-quart/examples/api/src/api/]
|
||||||
|
python-quart-doc: repeated-path-segment blog [usr/share/doc/python3-quart/examples/blog/src/blog/]
|
||||||
|
python-quart-doc: repeated-path-segment chat [usr/share/doc/python3-quart/examples/chat/src/chat/]
|
||||||
|
python-quart-doc: repeated-path-segment video [usr/share/doc/python3-quart/examples/video/src/video/]
|
||||||
|
|
||||||
|
# Intended by sphinx design, we ship the source of the HTML data.
|
||||||
|
python-quart-doc: file-references-package-build-path [usr/share/doc/python-quart-doc/html/reference/source/quart.wrappers.base.html]
|
||||||
|
python-quart-doc: file-references-package-build-path [usr/share/doc/python-quart-doc/html/reference/source/quart.wrappers.html]
|
||||||
|
python-quart-doc: file-references-package-build-path [usr/share/doc/python-quart-doc/html/reference/source/quart.wrappers.response.html]
|
|
@ -0,0 +1,53 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
export PYBUILD_NAME=quart
|
||||||
|
|
||||||
|
include /usr/share/dpkg/pkg-info.mk
|
||||||
|
|
||||||
|
BUILD_DATE = $(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")
|
||||||
|
SPHINXOPTS := -N -D html_last_updated_fmt="$(BUILD_DATE)"
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with sphinxdoc --buildsystem=pybuild
|
||||||
|
|
||||||
|
override_dh_sphinxdoc:
|
||||||
|
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
|
||||||
|
PYTHONPATH=`dirname $$(find .pybuild/ -type d -name "quart*dist-info" | head -n1)` \
|
||||||
|
python3 -m sphinx -b html $(SPHINXOPTS) docs $(CURDIR)/debian/python-quart-doc/usr/share/doc/python-quart-doc/html
|
||||||
|
dh_sphinxdoc
|
||||||
|
endif
|
||||||
|
|
||||||
|
override_dh_installdocs:
|
||||||
|
dh_installdocs -ppython-$(PYBUILD_NAME)-doc --doc-main-package=python3-$(PYBUILD_NAME)
|
||||||
|
dh_installdocs --remaining-packages
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
# The name of the project need to be written in lowercase letters,
|
||||||
|
# otherwise pybuild wont find the WHEEL file (as it's created from the
|
||||||
|
# project name starting with an capital letter).
|
||||||
|
sed -i 's,name = "Quart",name = "quart",g' pyproject.toml
|
||||||
|
dh_auto_build
|
||||||
|
# Now undo the previous replacement again, we need to do this hack as
|
||||||
|
# dpkg will otherwise complain about modified source code of course in
|
||||||
|
# case the build is getting started twice in a row.
|
||||||
|
sed -i 's,name = "quart",name = "Quart",g' pyproject.toml
|
||||||
|
|
||||||
|
override_dh_installexamples:
|
||||||
|
dh_installexamples -ppython-$(PYBUILD_NAME)-doc --doc-main-package=python3-$(PYBUILD_NAME)
|
||||||
|
dh_installexamples --remaining-packages
|
||||||
|
|
||||||
|
override_dh_installchangelogs:
|
||||||
|
dh_installchangelogs CHANGES.rst
|
||||||
|
|
||||||
|
override_dh_compress:
|
||||||
|
dh_compress -X.py
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
rm -rf .pybuild \
|
||||||
|
.mypy_cache \
|
||||||
|
docs/reference/source/*
|
||||||
|
dh_clean
|
||||||
|
|
||||||
|
.PHONY: override_dh_auto_build override_dh_auto_clean override_dh_installdocs override_dh_installexamples override_dh_installchangelogs override_dh_compress
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
include:
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
|
||||||
|
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
|
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
|
@ -0,0 +1 @@
|
||||||
|
quart source: debian-watch-does-not-check-openpgp-signature [debian/watch]
|
|
@ -0,0 +1,7 @@
|
||||||
|
Tests:
|
||||||
|
upstream-tests
|
||||||
|
Depends:
|
||||||
|
python3-all,
|
||||||
|
@,
|
||||||
|
@builddeps@,
|
||||||
|
Restrictions: allow-stderr
|
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e -u
|
||||||
|
|
||||||
|
cp -a tests "${AUTOPKGTEST_TMP}"
|
||||||
|
|
||||||
|
for py3vers in $(py3versions -s); do
|
||||||
|
echo
|
||||||
|
echo "***************************"
|
||||||
|
echo "*** Testing with ${py3vers}"
|
||||||
|
echo "***************************"
|
||||||
|
echo
|
||||||
|
cd ${AUTOPKGTEST_TMP} && \
|
||||||
|
echo -e "Content of current working folder:\n" && \
|
||||||
|
ls -la && \
|
||||||
|
echo -e "Running tests...\n" && \
|
||||||
|
${py3vers} -m pytest -sv tests && \
|
||||||
|
rm -rf .pytest_cache || exit 1
|
||||||
|
done
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
exit 0
|
|
@ -0,0 +1,6 @@
|
||||||
|
Bug-Database: https://github.com/pallets/quart/issues
|
||||||
|
Bug-Submit: https://github.com/pallets/quart/issues/new
|
||||||
|
Documentation: https://quart.palletsprojects.com/
|
||||||
|
Security-Contact: security@palletsprojects.com
|
||||||
|
Repository: https://github.com/pallets/quart.git
|
||||||
|
Repository-Browse: https://github.com/pallets/quart
|
|
@ -0,0 +1,6 @@
|
||||||
|
version=4
|
||||||
|
|
||||||
|
opts="mode=git, \
|
||||||
|
uversionmangle=s/(rc|a|b|c)/~$1/" \
|
||||||
|
https://github.com/pallets/quart.git \
|
||||||
|
refs/tags/@ANY_VERSION@
|
Loading…
Reference in New Issue