Import Debian changes 2.2.2-ok1
python-werkzeug (2.2.2-ok1) yangtze; urgency=medium * Build for openkylin.
This commit is contained in:
parent
473845b537
commit
bb6b52fc38
|
@ -0,0 +1,5 @@
|
|||
python-werkzeug (2.2.2-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openkylin.
|
||||
|
||||
-- sufang <sufang@kylinos.cn> Mon, 30 Jan 2023 17:20:54 +0800
|
|
@ -0,0 +1,68 @@
|
|||
Source: python-werkzeug
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Standards-Version: 4.6.1
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-cryptography <!nocheck>,
|
||||
python3-doc,
|
||||
python3-ephemeral-port-reserve <!nocheck>,
|
||||
python3-greenlet <!nocheck>,
|
||||
python3-pallets-sphinx-themes <!nodoc>,
|
||||
python3-pytest <!nocheck>,
|
||||
python3-pytest-timeout <!nocheck>,
|
||||
python3-pytest-xprocess <!nocheck>,
|
||||
python3-setuptools,
|
||||
python3-sphinx <!nodoc>,
|
||||
python3-sphinx-issues <!nodoc>,
|
||||
python3-sphinxcontrib-log-cabinet <!nodoc>,
|
||||
python3-watchdog <!nocheck>,
|
||||
Homepage: http://werkzeug.pocoo.org/
|
||||
Vcs-Git: https://gitee.com/openkylin/python-werkzeug.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/python-werkzeug
|
||||
Testsuite: autopkgtest-pkg-python
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: python3-werkzeug
|
||||
Architecture: all
|
||||
Depends:
|
||||
libjs-jquery,
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
Recommends:
|
||||
python3-openssl,
|
||||
python3-pyinotify,
|
||||
Suggests:
|
||||
ipython3,
|
||||
python-werkzeug-doc,
|
||||
python3-lxml,
|
||||
python3-pkg-resources,
|
||||
python3-watchdog,
|
||||
Description: collection of utilities for WSGI applications (Python 3.x)
|
||||
The Web Server Gateway Interface (WSGI) is a standard interface between web
|
||||
server software and web applications written in Python.
|
||||
.
|
||||
Werkzeug is a lightweight library for interfacing with WSGI. It features
|
||||
request and response objects, an interactive debugging system and a powerful
|
||||
URI dispatcher. Combine with your choice of third party libraries and
|
||||
middleware to easily create a custom application framework.
|
||||
.
|
||||
This package contains the Python 3.x module.
|
||||
|
||||
Package: python-werkzeug-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${sphinxdoc:Depends},
|
||||
Multi-Arch: foreign
|
||||
Description: documentation for the werkzeug Python library (docs)
|
||||
Werkzeug is a lightweight library for interfacing with WSGI. It features
|
||||
request and response objects, an interactive debugging system and a powerful
|
||||
URI dispatcher. Combine with your choice of third party libraries and
|
||||
middleware to easily create a custom application framework.
|
||||
.
|
||||
This package provides the Sphinx generated documentation for Werkzeug.
|
|
@ -0,0 +1,369 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: python-werkzeug
|
||||
Source: <url://example.com>
|
||||
#
|
||||
# Please double check copyright with the licensecheck(1) command.
|
||||
|
||||
Files: .editorconfig
|
||||
.gitattributes
|
||||
.github/ISSUE_TEMPLATE/bug-report.md
|
||||
.github/ISSUE_TEMPLATE/config.yml
|
||||
.github/ISSUE_TEMPLATE/feature-request.md
|
||||
.github/dependabot.yml
|
||||
.github/workflows/lock.yaml
|
||||
.github/workflows/tests.yaml
|
||||
.gitignore
|
||||
.pre-commit-config.yaml
|
||||
.readthedocs.yaml
|
||||
CHANGES.rst
|
||||
CODE_OF_CONDUCT.md
|
||||
CONTRIBUTING.rst
|
||||
MANIFEST.in
|
||||
README.rst
|
||||
artwork/logo.png
|
||||
docs/Makefile
|
||||
docs/_static/debug-screenshot.png
|
||||
docs/_static/favicon.ico
|
||||
docs/_static/shortly.png
|
||||
docs/_static/werkzeug.png
|
||||
docs/changes.rst
|
||||
docs/conf.py
|
||||
docs/datastructures.rst
|
||||
docs/debug.rst
|
||||
docs/deployment/apache-httpd.rst
|
||||
docs/deployment/eventlet.rst
|
||||
docs/deployment/gevent.rst
|
||||
docs/deployment/gunicorn.rst
|
||||
docs/deployment/index.rst
|
||||
docs/deployment/mod_wsgi.rst
|
||||
docs/deployment/nginx.rst
|
||||
docs/deployment/proxy_fix.rst
|
||||
docs/deployment/uwsgi.rst
|
||||
docs/deployment/waitress.rst
|
||||
docs/exceptions.rst
|
||||
docs/http.rst
|
||||
docs/index.rst
|
||||
docs/installation.rst
|
||||
docs/levels.rst
|
||||
docs/license.rst
|
||||
docs/local.rst
|
||||
docs/make.bat
|
||||
docs/middleware/dispatcher.rst
|
||||
docs/middleware/http_proxy.rst
|
||||
docs/middleware/index.rst
|
||||
docs/middleware/lint.rst
|
||||
docs/middleware/profiler.rst
|
||||
docs/middleware/proxy_fix.rst
|
||||
docs/middleware/shared_data.rst
|
||||
docs/quickstart.rst
|
||||
docs/request_data.rst
|
||||
docs/routing.rst
|
||||
docs/serving.rst
|
||||
docs/terms.rst
|
||||
docs/test.rst
|
||||
docs/tutorial.rst
|
||||
docs/unicode.rst
|
||||
docs/urls.rst
|
||||
docs/utils.rst
|
||||
docs/wrappers.rst
|
||||
docs/wsgi.rst
|
||||
examples/README.rst
|
||||
examples/coolmagic/__init__.py
|
||||
examples/coolmagic/application.py
|
||||
examples/coolmagic/helpers.py
|
||||
examples/coolmagic/public/style.css
|
||||
examples/coolmagic/templates/static/about.html
|
||||
examples/coolmagic/templates/static/index.html
|
||||
examples/coolmagic/templates/static/not_found.html
|
||||
examples/coolmagic/utils.py
|
||||
examples/coolmagic/views/__init__.py
|
||||
examples/coolmagic/views/static.py
|
||||
examples/couchy/README
|
||||
examples/couchy/__init__.py
|
||||
examples/couchy/application.py
|
||||
examples/couchy/models.py
|
||||
examples/couchy/static/style.css
|
||||
examples/couchy/templates/display.html
|
||||
examples/couchy/templates/list.html
|
||||
examples/couchy/templates/new.html
|
||||
examples/couchy/templates/not_found.html
|
||||
examples/couchy/utils.py
|
||||
examples/couchy/views.py
|
||||
examples/cupoftee/__init__.py
|
||||
examples/cupoftee/application.py
|
||||
examples/cupoftee/db.py
|
||||
examples/cupoftee/network.py
|
||||
examples/cupoftee/pages.py
|
||||
examples/cupoftee/shared/content.png
|
||||
examples/cupoftee/shared/down.png
|
||||
examples/cupoftee/shared/favicon.ico
|
||||
examples/cupoftee/shared/header.png
|
||||
examples/cupoftee/shared/logo.png
|
||||
examples/cupoftee/shared/style.css
|
||||
examples/cupoftee/shared/up.png
|
||||
examples/cupoftee/templates/missingpage.html
|
||||
examples/cupoftee/templates/search.html
|
||||
examples/cupoftee/templates/server.html
|
||||
examples/cupoftee/templates/serverlist.html
|
||||
examples/cupoftee/utils.py
|
||||
examples/httpbasicauth.py
|
||||
examples/i18nurls/__init__.py
|
||||
examples/i18nurls/application.py
|
||||
examples/i18nurls/templates/about.html
|
||||
examples/i18nurls/templates/blog.html
|
||||
examples/i18nurls/templates/index.html
|
||||
examples/i18nurls/urls.py
|
||||
examples/i18nurls/views.py
|
||||
examples/manage-coolmagic.py
|
||||
examples/manage-couchy.py
|
||||
examples/manage-cupoftee.py
|
||||
examples/manage-i18nurls.py
|
||||
examples/manage-plnt.py
|
||||
examples/manage-shorty.py
|
||||
examples/manage-simplewiki.py
|
||||
examples/manage-webpylike.py
|
||||
examples/partial/README
|
||||
examples/partial/complex_routing.py
|
||||
examples/plnt/__init__.py
|
||||
examples/plnt/database.py
|
||||
examples/plnt/shared/style.css
|
||||
examples/plnt/sync.py
|
||||
examples/plnt/templates/about.html
|
||||
examples/plnt/templates/index.html
|
||||
examples/plnt/utils.py
|
||||
examples/plnt/views.py
|
||||
examples/plnt/webapp.py
|
||||
examples/shortly/shortly.py
|
||||
examples/shortly/static/style.css
|
||||
examples/shortly/templates/404.html
|
||||
examples/shortly/templates/new_url.html
|
||||
examples/shortly/templates/short_link_details.html
|
||||
examples/shorty/__init__.py
|
||||
examples/shorty/application.py
|
||||
examples/shorty/models.py
|
||||
examples/shorty/static/style.css
|
||||
examples/shorty/templates/display.html
|
||||
examples/shorty/templates/list.html
|
||||
examples/shorty/templates/new.html
|
||||
examples/shorty/templates/not_found.html
|
||||
examples/shorty/utils.py
|
||||
examples/shorty/views.py
|
||||
examples/simplewiki/__init__.py
|
||||
examples/simplewiki/actions.py
|
||||
examples/simplewiki/application.py
|
||||
examples/simplewiki/database.py
|
||||
examples/simplewiki/shared/style.css
|
||||
examples/simplewiki/specialpages.py
|
||||
examples/simplewiki/utils.py
|
||||
examples/upload.py
|
||||
examples/webpylike/example.py
|
||||
examples/webpylike/webpylike.py
|
||||
examples/wsecho.py
|
||||
requirements/dev.in
|
||||
requirements/dev.txt
|
||||
requirements/docs.in
|
||||
requirements/docs.txt
|
||||
requirements/tests.in
|
||||
requirements/tests.txt
|
||||
requirements/typing.in
|
||||
requirements/typing.txt
|
||||
setup.cfg
|
||||
setup.py
|
||||
src/werkzeug/__init__.py
|
||||
src/werkzeug/_internal.py
|
||||
src/werkzeug/_reloader.py
|
||||
src/werkzeug/datastructures.py
|
||||
src/werkzeug/datastructures.pyi
|
||||
src/werkzeug/debug/__init__.py
|
||||
src/werkzeug/debug/console.py
|
||||
src/werkzeug/debug/repr.py
|
||||
src/werkzeug/debug/shared/ICON_LICENSE.md
|
||||
src/werkzeug/debug/shared/console.png
|
||||
src/werkzeug/debug/shared/debugger.js
|
||||
src/werkzeug/debug/shared/less.png
|
||||
src/werkzeug/debug/shared/more.png
|
||||
src/werkzeug/debug/shared/style.css
|
||||
src/werkzeug/debug/tbtools.py
|
||||
src/werkzeug/exceptions.py
|
||||
src/werkzeug/formparser.py
|
||||
src/werkzeug/http.py
|
||||
src/werkzeug/local.py
|
||||
src/werkzeug/middleware/__init__.py
|
||||
src/werkzeug/middleware/dispatcher.py
|
||||
src/werkzeug/middleware/http_proxy.py
|
||||
src/werkzeug/middleware/lint.py
|
||||
src/werkzeug/middleware/profiler.py
|
||||
src/werkzeug/middleware/proxy_fix.py
|
||||
src/werkzeug/middleware/shared_data.py
|
||||
src/werkzeug/py.typed
|
||||
src/werkzeug/routing/__init__.py
|
||||
src/werkzeug/routing/converters.py
|
||||
src/werkzeug/routing/exceptions.py
|
||||
src/werkzeug/routing/map.py
|
||||
src/werkzeug/routing/matcher.py
|
||||
src/werkzeug/routing/rules.py
|
||||
src/werkzeug/sansio/__init__.py
|
||||
src/werkzeug/sansio/http.py
|
||||
src/werkzeug/sansio/multipart.py
|
||||
src/werkzeug/sansio/request.py
|
||||
src/werkzeug/sansio/response.py
|
||||
src/werkzeug/sansio/utils.py
|
||||
src/werkzeug/security.py
|
||||
src/werkzeug/serving.py
|
||||
src/werkzeug/test.py
|
||||
src/werkzeug/testapp.py
|
||||
src/werkzeug/urls.py
|
||||
src/werkzeug/user_agent.py
|
||||
src/werkzeug/utils.py
|
||||
src/werkzeug/wrappers/__init__.py
|
||||
src/werkzeug/wrappers/request.py
|
||||
src/werkzeug/wrappers/response.py
|
||||
src/werkzeug/wsgi.py
|
||||
tests/conftest.py
|
||||
tests/live_apps/data_app.py
|
||||
tests/live_apps/reloader_app.py
|
||||
tests/live_apps/run.py
|
||||
tests/live_apps/standard_app.py
|
||||
tests/live_apps/streaming_app.py
|
||||
tests/middleware/test_dispatcher.py
|
||||
tests/middleware/test_http_proxy.py
|
||||
tests/middleware/test_lint.py
|
||||
tests/middleware/test_proxy_fix.py
|
||||
tests/middleware/test_shared_data.py
|
||||
tests/multipart/firefox3-2png1txt/file1.png
|
||||
tests/multipart/firefox3-2png1txt/file2.png
|
||||
tests/multipart/firefox3-2png1txt/request.http
|
||||
tests/multipart/firefox3-2png1txt/text.txt
|
||||
tests/multipart/firefox3-2pnglongtext/file1.png
|
||||
tests/multipart/firefox3-2pnglongtext/file2.png
|
||||
tests/multipart/firefox3-2pnglongtext/request.http
|
||||
tests/multipart/firefox3-2pnglongtext/text.txt
|
||||
tests/multipart/ie6-2png1txt/file1.png
|
||||
tests/multipart/ie6-2png1txt/file2.png
|
||||
tests/multipart/ie6-2png1txt/request.http
|
||||
tests/multipart/ie6-2png1txt/text.txt
|
||||
tests/multipart/ie7_full_path_request.http
|
||||
tests/multipart/opera8-2png1txt/file1.png
|
||||
tests/multipart/opera8-2png1txt/file2.png
|
||||
tests/multipart/opera8-2png1txt/request.http
|
||||
tests/multipart/opera8-2png1txt/text.txt
|
||||
tests/multipart/webkit3-2png1txt/file1.png
|
||||
tests/multipart/webkit3-2png1txt/file2.png
|
||||
tests/multipart/webkit3-2png1txt/request.http
|
||||
tests/multipart/webkit3-2png1txt/text.txt
|
||||
tests/res/test.txt
|
||||
tests/sansio/__init__.py
|
||||
tests/sansio/test_multipart.py
|
||||
tests/sansio/test_request.py
|
||||
tests/sansio/test_utils.py
|
||||
tests/test_datastructures.py
|
||||
tests/test_debug.py
|
||||
tests/test_exceptions.py
|
||||
tests/test_formparser.py
|
||||
tests/test_http.py
|
||||
tests/test_internal.py
|
||||
tests/test_local.py
|
||||
tests/test_routing.py
|
||||
tests/test_security.py
|
||||
tests/test_send_file.py
|
||||
tests/test_serving.py
|
||||
tests/test_test.py
|
||||
tests/test_urls.py
|
||||
tests/test_utils.py
|
||||
tests/test_wrappers.py
|
||||
tests/test_wsgi.py
|
||||
tox.ini
|
||||
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
|
||||
License: __NO_COPYRIGHT_NOR_LICENSE__
|
||||
|
||||
Files: LICENSE.rst
|
||||
Copyright: 2007 Pallets
|
||||
License: BSD-3-Clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
.
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.
|
||||
On Debian systems, the complete text of the BSD 3-clause "New" or "Revised"
|
||||
License can be found in `/usr/share/common-licenses/BSD'.
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# xml and html files (skipped):
|
||||
# tests/res/index.html
|
||||
# examples/shortly/templates/layout.html
|
||||
# examples/coolmagic/templates/layout.html
|
||||
# examples/plnt/templates/layout.html
|
||||
# examples/simplewiki/templates/action_revert.html
|
||||
# examples/simplewiki/templates/page_index.html
|
||||
# examples/simplewiki/templates/page_missing.html
|
||||
# examples/simplewiki/templates/action_edit.html
|
||||
# examples/simplewiki/templates/action_log.html
|
||||
# examples/simplewiki/templates/action_show.html
|
||||
# examples/simplewiki/templates/macros.xml
|
||||
# examples/simplewiki/templates/recent_changes.html
|
||||
# examples/simplewiki/templates/missing_action.html
|
||||
# examples/simplewiki/templates/layout.html
|
||||
# examples/simplewiki/templates/action_diff.html
|
||||
# examples/i18nurls/templates/layout.html
|
||||
# examples/shorty/templates/layout.html
|
||||
# examples/cupoftee/templates/layout.html
|
||||
# examples/couchy/templates/layout.html
|
||||
# .github/pull_request_template.md
|
||||
# artwork/logo.svg
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
|
||||
# license/copyright files.
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# License file: LICENSE.rst
|
||||
Copyright 2007 Pallets
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
.
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@ -0,0 +1 @@
|
|||
# You must remove unused comment lines for the released package.
|
|
@ -0,0 +1,10 @@
|
|||
Document: werkzeug
|
||||
Title: Werkzeug Documentation
|
||||
Author: Armin Ronacher
|
||||
Abstract: This document describes Werkzeug - collection of utilities for WSGI
|
||||
applications written in Python.
|
||||
Section: Programming/Python
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/doc/python-werkzeug-doc/html/index.html
|
||||
Files: /usr/share/doc/python-werkzeug-doc/html/*.html
|
|
@ -0,0 +1 @@
|
|||
examples/*
|
|
@ -0,0 +1,6 @@
|
|||
/usr/share/doc/python-werkzeug-doc/examples /usr/share/doc/python-werkzeug/examples
|
||||
/usr/share/doc/python-werkzeug-doc/examples /usr/share/doc/python3-werkzeug/examples
|
||||
/usr/share/doc/python-werkzeug-doc/html /usr/share/doc/python-werkzeug/html
|
||||
/usr/share/doc/python-werkzeug-doc/html /usr/share/doc/python3-werkzeug/html
|
||||
/usr/share/doc/python-werkzeug-doc/html/_sources /usr/share/doc/python-werkzeug/rst
|
||||
/usr/share/doc/python-werkzeug-doc/html/_sources /usr/share/doc/python3-werkzeug/rst
|
|
@ -0,0 +1 @@
|
|||
/usr/share/javascript/jquery/jquery.js /usr/lib/python3/dist-packages/werkzeug/debug/shared/jquery.js
|
|
@ -0,0 +1,38 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# Copyright 2009, Noah Slater <nslater@tumbolia.org>
|
||||
|
||||
# Copying and distribution of this file, with or without modification, are
|
||||
# permitted in any medium without royalty provided the copyright notice and this
|
||||
# notice are preserved.
|
||||
|
||||
export PYBUILD_NAME=werkzeug
|
||||
export PYBUILD_TEST_PYTEST=1
|
||||
|
||||
%:
|
||||
dh $@ --with python3,sphinxdoc --buildsystem pybuild
|
||||
|
||||
override_dh_auto_clean:
|
||||
make -C docs clean
|
||||
rm -rf build Werkzeug.egg-info/
|
||||
#find $(CURDIR) \( -name '\._*' -o -name '\.DS_Store' \) -delete
|
||||
find . -iname '__pycache__' -exec rm -rf {} \; || true
|
||||
rm -rf .pytest_cache
|
||||
dh_auto_clean
|
||||
|
||||
override_dh_fixperms:
|
||||
find debian/ -name '*\.png' -exec chmod -x '{}' \;
|
||||
dh_fixperms
|
||||
|
||||
override_dh_installdocs:
|
||||
dh_installdocs --doc-main-package=python-werkzeug-doc -ppython-werkzeug-doc
|
||||
dh_installdocs
|
||||
|
||||
override_dh_installexamples:
|
||||
dh_installexamples --doc-main-package=python-werkzeug-doc -ppython-werkzeug-doc
|
||||
|
||||
override_dh_sphinxdoc:
|
||||
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
|
||||
PYTHONPATH=src python3 -m sphinx -b html docs/ debian/python-werkzeug-doc/usr/share/doc/python-werkzeug-doc/html/
|
||||
dh_sphinxdoc
|
||||
endif
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,5 @@
|
|||
Tests: upstream
|
||||
Depends:
|
||||
@,
|
||||
@builddeps@,
|
||||
Restrictions: allow-stderr
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
pyvers=$(py3versions -r 2>/dev/null)
|
||||
|
||||
cp -a tests "$AUTOPKGTEST_TMP"
|
||||
cd "$AUTOPKGTEST_TMP"
|
||||
|
||||
for py in ${pyvers}; do
|
||||
echo "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-"
|
||||
printf '$ %s\n' "${py} -m pytest tests"
|
||||
${py} -m pytest tests
|
||||
done
|
|
@ -0,0 +1,4 @@
|
|||
Bug-Database: https://github.com/pallets/werkzeug/issues
|
||||
Bug-Submit: https://github.com/pallets/werkzeug/issues/new
|
||||
Repository: https://github.com/pallets/werkzeug.git
|
||||
Repository-Browse: https://github.com/pallets/werkzeug
|
|
@ -0,0 +1,6 @@
|
|||
version=3
|
||||
opts=uversionmangle=s/(rc|a|b|c)/~$1/,\
|
||||
dversionmangle=auto,\
|
||||
repack,\
|
||||
filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/werkzeug-$1\.tar\.gz/ \
|
||||
https://github.com/pallets/werkzeug/tags .*/v?(\d\S*)\.tar\.gz
|
Loading…
Reference in New Issue