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 873AA158088 for ; Sun, 16 Jan 2022 17:53:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BDF12BC020; Sun, 16 Jan 2022 17:53:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 AAA912BC00C for ; Sun, 16 Jan 2022 17:53:18 +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 A9F8F342ECB for ; Sun, 16 Jan 2022 17:53:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41912268 for ; Sun, 16 Jan 2022 17:53:16 +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: <1642354915.6cb599698d9e2629c47f5553231e75506564548a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flit_core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flit_core/flit_core-3.6.0-r2.ebuild X-VCS-Directories: dev-python/flit_core/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6cb599698d9e2629c47f5553231e75506564548a X-VCS-Branch: master Date: Sun, 16 Jan 2022 17:53:16 +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: 7ce675d0-ea03-4159-84b4-87c4fab39712 X-Archives-Hash: 4e0d423a9a274d18cc9354a71990ef59 commit: 6cb599698d9e2629c47f5553231e75506564548a Author: Michał Górny gentoo org> AuthorDate: Wed Jan 12 22:59:20 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 16 17:41:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb59969 dev-python/flit_core: Convert to PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/flit_core/flit_core-3.6.0-r2.ebuild | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-python/flit_core/flit_core-3.6.0-r2.ebuild b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild new file mode 100644 index 000000000000..9c37301f443b --- /dev/null +++ b/dev-python/flit_core/flit_core-3.6.0-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/tomli[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r flit_core/vendor || die + sed -i -e 's:from \.vendor ::' flit_core/*.py || die + distutils-r1_src_prepare +}