summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:14:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:14:00 +0000
commit227062ed18a6d0765b8b7f2deea8f0d148bcce1a (patch)
tree8840da68931429da91b20b36b17910ea1e984c65
parent3acf606755cc639eec50667e570f263520529812 (diff)
automatic import of python-cloudformation-validator
-rw-r--r--.gitignore1
-rw-r--r--python-cloudformation-validator.spec86
-rw-r--r--sources1
3 files changed, 88 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..974f7db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cloudformation_validator-0.6.36.tar.gz
diff --git a/python-cloudformation-validator.spec b/python-cloudformation-validator.spec
new file mode 100644
index 0000000..dd8e29d
--- /dev/null
+++ b/python-cloudformation-validator.spec
@@ -0,0 +1,86 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cloudformation-validator
+Version: 0.6.36
+Release: 1
+Summary: Lightweight, extensible schema and data validation tool for Cloudformation Templates.
+License: MIT License
+URL: https://github.com/rubelw/cloudformation-validator
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0f/77/9d54325fdeace2b4b8958e77f745bb73b963a7bc4aa5dfdb9b1639ad43f9/cloudformation_validator-0.6.36.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-requests
+Requires: python3-Click
+Requires: python3-PyYAML
+Requires: python3-pymongo
+Requires: python3-tabulate
+Requires: python3-configparser
+Requires: python3-jinja2
+Requires: python3-dill
+Requires: python3-pykwalify
+Requires: python3-schema
+Requires: python3-future
+Requires: python3-six
+Requires: python3-pip
+
+%description
+
+
+%package -n python3-cloudformation-validator
+Summary: Lightweight, extensible schema and data validation tool for Cloudformation Templates.
+Provides: python-cloudformation-validator
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cloudformation-validator
+
+
+%package help
+Summary: Development documents and examples for cloudformation-validator
+Provides: python3-cloudformation-validator-doc
+%description help
+
+
+%prep
+%autosetup -n cloudformation-validator-0.6.36
+
+%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-cloudformation-validator -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.36-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..aa86203
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+daeeecce33c7aa978d10c0adcc65f6d8 cloudformation_validator-0.6.36.tar.gz