diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-11 13:28:31 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-11 13:28:31 +0000 |
| commit | 5d746f47a67753f93058197eb3c72cb7b44cdfd3 (patch) | |
| tree | 31de3cedabd99d8d4f11cbe375ffb706632bc092 /dev-python/isort | |
| parent | 8a9f28d9fd3f3e0141566caf8b6ff044ad02ae21 (diff) | |
| download | baldeagleos-repo-5d746f47a67753f93058197eb3c72cb7b44cdfd3.tar.gz baldeagleos-repo-5d746f47a67753f93058197eb3c72cb7b44cdfd3.tar.xz baldeagleos-repo-5d746f47a67753f93058197eb3c72cb7b44cdfd3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/isort')
| -rw-r--r-- | dev-python/isort/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/isort/isort-5.11.4.ebuild | 71 | ||||
| -rw-r--r-- | dev-python/isort/isort-5.12.0.ebuild | 2 |
3 files changed, 1 insertions, 73 deletions
diff --git a/dev-python/isort/Manifest b/dev-python/isort/Manifest index 6f431d1236dc..5f6b11e3a97e 100644 --- a/dev-python/isort/Manifest +++ b/dev-python/isort/Manifest @@ -1,2 +1 @@ -DIST isort-5.11.4.gh.tar.gz 733368 BLAKE2B 82a9738cf48fd662c6128c7f58766e6b204d93fee73cbdd0d84850a62a1a714322dc6c31429a3b043401a963178c4aa3120e98c8f590f24799b75a92f9427798 SHA512 fd7dd8938cc700fa4a295bf1aabb9dc479e1b837e443e3210e4f2234316e207293eeb6f666b49ed2bc4f92942b3185de64439ce86ece201093072fee905766a8 DIST isort-5.12.0.gh.tar.gz 743141 BLAKE2B a7f8deef02b57162eebe15b35e71382c654372a80dedba7eee63d0c9b0899c053fb517401585af17014db3cf9ed44089f6cbd1e2b0ed17393cc667de06bfbddd SHA512 ceb861d1a077be6fecd82fde775bded1fb676c77135e2004c92a6221762e0b3ff6c1071d17957e1add4062ec26ba6c9264e4905724f2c659339cbd0601f4b45e diff --git a/dev-python/isort/isort-5.11.4.ebuild b/dev-python/isort/isort-5.11.4.ebuild deleted file mode 100644 index ab52142e6ae0..000000000000 --- a/dev-python/isort/isort-5.11.4.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="A python utility/library to sort imports" -HOMEPAGE=" - https://github.com/PyCQA/isort/ - https://pypi.org/project/isort/ -" -SRC_URI=" - https://github.com/PyCQA/isort/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/tomli[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/black[${PYTHON_USEDEP}] - dev-python/colorama[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/natsort[${PYTHON_USEDEP}] - dev-python/pylama[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-vcs/git - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unbundle tomli - sed -i -e 's:from ._vendored ::' isort/settings.py || die - rm -r isort/_vendored || die - # leftover toml import used to determine .toml support - sed -i -e 's:import toml:toml = True:' tests/unit/test_isort.py || die - # syntax error that triggers with new poetry-core - sed -i -e 's:pip-shims<=0.3.4:pip-shims:' pyproject.toml || die - - distutils-r1_src_prepare -} - -python_test() { - cp -a "${BUILD_DIR}"/{install,test} || die - local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} - - # Install necessary plugins - local p - for p in example*/; do - pushd "${p}" >/dev/null || die - distutils_pep517_install "${BUILD_DIR}"/test - popd >/dev/null || die - done - - local EPYTEST_IGNORE=( - # Excluded from upstream's test script - tests/unit/test_deprecated_finders.py - ) - epytest tests/unit -} diff --git a/dev-python/isort/isort-5.12.0.ebuild b/dev-python/isort/isort-5.12.0.ebuild index 3685e174a82d..398f1baf6781 100644 --- a/dev-python/isort/isort-5.12.0.ebuild +++ b/dev-python/isort/isort-5.12.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/tomli[${PYTHON_USEDEP}] |
