summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 15:38:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 15:38:50 +0000
commit8fdcd35b0cd5a6e91c2ef5a07f27088093a33939 (patch)
tree32a374e7542d2eb86190c7ed7d2f0e683bcf74b8
parentbefdfac4ac9ab11b2557488b47694b3339931aa4 (diff)
automatic import of python-pytest-pydocstyle
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-pydocstyle.spec204
-rw-r--r--sources1
3 files changed, 206 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..88ce344 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-pydocstyle-2.3.2.tar.gz
diff --git a/python-pytest-pydocstyle.spec b/python-pytest-pydocstyle.spec
new file mode 100644
index 0000000..509db13
--- /dev/null
+++ b/python-pytest-pydocstyle.spec
@@ -0,0 +1,204 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-pydocstyle
+Version: 2.3.2
+Release: 1
+Summary: pytest plugin to run pydocstyle
+License: MIT
+URL: https://github.com/henry0312/pytest-pydocstyle
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0c/3d/4b367f95ee4369e5f91e140f72dafb46856c56a63babcf79b41166cf4e46/pytest-pydocstyle-2.3.2.tar.gz
+BuildArch: noarch
+
+
+%description
+# pytest-pydocstyle
+
+[![PyPI version](https://badge.fury.io/py/pytest-pydocstyle.svg)](https://pypi.org/project/pytest-pydocstyle/)
+
+[pytest](https://docs.pytest.org/en/latest/) plugin to run [pydocstyle](https://github.com/PyCQA/pydocstyle)
+
+## Installation
+
+```sh
+pip install pytest-pydocstyle
+```
+
+## Usage
+
+```sh
+pytest --pydocstyle ...
+```
+
+For detail, please see `pytest -h` after installation.
+
+## Configuration
+
+The behavior can be configured in the same style of pydocstyle.
+(cf. [Configuration — pytest documentation](https://docs.pytest.org/en/latest/customize.html) and [Configuration Files — pydocstyle documentation](http://www.pydocstyle.org/en/latest/usage.html#configuration-files))
+
+For example,
+
+```
+[pydocstyle]
+convention = numpy
+add-ignore = D400,D403
+
+[tool:pytest]
+addopts = --pydocstyle
+```
+
+## Licence
+
+The MIT License
+Copyright (c) 2019 OMOTO Tsukasa
+
+## Acknowledgments
+
+- [abendebury/pytest-pep257](https://github.com/abendebury/pytest-pep257)
+
+
+%package -n python3-pytest-pydocstyle
+Summary: pytest plugin to run pydocstyle
+Provides: python-pytest-pydocstyle
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-pydocstyle
+# pytest-pydocstyle
+
+[![PyPI version](https://badge.fury.io/py/pytest-pydocstyle.svg)](https://pypi.org/project/pytest-pydocstyle/)
+
+[pytest](https://docs.pytest.org/en/latest/) plugin to run [pydocstyle](https://github.com/PyCQA/pydocstyle)
+
+## Installation
+
+```sh
+pip install pytest-pydocstyle
+```
+
+## Usage
+
+```sh
+pytest --pydocstyle ...
+```
+
+For detail, please see `pytest -h` after installation.
+
+## Configuration
+
+The behavior can be configured in the same style of pydocstyle.
+(cf. [Configuration — pytest documentation](https://docs.pytest.org/en/latest/customize.html) and [Configuration Files — pydocstyle documentation](http://www.pydocstyle.org/en/latest/usage.html#configuration-files))
+
+For example,
+
+```
+[pydocstyle]
+convention = numpy
+add-ignore = D400,D403
+
+[tool:pytest]
+addopts = --pydocstyle
+```
+
+## Licence
+
+The MIT License
+Copyright (c) 2019 OMOTO Tsukasa
+
+## Acknowledgments
+
+- [abendebury/pytest-pep257](https://github.com/abendebury/pytest-pep257)
+
+
+%package help
+Summary: Development documents and examples for pytest-pydocstyle
+Provides: python3-pytest-pydocstyle-doc
+%description help
+# pytest-pydocstyle
+
+[![PyPI version](https://badge.fury.io/py/pytest-pydocstyle.svg)](https://pypi.org/project/pytest-pydocstyle/)
+
+[pytest](https://docs.pytest.org/en/latest/) plugin to run [pydocstyle](https://github.com/PyCQA/pydocstyle)
+
+## Installation
+
+```sh
+pip install pytest-pydocstyle
+```
+
+## Usage
+
+```sh
+pytest --pydocstyle ...
+```
+
+For detail, please see `pytest -h` after installation.
+
+## Configuration
+
+The behavior can be configured in the same style of pydocstyle.
+(cf. [Configuration — pytest documentation](https://docs.pytest.org/en/latest/customize.html) and [Configuration Files — pydocstyle documentation](http://www.pydocstyle.org/en/latest/usage.html#configuration-files))
+
+For example,
+
+```
+[pydocstyle]
+convention = numpy
+add-ignore = D400,D403
+
+[tool:pytest]
+addopts = --pydocstyle
+```
+
+## Licence
+
+The MIT License
+Copyright (c) 2019 OMOTO Tsukasa
+
+## Acknowledgments
+
+- [abendebury/pytest-pep257](https://github.com/abendebury/pytest-pep257)
+
+
+%prep
+%autosetup -n pytest-pydocstyle-2.3.2
+
+%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-pytest-pydocstyle -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..7f19601
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c9143e1575eb922ee4eee670cd9df2d1 pytest-pydocstyle-2.3.2.tar.gz