summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/flawfinder/files/flawfinder-2.0.18-setup.patch9
-rw-r--r--dev-util/flawfinder/flawfinder-2.0.18.ebuild2
2 files changed, 11 insertions, 0 deletions
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 000000000000..322a8175a5bc
--- /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 b4b8332321bf..ae56037d4dfa 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