[StarCluster] Initial import

Orion Poplawski orion at fedoraproject.org
Tue May 7 19:55:03 UTC 2013


commit 9bf37cf4add8f33709db9c16462797ee845eb488
Author: Orion Poplawski <orion at nwra.com>
Date:   Tue May 7 13:55:02 2013 -0600

    Initial import

 .gitignore                 |    1 +
 StarCluster-requires.patch |   16 +++++++
 StarCluster.spec           |  101 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 4 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..217c039 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/StarCluster-0.93.3.tar.gz
diff --git a/StarCluster-requires.patch b/StarCluster-requires.patch
new file mode 100644
index 0000000..4dfe4f0
--- /dev/null
+++ b/StarCluster-requires.patch
@@ -0,0 +1,16 @@
+diff -up StarCluster-0.93.3/setup.py.requires StarCluster-0.93.3/setup.py
+--- StarCluster-0.93.3/setup.py.requires	2013-04-07 19:37:48.552700222 -0600
++++ StarCluster-0.93.3/setup.py	2013-04-07 19:43:48.423604673 -0600
+@@ -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", "boto",
++                                   "workerpool", "Jinja2",
++                                   "decorator", "pyasn1"],
+                  include_package_data=True,
+                  entry_points=dict(console_scripts=console_scripts),
+                  zip_safe=False)
diff --git a/StarCluster.spec b/StarCluster.spec
new file mode 100644
index 0000000..49cd211
--- /dev/null
+++ b/StarCluster.spec
@@ -0,0 +1,101 @@
+Name:           StarCluster
+Version:        0.93.3
+Release:        5%{?dist}
+Summary:        Tool for managing computing clusters hosted on Amazon's EC2
+
+# Core of StarCluster is LGPLv3
+# sshutils/scp.py and progressbar.py are LGPLv2+
+# Jquery is both (MIT or BSD or GPLv2) and (MIT or GPLv2)
+License:        LGPLv3 and LGPLv2+ and (MIT or BSD or GPLv2) and (MIT or GPLv2)
+URL:            http://star.mit.edu/cluster
+Source0:        https://pypi.python.org/packages/source/S/StarCluster/StarCluster-%{version}.tar.gz
+# Remove explicit version requires from package
+Patch0:         StarCluster-requires.patch
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-sphinx
+Requires:       python-iptools
+Requires:       python-boto
+Requires:       python-decorator
+Requires:       python-iptools
+Requires:       python-jinja2
+Requires:       python-optcomplete
+Requires:       python-pyasn1
+Requires:       python-ssh
+Requires:       python-workerpool
+
+%description
+StarCluster is an open source cluster-computing toolkit for Amazon’s Elastic
+Compute Cloud (EC2).
+
+StarCluster has been designed to automate and simplify the process of
+building, configuring, and managing clusters of virtual machines on Amazon’s
+EC2 cloud. StarCluster allows anyone to easily create a cluster computing
+environment in the cloud suited for distributed and parallel computing
+applications and systems. 
+
+
+%package doc
+Summary:        Documentation for %{name}
+# Neuton-webfont is ASL 2.0
+# Jquery is both (MIT or BSD or GPLv2) and (MIT or GPLv2)
+# Docs seem to be under same license as core module (LGPLv3)
+# *.css files are BSD
+License:        LGPLv3 and BSD and ASL 2.0 and (MIT or BSD or GPLv2) and (MIT or GPLv2)
+Requires:       %{name}-%{version}-%{release}
+
+%description doc
+Documentation for %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .requires
+# Remove egg-info
+rm -r %{name}.egg-info
+# Remove bundled modules
+rm -r starcluster/{iptools,optcomplete}.py
+find -name \*.py | xargs sed -i -e 's/^from starcluster import \(iptools\|optcomplete\)/import \1/'
+# Remove /usr/bin/python from libary code
+sed -i -e '\,#!/usr/bin/python,d' starcluster/*.py
+
+
+%build
+%{__python} setup.py build
+cd docs/sphinx
+make html
+# Remove empty file
+rm _build/html/.buildinfo
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+ 
+%files
+%doc Changelog COPYING COPYING.LESSER README.rst
+%{_bindir}/starcluster
+%{python_sitelib}/*
+
+%files doc
+%doc docs/sphinx/_build/html
+
+
+%changelog
+* Mon May 6 2013 Orion Poplawski <orion at cora.nwra.com> 0.93.3-5
+- Drop buildroot cleanup
+- Remove empty .buildinfo file
+
+* Mon May 6 2013 Orion Poplawski <orion at cora.nwra.com> 0.93.3-4
+- Final license
+
+* Fri May 2 2013 Orion Poplawski <orion at cora.nwra.com> 0.93.3-3
+- Make doc depend on main package
+- Remove shipped egg-info
+
+* Thu May 2 2013 Orion Poplawski <orion at cora.nwra.com> 0.93.3-2
+- Fix up requires
+- Build docs, separate package
+
+* Sun Apr 7 2013 Orion Poplawski <orion at cora.nwra.com> 0.93.3-1
+- Initial Fedora package
diff --git a/sources b/sources
index e69de29..1f4963e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afb4d6d83ebf13b61916d2969dd215d5  StarCluster-0.93.3.tar.gz


More information about the scm-commits mailing list