From 779af091b11e2b343804f276ab65683105a8b6fa Mon Sep 17 00:00:00 2001 From: openKylinBot Date: Mon, 25 Apr 2022 22:03:04 +0800 Subject: [PATCH] Import Debian changes 3.1.0-ok1 python-oauthlib (3.1.0-ok1) yangtze; urgency=medium * Build for openKylin. --- debian/changelog | 5 ++++ debian/clean | 1 + debian/control | 50 +++++++++++++++++++++++++++++++++++ debian/copyright | 40 ++++++++++++++++++++++++++++ debian/docs | 2 ++ debian/gbp.conf | 2 ++ debian/rules | 8 ++++++ debian/source/format | 1 + debian/tests/control | 6 +++++ debian/tests/python3-oauthlib | 6 +++++ debian/watch | 3 +++ 11 files changed, 124 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/clean create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/tests/control create mode 100644 debian/tests/python3-oauthlib create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..bf9f6c5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-oauthlib (3.1.0-ok1) yangtze; urgency=medium + + * Build for openKylin. + + -- openKylinBot Mon, 25 Apr 2022 22:03:04 +0800 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..779d443 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +oauthlib.egg-info/* diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e6fd01c --- /dev/null +++ b/debian/control @@ -0,0 +1,50 @@ +Source: python-oauthlib +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Daniele Tricoli +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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4757f37 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,40 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oauthlib +Upstream-Contact: Idan Gazit +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 +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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..2e92505 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.rst + diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..3879982 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch=debian/master diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ddac38b --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=oauthlib + +export PYTHONWARNINGS=d + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..99542ef --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,6 @@ +Tests: python3-oauthlib +Depends: + python3-all, + python3-mock, + python3-pytest (>= 4.0), + python3-oauthlib diff --git a/debian/tests/python3-oauthlib b/debian/tests/python3-oauthlib new file mode 100644 index 0000000..d68980f --- /dev/null +++ b/debian/tests/python3-oauthlib @@ -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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..c6ccf86 --- /dev/null +++ b/debian/watch @@ -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)))