summaryrefslogtreecommitdiff
path: root/dev-python/starcluster
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/starcluster
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/starcluster')
-rw-r--r--dev-python/starcluster/Manifest6
-rw-r--r--dev-python/starcluster/files/starcluster-0.93.3-requires.patch19
-rw-r--r--dev-python/starcluster/metadata.xml11
-rw-r--r--dev-python/starcluster/starcluster-0.93.3-r2.ebuild64
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-python/starcluster/Manifest b/dev-python/starcluster/Manifest
new file mode 100644
index 000000000000..29a72c1cde94
--- /dev/null
+++ b/dev-python/starcluster/Manifest
@@ -0,0 +1,6 @@
+AUX starcluster-0.93.3-requires.patch 877 SHA256 e3e49b3bc206d7538e567d83ecf8fbe62f607cffa8a418ae31f90d66bf36c148 SHA512 82d061d8b0461f8f0a686a1a4d4369471ca5846e6dea7f2b31b60ee314fcf9872b3c3e3aaec9e3a8eea795985c4f9ef44c6276be542ee71fba5ecb430540c85a WHIRLPOOL 523e8e793b2028424a8cf0d33248c1172ee4bd39adb60785ed2d0868e78fbf3fad827f760c8ccfbdc4bbd90d82e78df0fecf3673db8b8eb089e0a0200a2557f2
+DIST StarCluster-0.93.3.tar.gz 2334885 SHA256 fcda894be33ba309b1c7a94d6c28f1674c3f05ec756133138a39db2138d080d0 SHA512 f81cfc528a00f45f6e720645f44666947f1c51dd3453ac5d78b201d6c3a3cd9f6d97cb7a2802eaf04603d9a19810045ca6071722c9af884ba7e407ffc99078ea WHIRLPOOL b6bfde98f3b660211c5e08965cc6ee31fc9038ec4039ef5aa12ab9c5d474f60f66c1745fb93cce7e05cb361cff6091f60714168ffca81e4033f2fecc5d9d448f
+EBUILD starcluster-0.93.3-r2.ebuild 1724 SHA256 8bf14c3d91d364d4a80dc67a4ce25ee5022e717f5b7aefb611f84bbd9c5b0f73 SHA512 2ad932638b5543478e60a58fc2daa3468d7a627757a5616f6c3abfde77ee545d81076ca40aa9006a1721de9a058747e123ce9ff4cd0793c9ecdf387ec4d1cac8 WHIRLPOOL 7f9d823053078bd56164f692615131b09a1bdc20a2dcb36e1ccba5fc5bf7454f25a3169837b6c8c8194faba41e8a1d25b573b054bb954bc86f9de4b820068379
+MISC ChangeLog 2603 SHA256 a10c8069347c6c1c29704396d0e2343f87eed28a9efd7425bc9c2116e69a817d SHA512 4a41f9d354d1b106626a2c6a62c2c592b967fb9e96a195fe0a050488bae78e53fbbd13fef5b69597e8d67e17aa1a4203f28a64e071a166e94cb3b77673a8d4a5 WHIRLPOOL fc2df278fb9c8d706b5295c79398896bbb2414fc3afa0337d59f3798aa1628268cb6cb66058367366ed9171b3a652865bb9b9fb071ced1faa865bc4942eb3472
+MISC ChangeLog-2015 2104 SHA256 f3199f7088e4fb953e05d688f0d5bc0ba0e9f25bc168de55e096f3feaf24deb3 SHA512 9af1de5f8c8433705a75a97336d7eee135f411500a5531cbe3a49ed5747ae0549d12bad3781126fcb6a5b47062f20ff1605815395de9f725f038af7268810748 WHIRLPOOL 6816858dd59750b449e6970d05e5f3bb05f1e331cbca3e3d86dcf4464a6866137ef3401bd2a4d55cf21ecf8ec879cff5904ea80e067e0bba753b14a2592d4489
+MISC metadata.xml 339 SHA256 ebab3ebdf38b1a4cb01381f20ef6d5e70ef860f720010af41adc6c5030d62a5c SHA512 7fe1d0c89ab68ec44c46c89664769a1a505dd0cdedb915b363d39fc1e68257543dc68a100a02a3ba6c7290c9d4d1b52ff39740e5292cc8b93f37f744fa6fc1ad WHIRLPOOL 41d49f23e043bbb29b64f6fb01c4ddc84901406c60e1c52f2a512efee83f02315ae89e564255850d25b04c038a413f9c4aa8eb0dde0ecba931d287ff5e67c60c
diff --git a/dev-python/starcluster/files/starcluster-0.93.3-requires.patch b/dev-python/starcluster/files/starcluster-0.93.3-requires.patch
new file mode 100644
index 000000000000..fb3f284ecb7a
--- /dev/null
+++ b/dev-python/starcluster/files/starcluster-0.93.3-requires.patch
@@ -0,0 +1,19 @@
+Patch by JT Riley, Bug #437912
+diff --git a/setup.py b/setup.py
+index 241b7ce..3c52c68 100644
+--- a/setup.py
++++ b/setup.py
+@@ -12,9 +12,9 @@ try:
+ console_scripts = ['starcluster = starcluster.cli:main']
+ extra = dict(test_suite="starcluster.tests",
+ tests_require="nose",
+- install_requires=["ssh==1.7.13", "boto==2.3.0",
+- "workerpool==0.9.2", "Jinja2==2.6",
+- "decorator==3.3.1", "pyasn1==0.0.13b"],
++ install_requires=["ssh>=1.7.13", "boto>=2.3.0",
++ "workerpool>=0.9.2", "Jinja2>=2.6",
++ "decorator>=3.3.1", "pyasn1>=0.0.13b"],
+ include_package_data=True,
+ entry_points=dict(console_scripts=console_scripts),
+ zip_safe=False)
+
diff --git a/dev-python/starcluster/metadata.xml b/dev-python/starcluster/metadata.xml
new file mode 100644
index 000000000000..7c2b58b443a8
--- /dev/null
+++ b/dev-python/starcluster/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="epydoc">Enable build of apidocs in html using epydoc</flag>
+ </use>
+ <upstream>
+ <remote-id type="pypi">StarCluster</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/starcluster/starcluster-0.93.3-r2.ebuild b/dev-python/starcluster/starcluster-0.93.3-r2.ebuild
new file mode 100644
index 000000000000..a3c1657337fa
--- /dev/null
+++ b/dev-python/starcluster/starcluster-0.93.3-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 bash-completion-r1
+MY_PN=StarCluster
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Utility for creating / managing general purpose computing clusters"
+HOMEPAGE="http://web.mit.edu/star/cluster"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc epydoc"
+
+RDEPEND=">=dev-python/ssh-1.7.13[${PYTHON_USEDEP}]
+ >=dev-python/boto-2.3.0[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.6-r1[${PYTHON_USEDEP}]
+ >=dev-python/decorator-3.1.1[${PYTHON_USEDEP}]
+ >=dev-python/pyasn1-0.0.13_beta[${PYTHON_USEDEP}]
+ >=dev-python/workerpool-0.9.2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
+ dev-python/epydoc[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}] )
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-requires.patch )
+
+python_compile_all() {
+ use doc && emake -C docs/sphinx html
+ mkdocs() {
+ local exit_status=0
+ local msg="build with epydoc failed"
+ pushd docs/epydoc/
+ PATH=$PATH:./ PYTHONPATH="${BUILD_DIR}/lib" ./build.sh || exit_status=1
+ [[ $exit_status != 0 ]] && eerror "$msg"
+ popd sets
+ return $exit_status
+ }
+ use epydoc && mkdocs
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ newbashcomp "${S}"/completion/${PN}-completion.sh ${PN}
+ use doc && dohtml -r docs/sphinx/_build/html/
+ if use epydoc; then
+ docompress -x usr/share/doc/${PF}/apidocs/api-objects.txt
+ insinto usr/share/doc/${PF}/
+ doins -r "${S}"/docs/apidocs/
+ fi
+}
+
+python_test() {
+ nosetests || die -v ${PN}/tests || die
+}