1 |
commit: a50943ead1a972b75043d71725301654b8ff8bdf |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 25 21:45:37 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 25 22:00:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50943ea |
7 |
|
8 |
dev-python/isort: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/isort/Manifest | 1 - |
13 |
dev-python/isort/isort-5.9.2.ebuild | 59 ------------------------------------- |
14 |
2 files changed, 60 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest |
17 |
index 41471d9161b..73a9c3a104b 100644 |
18 |
--- a/dev-python/isort/Manifest |
19 |
+++ b/dev-python/isort/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST isort-5.9.2.gh.tar.gz 728644 BLAKE2B 37fa16884e987569bceabf71d5d51b5dcf3c26a28df22b07eb5adb8f571901f5f2d0b258c09dfe720a0579836e90ffa46b1d087c536532841ff48848dd71f9b0 SHA512 286536ae5e7328085618ba37d8809b6cd46595b269755c20da0e8f5f866b810663909ed557f16d76c3d5e89b85393264aad7b1d7093cbdb33e808118a3fc7d96 |
22 |
DIST isort-5.9.3.gh.tar.gz 729342 BLAKE2B f40f046c5706ea4fd6daf7dc8eaccaca35e7de3e77bc17fa73681d12c42f7d2a3b19a909384e6b2e2486679a9f9895c2fa944faace4bbc3d0cfd0ec7aff85edd SHA512 96aa9c8bb58c95a41f562d3f0e1cf6e9c0c4158486bca24dfe2293fc86c7c6b74e3e6a84ed755d965b692b1f06d98cdc8ed69080775f8acd9186ac3ae6401570 |
23 |
|
24 |
diff --git a/dev-python/isort/isort-5.9.2.ebuild b/dev-python/isort/isort-5.9.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 3a8b75254a2..00000000000 |
27 |
--- a/dev-python/isort/isort-5.9.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,59 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
36 |
-PYTHON_COMPAT=( python3_{8..9} ) |
37 |
-inherit distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="A python utility/library to sort imports" |
40 |
-HOMEPAGE="https://pypi.org/project/isort/" |
41 |
-SRC_URI=" |
42 |
- https://github.com/PyCQA/isort/archive/${PV}.tar.gz |
43 |
- -> ${P}.gh.tar.gz" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- dev-python/toml[${PYTHON_USEDEP}]" |
51 |
-BDEPEND=" |
52 |
- test? ( |
53 |
- dev-python/black[${PYTHON_USEDEP}] |
54 |
- dev-python/colorama[${PYTHON_USEDEP}] |
55 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
56 |
- dev-python/natsort[${PYTHON_USEDEP}] |
57 |
- dev-python/pylama[${PYTHON_USEDEP}] |
58 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
59 |
- dev-vcs/git |
60 |
- ) |
61 |
-" |
62 |
- |
63 |
-distutils_enable_tests pytest |
64 |
- |
65 |
-src_prepare() { |
66 |
- # unbundle toml |
67 |
- sed -i -e 's:from ._vendored ::' isort/settings.py || die |
68 |
- |
69 |
- distutils-r1_src_prepare |
70 |
-} |
71 |
- |
72 |
-python_test() { |
73 |
- # Some tests run the "isort" command |
74 |
- distutils_install_for_testing |
75 |
- # Install necessary plugins |
76 |
- local p |
77 |
- for p in example*/; do |
78 |
- pushd "${p}" >/dev/null || die |
79 |
- distutils_install_for_testing |
80 |
- popd >/dev/null || die |
81 |
- done |
82 |
- |
83 |
- local deselect=( |
84 |
- # Excluded from upstream's test script |
85 |
- tests/unit/test_deprecated_finders.py |
86 |
- ) |
87 |
- epytest tests/unit ${deselect[@]/#/--deselect } |
88 |
-} |