dev-python/autocommand: Sync with Gentoo

It's from Gentoo commit 3604b6736fc276ca1fc3932810be50d4e6da488a.
This commit is contained in:
Flatcar Buildbot 2024-02-19 07:12:32 +00:00 committed by Krzesimir Nowak
parent a7f5ca43ab
commit 0e99aad665
2 changed files with 31 additions and 1 deletions

View File

@ -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

View File

@ -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 <code@bnavigator.de>
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"