Import Debian changes 3.1.0-ok1

python-oauthlib (3.1.0-ok1) yangtze; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent a68ee70966
commit 779af091b1
11 changed files with 124 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-oauthlib (3.1.0-ok1) yangtze; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/clean vendored Normal file
View File

@ -0,0 +1 @@
oauthlib.egg-info/*

50
debian/control vendored Normal file
View File

@ -0,0 +1,50 @@
Source: python-oauthlib
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Daniele Tricoli <eriol@debian.org>
Section: python
Priority: optional
Build-Depends:
debhelper-compat (= 12),
dh-python,
python3-all,
python3-blinker,
python3-cryptography,
python3-jwt (>= 1.0.0),
python3-mock,
python3-pytest (>= 4.0),
python3-setuptools
Standards-Version: 4.4.1
Rules-Requires-Root: no
Homepage: https://github.com/idan/oauthlib
Vcs-Git: https://salsa.debian.org/python-team/modules/python-oauthlib.git
Vcs-Browser: https://salsa.debian.org/python-team/modules/python-oauthlib
Package: python3-oauthlib
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-blinker,
python3-cryptography,
python3-jwt (>= 1.0.0)
Description: generic, spec-compliant implementation of OAuth for Python3
OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object. It can be used to graft OAuth support
onto HTTP libraries.
.
OAuth 1 is fully supported per the RFC for both clients and providers.
.
OAuth 2 client and provider support for:
.
- Authorization Code Grant
- Implicit Grant
- Client Credentials Grant
- Resource Owner Password Credentials Grant
- Refresh Tokens
- Bearer Tokens
- Draft MAC tokens
- Token Revocation
- OpenID Connect Authentication
.
This package contains the Python 3 version of the library.

40
debian/copyright vendored Normal file
View File

@ -0,0 +1,40 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: oauthlib
Upstream-Contact: Idan Gazit <idan@gazit.me>
Source: http://pypi.python.org/pypi/oauthlib
Files: *
Copyright: 2011, Idan Gazit and contributors
License: BSD-3-clause
Files: debian/*
Copyright: 2012-2019 Daniele Tricoli <eriol@debian.org>
License: BSD-3-clause
License: BSD-3-clause
All rights reserved.
.
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 this project 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 OWNER 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.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.rst

2
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,2 @@
[DEFAULT]
debian-branch=debian/master

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
export PYBUILD_NAME=oauthlib
export PYTHONWARNINGS=d
%:
dh $@ --with python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

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

6
debian/tests/control vendored Normal file
View File

@ -0,0 +1,6 @@
Tests: python3-oauthlib
Depends:
python3-all,
python3-mock,
python3-pytest (>= 4.0),
python3-oauthlib

6
debian/tests/python3-oauthlib vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh -e
cp -r tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m pytest -v -x -rs 2>&1

3
debian/watch vendored Normal file
View File

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