1 |
commit: 50ad2b202b6644f13ed0cb0ccc843e7c97ad5273 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 8 13:32:28 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 8 13:35:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ad2b20 |
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.10.0.ebuild | 59 ------------------------------------ |
14 |
2 files changed, 60 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest |
17 |
index 58056178936f..fd4260d7faa5 100644 |
18 |
--- a/dev-python/isort/Manifest |
19 |
+++ b/dev-python/isort/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST isort-5.10.0.gh.tar.gz 728239 BLAKE2B 6a206cdd4ebceb29f8c76f1c08b3217da1d76b56bbfbf177175d08f502884ae1f0700dc1443c92c28d68d257cb6468e2210d35a2003680303aa2ae9eaefe3ce3 SHA512 e8de97d6714ad626974e601a676b35a324b306a9f6033fd5cdd4cf5a5caf29cbc3238dca8cbf38e749866776f01aa58026159f53a4181f6637daf93181726ad2 |
22 |
DIST isort-5.10.1.gh.tar.gz 728462 BLAKE2B 5b892b9849293e8730e6d89592bace62009a8589d185b4d3a5bafded605ccd46fd0f2986fbad5cf1d72321d030e3193a111ab7e6114c6b4a7a67696f546b3a14 SHA512 545c1844bacc1d2d9e87e60b03b30a846ee1ebbfe2a229c3e018a2e1cc6e9a04a3691f1b2e7ec8575806f2341bc1af15eb64904b4eabd786d6b9b289cea5ce2a |
23 |
|
24 |
diff --git a/dev-python/isort/isort-5.10.0.ebuild b/dev-python/isort/isort-5.10.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 70b2084a9486..000000000000 |
27 |
--- a/dev-python/isort/isort-5.10.0.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..10} ) |
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 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 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 EPYTEST_IGNORE=( |
84 |
- # Excluded from upstream's test script |
85 |
- tests/unit/test_deprecated_finders.py |
86 |
- ) |
87 |
- epytest tests/unit |
88 |
-} |