1 |
commit: 1666f2f5c8d1aa98987ad49120af256a12f0e124 |
2 |
Author: Matthew Bakhtiari <dev <AT> mtbk <DOT> me> |
3 |
AuthorDate: Tue May 11 04:21:22 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 00:27:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1666f2f5 |
7 |
|
8 |
dev-python/requests-credssp: python 3.9 support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/788670 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Matthew Bakhtiari <dev <AT> mtbk.me> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/20767 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
.../files/requests-credssp-1.2.0-python-3.9.patch | 50 ++++++++++++++++++++++ |
17 |
.../requests-credssp/requests-credssp-1.2.0.ebuild | 8 +++- |
18 |
2 files changed, 56 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/requests-credssp/files/requests-credssp-1.2.0-python-3.9.patch b/dev-python/requests-credssp/files/requests-credssp-1.2.0-python-3.9.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..47591ab94ed |
23 |
--- /dev/null |
24 |
+++ b/dev-python/requests-credssp/files/requests-credssp-1.2.0-python-3.9.patch |
25 |
@@ -0,0 +1,50 @@ |
26 |
+From b3583f2e959600ea27a2b8577c172c5695ec7f2c Mon Sep 17 00:00:00 2001 |
27 |
+From: Matthew <matthewabtin@××××××××××.com> |
28 |
+Date: Mon, 10 May 2021 10:36:23 +0000 |
29 |
+Subject: [PATCH] Python 3.9 support (#22) |
30 |
+ |
31 |
+* Python 3.9 support |
32 |
+ |
33 |
+* Add 3.9 to pipelines |
34 |
+--- |
35 |
+ azure-pipelines.yml | 8 ++++++++ |
36 |
+ setup.py | 1 + |
37 |
+ 2 files changed, 9 insertions(+) |
38 |
+ |
39 |
+diff --git a/azure-pipelines.yml b/azure-pipelines.yml |
40 |
+index a60bd62..1f0cbde 100644 |
41 |
+--- a/azure-pipelines.yml |
42 |
++++ b/azure-pipelines.yml |
43 |
+@@ -38,6 +38,8 @@ stages: |
44 |
+ python.version: 3.7 |
45 |
+ Python38: |
46 |
+ python.version: 3.8 |
47 |
++ Python39: |
48 |
++ python.version: 3.9 |
49 |
+ |
50 |
+ steps: |
51 |
+ - task: UsePythonVersion@0 |
52 |
+@@ -119,6 +121,12 @@ stages: |
53 |
+ Python38-x64: |
54 |
+ python.version: 3.8 |
55 |
+ python.arch: x64 |
56 |
++ Python39-x86: |
57 |
++ python.version: 3.9 |
58 |
++ python.arch: x86 |
59 |
++ Python39-x64: |
60 |
++ python.version: 3.9 |
61 |
++ python.arch: x64 |
62 |
+ |
63 |
+ steps: |
64 |
+ - task: UsePythonVersion@0 |
65 |
+diff --git a/setup.py b/setup.py |
66 |
+index ee5268f..49af47b 100644 |
67 |
+--- a/setup.py |
68 |
++++ b/setup.py |
69 |
+@@ -53,5 +53,6 @@ def abs_path(rel_path): |
70 |
+ 'Programming Language :: Python :: 3.6', |
71 |
+ 'Programming Language :: Python :: 3.7', |
72 |
+ 'Programming Language :: Python :: 3.8', |
73 |
++ 'Programming Language :: Python :: 3.9', |
74 |
+ ], |
75 |
+ ) |
76 |
|
77 |
diff --git a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
78 |
index 568e4c29249..a06c1ac3a65 100644 |
79 |
--- a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
80 |
+++ b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
81 |
@@ -1,9 +1,9 @@ |
82 |
-# Copyright 1999-2020 Gentoo Authors |
83 |
+# Copyright 1999-2021 Gentoo Authors |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
|
86 |
EAPI=7 |
87 |
|
88 |
-PYTHON_COMPAT=( python3_{7,8} ) |
89 |
+PYTHON_COMPAT=( python3_{7..9} ) |
90 |
inherit distutils-r1 |
91 |
|
92 |
DESCRIPTION="HTTPS CredSSP authentication with the requests library" |
93 |
@@ -23,3 +23,7 @@ RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] |
94 |
dev-python/six[${PYTHON_USEDEP}]" |
95 |
DEPEND="${RDEPEND} |
96 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
97 |
+ |
98 |
+PATCHES=( |
99 |
+ "${FILESDIR}/${PN}-1.2.0-python-3.9.patch" |
100 |
+) |