summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-12 16:43:22 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-12 16:52:34 +0200
commit0384c5c6e42f0b31e05d611f122640a179e0bd51 (patch)
treee87bd21e1a4bdfe5a2c0f8588085ccfbe0cfdaf5 /dev-python
parentdev-python/pytest-cov: Remove obsolete transitive dep on toml (diff)
downloadgentoo-0384c5c6e42f0b31e05d611f122640a179e0bd51.tar.gz
gentoo-0384c5c6e42f0b31e05d611f122640a179e0bd51.tar.bz2
gentoo-0384c5c6e42f0b31e05d611f122640a179e0bd51.zip
dev-python/isort: Correct deps to use tomli
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/isort/isort-5.10.1-r2.ebuild (renamed from dev-python/isort/isort-5.10.1-r1.ebuild)13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-python/isort/isort-5.10.1-r1.ebuild b/dev-python/isort/isort-5.10.1-r2.ebuild
index 3ce357892d29..7f3956652c3b 100644
--- a/dev-python/isort/isort-5.10.1-r1.ebuild
+++ b/dev-python/isort/isort-5.10.1-r2.ebuild
@@ -9,17 +9,22 @@ PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A python utility/library to sort imports"
-HOMEPAGE="https://pypi.org/project/isort/"
+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"
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
- dev-python/toml[${PYTHON_USEDEP}]"
+ dev-python/tomli[${PYTHON_USEDEP}]
+"
BDEPEND="
test? (
dev-python/black[${PYTHON_USEDEP}]
@@ -35,7 +40,7 @@ BDEPEND="
distutils_enable_tests pytest
src_prepare() {
- # unbundle toml
+ # unbundle tomli
sed -i -e 's:from ._vendored ::' isort/settings.py || die
rm -r isort/_vendored || die
# remove upper bounds from example plugin deps