summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 14:50:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 14:50:41 +0000
commit40102cd2be918d560993c49b1ccc83bee01d17b8 (patch)
tree50bdfa6a728404d7a409d2c9f030b24043e16aca
parentbc4c9f2cd3e0636de9f06f10690964586cb3f2ac (diff)
automatic import of python-molecule-digitaloceanopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-molecule-digitalocean.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..289e3eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/molecule-digitalocean-0.1.tar.gz
diff --git a/python-molecule-digitalocean.spec b/python-molecule-digitalocean.spec
new file mode 100644
index 0000000..c081866
--- /dev/null
+++ b/python-molecule-digitalocean.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-molecule-digitalocean
+Version: 0.1
+Release: 1
+Summary: digitalocean Molecule Plugin :: run molecule tests on digitalocean
+License: MIT
+URL: https://github.com/pycontribs/molecule-digitalocean
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0d/90/e3743142eb35a8c820486da0175dfca5ef926c06713951d511ff15f7b6ab/molecule-digitalocean-0.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-molecule
+Requires: python3-pyyaml
+Requires: python3-dopy
+Requires: python3-flake8
+Requires: python3-mock
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-pytest-helpers-namespace
+Requires: python3-pytest-mock
+Requires: python3-pytest-verbose-parametrize
+Requires: python3-pytest-xdist
+Requires: python3-pytest-dependency
+
+%description
+Read the documentation and more at https://molecule.readthedocs.io/.
+
+%package -n python3-molecule-digitalocean
+Summary: digitalocean Molecule Plugin :: run molecule tests on digitalocean
+Provides: python-molecule-digitalocean
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-molecule-digitalocean
+Read the documentation and more at https://molecule.readthedocs.io/.
+
+%package help
+Summary: Development documents and examples for molecule-digitalocean
+Provides: python3-molecule-digitalocean-doc
+%description help
+Read the documentation and more at https://molecule.readthedocs.io/.
+
+%prep
+%autosetup -n molecule-digitalocean-0.1
+
+%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-digitalocean -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9a171cd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2b349b34aa8fee239496892e8b0d46df molecule-digitalocean-0.1.tar.gz