From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B7E5139085 for ; Wed, 1 Feb 2017 21:55:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 97F1EE0C37; Wed, 1 Feb 2017 21:55:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64814E0C37 for ; Wed, 1 Feb 2017 21:55:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B95E340DD8 for ; Wed, 1 Feb 2017 21:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8EB393DA6 for ; Wed, 1 Feb 2017 21:55:54 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1485985307.5cb3ab245c6a4fe5b37daff5e6521f33d99ae059.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/keystonemiddleware/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/keystonemiddleware/Manifest dev-python/keystonemiddleware/keystonemiddleware-4.9.1.ebuild X-VCS-Directories: dev-python/keystonemiddleware/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: 5cb3ab245c6a4fe5b37daff5e6521f33d99ae059 X-VCS-Branch: master Date: Wed, 1 Feb 2017 21:55:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8c1c5e01-0c5b-486e-85eb-5e20b3e07edb X-Archives-Hash: 3786afd29b7bb0b267b99d400c5cbe82 commit: 5cb3ab245c6a4fe5b37daff5e6521f33d99ae059 Author: Matthew Thode gentoo org> AuthorDate: Wed Feb 1 21:41:47 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Wed Feb 1 21:41:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cb3ab24 dev-python/keystonemiddleware: bup Package-Manager: portage-2.3.3 dev-python/keystonemiddleware/Manifest | 1 + .../keystonemiddleware-4.9.1.ebuild | 83 ++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-python/keystonemiddleware/Manifest b/dev-python/keystonemiddleware/Manifest index 28b9d8a..0e47c03 100644 --- a/dev-python/keystonemiddleware/Manifest +++ b/dev-python/keystonemiddleware/Manifest @@ -1,2 +1,3 @@ DIST keystonemiddleware-4.4.1.tar.gz 194711 SHA256 dff35f0e4acb77f34c9c880bd4f456bbe26a1c4701815d82e8c27ff74a5dfb52 SHA512 c04383836740222d49324cb5f25f8b156424abaa74ac9482a2deb2e1d54cc6d990a864451a075bc12c3d7d38da7235f236e8a8cfb4c3748953c14a4505eeb99f WHIRLPOOL 76a96e6140752cd8eb1d060591c5dec1181abf873c82595be89d9597e3c3e5d3344739fab6b8d0058ae2ab47863e5169d4bbcb4a83f46a24dea042c0ccfac8d0 DIST keystonemiddleware-4.9.0.tar.gz 198244 SHA256 5d92ef9321a49f06c59d53a92fecc572c559d054abd7f5b7ce5945916770b993 SHA512 0b8870e93bfba3c385cac4515f86a15cc72371f1274db284560d4ecb0e6f4f50064b093a91060728051a2d0732ae7c40a9d2d2dd8b0cfa29ca527b6dceba9e80 WHIRLPOOL 6fd48a653bbe6d5d7d2c40a97dd46310489a153a55e5096d007a54dfd944e22c0f758715e100138f46fbbada241cce5da94338c89be3b293c2142f6cc328ac54 +DIST keystonemiddleware-4.9.1.tar.gz 196430 SHA256 93fa012c70b2ac5773ecf7185ef94a224ca70a32728ad7d07cf12540f507043b SHA512 baff23d86e8157a465646a23fba873739fe019319873d7385ba5ef843c4546d14919913648075122e56a3805f03b91b2a1b03c3206bcbd05a3540a58925a1d01 WHIRLPOOL 6103d6621bce0020672ef7a04d5191be9eb876ae0fc279e83402655136f8e132fa4aaaffcab06f789dbd73a3f9246ef567d6c5dc77b7c3b14e6760a3cf857f2f diff --git a/dev-python/keystonemiddleware/keystonemiddleware-4.9.1.ebuild b/dev-python/keystonemiddleware/keystonemiddleware-4.9.1.ebuild new file mode 100644 index 00000000..8ec4a31 --- /dev/null +++ b/dev-python/keystonemiddleware/keystonemiddleware-4.9.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) + +inherit distutils-r1 + +DESCRIPTION="A middleware for the OpenStack Keystone API" +HOMEPAGE="https://github.com/openstack/keystonemiddleware" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + test? ( + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] + !~dev-python/oslo-sphinx-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}] + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-mock-1.0.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] + =dev-python/stevedore-1.16.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + >=dev-python/python-memcached-1.56[${PYTHON_USEDEP}] + >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}] + )" + +RDEPEND=" + ${CDEPEND} + >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] + >=dev-python/positional-1.0.1[${PYTHON_USEDEP}] + >=dev-python/pycadf-1.1.0[${PYTHON_USEDEP}] + !~dev-python/pycadf-2.0.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}] + !~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/webob-1.2.3[${PYTHON_USEDEP}]" + +PATCHES=( +) + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + testr init + testr run || die "testsuite failed under python2.7" + flake8 ${PN/python-/}/tests || die "run over tests folder by flake8 drew error" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/html/. ) + use examples && local EXAMPLES=( examples/.) + distutils-r1_python_install_all +}