summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz N Tiram <oz.tiram@gmail.com>2022-04-11 23:57:46 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-04-19 08:56:11 +0300
commitb749584b82fbccb124d67d319762b7e7aa6a68cd (patch)
tree09893310402d40208884ba85a994764f8d84d340 /dev-python/pipenv
parentdev-python/pipenv: add 2022.4.8 (diff)
downloadgentoo-b749584b82fbccb124d67d319762b7e7aa6a68cd.tar.gz
gentoo-b749584b82fbccb124d67d319762b7e7aa6a68cd.tar.bz2
gentoo-b749584b82fbccb124d67d319762b7e7aa6a68cd.zip
dev-python/pipenv: drop 2021.11.9
Signed-off-by: Oz N Tiram <oz.tiram@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24999 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pipenv')
-rw-r--r--dev-python/pipenv/Manifest1
-rw-r--r--dev-python/pipenv/files/pipenv-2021-11-9-remove-attr-vendor-import.patch25
-rw-r--r--dev-python/pipenv/files/pipenv-2021-11-9-remove-colorama-vendor-import.patch67
-rw-r--r--dev-python/pipenv/pipenv-2021.11.9.ebuild65
4 files changed, 0 insertions, 158 deletions
diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest
index 62ddd605ba4e..3bcdf0bbc623 100644
--- a/dev-python/pipenv/Manifest
+++ b/dev-python/pipenv/Manifest
@@ -1,4 +1,3 @@
DIST pipenv-2021.11.23.tar.gz 11378116 BLAKE2B aa30c86aa3b20333d0bffc8c49761869cc9e86b69920abe5e58a0aa7ccf35a8faf6b8b29ce408c85239624a999ca4e67f4a687e1e9aa15271bea31a135acdb7d SHA512 3873a3e7de33677b63bb133e397f46030ec28a24479b38009a4c409d93277327e8f53694fa56fdb8120f9cd632e849fde6f4205e29d9f5704c8844101e8e8298
-DIST pipenv-2021.11.9.tar.gz 11652360 BLAKE2B ab7d733e0c44a8551d2b786680646f5efa9effdc6b6a74fc0b8286336c84b9795229036cc8b7179a4ee3d6c91701d82fdd2e8303c7c9a9da1e06eb78fb2a0214 SHA512 6ad44fe70d3e3f5bbdedb891c76ad1c37863e6f4215c34f2ef6aa1a35b89fb6262f8c55f7f2e71544e550d66d20567f12ce4698f9e3a899853aa49a0849c3189
DIST pipenv-2022.1.8.tar.gz 11379235 BLAKE2B b73df14688ebe6d0c6153c64c2f3cd5106f184466061177cebfac120fc49af403a5d27919a8ff0e5a40e04a9950ab9949938c1d4c8d0c1a4df98440a3a2a2ae0 SHA512 9bad380548723172eddbbb9ebfc35a46effbd8eeeff47ad347d0ab5ae9f52e20de8dfc205dab6fb8ae8763edc488cf867a64ed443895242feb444d1bc0d9b8e0
DIST pipenv-2022.4.8.tar.gz 11822017 BLAKE2B b647bf5dbbdb6a38ace41bc58c3178199c0c7cada826f18d0f58c6f3cd60290fa714ca434d19cf468cf316d51ac0895460cb007d677b53462a7efc86f3d3bb2e SHA512 8c0ed65b9431b785f86bc4fa0a0a55d96228ed2f9483805536fa3056853dbfabeac02578f694e9a3f2e00be579183d10dcbb957fb834d475e1621de6a05ebd2e
diff --git a/dev-python/pipenv/files/pipenv-2021-11-9-remove-attr-vendor-import.patch b/dev-python/pipenv/files/pipenv-2021-11-9-remove-attr-vendor-import.patch
deleted file mode 100644
index 2454d04f12ef..000000000000
--- a/dev-python/pipenv/files/pipenv-2021-11-9-remove-attr-vendor-import.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 0c31638a41a95ada109a3fd13e1e8380d2b8a731 Mon Sep 17 00:00:00 2001
-From: Oz N Tiram <oz.tiram@gmail.com>
-Date: Thu, 11 Nov 2021 13:05:13 +0100
-Subject: [PATCH 1/2] Remove vendored attr.
-
----
- pipenv/installers.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/pipenv/installers.py b/pipenv/installers.py
-index 5baa1933..f7982ab6 100644
---- a/pipenv/installers.py
-+++ b/pipenv/installers.py
-@@ -3,7 +3,7 @@ import operator
- import re
- from abc import ABCMeta, abstractmethod
-
--from pipenv.vendor import attr
-+import attr
- from pipenv.utils import find_windows_executable, subprocess_run
-
-
---
-2.32.0
-
diff --git a/dev-python/pipenv/files/pipenv-2021-11-9-remove-colorama-vendor-import.patch b/dev-python/pipenv/files/pipenv-2021-11-9-remove-colorama-vendor-import.patch
deleted file mode 100644
index 4677b0860da2..000000000000
--- a/dev-python/pipenv/files/pipenv-2021-11-9-remove-colorama-vendor-import.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From 6e994dbc81c326b507c6f3119dfab56113dc17c3 Mon Sep 17 00:00:00 2001
-From: Oz N Tiram <oz.tiram@gmail.com>
-Date: Thu, 11 Nov 2021 13:05:41 +0100
-Subject: [PATCH 2/2] Remove vendored colorama
-
----
- pipenv/patched/crayons.py | 2 +-
- pipenv/vendor/yaspin/core.py | 2 +-
- tasks/vendoring/patches/patched/crayons.patch | 2 +-
- tasks/vendoring/patches/vendor/yaspin-signal-handling.patch | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/pipenv/patched/crayons.py b/pipenv/patched/crayons.py
-index d7644a21..19b0d695 100644
---- a/pipenv/patched/crayons.py
-+++ b/pipenv/patched/crayons.py
-@@ -13,7 +13,7 @@ import re
- import sys
-
- from pipenv.vendor import shellingham
--from pipenv.vendor import colorama
-+import colorama
-
- PY3 = sys.version_info[0] >= 3
-
-diff --git a/pipenv/vendor/yaspin/core.py b/pipenv/vendor/yaspin/core.py
-index d8a0716c..c9be016c 100644
---- a/pipenv/vendor/yaspin/core.py
-+++ b/pipenv/vendor/yaspin/core.py
-@@ -19,7 +19,7 @@ import time
- from typing import List, Set, Union
-
- from termcolor import colored
--from pipenv.vendor import colorama
-+import colorama
- from pipenv.vendor.vistir import cursor
-
- from .base_spinner import Spinner, default_spinner
-diff --git a/tasks/vendoring/patches/patched/crayons.patch b/tasks/vendoring/patches/patched/crayons.patch
-index 2760ca81..d021bfb1 100644
---- a/tasks/vendoring/patches/patched/crayons.patch
-+++ b/tasks/vendoring/patches/patched/crayons.patch
-@@ -10,7 +10,7 @@ index 455d3e90..de735daf 100644
- -
- -import colorama
- +from pipenv.vendor import shellingham
--+from pipenv.vendor import colorama
-++import colorama
-
- +PY3 = sys.version_info[0] >= 3
- +
-diff --git a/tasks/vendoring/patches/vendor/yaspin-signal-handling.patch b/tasks/vendoring/patches/vendor/yaspin-signal-handling.patch
-index 705650c3..95feb1c0 100644
---- a/tasks/vendoring/patches/vendor/yaspin-signal-handling.patch
-+++ b/tasks/vendoring/patches/vendor/yaspin-signal-handling.patch
-@@ -6,7 +6,7 @@ index 76dc2439..d8a0716c 100644
- from typing import List, Set, Union
-
- from termcolor import colored
--+from pipenv.vendor import colorama
-++import colorama
- +from pipenv.vendor.vistir import cursor
-
- from .base_spinner import Spinner, default_spinner
---
-2.32.0
-
diff --git a/dev-python/pipenv/pipenv-2021.11.9.ebuild b/dev-python/pipenv/pipenv-2021.11.9.ebuild
deleted file mode 100644
index 7fa754b6731a..000000000000
--- a/dev-python/pipenv/pipenv-2021.11.9.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# 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//./-}-remove-attr-vendor-import.patch"
- "${FILESDIR}/${PN}-${PV//./-}-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}]
- >=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
- >=dev-python/wheel-0.36.0[${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 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/requests/" || die
- # not actually used by pipenv, but included in pipenv
- rm -vR "${S}/${PN}/vendor/jinja2/" || die
- rm -vR "${S}/${PN}/vendor/wheel/" || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- pytest -vvv -x -m "not cli and not needs_internet" tests/unit/ || die
-}