Import Debian changes 1.1.4-ok1

python-httpretty (1.1.4-ok1) yangtze; urgency=medium

  * Build for openkylin.
This commit is contained in:
sufang 2023-02-06 15:28:46 +08:00 committed by su-fang
parent 4ea5d66812
commit 6c40b07025
7 changed files with 272 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-httpretty (1.1.4-ok1) yangtze; urgency=medium
* Build for openkylin.
-- sufang <sufang@kylinos.cn> Mon, 06 Feb 2023 15:28:46 +0800

47
debian/control vendored Normal file
View File

@ -0,0 +1,47 @@
Source: python-httpretty
Section: python
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends:
debhelper-compat (= 13),
dh-python,
openstack-pkg-tools (>= 99~),
python3-all,
python3-freezegun,
python3-setuptools,
Build-Depends-Indep:
python3-coverage,
python3-httplib2,
python3-mock,
python3-nose,
python3-rednose,
python3-requests,
python3-six,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-sphinxcontrib.websupport,
python3-sure,
python3-tornado,
python3-tz,
python3-urllib3,
Standards-Version: 4.5.1
Vcs-Browser: https://gitee.com/openkylin/python-httpretty
Vcs-Git: https://gitee.com/openkylin/python-httpretty.git
Homepage: https://github.com/gabrielfalcao/httpretty
Testsuite: autopkgtest-pkg-python
Package: python3-httpretty
Architecture: all
Depends:
python3-six,
python3-urllib3,
${misc:Depends},
${python3:Depends},
Description: HTTP client mock - Python 3.x
Once upon a time a Python developer wanted to use a RESTful API, everything
was fine but until the day he needed to test the code that hits the RESTful
API: what if the API server is down? What if its content has changed ?
.
Don't worry, HTTPretty is here for you.
.
This package provides the Python 3.x module.

201
debian/copyright vendored Normal file
View File

@ -0,0 +1,201 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-httpretty
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: MANIFEST.in
Makefile
PKG-INFO
development.txt
docs/build/doctrees/acks.doctree
docs/build/doctrees/api.doctree
docs/build/doctrees/changelog.doctree
docs/build/doctrees/contributing.doctree
docs/build/doctrees/guides.doctree
docs/build/doctrees/index.doctree
docs/build/doctrees/introduction.doctree
docs/make.bat
docs/source/_static/__pycache__/guide-callback-regex-ipdb.cpython-38.pyc
docs/source/_static/__pycache__/read-timeout.cpython-38-pytest-6.2.4.pyc
docs/source/_static/__pycache__/read-timeout.cpython-38.pyc
docs/source/_static/__pycache__/regex-example.cpython-38.pyc
docs/source/_static/guide-callback-regex-ipdb.py
docs/source/_static/read-timeout.py
docs/source/_static/regex-example.py
docs/source/_static/tmplun_dcms-ascii.cast
docs/source/acks.rst
docs/source/api.rst
docs/source/changelog.rst
docs/source/guides.rst
docs/source/index.rst
docs/source/introduction.rst
httpretty.egg-info/PKG-INFO
httpretty.egg-info/SOURCES.txt
httpretty.egg-info/dependency_links.txt
httpretty.egg-info/not-zip-safe
httpretty.egg-info/top_level.txt
httpretty/version.py
requirements.txt
setup.cfg
tests/__init__.py
tests/bugfixes/nosetests/__init__.py
tests/bugfixes/nosetests/test_242_ssl_bad_handshake.py
tests/bugfixes/nosetests/test_387_regex_port.py
tests/bugfixes/nosetests/test_413_regex.py
tests/bugfixes/nosetests/test_414_httpx.py
tests/bugfixes/nosetests/test_416_boto3.py
tests/bugfixes/nosetests/test_417_openssl.py
tests/bugfixes/nosetests/test_425_latest_requests.py
tests/bugfixes/nosetests/test_430_respect_timeout.py
tests/bugfixes/nosetests/test_eventlet.py
tests/bugfixes/nosetests/test_redis.py
tests/bugfixes/nosetests/test_tornado_bind_unused_port.py
tests/bugfixes/pytest/test_426_mypy_segfault.py
tests/compat.py
tests/functional/fixtures/playback-1.json
tests/functional/test_decorator.py
tests/unit/test_core.py
tests/unit/test_http.py
tests/unit/test_main.py
tox.ini
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
Files: httpretty/compat.py
httpretty/core.py
httpretty/errors.py
httpretty/http.py
httpretty/utils.py
setup.py
tests/bugfixes/nosetests/test_388_unmocked_error_with_url.py
tests/functional/__init__.py
tests/functional/base.py
tests/functional/test_bypass.py
tests/functional/test_debug.py
tests/functional/test_fakesocket.py
tests/functional/test_httplib2.py
tests/functional/test_passthrough.py
tests/functional/test_requests.py
tests/functional/test_urllib2.py
tests/functional/testserver.py
tests/pyopenssl/__init__.py
tests/pyopenssl/test_mock.py
tests/unit/__init__.py
tests/unit/test_httpretty.py
Copyright: <2011-2021> Gabriel Falcão <gabriel@nacaolivre.org>
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.
Files: README.rst
docs/source/contributing.rst
Copyright: <2011-2021> Gabriel Falcão <gabriel@nacaolivre.org>
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.
.
Main contributors
Files: httpretty/__init__.py
Copyright: <2011-2021> Gabriel Falcão <gabriel@nacaolivre.org>
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.
flake8: noqa
Files: docs/source/conf.py
Copyright: __NO_COPYRIGHT__ in: docs/source/conf.py
License: __UNKNOWN__
# The short X.Y version
#----------------------------------------------------------------------------
# xml and html files (skipped):
# docs/source/_static/logo.svg
#----------------------------------------------------------------------------
# huge files (skipped):
# docs/build/doctrees/environment.pickle
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.
#----------------------------------------------------------------------------
# License file: COPYING
Copyright (C) <2011-2021> Gabriel Falcão <gabriel@nacaolivre.org>
.
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.

1
debian/patches/series vendored Normal file
View File

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

14
debian/rules vendored Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/make -f
UPSTREAM_GIT := https://github.com/gabrielfalcao/HTTPretty.git
-include /usr/share/openstack-pkg-tools/pkgos.make
#export http_proxy=127.0.0.1:9
#export https_proxy=127.0.0.1:9
#export RES_OPTIONS=attempts:0
export PYBUILD_NAME=httpretty
export PYBUILD_TEST_ARGS=tests/unit
%:
dh $@ --buildsystem=pybuild --with python3

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/httpretty/httpretty-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))