diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/clustershell/clustershell-1.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/clustershell/clustershell-1.6.ebuild')
-rw-r--r-- | app-admin/clustershell/clustershell-1.6.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-admin/clustershell/clustershell-1.6.ebuild b/app-admin/clustershell/clustershell-1.6.ebuild new file mode 100644 index 000000000000..6a13780d51c7 --- /dev/null +++ b/app-admin/clustershell/clustershell-1.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: test phase + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="xml" +inherit distutils-r1 + +DESCRIPTION="Python framework for efficient cluster administration" +HOMEPAGE="https://cea-hpc.github.com/clustershell/" +SRC_URI="https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CeCILL-C" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" + +RDEPEND="dev-libs/openssl" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +src_install() { + distutils-r1_src_install + + if use doc ; then + local i + for i in $(ls -I man "${S}"/doc) ; do + dodoc -r doc/${i} + done + fi + + doman doc/man/man*/* + + insinto /etc/${PN} + doins -r conf/* +} + +pkg_postinst() { + einfo + einfo "Some default system-wide config files have been installed into" + einfo "/etc/${PN}" + einfo +} |