summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-08-28 17:40:55 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-08-28 17:40:55 +0200
commita980b2c6065c73225aecd5744e85c9e75f3802c4 (patch)
tree579a8f763cebc6ed3437beb03c8d3a998337aa7c /dev-util
parentsci-geosciences/folium: setuptools warnings detected (diff)
downloadgentoo-a980b2c6065c73225aecd5744e85c9e75f3802c4.tar.gz
gentoo-a980b2c6065c73225aecd5744e85c9e75f3802c4.tar.bz2
gentoo-a980b2c6065c73225aecd5744e85c9e75f3802c4.zip
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@gentoo.org>
Diffstat (limited to 'dev-util')
-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