From b08562db8e8f62d7f5fad783c5c98f2b0e04043d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Tue, 25 Feb 2025 12:34:14 +0100 Subject: [PATCH] dev-python/flit-core: Sync with Gentoo It's from Gentoo commit 1c52bea5cc6259a041aa6ede8b1d9393cb2c19da. --- .../dev-python/flit-core/Manifest | 1 + .../flit-core/flit-core-3.11.0.ebuild | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.11.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flit-core/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/flit-core/Manifest index 08356c292a..98a12279d8 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/flit-core/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/flit-core/Manifest @@ -1 +1,2 @@ DIST flit_core-3.10.1.tar.gz 42842 BLAKE2B bd17ab1fb955b1d829b4faaa42257176857b8a9b07132235455331cdd52943fa09fe5e4fd1091f1b15d477ec43e8084c2b409081d077c43a9a4cdbae9e8741b1 SHA512 ac0d39b6ee35b553fc8f7f3f6e558fdc32714ed64d6c506da7913ef95d00780b5f86894d9b042f32cdc51d38ec515fa02f1154b0edbc81d8e53475788c444b08 +DIST flit_core-3.11.0.tar.gz 52038 BLAKE2B 6b6e0c606429fdb8123aa2dc17336003d8348f576bf26745ffa116a5e0159e20be5b8a20c541c570a825cdb2c970380f290599a09fdcc9e3bcf4158329aff9d2 SHA512 628ffd0950da88f1775c1b193ee5c6f1af06046877ca0ad66d7ae5af7df4b49759f19a4494cf15d7a1480d34c19925ce11205e7359df9fc223bca6595f94525d diff --git a/sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.11.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.11.0.ebuild new file mode 100644 index 0000000000..dec56b2013 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.11.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2019-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simplified packaging of Python modules (core module)" +HOMEPAGE=" + https://pypi.org/project/flit-core/ + https://github.com/pypa/flit/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{9..10}) +" +BDEPEND=" + test? ( dev-python/testpath[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle deps + rm -r flit_core/vendor || die + sed -i -e 's:from \.vendor ::' flit_core/*.py || die + sed -i -e '/license-files/d' pyproject.toml || die +}