From 69ea71371d6bfe1d12945bab246bd303c047fe28 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 10:23:28 +0000 Subject: automatic import of python-cdflow --- .gitignore | 1 + python-cdflow.spec | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 197 insertions(+) create mode 100644 python-cdflow.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1cadfd2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/cdflow-272.tar.gz diff --git a/python-cdflow.spec b/python-cdflow.spec new file mode 100644 index 0000000..67be6b0 --- /dev/null +++ b/python-cdflow.spec @@ -0,0 +1,195 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cdflow +Version: 272 +Release: 1 +Summary: Deployment tooling for continuous delivery +License: MIT License +URL: https://mergermarket.github.io/cdflow +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ce/81/4594cf6be9a0aa02bee5fd7631cc97e075fcd570041373f070b0c3416b65/cdflow-272.tar.gz +BuildArch: noarch + + +%description +[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml) +# cdflow - create and manage software services using continuous delivery + +This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease. + +The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline. + +Full documentation is here: https://mergermarket.github.io/cdflow/ + +## Install + +``` +pip install cdflow +``` + +## Running + +If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running: + +``` +$ cdflow --help + +cdflow + +Create and manage software services using continuous delivery. + +Usage: + cdflow release --platform-config [options] + cdflow deploy [options] + cdflow destroy [options] + +Options: + -c , --component + -v, --verbose + -p, --plan-only +``` + +## Tests + +``` +./test.sh +``` + +%package -n python3-cdflow +Summary: Deployment tooling for continuous delivery +Provides: python-cdflow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cdflow +[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml) +# cdflow - create and manage software services using continuous delivery + +This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease. + +The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline. + +Full documentation is here: https://mergermarket.github.io/cdflow/ + +## Install + +``` +pip install cdflow +``` + +## Running + +If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running: + +``` +$ cdflow --help + +cdflow + +Create and manage software services using continuous delivery. + +Usage: + cdflow release --platform-config [options] + cdflow deploy [options] + cdflow destroy [options] + +Options: + -c , --component + -v, --verbose + -p, --plan-only +``` + +## Tests + +``` +./test.sh +``` + +%package help +Summary: Development documents and examples for cdflow +Provides: python3-cdflow-doc +%description help +[![tests](https://github.com/mergermarket/cdflow/actions/workflows/test.yml/badge.svg)](https://github.com/mergermarket/cdflow/actions/workflows/test.yml) +# cdflow - create and manage software services using continuous delivery + +This repository contains the cdflow command that you can install on your system (e.g. on your dev machine or CI server) in order to release, deploy and (eventally) decommission software services with ease. + +The code here is just a thin wrapper for the [cdflow docker image](https://github.com/mergermarket/cdflow-commands/) used to ensure you get the latest version when you release (with the option to pin should you need to) and that the image used remains consistent through your pipeline. + +Full documentation is here: https://mergermarket.github.io/cdflow/ + +## Install + +``` +pip install cdflow +``` + +## Running + +If you are using the [cdflow wrapper command](https://github.com/mergermarket/cdflow/) mentioned above, you can get usage information by running: + +``` +$ cdflow --help + +cdflow + +Create and manage software services using continuous delivery. + +Usage: + cdflow release --platform-config [options] + cdflow deploy [options] + cdflow destroy [options] + +Options: + -c , --component + -v, --verbose + -p, --plan-only +``` + +## Tests + +``` +./test.sh +``` + +%prep +%autosetup -n cdflow-272 + +%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-cdflow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 272-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c575d49 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4aab38f5bebfd48e763654e064d6c537 cdflow-272.tar.gz -- cgit v1.2.3