From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1EF981388C2 for ; Tue, 29 Dec 2015 23:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93C9BE086C; Tue, 29 Dec 2015 23:36:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB816E086A for ; Tue, 29 Dec 2015 23:36:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D905E34070F for ; Tue, 29 Dec 2015 23:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8449CC86 for ; Tue, 29 Dec 2015 23:36:48 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1451402917.c74a603ae11d18544b47127070a1ccc4277b34a2.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-unittest-mock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/backports-unittest-mock/Manifest dev-python/backports-unittest-mock/backports-unittest-mock-1.1.1.ebuild dev-python/backports-unittest-mock/metadata.xml X-VCS-Directories: dev-python/backports-unittest-mock/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: c74a603ae11d18544b47127070a1ccc4277b34a2 X-VCS-Branch: master Date: Tue, 29 Dec 2015 23:36:48 +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: 69996a65-07f4-488b-ba7b-c1f0c967798f X-Archives-Hash: 7d087fdf9ddc7f2158d043ee1006b1f8 commit: c74a603ae11d18544b47127070a1ccc4277b34a2 Author: Louis Sautier gmail com> AuthorDate: Tue Dec 29 15:28:37 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Tue Dec 29 15:28:37 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74a603a dev-python/backports-unittest-mock: needed as a new dep to test dev-python/irc Package-Manager: portage-2.2.26 dev-python/backports-unittest-mock/Manifest | 1 + .../backports-unittest-mock-1.1.1.ebuild | 38 ++++++++++++++++++++++ dev-python/backports-unittest-mock/metadata.xml | 14 ++++++++ 3 files changed, 53 insertions(+) diff --git a/dev-python/backports-unittest-mock/Manifest b/dev-python/backports-unittest-mock/Manifest new file mode 100644 index 0000000..1ccc06c --- /dev/null +++ b/dev-python/backports-unittest-mock/Manifest @@ -0,0 +1 @@ +DIST backports.unittest_mock-1.1.1.tar.gz 3255 SHA256 641bd99befaa09834df2aa5f01a0db27c782758e06d46831bfae6ff91dc5d1be SHA512 82872d9ada74b7e64792b29cd49177d5c54ffd64260ce17628df7df08e9e16ee1456d9f80eacacebb43a5e51ad93868cd49bee84209cf6682385e746bcfc90c4 WHIRLPOOL e1c1728a6a2aa0a2ec58a57b23874deb1167d2e3599a20d5e1331ab97e34798519956cb5b20bed735c7a714b6d258944f32144997a9763462c3d373e28a68267 diff --git a/dev-python/backports-unittest-mock/backports-unittest-mock-1.1.1.ebuild b/dev-python/backports-unittest-mock/backports-unittest-mock-1.1.1.ebuild new file mode 100644 index 0000000..98be0c6 --- /dev/null +++ b/dev-python/backports-unittest-mock/backports-unittest-mock-1.1.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# It is the developer's intention that backports.unittest_mock will be +# used even for Python 3: https://github.com/jaraco/jaraco.timing/pull/1 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +MY_PN="${MY_PN//-/_}" +DESCRIPTION="Backport of unittest.mock" +HOMEPAGE="https://github.com/jaraco/backports.unittest_mock" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/mock[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/backports-unittest-mock/metadata.xml b/dev-python/backports-unittest-mock/metadata.xml new file mode 100644 index 0000000..2a913a1 --- /dev/null +++ b/dev-python/backports-unittest-mock/metadata.xml @@ -0,0 +1,14 @@ + + + + proxy-maintainers + + sautier.louis@gmail.com + Louis Sautier + Proxied maintainer; set to assignee in all bugs + + + backports.unittest_mock + jaraco/backports.unittest_mock + +