commit:     32235eb79dd29af102e4c5a654a928013ece57b1
Author:     Martin Gysel <me <AT> bearsh <DOT> org>
AuthorDate: Sat Dec 23 15:08:16 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 17:30:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32235eb7

dev-vcs/git-cola: 4.2.1: fix setuptools-69 breakage

See also: 
https://github.com/git-cola/git-cola/commit/b53983c7fa7d29dd6f474177015fcb6f2ee0e6d1
Bug: https://bugs.gentoo.org/920534
Signed-off-by: Martin Gysel <me <AT> bearsh.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/git-cola-4.2.1-fix-setuptools.patch      | 24 ++++++++++++++++++++++
 ...-cola-4.2.1.ebuild => git-cola-4.2.1-r1.ebuild} |  2 ++
 2 files changed, 26 insertions(+)

diff --git a/dev-vcs/git-cola/files/git-cola-4.2.1-fix-setuptools.patch 
b/dev-vcs/git-cola/files/git-cola-4.2.1-fix-setuptools.patch
new file mode 100644
index 000000000000..d1453c3f163e
--- /dev/null
+++ b/dev-vcs/git-cola/files/git-cola-4.2.1-fix-setuptools.patch
@@ -0,0 +1,24 @@
+From b53983c7fa7d29dd6f474177015fcb6f2ee0e6d1 Mon Sep 17 00:00:00 2001
+From: David Aguilar <[email protected]>
+Date: Thu, 2 Nov 2023 01:33:16 -0700
+Subject: [PATCH] pyproject.toml: list dependencies and optional-dependencies
+ as dynamic
+
+Signed-off-by: David Aguilar <[email protected]>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 20b3008e0..97cdf79b4 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -13,7 +13,7 @@ classifiers = [
+       "Topic :: Software Development :: Version Control :: Git",
+ ]
+ description = "A sleek and powerful Git GUI"
+-dynamic = ["version"]
++dynamic = ["dependencies", "optional-dependencies", "version"]
+ license = {file = "COPYING"}
+ readme = "README.md"
+ 

diff --git a/dev-vcs/git-cola/git-cola-4.2.1.ebuild 
b/dev-vcs/git-cola/git-cola-4.2.1-r1.ebuild
similarity index 94%
rename from dev-vcs/git-cola/git-cola-4.2.1.ebuild
rename to dev-vcs/git-cola/git-cola-4.2.1-r1.ebuild
index 79239901785f..14d1a8b01c21 100644
--- a/dev-vcs/git-cola/git-cola-4.2.1.ebuild
+++ b/dev-vcs/git-cola/git-cola-4.2.1-r1.ebuild
@@ -38,6 +38,8 @@ BDEPEND="sys-devel/gettext
                )
        ")
 "
+# https://bugs.gentoo.org/920534
+PATCHES=( "${FILESDIR}/${P}-fix-setuptools.patch" )
 
 distutils_enable_sphinx docs \
        'dev-python/rst-linker'

Reply via email to