summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/requests-credssp/requests-credssp-1.2.0.ebuild')
-rw-r--r--dev-python/requests-credssp/requests-credssp-1.2.0.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild
index a06c1ac3a65..4b4628b832c 100644
--- a/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild
+++ b/dev-python/requests-credssp/requests-credssp-1.2.0.ebuild
@@ -8,12 +8,14 @@ inherit distutils-r1
DESCRIPTION="HTTPS CredSSP authentication with the requests library"
HOMEPAGE="https://pypi.org/project/requests-credssp/"
-SRC_URI="mirror://pypi/r/requests-credssp/${P}.tar.gz"
+# .gh for tests in github tarball, drop ".gh" on next bump
+SRC_URI="https://github.com/jborean93/requests-credssp/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
+# Needs unpackaged pyspnego (https://github.com/jborean93/pyspnego)
+RESTRICT="test"
RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/ntlm-auth[${PYTHON_USEDEP}]
@@ -21,9 +23,6 @@ RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
-PATCHES=(
- "${FILESDIR}/${PN}-1.2.0-python-3.9.patch"
-)
+#distutils_enable_tests pytest