summaryrefslogtreecommitdiff
path: root/dev-python/autocommand
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-06 05:42:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-06 05:42:43 +0000
commit9e0addc1cf71ebec277b59e38eb3fa30e650cf9f (patch)
treefad7eaf86ed6caf32c2c6e1b52157364ec9a79f6 /dev-python/autocommand
parentd82c6c919aa63b46ec1683492b75162951f09072 (diff)
gentoo auto-resync : 06:02:2024 - 05:42:43
Diffstat (limited to 'dev-python/autocommand')
-rw-r--r--dev-python/autocommand/Manifest3
-rw-r--r--dev-python/autocommand/autocommand-2.2.2.ebuild6
-rw-r--r--dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch26
3 files changed, 33 insertions, 2 deletions
diff --git a/dev-python/autocommand/Manifest b/dev-python/autocommand/Manifest
index 0c1b66fd9a54..c5394a46bd01 100644
--- a/dev-python/autocommand/Manifest
+++ b/dev-python/autocommand/Manifest
@@ -1,3 +1,4 @@
+AUX autocommand-2.2.2-setuptools-license.patch 751 BLAKE2B 216b33ed90fc41d86f220ada2205d02000adbab78361de8a998e266e140b306e8b55723cc738050be4e81dc52023a5e58fcd1edc0cf97727269064432048bf13 SHA512 ddefafd3f9609fc10ac4d615a733f80082b69e1f9c1a644271119ad6936b1d1b5e5da6a2f354ef788638503e4b521715a436df8d02c1e2f6978845e3e5ae914f
DIST autocommand-2.2.2.gh.tar.gz 22188 BLAKE2B 757fd96d0505466e7d3e371e13e931d0dd20d9b02da3e88c2bf85b1b946ef6c67fb14366856fe66c23adab5d635c4bd08d51acc7e55830636cce5aa0a0c265bc SHA512 5ed109db16a0e309ed5107b26db0b70ed8669d73817e82eb5a219650d29f53785aa1f9471b2ac71d21dbffc9f0a13ea0fdf69e63ab534fd84407a1d6741cf5b5
-EBUILD autocommand-2.2.2.ebuild 698 BLAKE2B a387a79b8b4fb83e4350cc8248507722f1c3c05c8bab8e417ab745e84d1e21501911e59f47107bc896c61ec04ea0f55c16266d92c2839a1d1a17d5e1f23ed8df SHA512 199d413e6b135497394822e1295a390b38b677d6f4d076b6f47217ce6e2c8c47a2155a6dd9c0f1f94f718730db5d18c7d851bb924cdbb7c82f493ff80a406e58
+EBUILD autocommand-2.2.2.ebuild 763 BLAKE2B ac8d3dc2716757f1db25d6ed8bf8bb80cc414c4a080f63990a138ecaedee3877f2cb634b6a2eada8f2ae0eef277142228ccca1541b11ee033eab702c397fd513 SHA512 bf1097319cb832ec8a303e33b1b99e15f1006ff3f98ebad7727b71747acbdc416e3b9dec87988819856a9f68c1fa1944685efc8664feef8589d36d55aeb9ed01
MISC metadata.xml 400 BLAKE2B 95ed35eafef6d3e0b7535b90e4d3d6f4972ad285decfb2b8a74b118f30899aabf883399ece61272713bcea1a20d0dc56447fab6ac6c11b05c23f542a1a4074b4 SHA512 2d74432fd9281403f4ca70f5b44bdea14a87bb63f70b3b5a53cd4bd5ba1c9b8af64968e351b0605adaeec0bcf9424902c8df821606b54559b6932226d17e6405
diff --git a/dev-python/autocommand/autocommand-2.2.2.ebuild b/dev-python/autocommand/autocommand-2.2.2.ebuild
index 458d17f0cb76..5c2c6ee2ac68 100644
--- a/dev-python/autocommand/autocommand-2.2.2.ebuild
+++ b/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/dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch b/dev-python/autocommand/files/autocommand-2.2.2-setuptools-license.patch
new file mode 100644
index 000000000000..b0d6fdd5a2f8
--- /dev/null
+++ b/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 <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"
+