commit:     a980b2c6065c73225aecd5744e85c9e75f3802c4
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 28 15:40:55 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Aug 28 15:40:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a980b2c6

dev-util/flawfinder: setuptools warnings detected

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

 dev-util/flawfinder/files/flawfinder-2.0.18-setup.patch | 9 +++++++++
 dev-util/flawfinder/flawfinder-2.0.18.ebuild            | 2 ++
 2 files changed, 11 insertions(+)

diff --git a/dev-util/flawfinder/files/flawfinder-2.0.18-setup.patch 
b/dev-util/flawfinder/files/flawfinder-2.0.18-setup.patch
new file mode 100644
index 00000000000..322a8175a5b
--- /dev/null
+++ b/dev-util/flawfinder/files/flawfinder-2.0.18-setup.patch
@@ -0,0 +1,9 @@
+--- a/setup.cfg        2021-08-28 17:28:07.213901557 +0200
++++ b/setup.cfg        2021-08-28 17:29:34.009628777 +0200
+@@ -1,5 +1,5 @@
+ [metadata]
+-description-file = README.md
++description_file = README.md
+ 
+ [bdist_wheel]
+ universal=1

diff --git a/dev-util/flawfinder/flawfinder-2.0.18.ebuild 
b/dev-util/flawfinder/flawfinder-2.0.18.ebuild
index b4b8332321b..ae56037d4df 100644
--- a/dev-util/flawfinder/flawfinder-2.0.18.ebuild
+++ b/dev-util/flawfinder/flawfinder-2.0.18.ebuild
@@ -15,6 +15,8 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~sparc-solaris ~x86-solaris"
 
+PATCHES=( "${FILESDIR}"/${P}-setup.patch )
+
 src_prepare() {
        sed -e "s/${PN}.1.gz/${PN}.1/g" -i setup.py || die 'sed failed'
        default

Reply via email to