This commit is contained in:
blshkv 2017-05-30 20:29:01 +08:00
parent e3b3fa3db9
commit 6b4456e1c6
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
4 changed files with 41 additions and 2 deletions

View file

@ -1 +1,2 @@
DIST ntlm-auth-1.0.3.tar.gz 47811 SHA256 a0f7ff1f9ec483f5791814fecce596f1dc6f19f389302aafbd7a3bca3dd89c89 SHA512 3700eef8cad111f4997aa8864d0d50aecb830627199d01d89760b3708610e6bd842f8f22a563109aba16e2a8f200dd266f8e30de2b1b9b028f1be23f20f437b5 WHIRLPOOL 46d5f6689a53b8db94b9b421066af2f07a4becdb92180499bf58f4eb84d70f2460f7f84d8a46e829cc8c45364f7d65877b2d345188e3e49c12e29409816c265b
DIST ntlm-auth-1.0.4.tar.gz 47851 SHA256 0752bb847bbbc436bc24d6529f771353bb0c9b2bff00050420770846e3f4eba1 SHA512 87ecfac1daee0ec2695c717b9aba9737ffa02e874724794981ed2b8dc26dbef6b6ee2a6476c85557d5d7d2bcb9691d6d125f99dc6225d62d765c79f74ee70c25 WHIRLPOOL e78a3a7c8551d9844b00bdd65d79c0237dc7158a1cd350cc5b2ffc5adf22517c3899fd9c049b9da632149a19fe313426c465d098d6cfe93da264ff35ab610c7d

View file

@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/jborean93/ntlm-auth"
SRC_URI="https://github.com/jborean93/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="test"

View file

@ -0,0 +1,38 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
DESCRIPTION="Create and parse NTLM authorisation tokens with all the latest standards"
HOMEPAGE="https://github.com/jborean93/ntlm-auth"
SRC_URI="https://github.com/jborean93/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/unittest2[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
)
"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/ordereddict[${PYTHON_USEDEP}]' python2_7)"
python_test() {
distutils_install_for_testing
py.test --ignore=tests/functional/test_iis.py --cov ntlm_auth --cov-report term-missing tests || die "tests failed"
}

View file

@ -74,7 +74,7 @@ dev-python/simplesoapy
~dev-python/tld-0.7.8
~dev-python/requests-ntlm-1.0.0
~dev-python/requests-kerberos-0.11.0
~dev-python/ntlm-auth-1.0.3
=dev-python/ntlm-auth-1*
#sslyze
=dev-python/nassl-0.16*