1 |
commit: fea0f7ba531d4d61347df8d667a77b4f8a4b1460 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 26 01:01:10 2015 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 26 01:01:10 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea0f7ba |
7 |
|
8 |
app-admin/clustershell: add libressl support |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
app-admin/clustershell/clustershell-1.6-r1.ebuild | 48 +++++++++++++++++++++++ |
13 |
1 file changed, 48 insertions(+) |
14 |
|
15 |
diff --git a/app-admin/clustershell/clustershell-1.6-r1.ebuild b/app-admin/clustershell/clustershell-1.6-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..4b24802 |
18 |
--- /dev/null |
19 |
+++ b/app-admin/clustershell/clustershell-1.6-r1.ebuild |
20 |
@@ -0,0 +1,48 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+# TODO: test phase |
26 |
+ |
27 |
+EAPI=5 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python2_7 ) |
30 |
+PYTHON_REQ_USE="xml" |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="Python framework for efficient cluster administration" |
34 |
+HOMEPAGE="https://cea-hpc.github.com/clustershell/" |
35 |
+SRC_URI="https://github.com/cea-hpc/clustershell/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="CeCILL-C" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="doc libressl" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ !libressl? ( dev-libs/openssl:0 ) |
44 |
+ libressl? ( dev-libs/libressl )" |
45 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
46 |
+ |
47 |
+src_install() { |
48 |
+ distutils-r1_src_install |
49 |
+ |
50 |
+ if use doc ; then |
51 |
+ local i |
52 |
+ for i in $(ls -I man "${S}"/doc) ; do |
53 |
+ dodoc -r doc/${i} |
54 |
+ done |
55 |
+ fi |
56 |
+ |
57 |
+ doman doc/man/man*/* |
58 |
+ |
59 |
+ insinto /etc/${PN} |
60 |
+ doins -r conf/* |
61 |
+} |
62 |
+ |
63 |
+pkg_postinst() { |
64 |
+ einfo |
65 |
+ einfo "Some default system-wide config files have been installed into" |
66 |
+ einfo "/etc/${PN}" |
67 |
+ einfo |
68 |
+} |