diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/setconf/setconf-0.6.7.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/setconf/setconf-0.6.7.ebuild')
-rw-r--r-- | dev-util/setconf/setconf-0.6.7.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/setconf/setconf-0.6.7.ebuild b/dev-util/setconf/setconf-0.6.7.ebuild new file mode 100644 index 000000000000..1f5e27b579f0 --- /dev/null +++ b/dev-util/setconf/setconf-0.6.7.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit python-single-r1 + +DESCRIPTION="A small python based utility used to change configuration files" +HOMEPAGE="http://setconf.roboticoverlords.org/" +SRC_URI="http://${PN}.roboticoverlords.org/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=${PYTHON_DEPS} + +# "REQUIRED_USE is needed to have a (un-)nice error when someone disabled all of python3" -mgorny +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" || die + unpack "./${PN}.1.gz" +} + +src_prepare() { + python_fix_shebang -f "${PN}.py" +} + +src_install() { + python_doscript "${PN}.py" + dosym "${PN}.py" "/usr/bin/${PN}" + doman "${PN}.1" +} |