commit:     77425cbcb523a085cf61d8e6d2f2d4f3d556b081
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 28 14:54:04 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Aug 28 14:54:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77425cbc

sci-libs/branca: setuptools warnings detected

Closes: https://bugs.gentoo.org/806076
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../branca/{branca-0.4.2.ebuild => branca-0.4.2-r1.ebuild}    |  5 ++++-
 sci-libs/branca/files/branca-0.4.2-setup.patch                | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/sci-libs/branca/branca-0.4.2.ebuild 
b/sci-libs/branca/branca-0.4.2-r1.ebuild
similarity index 90%
rename from sci-libs/branca/branca-0.4.2.ebuild
rename to sci-libs/branca/branca-0.4.2-r1.ebuild
index 78650db40a7..68f61976df3 100644
--- a/sci-libs/branca/branca-0.4.2.ebuild
+++ b/sci-libs/branca/branca-0.4.2-r1.ebuild
@@ -14,7 +14,10 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-PATCHES=( "${FILESDIR}"/${P}-test.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-test.patch
+       "${FILESDIR}"/${P}-setup.patch
+)
 
 RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}

diff --git a/sci-libs/branca/files/branca-0.4.2-setup.patch 
b/sci-libs/branca/files/branca-0.4.2-setup.patch
new file mode 100644
index 00000000000..6ceea6b252b
--- /dev/null
+++ b/sci-libs/branca/files/branca-0.4.2-setup.patch
@@ -0,0 +1,11 @@
+--- a/setup.cfg        2021-08-28 16:51:20.436726385 +0200
++++ b/setup.cfg        2021-08-28 16:51:34.275526771 +0200
+@@ -20,7 +20,7 @@
+     headless: mark headless tests (deselect with '-m "not headless"')
+ 
+ [metadata]
+-description-file = README.rst
++description_file = README.rst
+ license_file = LICENSE.txt
+ 
+ [check-manifest]

Reply via email to