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 A7BC0138334 for ; Tue, 19 Jun 2018 18:33:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEEA8E08ED; Tue, 19 Jun 2018 18:33:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A669FE08ED for ; Tue, 19 Jun 2018 18:33:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CD041335C7F for ; Tue, 19 Jun 2018 18:33:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9643F2AD for ; Tue, 19 Jun 2018 18:33:09 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1529433049.f721d7dc9a9871eee1dd72f131e4bb66cfdd4790.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/responses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/responses/Manifest dev-python/responses/responses-0.9.0.ebuild X-VCS-Directories: dev-python/responses/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: f721d7dc9a9871eee1dd72f131e4bb66cfdd4790 X-VCS-Branch: master Date: Tue, 19 Jun 2018 18:33:09 +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: dab8e8a9-49c0-482d-9f7c-7bd08355c6cf X-Archives-Hash: 88da1b0c8cce70a514c042440d676a24 commit: f721d7dc9a9871eee1dd72f131e4bb66cfdd4790 Author: Louis Sautier gentoo org> AuthorDate: Tue Jun 19 18:30:49 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Jun 19 18:30:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f721d7dc dev-python/responses: bump to 0.9.0, EAPI=7, use PyPI tarballs Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/responses/Manifest | 1 + dev-python/responses/responses-0.9.0.ebuild | 36 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index b528a69fe6a..01141590416 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1 +1,2 @@ DIST responses-0.6.0.tar.gz 14073 BLAKE2B 27d4a4a380a9154ded1030278213c0cd87308a488199c277050fa2a0a1dad87a61086094bc35279ff9c4201d06c59613bd1b0dbd18b4d83b8321341f6f1c4bb0 SHA512 32d41be5850f0040a4f2ad82a057d6ef73f0f83f7d3c250fa223d5614470b0b8b58790667af76ecc6b0b7e8e2a0a069c46c7913e983730c968c603e2716dec0b +DIST responses-0.9.0.tar.gz 19766 BLAKE2B bd98c24d6458f33f7b8ad68edb3d0fc595a7d7b31889ff8270e1add13d537d80d67c3628ea6630674e8d49837f9d3933f680b366b4a7fab10048640a50129c48 SHA512 e5312587845cc9a3a938fa5d052ac1f04950d2eea5d83192c54affe079ee6593f3e249a24a8b43b1985c9fdc9131bfb477b93ca8a75d0386ed33cd56cc37d5ff diff --git a/dev-python/responses/responses-0.9.0.ebuild b/dev-python/responses/responses-0.9.0.ebuild new file mode 100644 index 00000000000..091b251b27a --- /dev/null +++ b/dev-python/responses/responses-0.9.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE="https://github.com/getsentry/responses" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/requests-2.0[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + ) +" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +}