From 60842dbca2359fe4ae511f59dad434625c076e8f Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Thu, 11 May 2017 14:53:51 +0200 Subject: app-admin/clustershell: Version bump to 1.7.3 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- app-admin/clustershell/clustershell-1.7.3.ebuild | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 app-admin/clustershell/clustershell-1.7.3.ebuild (limited to 'app-admin/clustershell/clustershell-1.7.3.ebuild') diff --git a/app-admin/clustershell/clustershell-1.7.3.ebuild b/app-admin/clustershell/clustershell-1.7.3.ebuild new file mode 100644 index 000000000000..3756006e28cf --- /dev/null +++ b/app-admin/clustershell/clustershell-1.7.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: test phase + +EAPI=6 + +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="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc libressl test" + +CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" +RDEPEND="${CDEPEND} + dev-python/pyyaml[${PYTHON_USEDEP}] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" + +RESTRICT="test" # currently fail + +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/* +} + +python_test() { + cd tests || die + nosetests -sv --all-modules || die +} + +pkg_postinst() { + einfo + einfo "Some default system-wide config files have been installed into" + einfo "/etc/${PN}" + einfo +} -- cgit v1.2.3-18-g5258