1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 python3_{6,7} )
10 DESCRIPTION="Examines C/C++ source code for security flaws"
11 HOMEPAGE="https://www.dwheeler.com/flawfinder/"
12 SRC_URI="https://www.dwheeler.com/${PN}/${P}.tar.gz"
16 KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
19 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21 DEPEND="${PYTHON_DEPS}"
25 sed -i "s/${PN}.1.gz/${PN}.1/g" setup.py || die 'sed failed.'
33 python_install_all() {
34 local DOCS=( announcement ChangeLog README.md ${PN}.pdf )
35 distutils-r1_python_install_all