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 E0F77158087 for ; Thu, 3 Feb 2022 10:58:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B19802BC013; Thu, 3 Feb 2022 10:58:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E31B2BC008 for ; Thu, 3 Feb 2022 10:58:23 +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 878CA342FCA for ; Thu, 3 Feb 2022 10:58:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEF0F2C6 for ; Thu, 3 Feb 2022 10:58:20 +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: <1643885897.e5cf9a81354f614613641bfda1242e4426aa1f51.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-text/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild X-VCS-Directories: dev-python/jaraco-text/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e5cf9a81354f614613641bfda1242e4426aa1f51 X-VCS-Branch: master Date: Thu, 3 Feb 2022 10:58:20 +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: ce089ed8-4b93-4d3a-824d-e0d09d7160d3 X-Archives-Hash: cf55017a5416c05b0ea0830feb711290 commit: e5cf9a81354f614613641bfda1242e4426aa1f51 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 3 10:21:45 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 3 10:58:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cf9a81 dev-python/jaraco-text: Use flit to build (for bootstrap) Signed-off-by: Michał Górny gentoo.org> dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild b/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild new file mode 100644 index 000000000000..f78beb6e0199 --- /dev/null +++ b/dev-python/jaraco-text/jaraco-text-3.7.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="Text utilities used by other projects by developer jaraco" +HOMEPAGE="https://github.com/jaraco/jaraco.text" +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/jaraco-context-4.1[${PYTHON_USEDEP}] + dev-python/jaraco-functools[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3_8 pypy3) +" + +distutils_enable_sphinx docs \ + ">=dev-python/jaraco-packaging-3.2" \ + ">=dev-python/rst-linker-1.9" +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "jaraco.text" + version = "${PV}" + description = "Module for text manipulation" + EOF +}