dev-python/oauthlib: 2.0.2 bup
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 27 Aug 2017 03:54:13 +0000 (22:54 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 27 Aug 2017 04:25:17 +0000 (23:25 -0500)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-python/oauthlib/Manifest
dev-python/oauthlib/oauthlib-2.0.2.ebuild [new file with mode: 0644]

index f382ecd677573e4add7172084781b8d48b63e9b4..46ac7cb1ad0cc5299a4c6d79a2e074cc5eb65d13 100644 (file)
@@ -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 (file)
index 0000000..c9d022a
--- /dev/null
@@ -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}"
+}