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 33CC8139695 for ; Mon, 1 May 2017 14:56:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E01821C08B; Mon, 1 May 2017 14:56:30 +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 49D8DE0CC1 for ; Mon, 1 May 2017 14:56:30 +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 6C6C6341703 for ; Mon, 1 May 2017 14:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C04D67447 for ; Mon, 1 May 2017 14:56:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1493650577.c7373c5a4791f4cc99133b74c2abfa11f1bead32.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/betamax/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/betamax/Manifest dev-python/betamax/betamax-0.8.0.ebuild dev-python/betamax/metadata.xml X-VCS-Directories: dev-python/betamax/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c7373c5a4791f4cc99133b74c2abfa11f1bead32 X-VCS-Branch: master Date: Mon, 1 May 2017 14:56:27 +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: e2ee237d-1d41-46f5-8efc-d6aff0828c02 X-Archives-Hash: 9caf5ab0e94f438a7da36eca0839bec0 commit: c7373c5a4791f4cc99133b74c2abfa11f1bead32 Author: Michał Górny gentoo org> AuthorDate: Mon May 1 14:24:29 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 1 14:56:17 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7373c5a dev-python/betamax: New package, needed for requests-toolbelt tests dev-python/betamax/Manifest | 1 + dev-python/betamax/betamax-0.8.0.ebuild | 31 +++++++++++++++++++++++++++++++ dev-python/betamax/metadata.xml | 7 +++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/betamax/Manifest b/dev-python/betamax/Manifest new file mode 100644 index 00000000000..dab5ed8ffec --- /dev/null +++ b/dev-python/betamax/Manifest @@ -0,0 +1 @@ +DIST betamax-0.8.0.tar.gz 78398 SHA256 82c480852a70a1bb57bd3f505107ffc293185e26fdaf45e538478e675fd9c8a1 SHA512 52b330747b6add52390b50dd63c05851adc01ccd238fdb5c3401efdfc26be363a3f61145dc0e1f3cc43ff520e1457e33fa47952d2929c7c3e12c3e2612621f95 WHIRLPOOL 70b69ad2df7e01b6bdf4cde60c18a723a95b24805f07c790cefa4e462d59c24d3c63a184e9021eefc1572496ec4d218a92ab467f0d953aaf982ea78f025f6806 diff --git a/dev-python/betamax/betamax-0.8.0.ebuild b/dev-python/betamax/betamax-0.8.0.ebuild new file mode 100644 index 00000000000..e39b5dd1f25 --- /dev/null +++ b/dev-python/betamax/betamax-0.8.0.ebuild @@ -0,0 +1,31 @@ +# 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,3_5,3_6} ) +inherit distutils-r1 + +DESCRIPTION="python-requests HTTP exchanges recorder" +HOMEPAGE="https://github.com/sigmavirus24/betamax" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) + )" + +# Tests require Internet access +RESTRICT=test + +python_test() { + py.test -v || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/betamax/metadata.xml b/dev-python/betamax/metadata.xml new file mode 100644 index 00000000000..266e3f19ca5 --- /dev/null +++ b/dev-python/betamax/metadata.xml @@ -0,0 +1,7 @@ + + + + + python@gentoo.org + +