commit: 7d795014eb387cb65cc3177a842f1fff6d69782a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Nov 3 03:27:06 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Nov 3 03:27:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d795014
dev-python/flit-core: Bump to 3.10.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/flit-core/Manifest | 1 + dev-python/flit-core/flit-core-3.10.1.ebuild | 37 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/flit-core/Manifest b/dev-python/flit-core/Manifest index 3de43733e0f4..1f4eb88dbf1f 100644 --- a/dev-python/flit-core/Manifest +++ b/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.9.0.tar.gz 41917 BLAKE2B 2fb053655a494736f5f9ce2d2c193d5d98622e410c0c0f18c92eb62d32ff98cbe830a1728461ed7e7e087d2fcf5f6a0c912717c2d534be688d688c4714c6865b SHA512 1205589930d2c51d6aa6b2533a122a912e63b157e94adba2a0649a58d324fa98a5b84609d9b53e9d236f1cdb6a6984de2cefcf2f11abc2cd83956df21f269ad6 diff --git a/dev-python/flit-core/flit-core-3.10.1.ebuild b/dev-python/flit-core/flit-core-3.10.1.ebuild new file mode 100644 index 000000000000..b19cd43c416b --- /dev/null +++ b/dev-python/flit-core/flit-core-3.10.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2024 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 ) + +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 +}