summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-01 00:14:07 +0000
committerSam James <sam@gentoo.org>2021-06-01 00:27:56 +0000
commit4f3daff22612673e8d1a5da1bb3b199fdd1c0340 (patch)
tree33a05eb1f37bdd8d849573e05323e127eb8b4e8c /dev-python/requests-credssp/requests-credssp-1.2.0.ebuild
parentdev-python/requests-credssp: python 3.9 support (diff)
downloadgentoo-4f3daff22612673e8d1a5da1bb3b199fdd1c0340.tar.gz
gentoo-4f3daff22612673e8d1a5da1bb3b199fdd1c0340.tar.bz2
gentoo-4f3daff22612673e8d1a5da1bb3b199fdd1c0340.zip
dev-python/requests-credssp: lay groundwork for tests, drop unneeded patch
Signed-off-by: Sam James <sam@gentoo.org>
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