diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-cloudmesh-installer.spec | 240 | ||||
| -rw-r--r-- | sources | 1 | 
3 files changed, 242 insertions, 0 deletions
@@ -0,0 +1 @@ +/cloudmesh-installer-4.4.52.tar.gz diff --git a/python-cloudmesh-installer.spec b/python-cloudmesh-installer.spec new file mode 100644 index 0000000..98bbca7 --- /dev/null +++ b/python-cloudmesh-installer.spec @@ -0,0 +1,240 @@ +%global _empty_manifest_terminate_build 0 +Name:		python-cloudmesh-installer +Version:	4.4.52 +Release:	1 +Summary:	A dynamic extensible CMD based command shell +License:	Apache 2.0 +URL:		https://github.com/cloudmesh/cloudmesh-installer +Source0:	https://mirrors.nju.edu.cn/pypi/web/packages/c6/80/3d1a3e74d44c90f02823f030f241ad200ac678578a1d36751d27d14332df/cloudmesh-installer-4.4.52.tar.gz +BuildArch:	noarch + +Requires:	python3-oyaml +Requires:	python3-docopt +Requires:	python3-requests +Requires:	python3-colorama +Requires:	python3-tabulate +Requires:	python3-hostlist +Requires:	python3-psutil +Requires:	python3-humanize +Requires:	python3-ordered-set +Requires:	python3-cloudmesh-common +Requires:	python3-pytest +Requires:	python3-coverage +Requires:	python3-flake8 +Requires:	python3-bump2version +Requires:	python3-pytest-cov +Requires:	python3-pip-tools +Requires:	python3-pipdeptree +Requires:	python3-wheel + +%description +# Cloudmesh Installer  + + +[](https://pypi.org/project/cloudmesh-common/) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://github.com/cloudmesh/cloudmesh-common/blob/main/LICENSE) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://travis-ci.com/cloudmesh/cloudmesh-common) + + + +This is an experimental installer that is most usefull during the development of +cloudmesh components form source. Once cloudmehs is released, you can use the +packages hosted at pypi. + +This command can be installed with  + +```bash +$ pip install cloudmesh-installer +``` + +an FAQ is available at + +* <https://github.com/cloudmesh/cloudmesh-installer/blob/main/FAQ.md> + +## Usage + +```bash + +``` + + + +## Appendix + +Timings + +| Command | Time | +| --- | --- | +| `pip install cloudmesh-installer` | 	0m4.558s | +| `time cloudmesh-installer install cms`| 0m18.288s | +| `time cloudmesh-installer git clone storage` | 	0m4.926s | + + +Tests + + * [test_installer](tests/test_installer.py) + + + + +%package -n python3-cloudmesh-installer +Summary:	A dynamic extensible CMD based command shell +Provides:	python-cloudmesh-installer +BuildRequires:	python3-devel +BuildRequires:	python3-setuptools +BuildRequires:	python3-pip +%description -n python3-cloudmesh-installer +# Cloudmesh Installer  + + +[](https://pypi.org/project/cloudmesh-common/) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://github.com/cloudmesh/cloudmesh-common/blob/main/LICENSE) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://travis-ci.com/cloudmesh/cloudmesh-common) + + + +This is an experimental installer that is most usefull during the development of +cloudmesh components form source. Once cloudmehs is released, you can use the +packages hosted at pypi. + +This command can be installed with  + +```bash +$ pip install cloudmesh-installer +``` + +an FAQ is available at + +* <https://github.com/cloudmesh/cloudmesh-installer/blob/main/FAQ.md> + +## Usage + +```bash + +``` + + + +## Appendix + +Timings + +| Command | Time | +| --- | --- | +| `pip install cloudmesh-installer` | 	0m4.558s | +| `time cloudmesh-installer install cms`| 0m18.288s | +| `time cloudmesh-installer git clone storage` | 	0m4.926s | + + +Tests + + * [test_installer](tests/test_installer.py) + + + + +%package help +Summary:	Development documents and examples for cloudmesh-installer +Provides:	python3-cloudmesh-installer-doc +%description help +# Cloudmesh Installer  + + +[](https://pypi.org/project/cloudmesh-common/) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://github.com/cloudmesh/cloudmesh-common/blob/main/LICENSE) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://pypi.python.org/pypi/cloudmesh-common) +[](https://travis-ci.com/cloudmesh/cloudmesh-common) + + + +This is an experimental installer that is most usefull during the development of +cloudmesh components form source. Once cloudmehs is released, you can use the +packages hosted at pypi. + +This command can be installed with  + +```bash +$ pip install cloudmesh-installer +``` + +an FAQ is available at + +* <https://github.com/cloudmesh/cloudmesh-installer/blob/main/FAQ.md> + +## Usage + +```bash + +``` + + + +## Appendix + +Timings + +| Command | Time | +| --- | --- | +| `pip install cloudmesh-installer` | 	0m4.558s | +| `time cloudmesh-installer install cms`| 0m18.288s | +| `time cloudmesh-installer git clone storage` | 	0m4.926s | + + +Tests + + * [test_installer](tests/test_installer.py) + + + + +%prep +%autosetup -n cloudmesh-installer-4.4.52 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then +	find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then +	find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then +	find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then +	find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then +	find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cloudmesh-installer -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 4.4.52-1 +- Package Spec generated @@ -0,0 +1 @@ +202d93358befebf68067e64beeb7f016  cloudmesh-installer-4.4.52.tar.gz  | 
