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 C7AFA138355 for ; Sun, 29 Mar 2020 09:50:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 034F2E0B14; Sun, 29 Mar 2020 09:50:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 D4CE8E0B1E for ; Sun, 29 Mar 2020 09:50:27 +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 81CDC34FAF4 for ; Sun, 29 Mar 2020 09:50:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09B8A1B0 for ; Sun, 29 Mar 2020 09:50:16 +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: <1585475397.e55e90a3a149eceaa267216615bba2a26a29ccca.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/stripe/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/stripe/Manifest dev-python/stripe/stripe-2.42.0.ebuild X-VCS-Directories: dev-python/stripe/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e55e90a3a149eceaa267216615bba2a26a29ccca X-VCS-Branch: master Date: Sun, 29 Mar 2020 09:50:16 +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: a3050f3d-9191-46f6-9cf9-0afdf342b904 X-Archives-Hash: ee17c38d7757b81b29d5649616663f23 commit: e55e90a3a149eceaa267216615bba2a26a29ccca Author: Michał Górny gentoo org> AuthorDate: Sun Mar 29 09:23:23 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 29 09:49:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55e90a3 dev-python/stripe: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/stripe/Manifest | 1 - dev-python/stripe/stripe-2.42.0.ebuild | 69 ---------------------------------- 2 files changed, 70 deletions(-) diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest index e48a06b7c66..f1d9b9ff72c 100644 --- a/dev-python/stripe/Manifest +++ b/dev-python/stripe/Manifest @@ -1,2 +1 @@ -DIST stripe-2.42.0.tar.gz 217456 BLAKE2B 0bd0b31ab1a9a004932ea20b20d7965c05aee12c26d9a6f41af16179fd4c73f9ea08140a157a6ce502a2fb0668de6ac75da869cabf22011977d9912661e85d05 SHA512 acffae91f19c943efe5f4a19f34ff35f8ef0b538e6cf83be6c4820020ad062f7e19365a8edfc048bc24306690dc50b66856526202f5c8830a85a86405f31db50 DIST stripe-2.43.0.tar.gz 211400 BLAKE2B 135371f793af291e1c43179bcb325a9eb84c3258d9013009f920077fbc783569b6384fa76dcf464aa9fdbe64a4a297d6c232f3719729a81e1d62c74b769ff5f7 SHA512 a91f4f268b5c533cdd378c3169cf6e29b11b3b79492cd8b01b21970459383d63fa726fb206aba111ef8e57c2b98eecd6ba3ef9fdb868efc2db69f0cba8f74554 diff --git a/dev-python/stripe/stripe-2.42.0.ebuild b/dev-python/stripe/stripe-2.42.0.ebuild deleted file mode 100644 index 342d2ab5aa5..00000000000 --- a/dev-python/stripe/stripe-2.42.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7} pypy3 ) -inherit distutils-r1 - -DESCRIPTION="Stripe python bindings" -HOMEPAGE="https://github.com/stripe/stripe-python" -SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/requests-2.20[${PYTHON_USEDEP}] -" -# See https://github.com/stripe/stripe-python/blob/v2.10.1/tests/conftest.py#L17 -# for minimum required version of stripe-mock -# Running the tests against dev-util/stripe-mock-0.47.0 resulted in test errors -DEPEND="${RDEPEND} - test? ( - >=dev-util/stripe-mock-0.76.0 - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - net-misc/curl - ) -" - -DOCS=(LONG_DESCRIPTION.rst CHANGELOG.md README.md) - -src_test() { - local stripe_mock_port=12111 - local stripe_mock_max_port=12121 - local stripe_mock_logfile="${T}/stripe_mock_${EPYTHON}.log" - # Try to start stripe-mock until we find a free port - while [[ "${stripe_mock_port}" -le "${stripe_mock_max_port}" ]]; do - ebegin "Trying to start stripe-mock on port ${stripe_mock_port}" - stripe-mock --http-port ${stripe_mock_port} &> "${stripe_mock_logfile}" & - local stripe_mock_pid=$! - sleep 2 - # Did stripe-mock start? - curl --fail -u "sk_test_123:" \ - http://127.0.0.1:${stripe_mock_port}/v1/customers &> /dev/null - eend $? "Port ${stripe_mock_port} unavailable" - if [[ $? -eq 0 ]]; then - einfo "stripe-mock running on port ${stripe_mock_port}" - break - fi - (( stripe_mock_port++ )) - done - if [[ "${stripe_mock_port}" -gt "${stripe_mock_max_port}" ]]; then - eerror "Unable to start stripe-mock for tests" - die "Please see the logfile located at: ${stripe_mock_logfile}" - fi - - distutils-r1_src_test - - # Tear down stripe-mock - kill "${stripe_mock_pid}" || die "Unable to stop stripe-mock" -} - -python_test() { - STRIPE_MOCK_PORT=${stripe_mock_port} pytest -vv || die "Tests failed with ${EPYTHON}" -}