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 B74FC13835A for ; Fri, 8 May 2020 17:26:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07036E081A; Fri, 8 May 2020 17:26:04 +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 CA9D5E081A for ; Fri, 8 May 2020 17:26:03 +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 97AC034F1DC for ; Fri, 8 May 2020 17:26:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D3EF103 for ; Fri, 8 May 2020 17:26:00 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1588958753.2d0b36ec9ef5edc463a2d2ea9933a2a9aa8143b7.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pipenv/, dev-python/pipenv/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pipenv/Manifest dev-python/pipenv/files/pipenv-2020.4.1_beta1-disable-networked-tests.patch dev-python/pipenv/pipenv-2020.4.1_beta1.ebuild X-VCS-Directories: dev-python/pipenv/files/ dev-python/pipenv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 2d0b36ec9ef5edc463a2d2ea9933a2a9aa8143b7 X-VCS-Branch: master Date: Fri, 8 May 2020 17:26:00 +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: 9da55586-5dd3-406e-b935-7c5207b569e5 X-Archives-Hash: 199e19e38648a72cfb6486f4e872c92e commit: 2d0b36ec9ef5edc463a2d2ea9933a2a9aa8143b7 Author: Oz Tiram gmail com> AuthorDate: Mon May 4 18:17:58 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri May 8 17:25:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0b36ec dev-python/pipenv: 2020.4.1_beta1 Closes: https://github.com/gentoo/gentoo/pull/15645 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Oz Tiram gmail.com> Signed-off-by: Sebastian Pipping gentoo.org> dev-python/pipenv/Manifest | 1 + ...nv-2020.4.1_beta1-disable-networked-tests.patch | 41 +++++++++++++++++++ dev-python/pipenv/pipenv-2020.4.1_beta1.ebuild | 46 ++++++++++++++++++++++ 3 files changed, 88 insertions(+) diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest index 28df266db99..cf530a16f7e 100644 --- a/dev-python/pipenv/Manifest +++ b/dev-python/pipenv/Manifest @@ -1 +1,2 @@ DIST pipenv-2018.11.26.tar.gz 6560580 BLAKE2B a3846de696733b5f3f393163999d7f333b52accdcebadfd800507defd1108ac4ccb288b39fb805ecf03e417cfe0d1a8b2fc714a95e8ee4485f8622ff8fe4a1ca SHA512 59582ad4a0730083ea58867f7a5d9714290d62947f56bec80e154d4359fe1dff16e44974a7fba3841e5f2516f2ce9709baf9954c9fc40fd66ebc46c3060d4dea +DIST pipenv-2020.4.1_beta1.tar.gz 11331009 BLAKE2B 55ac81238b885bdf0293199ca1caf44a78f3cdbec75c9df259411b949dec8b385161e7ef46160ca099ef51041410d8c5d1274ad200eba5c2a9d06c8a5f61c5f1 SHA512 a5de90ae9910a30666ac7323ccf83b78ee11d8993aef1a2108a44f4256d365d0c1abfff72c83748ef82215914931090c670a10eeb511cb48483762b54c80e5c7 diff --git a/dev-python/pipenv/files/pipenv-2020.4.1_beta1-disable-networked-tests.patch b/dev-python/pipenv/files/pipenv-2020.4.1_beta1-disable-networked-tests.patch new file mode 100644 index 00000000000..f3ba4ff6502 --- /dev/null +++ b/dev-python/pipenv/files/pipenv-2020.4.1_beta1-disable-networked-tests.patch @@ -0,0 +1,41 @@ +From 7cf8c7ee7eaba1b5a11562a7ef656b0606383fe8 Mon Sep 17 00:00:00 2001 +From: Oz Tiram +Date: Mon, 4 May 2020 21:52:09 +0000 +Subject: [PATCH] Disable test cases that requires network + +--- + tests/unit/test_utils.py | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py +index 4b9cd75c..1c73964b 100644 +--- a/tests/unit/test_utils.py ++++ b/tests/unit/test_utils.py +@@ -47,16 +47,6 @@ DEP_PIP_PAIRS = [ + }, + "-e svn+svn://svn.myproject.org/svn/MyProject#egg=MyProject", + ), +- ( +- # Extras in url +- { +- "discord.py": { +- "file": "https://github.com/Rapptz/discord.py/archive/async.zip", +- "extras": ["voice"], +- } +- }, +- "https://github.com/Rapptz/discord.py/archive/async.zip#egg=discord.py[voice]", +- ), + ( + { + "requests": { +@@ -222,6 +212,7 @@ class TestUtils: + assert pipenv.utils.is_valid_url(url) + assert pipenv.utils.is_valid_url(not_url) is False + ++ @pytest.mark.skip("Network required. Gentoo tests run in a sendbox without network") + @pytest.mark.utils + def test_download_file(self): + url = "https://github.com/pypa/pipenv/blob/master/README.md" +-- +2.26.2 + diff --git a/dev-python/pipenv/pipenv-2020.4.1_beta1.ebuild b/dev-python/pipenv/pipenv-2020.4.1_beta1.ebuild new file mode 100644 index 00000000000..8182443641b --- /dev/null +++ b/dev-python/pipenv/pipenv-2020.4.1_beta1.ebuild @@ -0,0 +1,46 @@ +# 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 + +MY_PV=${PV/_beta/b} +DESCRIPTION="Python Development Workflow for Humans" +HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/" +SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/pip-18.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + >=dev-python/virtualenv-clone-0.2.5[${PYTHON_USEDEP}] + >=dev-python/setuptools-36.2.1[${PYTHON_USEDEP}]" +DEPEND="test? ( + ${RDEPEND} + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] +