Import Debian changes 0.10.1-ok1

python-requests-toolbelt (0.10.1-ok1) yangtze; urgency=medium

  * Build for openkylin.
This commit is contained in:
sufang 2023-02-07 14:23:31 +08:00 committed by su-fang
parent ce0bfb52a6
commit 3348d4d7b1
9 changed files with 217 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-requests-toolbelt (0.10.1-ok1) yangtze; urgency=medium
* Build for openkylin.
-- sufang <sufang@kylinos.cn> Tue, 07 Feb 2023 14:23:31 +0800

40
debian/control vendored Normal file
View File

@ -0,0 +1,40 @@
Source: python-requests-toolbelt
Section: python
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: debhelper-compat (= 13)
Build-Depends-Indep:
dh-python,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-doc,
python3-all,
python3-requests,
python3-setuptools,
Standards-Version: 4.6.1
Testsuite: autopkgtest-pkg-python
Homepage: https://pypi.python.org/pypi/requests-toolbelt
Vcs-Browser: https://gitee.com/openkylin/python-requests-toolbelt
Vcs-Git: https://gitee.com/openkylin/python-requests-toolbelt.git
Package: python3-requests-toolbelt
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Utility belt for advanced users of python3-requests
Collection of utilities for python3-requests
It provides transport adapters: FingerprintAdapter, SSLAdapter,
SourceAddressAdapter, SocketOptionsAdapter, TCPKeepAliveAdapter
and authenticators: AuthHandler, GuessAuth, HTTPProxyDigestAuth
Also a cookiejar, streaming helpers and more.
Package: python-requests-toolbelt-doc
Architecture: all
Section: doc
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Multi-Arch: foreign
Description: Utility belt for python3-requests (documentation)
Collection of utilities for python3-requests: documentation
It provides transport adapters: FingerprintAdapter, SSLAdapter,
SourceAddressAdapter, SocketOptionsAdapter, TCPKeepAliveAdapter
and authenticators: AuthHandler, GuessAuth, HTTPProxyDigestAuth
Also a cookiejar, streaming helpers and more.

132
debian/copyright vendored Normal file
View File

@ -0,0 +1,132 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-requests-toolbelt
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: AUTHORS.rst
CODE_OF_CONDUCT.rst
HISTORY.rst
MANIFEST.in
PKG-INFO
README.rst
dev-requirements.txt
docs/Makefile
docs/adapters.rst
docs/authentication.rst
docs/conf.py
docs/contributing.rst
docs/deprecated.rst
docs/downloadutils.rst
docs/dumputils.rst
docs/exceptions.rst
docs/formdata.rst
docs/index.rst
docs/make.bat
docs/sessions.rst
docs/threading.rst
docs/uploading-data.rst
docs/user-agent.rst
docs/user.rst
requests_toolbelt.egg-info/PKG-INFO
requests_toolbelt.egg-info/SOURCES.txt
requests_toolbelt.egg-info/dependency_links.txt
requests_toolbelt.egg-info/requires.txt
requests_toolbelt.egg-info/top_level.txt
requests_toolbelt/__init__.py
requests_toolbelt/_compat.py
requests_toolbelt/adapters/__init__.py
requests_toolbelt/adapters/appengine.py
requests_toolbelt/adapters/fingerprint.py
requests_toolbelt/adapters/host_header_ssl.py
requests_toolbelt/adapters/socket_options.py
requests_toolbelt/adapters/source.py
requests_toolbelt/adapters/ssl.py
requests_toolbelt/adapters/x509.py
requests_toolbelt/auth/__init__.py
requests_toolbelt/auth/_digest_auth_compat.py
requests_toolbelt/auth/guess.py
requests_toolbelt/auth/handler.py
requests_toolbelt/auth/http_proxy_digest.py
requests_toolbelt/cookies/__init__.py
requests_toolbelt/cookies/forgetful.py
requests_toolbelt/downloadutils/__init__.py
requests_toolbelt/downloadutils/stream.py
requests_toolbelt/downloadutils/tee.py
requests_toolbelt/exceptions.py
requests_toolbelt/multipart/__init__.py
requests_toolbelt/multipart/decoder.py
requests_toolbelt/multipart/encoder.py
requests_toolbelt/sessions.py
requests_toolbelt/streaming_iterator.py
requests_toolbelt/threaded/__init__.py
requests_toolbelt/threaded/pool.py
requests_toolbelt/threaded/thread.py
requests_toolbelt/utils/__init__.py
requests_toolbelt/utils/deprecated.py
requests_toolbelt/utils/dump.py
requests_toolbelt/utils/formdata.py
requests_toolbelt/utils/user_agent.py
setup.cfg
setup.py
tests/__init__.py
tests/cassettes/file_for_download.json
tests/cassettes/http2bin_cookies.json
tests/cassettes/http2bin_fingerprint.json
tests/cassettes/httpbin_guess_auth_basic.json
tests/cassettes/httpbin_guess_auth_digest.json
tests/cassettes/httpbin_guess_auth_none.json
tests/cassettes/klevas_vu_lt_ssl3.json
tests/cassettes/redirect_request_for_dump_all.json
tests/cassettes/simple_get_request.json
tests/cassettes/stream_response_to_file.json
tests/cassettes/test_x509_adapter_der.json
tests/cassettes/test_x509_adapter_pem.json
tests/conftest.py
tests/test_appengine_adapter.py
tests/test_auth.py
tests/test_auth_handler.py
tests/test_downloadutils.py
tests/test_dump.py
tests/test_fingerprintadapter.py
tests/test_forgetfulcookiejar.py
tests/test_formdata.py
tests/test_host_header_ssl_adapter.py
tests/test_multipart_decoder.py
tests/test_multipart_encoder.py
tests/test_multipart_monitor.py
tests/test_proxy_digest_auth.py
tests/test_sessions.py
tests/test_socket_options_adapter.py
tests/test_source_adapter.py
tests/test_ssladapter.py
tests/test_streaming_iterator.py
tests/test_user_agent.py
tests/test_x509_adapter.py
tests/threaded/__init__.py
tests/threaded/test_api.py
tests/threaded/test_pool.py
tests/threaded/test_thread.py
tox.ini
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.
#----------------------------------------------------------------------------
# License file: LICENSE
Copyright 2014 Ian Cordasco, Cory Benfield
.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

View File

@ -0,0 +1,8 @@
Document: python-requests-toolbelt
Title: Utility belt for advanced users of python-requests
Author: Ian Cordasco, Cory Benfield
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-requests-toolbelt-doc/html/index.html
Files: /usr/share/doc/python-requests-toolbelt-doc/html

View File

@ -0,0 +1 @@
debian/html

26
debian/rules vendored Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME=requests-toolbelt
# Requires betamax #808880
export PYBUILD_DISABLE=test
export SETUPTOOLS_USE_DISTUTILS=stdlib
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_installdocs:
LC_ALL=C PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -bhtml docs debian/html
dh_installdocs
dh_sphinxdoc
override_dh_auto_clean:
$(RM) -r debian/html
dh_auto_clean
override_dh_installchangelogs:
dh_installchangelogs HISTORY.rst
# Remove backup file included in distribution by mistake
$(RM) debian/*/usr/lib/*/dist-packages/requests_toolbelt/multipart/.encoder.py.swp

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=4
opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
https://pypi.debian.net/requests-toolbelt/requests-toolbelt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))