diff options
author | 2022-01-27 10:35:00 +0100 | |
---|---|---|
committer | 2022-01-27 11:02:15 +0100 | |
commit | 0c11f0846ab6bd82b4dcf3051b49d84f59864714 (patch) | |
tree | b1068217f2aa6d1a1ceacd1a4369e36fe8b88d4e /dev-python/terminaltables/terminaltables-9999.ebuild | |
parent | dev-util/libabigail: add missing dep for pkg.m4 (diff) | |
download | gentoo-0c11f0846ab6bd82b4dcf3051b49d84f59864714.tar.gz gentoo-0c11f0846ab6bd82b4dcf3051b49d84f59864714.tar.bz2 gentoo-0c11f0846ab6bd82b4dcf3051b49d84f59864714.zip |
dev-python/terminaltables: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/terminaltables/terminaltables-9999.ebuild')
-rw-r--r-- | dev-python/terminaltables/terminaltables-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild index ed12c5a82704..c5cb790fdd38 100644 --- a/dev-python/terminaltables/terminaltables-9999.ebuild +++ b/dev-python/terminaltables/terminaltables-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 git-r3 @@ -24,3 +24,11 @@ BDEPEND=" )" distutils_enable_tests pytest + +src_prepare() { + sed -e '/requires/s:poetry:&-core:' \ + -e '/backend/s:poetry:&.core:' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} |