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 3DB42138351 for ; Thu, 2 Apr 2020 11:41:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 266CFE0DDB; Thu, 2 Apr 2020 11:41:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1E2EE0DD6 for ; Thu, 2 Apr 2020 11:41:52 +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 8BE7234F014 for ; Thu, 2 Apr 2020 11:41:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C78C158 for ; Thu, 2 Apr 2020 11:41:49 +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: <1585827702.7a6bd1434df6548c3678d98a0f3785a30c3aa6ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpretty/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/httpretty/Manifest dev-python/httpretty/httpretty-1.0.2.ebuild X-VCS-Directories: dev-python/httpretty/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7a6bd1434df6548c3678d98a0f3785a30c3aa6ea X-VCS-Branch: master Date: Thu, 2 Apr 2020 11:41:49 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 75ca8450-3046-4a4b-a312-e1cf4c2202c7 X-Archives-Hash: 86d071bb5cc2727a19be26c8e621ef59 commit: 7a6bd1434df6548c3678d98a0f3785a30c3aa6ea Author: Michał Górny gentoo org> AuthorDate: Thu Apr 2 10:30:59 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Apr 2 11:41:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6bd143 dev-python/httpretty: Bump to 1.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/httpretty/Manifest | 1 + dev-python/httpretty/httpretty-1.0.2.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/httpretty/Manifest b/dev-python/httpretty/Manifest index 3b957d22e48..54077ea86c6 100644 --- a/dev-python/httpretty/Manifest +++ b/dev-python/httpretty/Manifest @@ -1,2 +1,3 @@ DIST httpretty-0.9.6.tar.gz 7147633 BLAKE2B e1d02ddfce5ca987c6ef1a17723544f86a8573c2a6a26ec197072021e52015efce5064af21bfbe1ec03f3ac11c21717a80f114b5be2526b113e3bc0a608702f4 SHA512 bc1c64d34370209c732bc12dd9935600b647507ab2c8f18c85f348e9b5e853618ba39e10e5a073b35036e6cbe3db2cb7a342a721d0e4affa81fe178fd0b75d92 DIST httpretty-0.9.7.tar.gz 6967749 BLAKE2B e2192871ca4f0f0c0bc7c39570251d26a6d78b6e5aabb1857df2b5c3533ae066400fca323d53e1790bfa2a1509e8ebb87d20d49659620087ca3c3765648662ec SHA512 4a1cdfc09af14ab2bc6eec84ad0905103ffb48c3154b127f646b39ff131584a52b1fd56bfe7a41959fc68d64eff94a221f9bf5a159a3dbfb3535fe4ac76c6170 +DIST httpretty-1.0.2.tar.gz 399185 BLAKE2B 033e954fccf6a351c09dac3c1585ddc65f064eca109dfd8f499fd510ea09ba3ce5198d3f4b54fb832b47425ab721ddc1b2da596b6066028bda1f0a1303cdc0ed SHA512 f9ef1c82f4fe3a31696e06228cea512664c5118b3c32910d7810d1fcf16b05d31b9b55db7bb6bd64967aadb162a2952757627439769db9117164b8248de9049c diff --git a/dev-python/httpretty/httpretty-1.0.2.ebuild b/dev-python/httpretty/httpretty-1.0.2.ebuild new file mode 100644 index 00000000000..448717cb08c --- /dev/null +++ b/dev-python/httpretty/httpretty-1.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="HTTP client mock for Python" +HOMEPAGE="https://github.com/gabrielfalcao/httpretty" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/urllib3[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + >=dev-python/nose-1.2[${PYTHON_USEDEP}] + dev-python/sure[${PYTHON_USEDEP}] + dev-python/httplib2[${PYTHON_USEDEP}] + >=dev-python/requests-1.1[${PYTHON_USEDEP}] + >=www-servers/tornado-2.2[${PYTHON_USEDEP}] +)" + +python_prepare_all() { + # remove useless deps + sed -i -e '/randomly/d' -e '/rednose/d' setup.cfg || die + # tests requiring network access + rm tests/functional/test_passthrough.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + nosetests -v tests || die "Tests fail with ${EPYTHON}" +}