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 AFBC5158CB7 for ; Wed, 18 Aug 2021 13:33:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2988E07FA; Wed, 18 Aug 2021 13:33:30 +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 CD305E07FA for ; Wed, 18 Aug 2021 13:33:30 +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 9765733D3C1 for ; Wed, 18 Aug 2021 13:33:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CFD98B3 for ; Wed, 18 Aug 2021 13:33:28 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1629293596.6f583f0ebf698afcd5cc227f00aae83837f4047c.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pipenv/files/, dev-python/pipenv/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-attr-vendor-import.patch dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-colorama-vendor-import.patch dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-attr-vendor-import.patch dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-colorama-vendor-import.patch dev-python/pipenv/pipenv-2021.5.29-r2.ebuild X-VCS-Directories: dev-python/pipenv/ dev-python/pipenv/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 6f583f0ebf698afcd5cc227f00aae83837f4047c X-VCS-Branch: master Date: Wed, 18 Aug 2021 13:33:28 +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: 3b1d18e4-58f1-4afc-8c90-aa194d0798de X-Archives-Hash: 926651c53a952078f9114373ea635825 commit: 6f583f0ebf698afcd5cc227f00aae83837f4047c Author: Oz N Tiram gmail com> AuthorDate: Tue Aug 10 08:34:49 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Aug 18 13:33:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f583f0e dev-python/pipenv: bump rev-2 * Disable py3.7 * Fix attr->attrs Signed-off-by: Oz N Tiram gmail.com> Bug: https://bugs.gentoo.org/show_bug.cgi?id=717666 Closes: https://github.com/gentoo/gentoo/pull/21925 Signed-off-by: Joonas Niilola gentoo.org> ...v-2021-5-29-r2-remove-attr-vendor-import.patch} | 0 ...21-5-29-r2-remove-colorama-vendor-import.patch} | 0 dev-python/pipenv/pipenv-2021.5.29-r2.ebuild | 61 ++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-attr-vendor-import.patch b/dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-attr-vendor-import.patch similarity index 100% rename from dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-attr-vendor-import.patch rename to dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-attr-vendor-import.patch diff --git a/dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-colorama-vendor-import.patch b/dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-colorama-vendor-import.patch similarity index 100% rename from dev-python/pipenv/files/pipenv-2021-5-29-r1-remove-colorama-vendor-import.patch rename to dev-python/pipenv/files/pipenv-2021-5-29-r2-remove-colorama-vendor-import.patch diff --git a/dev-python/pipenv/pipenv-2021.5.29-r2.ebuild b/dev-python/pipenv/pipenv-2021.5.29-r2.ebuild new file mode 100644 index 00000000000..77de678dfaf --- /dev/null +++ b/dev-python/pipenv/pipenv-2021.5.29-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8..10} ) + +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" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}-${PV//./-}-${PR}-remove-attr-vendor-import.patch" + "${FILESDIR}/${PN}-${PV//./-}-${PR}-remove-colorama-vendor-import.patch" + ) + +RDEPEND=" + ${PYTHON_DEPS} + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.1[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}] + dev-python/virtualenv-clone[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # remove vendored version of PyYAML that is backported to Python2 + rm -vR "${S}/${PN}/patched/yaml2/" || die + # remove vendored versions + # see https://bugs.gentoo.org/717666 + rm -vR "${S}/${PN}/vendor/attr/" || die + rm -vR "${S}/${PN}/vendor/colorama/" || die + rm -vR "${S}/${PN}/vendor/jinja2/" || die + distutils-r1_src_prepare +} + +python_test() { + pytest -vvv -x -m "not cli and not needs_internet" tests/unit/ || die +}