summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2019-02-26 08:45:53 +0000
committerTony Vroon <chainsaw@gentoo.org>2019-02-26 08:46:07 +0000
commit0bc38d6ef4bfa304d1ec9333d08ea5a4a14d4e2c (patch)
tree0cf19d3c997e0f1362f9240dcc117a9796e467d5 /dev-python/requests-kerberos
parentsci-mathematics/wxmaxima: bump to 19.02.2_p1 (diff)
downloadgentoo-0bc38d6ef4bfa304d1ec9333d08ea5a4a14d4e2c.tar.gz
gentoo-0bc38d6ef4bfa304d1ec9333d08ea5a4a14d4e2c.tar.bz2
gentoo-0bc38d6ef4bfa304d1ec9333d08ea5a4a14d4e2c.zip
dev-python/requests-kerberos: Version bump to 0.12.0
This changes from PyPi to GitHub as the test-suite is otherwise missing. With the activation of the test suite I can confidently state we were missing Python 2.7 support for no good reason. I need this with Python 2.7 for pywinrm (Ansible facing Windows hosts). Requested-By: Ararat Smutkochorn <ararat@linx.net> Acked-By: Michał Górny <mgorny@gentoo.org> Signed-Off-By: Tony Vroon <chainsaw@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python/requests-kerberos')
-rw-r--r--dev-python/requests-kerberos/Manifest1
-rw-r--r--dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/requests-kerberos/Manifest b/dev-python/requests-kerberos/Manifest
index 66491111fdc7..f902f47811e7 100644
--- a/dev-python/requests-kerberos/Manifest
+++ b/dev-python/requests-kerberos/Manifest
@@ -1 +1,2 @@
DIST requests-kerberos-0.11.0.tar.gz 10742 BLAKE2B eaf764ae8f5c897db43cbb931952062d4aaf33c04dfa0bbae2cfd3b44326240f80435d0b69c7f8bfa3567d0d16532796d009f0436f3ff5956a87998b825f98a3 SHA512 8700a7a305e0e42823bbc87c95ecfd404a76807459ab8a87f3105e817ebd9954fd41d7a2bab421bb5e21c0ec1b62a589c93cccb1f926a3ba66d6adbffe5db265
+DIST requests-kerberos-0.12.0.tar.gz 21579 BLAKE2B 297cbecb0fc3508f5f62440c5860dcd94eeb077e68757c0646e7e3bec65cd34e19212b9992dad491ce0adeb91234db533528936f740599e42ff439f78af103ba SHA512 b925b5f9f6753e87368dce451927df09568d0d6126d4ae8514bbd99a794d983e32298b92b6239be9f95595483e2682259cf165c6997d17d9cea64a81d4af1a06
diff --git a/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild b/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild
new file mode 100644
index 000000000000..96c2cb6c27f9
--- /dev/null
+++ b/dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+HOMEPAGE="https://github.com/requests/requests-kerberos/"
+DESCRIPTION="A Kerberos authentication handler for python-requests"
+SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/requests-1.1.0[${PYTHON_USEDEP}]
+ || ( >=dev-python/pykerberos-1.1.8[${PYTHON_USEDEP}] <dev-python/pykerberos-2[${PYTHON_USEDEP}] )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+
+python_test() {
+ ${PYTHON} tests/test_requests_kerberos.py || die
+}