1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6} )
6 inherit python-single-r1
8 DESCRIPTION="A small python based utility used to change configuration files"
9 HOMEPAGE="http://setconf.roboticoverlords.org/"
10 SRC_URI="http://${PN}.roboticoverlords.org/${P}.tar.xz"
14 KEYWORDS="~amd64 ~x86"
16 RDEPEND=${PYTHON_DEPS}
18 # "REQUIRED_USE is needed to have a (un-)nice error when someone disabled all of python3" -mgorny
19 REQUIRED_USE=${PYTHON_REQUIRED_USE}
22 python-single-r1_pkg_setup
32 python_fix_shebang -f "${PN}.py"
36 python_doscript "${PN}.py"
37 dosym "${PN}.py" "/usr/bin/${PN}"