diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:07:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 19:07:13 +0000 |
commit | 6e6091d65739266d14e827dc48ffb22b5422e9a9 (patch) | |
tree | 11994930ac65fa3a7ef5ed0311c949e0b2ecb801 /python-xdoctest.spec | |
parent | 1141277dad722a102b8abdbefdec12110358e102 (diff) |
automatic import of python-xdoctest
Diffstat (limited to 'python-xdoctest.spec')
-rw-r--r-- | python-xdoctest.spec | 272 |
1 files changed, 272 insertions, 0 deletions
diff --git a/python-xdoctest.spec b/python-xdoctest.spec new file mode 100644 index 0000000..de79d3f --- /dev/null +++ b/python-xdoctest.spec @@ -0,0 +1,272 @@ +%global _empty_manifest_terminate_build 0 +Name: python-xdoctest +Version: 1.1.1 +Release: 1 +Summary: A rewrite of the builtin doctest module +License: Apache 2 +URL: https://github.com/Erotemic/xdoctest +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/99/178dc4f0e4dcbd9cdcd609a15e79a4944d046fed3085922cc7382d6993ad/xdoctest-1.1.1.tar.gz +BuildArch: noarch + +Requires: python3-six +Requires: python3-codecov +Requires: python3-pyflakes +Requires: python3-six +Requires: python3-codecov +Requires: python3-pyflakes +Requires: python3-six +Requires: python3-colorama +Requires: python3-debugpy +Requires: python3-pytest +Requires: python3-tomli +Requires: python3-Pygments +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-debugpy +Requires: python3-ipykernel +Requires: python3-pytest +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-typing +Requires: python3-debugpy +Requires: python3-ipython-genutils +Requires: python3-pytest +Requires: python3-Pygments +Requires: python3-attrs +Requires: python3-jedi +Requires: python3-jupyter-core +Requires: python3-jinja2 +Requires: python3-pytest-cov +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-ipykernel +Requires: python3-colorama +Requires: python3-debugpy +Requires: python3-pytest +Requires: python3-tomli +Requires: python3-Pygments +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-debugpy +Requires: python3-ipykernel +Requires: python3-pytest +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-typing +Requires: python3-debugpy +Requires: python3-ipython-genutils +Requires: python3-pytest +Requires: python3-Pygments +Requires: python3-attrs +Requires: python3-jedi +Requires: python3-jupyter-core +Requires: python3-jinja2 +Requires: python3-pytest-cov +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-ipykernel +Requires: python3-colorama +Requires: python3-Pygments +Requires: python3-Pygments +Requires: python3-debugpy +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-debugpy +Requires: python3-ipykernel +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-ipython-genutils +Requires: python3-attrs +Requires: python3-jedi +Requires: python3-jupyter-core +Requires: python3-jinja2 +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-ipykernel +Requires: python3-pyflakes +Requires: python3-pyflakes +Requires: python3-colorama +Requires: python3-debugpy +Requires: python3-tomli +Requires: python3-Pygments +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-debugpy +Requires: python3-ipykernel +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-ipython-genutils +Requires: python3-Pygments +Requires: python3-attrs +Requires: python3-jedi +Requires: python3-jupyter-core +Requires: python3-jinja2 +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-ipykernel +Requires: python3-colorama +Requires: python3-debugpy +Requires: python3-tomli +Requires: python3-Pygments +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-debugpy +Requires: python3-ipykernel +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-debugpy +Requires: python3-ipython-genutils +Requires: python3-Pygments +Requires: python3-attrs +Requires: python3-jedi +Requires: python3-jupyter-core +Requires: python3-jinja2 +Requires: python3-nbconvert +Requires: python3-jupyter-client +Requires: python3-IPython +Requires: python3-ipykernel +Requires: python3-six +Requires: python3-codecov +Requires: python3-cmake +Requires: python3-ninja +Requires: python3-pybind11 +Requires: python3-scikit-build +Requires: python3-cmake +Requires: python3-ninja +Requires: python3-pybind11 +Requires: python3-scikit-build +Requires: python3-cmake +Requires: python3-ninja +Requires: python3-pybind11 +Requires: python3-scikit-build +Requires: python3-cmake +Requires: python3-ninja +Requires: python3-pybind11 +Requires: python3-scikit-build +Requires: python3-codecov +Requires: python3-pytest +Requires: python3-pytest +Requires: python3-typing +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-pytest +Requires: python3-typing +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +Installation: from pypi +^^^^^^^^^^^^^^^^^^^^^^^ +Xdoctest is distributed on pypi as a universal wheel and can be pip installed on +Python 3.6+ (Python 2.7 and 3.4 / 3.5 support was removed in Version 1.1.0). +Installations are tested on CPython and PyPy implementations. + pip install xdoctest +Distributions on pypi are signed with a GPG public key: ``D297D757``. If you +care enough to check the gpg signature (hopefully pip will just do this in the +future), you should also verify this agrees with the contents of +``dev/public_gpg_key``. +Usage: run your doctests +^^^^^^^^^^^^^^^^^^^^^^^^ +After installing, the fastest way to run all doctests in your project +is: + python -m xdoctest /path/to/your/pkg-or-module.py +or if your module has been pip-installed / is in the PYTHONPATH run + python -m xdoctest yourmodname + +%package -n python3-xdoctest +Summary: A rewrite of the builtin doctest module +Provides: python-xdoctest +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-xdoctest +Installation: from pypi +^^^^^^^^^^^^^^^^^^^^^^^ +Xdoctest is distributed on pypi as a universal wheel and can be pip installed on +Python 3.6+ (Python 2.7 and 3.4 / 3.5 support was removed in Version 1.1.0). +Installations are tested on CPython and PyPy implementations. + pip install xdoctest +Distributions on pypi are signed with a GPG public key: ``D297D757``. If you +care enough to check the gpg signature (hopefully pip will just do this in the +future), you should also verify this agrees with the contents of +``dev/public_gpg_key``. +Usage: run your doctests +^^^^^^^^^^^^^^^^^^^^^^^^ +After installing, the fastest way to run all doctests in your project +is: + python -m xdoctest /path/to/your/pkg-or-module.py +or if your module has been pip-installed / is in the PYTHONPATH run + python -m xdoctest yourmodname + +%package help +Summary: Development documents and examples for xdoctest +Provides: python3-xdoctest-doc +%description help +Installation: from pypi +^^^^^^^^^^^^^^^^^^^^^^^ +Xdoctest is distributed on pypi as a universal wheel and can be pip installed on +Python 3.6+ (Python 2.7 and 3.4 / 3.5 support was removed in Version 1.1.0). +Installations are tested on CPython and PyPy implementations. + pip install xdoctest +Distributions on pypi are signed with a GPG public key: ``D297D757``. If you +care enough to check the gpg signature (hopefully pip will just do this in the +future), you should also verify this agrees with the contents of +``dev/public_gpg_key``. +Usage: run your doctests +^^^^^^^^^^^^^^^^^^^^^^^^ +After installing, the fastest way to run all doctests in your project +is: + python -m xdoctest /path/to/your/pkg-or-module.py +or if your module has been pip-installed / is in the PYTHONPATH run + python -m xdoctest yourmodname + +%prep +%autosetup -n xdoctest-1.1.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-xdoctest -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1 +- Package Spec generated |