summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2017-08-26 22:54:13 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2017-08-26 23:25:17 -0500
commit202acfdb0a8754b79bf8af15db3144249ad2daad (patch)
tree2158a2d6cd8ffb2998b36504758bec992f9f3b75 /dev-python/oauthlib
parentdev-python/oslo-cache: 1.25.0 bup (diff)
downloadgentoo-202acfdb0a8754b79bf8af15db3144249ad2daad.tar.gz
gentoo-202acfdb0a8754b79bf8af15db3144249ad2daad.tar.bz2
gentoo-202acfdb0a8754b79bf8af15db3144249ad2daad.zip
dev-python/oauthlib: 2.0.2 bup
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/oauthlib')
-rw-r--r--dev-python/oauthlib/Manifest1
-rw-r--r--dev-python/oauthlib/oauthlib-2.0.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/oauthlib/Manifest b/dev-python/oauthlib/Manifest
index f382ecd67757..46ac7cb1ad0c 100644
--- a/dev-python/oauthlib/Manifest
+++ b/dev-python/oauthlib/Manifest
@@ -1,2 +1,3 @@
DIST oauthlib-1.0.3.tar.gz 109095 SHA256 ef4bfe4663ca3b97a995860c0173b967ebd98033d02f38c9e1b2cbb6c191d9ad SHA512 b5df82729edc025f262a18c012f6036f52e97a8a846eeb75e4e205928acfd6e971a58194c4a06853d6743329d397e69b94fb431047b2a17a2cb2472c889c4d4c WHIRLPOOL f63142b667eaed207504494e67de8b58d8c966c19870a2e38714fa6d264a7f57873bb30f3548f9cd0906d9f3abb5c36c9de7255d869f47ebad7662b1dba6ec16
DIST oauthlib-2.0.1.tar.gz 122966 SHA256 132ad46df25e53a84b33f1fd43f80e973cda2cb018cc0168d7d0c8c4d5cef9b5 SHA512 5d19839d1fec6939d10a26b5a0cf96024783fbf67b91299ad7ad640c5c75170918fcda9ed0e13333a5dde353b86201f033e410b8312f1d9eaaf9af0b289c348f WHIRLPOOL 9048e9d201fb969f6819b7b36c074cf5b153e208901be67f65726a72b589219aca02a9f30dab8b022a8952fb0b23699e8b8f7cd48b8997c51b1c5d8e8dfffe31
+DIST oauthlib-2.0.2.tar.gz 125631 SHA256 b3b9b47f2a263fe249b5b48c4e25a5bce882ff20a0ac34d553ce43cff55b53ac SHA512 ff2a720faf8a649b1e29f34fd4b5b0838937cc1ebef3fa4828aeccb781097d02b9578717de48ddee49e43c86840e38147664a87b81601616792765541cbf18e4 WHIRLPOOL 582070c6af489bc771d1e43f34f863fa88d17d083826d5adea00b00f02c2915b79c280c388dfdc1e45106eea6766f822d244369b27d447d16b2bb21bfed96715
diff --git a/dev-python/oauthlib/oauthlib-2.0.2.ebuild b/dev-python/oauthlib/oauthlib-2.0.2.ebuild
new file mode 100644
index 000000000000..c9d022a52401
--- /dev/null
+++ b/dev-python/oauthlib/oauthlib-2.0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Spec-compliant and thorough implementation of the OAuth request-signing logic"
+HOMEPAGE="https://github.com/idan/oauthlib https://pypi.python.org/pypi/oauthlib"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="test"
+
+# optional extras hard set as RDEPs. See setup.py
+RDEPEND="
+ >=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
+ dev-python/blinker[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ "
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
+ $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' python2_7) )
+ "
+
+python_test() {
+ nosetests || die "tests failed under ${EPYTHON}"
+}