From 3b86a0c3c440449e8a015212ae6e08594d2ca869 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 17 Mar 2025 07:06:55 +0000 Subject: [PATCH] dev-python/flit-core: Sync with Gentoo It's from Gentoo commit 3b0f832a59f43b1a77b6be2aafb5debe33103492. --- .../dev-python/flit-core/Manifest | 1 - .../flit-core/flit-core-3.10.1.ebuild | 37 ------------------- .../flit-core/flit-core-3.11.0.ebuild | 7 +++- 3 files changed, 6 insertions(+), 39 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.10.1.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 98a12279d8..cfabffe7b4 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,2 +1 @@ -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.10.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.10.1.ebuild deleted file mode 100644 index 9537812b9e..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/flit-core/flit-core-3.10.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# 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() { - rm -r flit_core/vendor || die - sed -i -e 's:from \.vendor ::' flit_core/*.py || die - distutils-r1_src_prepare -} 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 index dec56b2013..1a99d14666 100644 --- 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 @@ -17,7 +17,7 @@ HOMEPAGE=" 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" +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 ' @@ -38,3 +38,8 @@ src_prepare() { sed -i -e 's:from \.vendor ::' flit_core/*.py || die sed -i -e '/license-files/d' pyproject.toml || die } + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}