Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pipenv/
Date: Sun, 17 Oct 2021 09:13:54
Message-Id: 1634461770.f0ad98e7c382fab36035a5681947668847392bf8.mgorny@gentoo
1 commit: f0ad98e7c382fab36035a5681947668847392bf8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 09:09:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 09:09:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ad98e7
7
8 dev-python/pipenv: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pipenv/Manifest | 1 -
13 dev-python/pipenv/pipenv-2020.11.15.ebuild | 52 ------------------------------
14 dev-python/pipenv/pipenv-2021.5.29.ebuild | 52 ------------------------------
15 3 files changed, 105 deletions(-)
16
17 diff --git a/dev-python/pipenv/Manifest b/dev-python/pipenv/Manifest
18 index 367d1680221..705aed4da95 100644
19 --- a/dev-python/pipenv/Manifest
20 +++ b/dev-python/pipenv/Manifest
21 @@ -1,2 +1 @@
22 -DIST pipenv-2020.11.15.tar.gz 11603983 BLAKE2B 552c35c942f9ece0f52419b6090b87c7dce0c49dd9dc12f8c5b3eb311058fc770ec9e2b141e960d357064c66c6de7cd0892d2dd19868e5cdaee0f302f98fb0ff SHA512 d312059b3fefc97d4cd79bf2b75d6bde1d117d92c0a299c30181a60ebea662a6c3dff0ca7b92c610dd8eb0c873509dd23c9a891761d0d47d0bba2cab738c830d
23 DIST pipenv-2021.5.29.tar.gz 11607230 BLAKE2B 8eef8e79fbdfaf85a949437d06d9f8b48f7eaa6e4769f6d4ed90b01c0ebf70c282fc90581cce5ffcab0aeb6bc9ad770a8b4425f355a06e0fc4cd56fb221386e2 SHA512 4fa018c13d4babe856bf5671cf5d18a95f4af4b6d4fc64c4919825fe04004ed3d8979ca335b851c6e24dad081475f6fb5b925eeff58c6fb5cffc450b967ed1cd
24
25 diff --git a/dev-python/pipenv/pipenv-2020.11.15.ebuild b/dev-python/pipenv/pipenv-2020.11.15.ebuild
26 deleted file mode 100644
27 index 9028b19d5c2..00000000000
28 --- a/dev-python/pipenv/pipenv-2020.11.15.ebuild
29 +++ /dev/null
30 @@ -1,52 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -DISTUTILS_USE_SETUPTOOLS=rdepend
37 -PYTHON_COMPAT=( python3_{7,8,9} )
38 -
39 -inherit distutils-r1
40 -
41 -MY_PV=${PV/_beta/b}
42 -DESCRIPTION="Python Development Workflow for Humans"
43 -HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/"
44 -SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
45 -S="${WORKDIR}"/${PN}-${MY_PV}
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
50 -IUSE="test"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="
54 - ${PYTHON_DEPS}
55 - dev-python/certifi[${PYTHON_USEDEP}]
56 - dev-python/pip[${PYTHON_USEDEP}]
57 - >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}]
58 - dev-python/virtualenv-clone[${PYTHON_USEDEP}]
59 -"
60 -BDEPEND="
61 - ${RDEPEND}
62 - test? (
63 - dev-python/flaky[${PYTHON_USEDEP}]
64 - dev-python/mock[${PYTHON_USEDEP}]
65 - dev-python/pytest[${PYTHON_USEDEP}]
66 - dev-python/pytz[${PYTHON_USEDEP}]
67 - )
68 -"
69 -
70 -src_prepare() {
71 - # remove vendored version of PyYAML that is backported to Python2
72 - # this should be removed when upstream removes support for Python2
73 - rm -vR "${S}/${PN}/patched/yaml2/" || die
74 - # disable running of unittests in parallel with xdist
75 - sed -i 's/addopts = -ra -n auto/;&/g' setup.cfg || die
76 - sed -i 's/plugins = xdist/;&/g' setup.cfg || die
77 - distutils-r1_src_prepare
78 -}
79 -
80 -python_test() {
81 - pytest -vvv -x -m "not cli and not needs_internet" tests/unit/ || die
82 -}
83
84 diff --git a/dev-python/pipenv/pipenv-2021.5.29.ebuild b/dev-python/pipenv/pipenv-2021.5.29.ebuild
85 deleted file mode 100644
86 index 9028b19d5c2..00000000000
87 --- a/dev-python/pipenv/pipenv-2021.5.29.ebuild
88 +++ /dev/null
89 @@ -1,52 +0,0 @@
90 -# Copyright 1999-2021 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=7
94 -
95 -DISTUTILS_USE_SETUPTOOLS=rdepend
96 -PYTHON_COMPAT=( python3_{7,8,9} )
97 -
98 -inherit distutils-r1
99 -
100 -MY_PV=${PV/_beta/b}
101 -DESCRIPTION="Python Development Workflow for Humans"
102 -HOMEPAGE="https://github.com/pypa/pipenv https://pypi.org/project/pipenv/"
103 -SRC_URI="https://github.com/pypa/pipenv/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
104 -S="${WORKDIR}"/${PN}-${MY_PV}
105 -
106 -LICENSE="MIT"
107 -SLOT="0"
108 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
109 -IUSE="test"
110 -RESTRICT="!test? ( test )"
111 -
112 -RDEPEND="
113 - ${PYTHON_DEPS}
114 - dev-python/certifi[${PYTHON_USEDEP}]
115 - dev-python/pip[${PYTHON_USEDEP}]
116 - >=dev-python/virtualenv-20.0.35[${PYTHON_USEDEP}]
117 - dev-python/virtualenv-clone[${PYTHON_USEDEP}]
118 -"
119 -BDEPEND="
120 - ${RDEPEND}
121 - test? (
122 - dev-python/flaky[${PYTHON_USEDEP}]
123 - dev-python/mock[${PYTHON_USEDEP}]
124 - dev-python/pytest[${PYTHON_USEDEP}]
125 - dev-python/pytz[${PYTHON_USEDEP}]
126 - )
127 -"
128 -
129 -src_prepare() {
130 - # remove vendored version of PyYAML that is backported to Python2
131 - # this should be removed when upstream removes support for Python2
132 - rm -vR "${S}/${PN}/patched/yaml2/" || die
133 - # disable running of unittests in parallel with xdist
134 - sed -i 's/addopts = -ra -n auto/;&/g' setup.cfg || die
135 - sed -i 's/plugins = xdist/;&/g' setup.cfg || die
136 - distutils-r1_src_prepare
137 -}
138 -
139 -python_test() {
140 - pytest -vvv -x -m "not cli and not needs_internet" tests/unit/ || die
141 -}