diff --git a/sdk_container/src/third_party/portage-stable/dev-python/autocommand/autocommand-2.2.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/autocommand/autocommand-2.2.2.ebuild index 458d17f0cb..5c2c6ee2ac 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/autocommand/autocommand-2.2.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/autocommand/autocommand-2.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,4 +22,8 @@ LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +PATCHES=( + "${FILESDIR}"/${PN}-2.2.2-setuptools-license.patch +) + distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch b/sdk_container/src/third_party/portage-stable/dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch new file mode 100644 index 0000000000..b0d6fdd5a2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch @@ -0,0 +1,26 @@ +https://bugs.gentoo.org/917754 +https://github.com/Lucretiel/autocommand/issues/28 +https://github.com/Lucretiel/autocommand/pull/31 + +From cf98b8bc024f536565a67369a9f9a506fe67b942 Mon Sep 17 00:00:00 2001 +From: Ben Greiner +Date: Fri, 22 Dec 2023 14:15:46 +0100 +Subject: [PATCH] License is dynamic + +--- + pyproject.toml | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pyproject.toml b/pyproject.toml +index aa30b35..5221f65 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -18,6 +18,7 @@ classifiers = [ + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", + ] ++dynamic = [ "license" ] + + [project.urls] + "Homepage" = "https://github.com/Lucretiel/autocommand" +