summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 20:37:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 20:37:11 +0000
commit263882f57df15d72907b306add50f6e49671ecaf (patch)
treece6acc2abd78a89b2985933372403a1d6ef20332
parentd87815c151b0c531f43378bf1252a3fb89c73a24 (diff)
automatic import of python-allure-behave
-rw-r--r--.gitignore1
-rw-r--r--python-allure-behave.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..860e90f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/allure-behave-2.13.1.tar.gz
diff --git a/python-allure-behave.spec b/python-allure-behave.spec
new file mode 100644
index 0000000..0fb3010
--- /dev/null
+++ b/python-allure-behave.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-allure-behave
+Version: 2.13.1
+Release: 1
+Summary: Allure behave integration
+License: Apache-2.0
+URL: https://github.com/allure-framework/allure-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7e/98/62e4e8ab7efd3abdbe38bcab0a71bcb618b42a2f869c1e0bfa2a7557d850/allure-behave-2.13.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-behave
+Requires: python3-allure-python-commons
+
+%description
+- `Source <https://github.com/allure-framework/allure-python>`_
+- `Documentation <https://docs.qameta.io/allure-report>`_
+- `Gitter <https://gitter.im/allure-framework/allure-core>`_
+
+%package -n python3-allure-behave
+Summary: Allure behave integration
+Provides: python-allure-behave
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-allure-behave
+- `Source <https://github.com/allure-framework/allure-python>`_
+- `Documentation <https://docs.qameta.io/allure-report>`_
+- `Gitter <https://gitter.im/allure-framework/allure-core>`_
+
+%package help
+Summary: Development documents and examples for allure-behave
+Provides: python3-allure-behave-doc
+%description help
+- `Source <https://github.com/allure-framework/allure-python>`_
+- `Documentation <https://docs.qameta.io/allure-report>`_
+- `Gitter <https://gitter.im/allure-framework/allure-core>`_
+
+%prep
+%autosetup -n allure-behave-2.13.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-allure-behave -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.13.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..91dba96
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+444522cad77a9e1443057a314b5960c0 allure-behave-2.13.1.tar.gz