summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 04:09:42 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-25 04:09:42 +0000
commitc2591b1873dcd246c2b1718bdcb691227c771494 (patch)
tree2d22965b391f2a93278bc374e613cf4c83e59c18
parent6c10dd8d0f546ae0855eef3500fe507f3c352a3f (diff)
automatic import of python3-moleculeopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-molecule.spec143
-rw-r--r--sources1
3 files changed, 145 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7d07a14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/molecule-4.0.4.tar.gz
diff --git a/python-molecule.spec b/python-molecule.spec
new file mode 100644
index 0000000..c235f8b
--- /dev/null
+++ b/python-molecule.spec
@@ -0,0 +1,143 @@
+%global _empty_manifest_terminate_build 0
+Name: python-molecule
+Version: 4.0.4
+Release: 1
+Summary: Molecule aids in the development and testing of Ansible roles
+License: MIT
+URL: https://github.com/ansible-community/molecule
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b6/33/2986c9774b3ab3c6fc42ce779a592ade7e03217ba894adac07282de422de/molecule-4.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-ansible-compat
+Requires: python3-click
+Requires: python3-click-help-colors
+Requires: python3-cookiecutter
+Requires: python3-enrich
+Requires: python3-jsonschema
+Requires: python3-Jinja2
+Requires: python3-packaging
+Requires: python3-pluggy
+Requires: python3-PyYAML
+Requires: python3-rich
+Requires: python3-molecule-docker
+Requires: python3-ansible-core
+Requires: python3-jinja2
+Requires: python3-Sphinx
+Requires: python3-simplejson
+Requires: python3-sphinx-ansible-theme
+Requires: python3-sphinx-notfound-page
+Requires: python3-check-jsonschema
+Requires: python3-flake8
+Requires: python3-jsonschema
+Requires: python3-pre-commit
+Requires: python3-yamllint
+Requires: python3-molecule-podman
+Requires: python3-ansi2html
+Requires: python3-coverage
+Requires: python3-filelock
+Requires: python3-pexpect
+Requires: python3-pytest-cov
+Requires: python3-pytest-html
+Requires: python3-pytest-mock
+Requires: python3-pytest-plus
+Requires: python3-pytest-testinfra
+Requires: python3-pytest-xdist
+Requires: python3-pytest
+Requires: python3-pywinrm
+
+%description
+Molecule project is designed to aid in the development and testing of
+`Ansible`_ roles.
+Molecule provides support for testing with multiple instances, operating
+systems and distributions, virtualization providers, test frameworks and
+testing scenarios.
+Molecule encourages an approach that results in consistently developed roles
+that are well-written, easily understood and maintained.
+Molecule supports only the latest two major versions of Ansible (N/N-1),
+meaning that if the latest version is 2.9.x, we will also test our code with
+2.8.x.
+Once installed, the command line can be called using any of the methods below:
+ molecule ...
+ python3 -m molecule ... # python module calling method
+
+%package -n python3-molecule
+Summary: Molecule aids in the development and testing of Ansible roles
+Provides: python-molecule
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-molecule
+Molecule project is designed to aid in the development and testing of
+`Ansible`_ roles.
+Molecule provides support for testing with multiple instances, operating
+systems and distributions, virtualization providers, test frameworks and
+testing scenarios.
+Molecule encourages an approach that results in consistently developed roles
+that are well-written, easily understood and maintained.
+Molecule supports only the latest two major versions of Ansible (N/N-1),
+meaning that if the latest version is 2.9.x, we will also test our code with
+2.8.x.
+Once installed, the command line can be called using any of the methods below:
+ molecule ...
+ python3 -m molecule ... # python module calling method
+
+%package help
+Summary: Development documents and examples for molecule
+Provides: python3-molecule-doc
+%description help
+Molecule project is designed to aid in the development and testing of
+`Ansible`_ roles.
+Molecule provides support for testing with multiple instances, operating
+systems and distributions, virtualization providers, test frameworks and
+testing scenarios.
+Molecule encourages an approach that results in consistently developed roles
+that are well-written, easily understood and maintained.
+Molecule supports only the latest two major versions of Ansible (N/N-1),
+meaning that if the latest version is 2.9.x, we will also test our code with
+2.8.x.
+Once installed, the command line can be called using any of the methods below:
+ molecule ...
+ python3 -m molecule ... # python module calling method
+
+%prep
+%autosetup -n molecule-4.0.4
+
+%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-molecule -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 4.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..490569d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+60e15baf5223bebb3ac4698288a742b2 molecule-4.0.4.tar.gz