dev-python/requests-kerberos: Version bump to 0.12.0
authorTony Vroon <chainsaw@gentoo.org>
Tue, 26 Feb 2019 08:45:53 +0000 (08:45 +0000)
committerTony Vroon <chainsaw@gentoo.org>
Tue, 26 Feb 2019 08:46:07 +0000 (08:46 +0000)
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

dev-python/requests-kerberos/Manifest
dev-python/requests-kerberos/requests-kerberos-0.12.0.ebuild [new file with mode: 0644]

index 66491111fdc781fe370ab187d4da088d3bb2e28d..f902f47811e7654f0785424b2e720430af21d25b 100644 (file)
@@ -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 (file)
index 0000000..96c2cb6
--- /dev/null
@@ -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
+}