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 B64A1139694 for ; Tue, 20 Jun 2017 19:01:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C9EE234017; Tue, 20 Jun 2017 19:00:57 +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 46A5123400B for ; Tue, 20 Jun 2017 19:00:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A9D8341B32 for ; Tue, 20 Jun 2017 19:00:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0A3D746F for ; Tue, 20 Jun 2017 19:00:53 +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: <1497984761.e9b4c8dd45e7b35d7e60f9b280b02046b9a4a3d1.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pbr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pbr/Manifest dev-python/pbr/pbr-3.1.0.ebuild X-VCS-Directories: dev-python/pbr/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: e9b4c8dd45e7b35d7e60f9b280b02046b9a4a3d1 X-VCS-Branch: master Date: Tue, 20 Jun 2017 19:00:53 +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: fe2160ec-d323-47e6-a8f9-1f5e0e9ef2cb X-Archives-Hash: 8ffcc24e90b676f5a41af30f87116c93 commit: e9b4c8dd45e7b35d7e60f9b280b02046b9a4a3d1 Author: Matthew Thode gentoo org> AuthorDate: Tue Jun 20 18:52:41 2017 +0000 Commit: Matt Thode gentoo org> CommitDate: Tue Jun 20 18:52:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b4c8dd dev-python/pbr: 3.1.0 bup Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/pbr/Manifest | 1 + dev-python/pbr/pbr-3.1.0.ebuild | 75 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-python/pbr/Manifest b/dev-python/pbr/Manifest index 5fa618ca80f..b1c569f1cd5 100644 --- a/dev-python/pbr/Manifest +++ b/dev-python/pbr/Manifest @@ -5,3 +5,4 @@ DIST pbr-1.9.1.tar.gz 113439 SHA256 3997406c90894ebf3d1371811c1e099721440a901f94 DIST pbr-2.0.0.tar.gz 98568 SHA256 0ccd2db529afd070df815b1521f01401d43de03941170f8a800e7531faba265d SHA512 39540f54de674d4e50d6e9239328c0ac11ae6218a1483b023ab282efb797fc143d22334f60697ba81e2309c525860525ed0ce4858d66b187d2581fab9fae6b7d WHIRLPOOL 049df8e4fee3c65c04362cbbcda88047f9fa672caa1d1319bac5dfdf2452ddfd442e9e46bc832fad57831844eed1f0da4267fe3ae40b148948a9413aa5b155a2 DIST pbr-2.1.0.tar.gz 100858 SHA256 f71359a7e2de2f5ea1eceea7c1e3222f2560ee48e21eef6f96957bb5c2ebb94a SHA512 a4a7b1c96545bd25f63a439608f22bc04309c518f78f0044d18f10ce7c9ceeca3da97be527f0330c65d875900a3729dea99dade95787fb2ea75c3ae387b36938 WHIRLPOOL f82152ebb34ed21438853289c66ce326d39a57f6da7c28a31b9e43c26ab2a54ed9978cd398d5e7f28cdd94abcdc0017557d15af3458ec8f66b181fd5ef6de836 DIST pbr-3.0.1.tar.gz 100518 SHA256 d7e8917458094002b9a2e0030ba60ba4c834c456071f2d0c1ccb5265992ada91 SHA512 30ffb8f0c0184c7613add7094ff065d709d9c83e829f7e65ea60f5d1e0fbd267c3067aed8eff0c7767110b079e118141743f4f63185f8617925566ff14a40412 WHIRLPOOL eca2d4335399c2fe10ba7d5dd0ccda28d57d6c0ce8890f625765eab1e593c5b1a200a3cf433355ef898a9d2d5b9a67ce99ab88a13591a9cc363b0c6ee8b4fb40 +DIST pbr-3.1.0.tar.gz 102185 SHA256 b8af6ec309f4f3ab419b998b22073d66da55b36414e0b729cb04a408f6d73697 SHA512 23c69210485768e4acade72eff1c5be3168495c252d91d3c19128b73d4038e25f4e9a2516f61f0112f5f9ca327b1a4b8d3132cc272d93823129b4f563682d0b5 WHIRLPOOL 5608426a0e76d3507ec8b79f95eca0f15750ecb460e90fcc7ce42e7eed6b81efc1c7c9f15a486d84aecc5be1b358d4c063c1ae455b58c5405b348aa3977b3f9f diff --git a/dev-python/pbr/pbr-3.1.0.ebuild b/dev-python/pbr/pbr-3.1.0.ebuild new file mode 100644 index 00000000000..be0c6f6a459 --- /dev/null +++ b/dev-python/pbr/pbr-3.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Inject some useful and sensible default behaviors into setuptools" +HOMEPAGE="https://github.com/openstack-dev/pbr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux ~x86-linux" +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038 +# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848 +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/coverage-4.0[${PYTHON_USEDEP}] + !~dev-python/coverage-4.4[${PYTHON_USEDEP}] + >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.5.1[$(python_gen_usedep 'python2_7' 'python3_4' 'python3_5' 'python3_6')] + !~dev-python/sphinx-1.6.1[$(python_gen_usedep 'python2_7' 'python3_4' 'python3_5' 'python3_6')] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testresources-0.2.4[${PYTHON_USEDEP}] + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] + >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-13.1.0[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-vcs/git + )" +PDEPEND="" + +# This normally actually belongs here. +python_prepare_all() { + # This test passes when run within the source and doesn't represent a failure, but rather + # a gentoo sandbox constraint + # Rm tests that rely upon the package being already installed and fail + sed -e s':test_console_script_develop:_&:' \ + -e s':test_console_script_install:_&:' \ + -e s':test_sdist_extra_files:_&:' \ + -e s':test_command_hooks:_&:' \ + -e s':test_sdist_git_extra_files:_&:' \ + -i pbr/tests/test_core.py || die + sed -e s':test_command_hooks:_&:' \ + -e s':test_global_setup_hooks:_&:' \ + -i pbr/tests/test_hooks.py || die + sed \ + -e "s:test_wsgi_script_install:_&:" \ + -i pbr/tests/test_wsgi.py || die + einfo "rogue tests disabled" + sed -i '/^hacking/d' test-requirements.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing + + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}" + + testr init || die "testr init failed under ${EPYTHON}" + testr run || die "testr run failed under ${EPYTHON}" +}