From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B68B1158087 for ; Thu, 27 Jan 2022 10:02:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82E3C2BC021; Thu, 27 Jan 2022 10:02:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08D2E2BC004 for ; Thu, 27 Jan 2022 10:02:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E66763431BF for ; Thu, 27 Jan 2022 10:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4014D2A0 for ; Thu, 27 Jan 2022 10:02:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1643277735.0c11f0846ab6bd82b4dcf3051b49d84f59864714.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/terminaltables/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild dev-python/terminaltables/terminaltables-9999.ebuild X-VCS-Directories: dev-python/terminaltables/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0c11f0846ab6bd82b4dcf3051b49d84f59864714 X-VCS-Branch: master Date: Thu, 27 Jan 2022 10:02:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14e66f98-b2b2-40eb-86a5-5616e28c43f6 X-Archives-Hash: 982f70d593f9f623da66a773375385be commit: 0c11f0846ab6bd82b4dcf3051b49d84f59864714 Author: Michał Górny gentoo org> AuthorDate: Thu Jan 27 09:35:00 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 27 10:02:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c11f084 dev-python/terminaltables: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> ...9999.ebuild => terminaltables-3.1.10-r1.ebuild} | 24 +++++++++++++++++----- .../terminaltables/terminaltables-9999.ebuild | 12 +++++++++-- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild similarity index 51% copy from dev-python/terminaltables/terminaltables-9999.ebuild copy to dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild index ed12c5a82704..76c1156f4c7a 100644 --- a/dev-python/terminaltables/terminaltables-9999.ebuild +++ b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild @@ -1,20 +1,22 @@ -# 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 +inherit distutils-r1 DESCRIPTION="Generate simple tables in terminals from a nested list of strings" HOMEPAGE="https://robpol86.github.io/terminaltables/" -EGIT_REPO_URI="https://github.com/matthewdeanmartin/${PN}.git" +SRC_URI=" + https://github.com/matthewdeanmartin/terminaltables/archive/v${PV}.tar.gz + -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" BDEPEND=" test? ( @@ -24,3 +26,15 @@ BDEPEND=" )" distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/terminaltables-3.1.0-stdout.patch +) + +src_prepare() { + sed -e '/requires/s:poetry:&-core:' \ + -e '/backend/s:poetry:&.core:' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} 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 +}