update isort-5.6.3 from main repo

This commit is contained in:
Andreas Billmeier 2020-11-27 19:24:05 +01:00 committed by Andreas Billmeier
parent d4396474e8
commit 8f9290ed4a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 54 additions and 0 deletions

View File

@ -4,7 +4,9 @@ AUX isort-5.5.3-notest.patch 336 BLAKE2B e562c92e766231e295681f2ad8d6f172548a34a
DIST isort-5.5.1.tar.gz 144834 BLAKE2B 3cbc2611684787c9b2c4cfb71669d6ff9a0b379774c27bb6b1724e33b9c249e41ce2ab002dd29615bc40ff6b7f94ed1cba489ae8d6934172a81d191d217fd72b SHA512 f5e4ed0aededaa00bb0498e6ae23b8e65eb0429cbd1a63ddafc479d894a8e3241b880f4b9db0dea69a3dc793174f14603c45459a4f307f5c2cd5e315e09a7476
DIST isort-5.5.2.tar.gz 145020 BLAKE2B 718c3e748333e17a29b19a46779c40b21a674efb3b3358851973f383719a64fda44ab352bd005e368e0bec3d5c20472c27dba8f0e62ef53c7fd80785a4cc0228 SHA512 687e523073b671f7144027ce05b388566809673ffa36bc5890a51eb38f3a85c40d9861e6d2ee70e70710725579fe63a28ca45c0a8bc902761ad02bfe4656e5d2
DIST isort-5.5.3.tar.gz 145442 BLAKE2B 2f28f1ee82455f75dc59c372c80dd8ae1c85cee3652fbf8557bea262639d7428ff7cbca506126b63ba9a4e02d83d204416baef82618d8a53a70f90d97034e141 SHA512 ba787e30f4ec0b055c360a2cba00d7bbd26fdd4a500085db33043ee2a4e53eac08b5c14a8d451933dd3fe628821ba0e0599592605d52bcb540f1b581fab5d82e
DIST isort-5.6.3.tar.gz 161712 BLAKE2B ffbc2977016807d2bd5b1644377efad021af2ad27fd0e27feae1e5dfdfd112c7b5bf4b296ebf47ea6bfcbfe7f56cf3bfa8e1e7cf03963935660e678223397afb SHA512 fa2d9be306d03fc802aab3915bee2c41f4fe0c28353d9d99aa6604755e1602027cd81afca92b4302f80497c88a9dcb2701ec02ca55a5f9a2866669a68368d957
EBUILD isort-5.5.1.ebuild 739 BLAKE2B a44527e9b9b3152c9e603ff55a81d6f21a68499f9420e93fab7f9ca0a83bbfed3a136cee8850c83c6309e7b81a2d95c84608ca122a58ec68a666acae1e503168 SHA512 d0fe228e2ee543097a2b7058490a278c9c78c9f795fb978b345f0d3772ce8a4d9b3c2d1bb6c6b377c715002e19b649c4293b6d2573926df1ce3cb1cafc01ecbd
EBUILD isort-5.5.2.ebuild 783 BLAKE2B abe87a5d17e1cbaa3112798b8164060772897cab9d570231207a9a5f809d091d0c0c2bc4bfaae27237dfa13b7535ae6d9c05026be080988567d281de127f0262 SHA512 004e45a601f701a55043dce5e6764e7138b1a9536c09a3e3b9d8470b0016b1d78a128bfaf4b95c3e80e0ac967444694b4891f322c658024fe322f9db7687198d
EBUILD isort-5.5.3.ebuild 783 BLAKE2B abe87a5d17e1cbaa3112798b8164060772897cab9d570231207a9a5f809d091d0c0c2bc4bfaae27237dfa13b7535ae6d9c05026be080988567d281de127f0262 SHA512 004e45a601f701a55043dce5e6764e7138b1a9536c09a3e3b9d8470b0016b1d78a128bfaf4b95c3e80e0ac967444694b4891f322c658024fe322f9db7687198d
EBUILD isort-5.6.3-r1.ebuild 1658 BLAKE2B c005f4c529fe08264d20bc89560a925819c1b85eb9b81598471ed1ee0b29cddb65ce9b37a30fa98c0d3c75e793babdce7febafda94efc8fa2730e7fb26fa1af7 SHA512 60bffe33a5131e5ab5dab7737cd0b66f29abd31632f4e2cd1250791f0fc294b7865569315320865fad43f0ef88737f3c8cd9943f0b1fa633596fc61fcdfdfc22
MISC metadata.xml 458 BLAKE2B c03a13ef442ebce39f40c5e0d4265a5a4ce1976166f1d692a4893485c5d4d2ac8e1911c383e8de514fc26a3ce7b67b70368181e8acffbde5e4c4fce36c0518a3 SHA512 05c9fd94e98a70121f6c59024844e12f5841ab22497107612c3980df52e31f5dd2468298a1051d5a6c4a53823afea28efd3773c9c388fdfd86bd2328ff8119d9

View File

@ -0,0 +1,52 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="A python utility/library to sort imports"
HOMEPAGE="https://pypi.org/project/isort/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~ia64 x86 amd64-linux x86-linux"
BDEPEND="
test? (
dev-python/black[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pylama[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-vcs/git
)
"
distutils_enable_tests pytest
python_test() {
# Some tests run the "isort" command
distutils_install_for_testing
local skipped_tests=(
# Fails without -s, run it separately to avoid unnecessary output
tests/unit/test_importable.py
# Excluded from upstream's test script
tests/unit/test_deprecated_finders.py
# Require "example_isort_formatting_plugin", we're not going
# to add an example package just to run a few tests
tests/unit/test_literal.py::test_value_assignment_list
tests/unit/test_ticketed_features.py::test_isort_supports_formatting_plugins_issue_1353
tests/unit/test_ticketed_features.py::test_isort_literals_issue_1358
# Same here: requires "example_shared_isort_profile"
tests/unit/test_ticketed_features.py::test_isort_supports_shared_profiles_issue_970
)
pytest -s tests/unit/test_importable.py \
|| die "Tests failed with ${EPYTHON}"
pytest -vv tests/unit ${skipped_tests[@]/#/--deselect } \
|| die "Tests failed with ${EPYTHON}"
}