1 |
commit: 4f3daff22612673e8d1a5da1bb3b199fdd1c0340 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 1 00:14:07 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 00:27:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3daff2 |
7 |
|
8 |
dev-python/requests-credssp: lay groundwork for tests, drop unneeded patch |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-python/requests-credssp/Manifest | 2 +- |
13 |
.../files/requests-credssp-1.2.0-python-3.9.patch | 50 ---------------------- |
14 |
.../requests-credssp/requests-credssp-1.2.0.ebuild | 13 +++--- |
15 |
3 files changed, 7 insertions(+), 58 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/requests-credssp/Manifest b/dev-python/requests-credssp/Manifest |
18 |
index 38af56c1593..ca9270fbf0a 100644 |
19 |
--- a/dev-python/requests-credssp/Manifest |
20 |
+++ b/dev-python/requests-credssp/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST requests-credssp-1.2.0.tar.gz 18384 BLAKE2B 5d92326066f8e6abf675b3ab56522aceefb2ecf99bb58d44de4f0c40b46582b567888c6b888d21da29ef1746d070526c6d35601b88b5ca207f3c7f2b6c596260 SHA512 425e18b673cdf1006d6ab3d4108acdb2a8cdf6132646663741339c771aecada2cc237d919351cd0d2ca6022a0bcddba92b3b44b15386d683c6c18db461b8c7fd |
23 |
+DIST requests-credssp-1.2.0.gh.tar.gz 23310 BLAKE2B 647dff76fbb47b9b972f403a9fb2a10ffab5e1915e32977e65b5f5c1cb206ec1b9fa884e12d687761087b2f7f4cb9e8bde631b68140cc50dbd9561a4999bdf55 SHA512 55458773cbf14a468d22d0b04186611385ff24fceda85052e69981bd6d4fd32a46f96b95fa36724b72fd9719485b2ed8906d1927284157e7bc685c0c42c2312c |
24 |
|
25 |
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 |
26 |
deleted file mode 100644 |
27 |
index 47591ab94ed..00000000000 |
28 |
--- a/dev-python/requests-credssp/files/requests-credssp-1.2.0-python-3.9.patch |
29 |
+++ /dev/null |
30 |
@@ -1,50 +0,0 @@ |
31 |
-From b3583f2e959600ea27a2b8577c172c5695ec7f2c Mon Sep 17 00:00:00 2001 |
32 |
-From: Matthew <matthewabtin@××××××××××.com> |
33 |
-Date: Mon, 10 May 2021 10:36:23 +0000 |
34 |
-Subject: [PATCH] Python 3.9 support (#22) |
35 |
- |
36 |
-* Python 3.9 support |
37 |
- |
38 |
-* Add 3.9 to pipelines |
39 |
---- |
40 |
- azure-pipelines.yml | 8 ++++++++ |
41 |
- setup.py | 1 + |
42 |
- 2 files changed, 9 insertions(+) |
43 |
- |
44 |
-diff --git a/azure-pipelines.yml b/azure-pipelines.yml |
45 |
-index a60bd62..1f0cbde 100644 |
46 |
---- a/azure-pipelines.yml |
47 |
-+++ b/azure-pipelines.yml |
48 |
-@@ -38,6 +38,8 @@ stages: |
49 |
- python.version: 3.7 |
50 |
- Python38: |
51 |
- python.version: 3.8 |
52 |
-+ Python39: |
53 |
-+ python.version: 3.9 |
54 |
- |
55 |
- steps: |
56 |
- - task: UsePythonVersion@0 |
57 |
-@@ -119,6 +121,12 @@ stages: |
58 |
- Python38-x64: |
59 |
- python.version: 3.8 |
60 |
- python.arch: x64 |
61 |
-+ Python39-x86: |
62 |
-+ python.version: 3.9 |
63 |
-+ python.arch: x86 |
64 |
-+ Python39-x64: |
65 |
-+ python.version: 3.9 |
66 |
-+ python.arch: x64 |
67 |
- |
68 |
- steps: |
69 |
- - task: UsePythonVersion@0 |
70 |
-diff --git a/setup.py b/setup.py |
71 |
-index ee5268f..49af47b 100644 |
72 |
---- a/setup.py |
73 |
-+++ b/setup.py |
74 |
-@@ -53,5 +53,6 @@ def abs_path(rel_path): |
75 |
- 'Programming Language :: Python :: 3.6', |
76 |
- 'Programming Language :: Python :: 3.7', |
77 |
- 'Programming Language :: Python :: 3.8', |
78 |
-+ 'Programming Language :: Python :: 3.9', |
79 |
- ], |
80 |
- ) |
81 |
|
82 |
diff --git a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
83 |
index a06c1ac3a65..4b4628b832c 100644 |
84 |
--- a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
85 |
+++ b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild |
86 |
@@ -8,12 +8,14 @@ inherit distutils-r1 |
87 |
|
88 |
DESCRIPTION="HTTPS CredSSP authentication with the requests library" |
89 |
HOMEPAGE="https://pypi.org/project/requests-credssp/" |
90 |
-SRC_URI="mirror://pypi/r/requests-credssp/${P}.tar.gz" |
91 |
+# .gh for tests in github tarball, drop ".gh" on next bump |
92 |
+SRC_URI="https://github.com/jborean93/requests-credssp/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
93 |
|
94 |
LICENSE="MIT" |
95 |
SLOT="0" |
96 |
KEYWORDS="~amd64" |
97 |
-IUSE="" |
98 |
+# Needs unpackaged pyspnego (https://github.com/jborean93/pyspnego) |
99 |
+RESTRICT="test" |
100 |
|
101 |
RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] |
102 |
dev-python/ntlm-auth[${PYTHON_USEDEP}] |
103 |
@@ -21,9 +23,6 @@ RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] |
104 |
dev-python/pyopenssl[${PYTHON_USEDEP}] |
105 |
dev-python/requests[${PYTHON_USEDEP}] |
106 |
dev-python/six[${PYTHON_USEDEP}]" |
107 |
-DEPEND="${RDEPEND} |
108 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
109 |
+DEPEND="${RDEPEND}" |
110 |
|
111 |
-PATCHES=( |
112 |
- "${FILESDIR}/${PN}-1.2.0-python-3.9.patch" |
113 |
-) |
114 |
+#distutils_enable_tests pytest |