summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-12 05:19:02 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-12 05:19:02 +0000
commit216c434776d56d8107c0d93681381e1c79fb7895 (patch)
treef4310d2212b3f605fdc0bfa2e8b6fdd070cf8b8e
parentfead1ca64eadde5596d17cb13f6e3b75b3b84c6f (diff)
automatic import of python-behave-html-formatter
-rw-r--r--.gitignore1
-rw-r--r--python-behave-html-formatter.spec223
-rw-r--r--sources1
3 files changed, 225 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e22b596 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/behave-html-formatter-0.9.10.tar.gz
diff --git a/python-behave-html-formatter.spec b/python-behave-html-formatter.spec
new file mode 100644
index 0000000..8d8b14d
--- /dev/null
+++ b/python-behave-html-formatter.spec
@@ -0,0 +1,223 @@
+%global _empty_manifest_terminate_build 0
+Name: python-behave-html-formatter
+Version: 0.9.10
+Release: 1
+Summary: HTML formatter for Behave
+License: GNU General Public License v3 (GPLv3)
+URL: https://github.com/behave-contrib/behave-html-formatter
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c8/53/42f94fcb2943d6fd56acc34aab0e65244c8f115b1ae9d98fa641a5874fd7/behave-html-formatter-0.9.10.tar.gz
+BuildArch: noarch
+
+Requires: python3-behave
+
+%description
+# HTML formatter for Behave
+
+To use it with behave create `behave.ini` file in project folder (or in home) with
+following content:
+
+```ini
+# -- FILE: behave.ini
+# Define ALIAS for HtmlFormatter.
+[behave.formatters]
+html = behave_html_formatter:HTMLFormatter
+```
+
+and then use it by running behave with `-f`/`--format` parameter, e.g.
+
+```console
+behave -f help
+behave -f html
+behave -f html -o behave-report.html
+```
+
+You can find information about behave and user-defined formatters in the
+[behave docs](https://behave.readthedocs.io/en/latest/formatters.html).
+
+## Contributing
+
+You want to help with improving this software? Please create an issue in
+our open bug tracker, or open a pull request directly.
+
+We use [tox](https://pypi.org/project/tox/) for running linting and tests,
+e.g.
+
+```console
+tox
+tox -l
+tox -e flake8,behave
+```
+
+For code formatting we use [black](https://pypi.org/project/black/), which
+you can run using our Tox setup, e.g.
+
+```console
+tox -e black
+```
+
+If you need to change CSS or JavaScript code: First edit the regular files,
+then generate the minified versions like so:
+
+```console
+tox -e minify
+```
+
+
+%package -n python3-behave-html-formatter
+Summary: HTML formatter for Behave
+Provides: python-behave-html-formatter
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-behave-html-formatter
+# HTML formatter for Behave
+
+To use it with behave create `behave.ini` file in project folder (or in home) with
+following content:
+
+```ini
+# -- FILE: behave.ini
+# Define ALIAS for HtmlFormatter.
+[behave.formatters]
+html = behave_html_formatter:HTMLFormatter
+```
+
+and then use it by running behave with `-f`/`--format` parameter, e.g.
+
+```console
+behave -f help
+behave -f html
+behave -f html -o behave-report.html
+```
+
+You can find information about behave and user-defined formatters in the
+[behave docs](https://behave.readthedocs.io/en/latest/formatters.html).
+
+## Contributing
+
+You want to help with improving this software? Please create an issue in
+our open bug tracker, or open a pull request directly.
+
+We use [tox](https://pypi.org/project/tox/) for running linting and tests,
+e.g.
+
+```console
+tox
+tox -l
+tox -e flake8,behave
+```
+
+For code formatting we use [black](https://pypi.org/project/black/), which
+you can run using our Tox setup, e.g.
+
+```console
+tox -e black
+```
+
+If you need to change CSS or JavaScript code: First edit the regular files,
+then generate the minified versions like so:
+
+```console
+tox -e minify
+```
+
+
+%package help
+Summary: Development documents and examples for behave-html-formatter
+Provides: python3-behave-html-formatter-doc
+%description help
+# HTML formatter for Behave
+
+To use it with behave create `behave.ini` file in project folder (or in home) with
+following content:
+
+```ini
+# -- FILE: behave.ini
+# Define ALIAS for HtmlFormatter.
+[behave.formatters]
+html = behave_html_formatter:HTMLFormatter
+```
+
+and then use it by running behave with `-f`/`--format` parameter, e.g.
+
+```console
+behave -f help
+behave -f html
+behave -f html -o behave-report.html
+```
+
+You can find information about behave and user-defined formatters in the
+[behave docs](https://behave.readthedocs.io/en/latest/formatters.html).
+
+## Contributing
+
+You want to help with improving this software? Please create an issue in
+our open bug tracker, or open a pull request directly.
+
+We use [tox](https://pypi.org/project/tox/) for running linting and tests,
+e.g.
+
+```console
+tox
+tox -l
+tox -e flake8,behave
+```
+
+For code formatting we use [black](https://pypi.org/project/black/), which
+you can run using our Tox setup, e.g.
+
+```console
+tox -e black
+```
+
+If you need to change CSS or JavaScript code: First edit the regular files,
+then generate the minified versions like so:
+
+```console
+tox -e minify
+```
+
+
+%prep
+%autosetup -n behave-html-formatter-0.9.10
+
+%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-behave-html-formatter -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.10-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..69416b2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+12625953b0dc3a1ce0bc560f4b157ff4 behave-html-formatter-0.9.10.tar.gz