diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /dev-python/requests-ntlm | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'dev-python/requests-ntlm')
-rw-r--r-- | dev-python/requests-ntlm/Manifest | 4 | ||||
-rw-r--r-- | dev-python/requests-ntlm/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild | 50 |
3 files changed, 54 insertions, 2 deletions
diff --git a/dev-python/requests-ntlm/Manifest b/dev-python/requests-ntlm/Manifest index 799d07ff2396..945ca167409f 100644 --- a/dev-python/requests-ntlm/Manifest +++ b/dev-python/requests-ntlm/Manifest @@ -1,3 +1,5 @@ +DIST requests-ntlm-1.2.0.gh.tar.gz 14540 BLAKE2B 0b9dd72680c6e67dc6e4f0a3eef3b9fa0cc03c71010238a0e7ef8a48b59c57e12846040975f7eef7710113f372cd1e1628e5a9be0eca8e7a287a9cfd0765ebf0 SHA512 230eb6c8a90e8745a3c969114f81d2559aa0f411b79b54747d21c6c28572f7d61c024c47a831777c2d85fb8b09af7fee667d3a3abf318473c97e727c5f2d7943 DIST requests_ntlm-1.1.0.tar.gz 5183 BLAKE2B 190a75d3f82ae2216e05295f855aa072f98908ef8a0d4dda68d6e39239655ccf175c707af137290cd78cf622c0a3d1741a0afbb1363f8b170f408c34a2682fa6 SHA512 9a74ecd6e4ed5c5e4381d2ee3fb9ff233352b49baa5fae4e0ecc30aaad12fc7a5c1b9dd936f35d4a3815ae7f6ec5bb8581e84128d63ff0e961181408daddb807 EBUILD requests-ntlm-1.1.0-r1.ebuild 573 BLAKE2B 1b5a371d80d7ef1c883d4326539c018cd47ed520d3589de0b83beedd1c92eef61aa6f36beb9438b68ae2f5c5f1b051fc4d9dbed14ff38a5699fcbe5a63f9500e SHA512 fbf2a4589c77391fcf88d70881c28d79cfcfdc052f66df384920e5c3418bec060ca2e166d073ac3ea92b992fe447399053bf77ad6ffde6defd97db062993bc70 -MISC metadata.xml 492 BLAKE2B 231a8ed89e03d2b0c91946207dd30659352b661514b7094ac1a85705d12d7dfc4db9d63de62a0fb4ca901bf4ded8ba9046fada0daf8e8d134645a4330f911dd2 SHA512 ba72fd707b3b3dc5c65677a0d2fbb0f2e66cdb8bdcdce1a75e8565341fd3afb716a05034a0cffef2d4be78b6ffb5ae2184d7b1a129d3abea6b563f6f28e39e2f +EBUILD requests-ntlm-1.2.0.ebuild 1012 BLAKE2B 43bebdd80593de2b738aec78e5e558c98c74664b5badc095df7319a481854e590e015f7beb906e68ba5f4fb23e8f58835852d4582fade7500a643f2608b21ed7 SHA512 d043504e5f12ed5138f28edb93fd0625b17f98c4941ee13dde61b903e8eca7479cf0a7f96134f3ef242c0efb14400dc1a7d152076be738ce1564e164e9c81441 +MISC metadata.xml 492 BLAKE2B 2c1f1f5a723771cdd2af4d7efb816d9bba18a34918851340fbec9bb0effca7dc2ed01a267b62ff2c3566dde7eaecd8068b31fe63371a1c7bcbbeba58e61fb915 SHA512 7c31efbf4c60b7d30de66965fde50e44bf9a2fb43e041fd20134036124067daa55d09d6d172633be2abc9fff16fcc1bb2eb305ffc56ffacaecea2469a7717365 diff --git a/dev-python/requests-ntlm/metadata.xml b/dev-python/requests-ntlm/metadata.xml index cb401c68b149..7f4b01eebc5e 100644 --- a/dev-python/requests-ntlm/metadata.xml +++ b/dev-python/requests-ntlm/metadata.xml @@ -10,7 +10,7 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">requests_ntlm</remote-id> + <remote-id type="pypi">requests-ntlm</remote-id> <remote-id type="github">requests/requests-ntlm</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild new file mode 100644 index 000000000000..81473a0deacb --- /dev/null +++ b/dev-python/requests-ntlm/requests-ntlm-1.2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP NTLM authentication using the requests library" +HOMEPAGE=" + https://github.com/requests/requests-ntlm/ + https://pypi.org/project/requests-ntlm/ +" +SRC_URI=" + https://github.com/requests/requests-ntlm/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +SLOT="0" +LICENSE="ISC" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cryptography-1.3[${PYTHON_USEDEP}] + >=dev-python/pyspnego-0.1.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.0.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/flask[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local ts_pid test_ret + + "${EPYTHON}" -m tests.test_server &> "${T}"/test-server.log & + ts_pid=${!} + + nonfatal epytest tests/unit + test_ret=${?} + + kill "${ts_pid}" + [[ ${test_ret} -ne 0 ]] && die "Tests failed with ${EPYTHON}" +} |