diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:34:31 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 05:34:31 +0000 |
commit | 89705727c7ac68de595577f5320578eb0d6bd076 (patch) | |
tree | 3c458eba83bccec9f5cb3d738eaac4de73f3facf | |
parent | 622b5c2729b799428fb2cfe53b24023b3084b153 (diff) |
automatic import of python-dummy-wx
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dummy-wx.spec | 348 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 350 insertions, 0 deletions
@@ -0,0 +1 @@ +/dummy_wx-0.3.0.tar.gz diff --git a/python-dummy-wx.spec b/python-dummy-wx.spec new file mode 100644 index 0000000..a64561c --- /dev/null +++ b/python-dummy-wx.spec @@ -0,0 +1,348 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dummy-wx +Version: 0.3.0 +Release: 1 +Summary: This module does nothing. +License: GNU Lesser General Public License v3 or later (LGPLv3+) +URL: https://github.com/domdfcoding/dummy_wx +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/ec/81b8b0cdc3529e4911277599a6121ecffd6e3f95f01033e3cde8dfb6d89d/dummy_wx-0.3.0.tar.gz +BuildArch: noarch + + +%description +**************** +dummy_wx +**************** + +This module does nothing, but is useful when trying to build documentation +for modules that require wxPython. + +Do NOT install this module if you already have wxPython installed, as it uses +the same "wx" package name to pretend to be wxPython. + +.. start shields + +.. list-table:: + :stub-columns: 1 + :widths: 10 90 + + * - Tests + - |travis| |actions_windows| |actions_macos| |codefactor| |pre_commit_ci| + * - PyPI + - |pypi-version| |supported-versions| |supported-implementations| |wheel| + * - Activity + - |commits-latest| |commits-since| |maintained| + * - Other + - |license| |language| |requires| |pre_commit| + + + +.. |travis| image:: https://img.shields.io/travis/com/domdfcoding/dummy_wx/master?logo=travis + :target: https://travis-ci.com/domdfcoding/dummy_wx + :alt: Travis Build Status + +.. |actions_windows| image:: https://github.com/domdfcoding/dummy_wx/workflows/Windows%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22Windows+Tests%22 + :alt: Windows Tests Status + +.. |actions_macos| image:: https://github.com/domdfcoding/dummy_wx/workflows/macOS%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22macOS+Tests%22 + :alt: macOS Tests Status + +.. |requires| image:: https://requires.io/github/domdfcoding/dummy_wx/requirements.svg?branch=master + :target: https://requires.io/github/domdfcoding/dummy_wx/requirements/?branch=master + :alt: Requirements Status + +.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/dummy_wx?logo=codefactor + :target: https://www.codefactor.io/repository/github/domdfcoding/dummy_wx + :alt: CodeFactor Grade + +.. |pypi-version| image:: https://img.shields.io/pypi/v/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Package Version + +.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/dummy_wx?logo=python&logoColor=white + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Python Versions + +.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Implementations + +.. |wheel| image:: https://img.shields.io/pypi/wheel/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Wheel + +.. |license| image:: https://img.shields.io/github/license/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/blob/master/LICENSE + :alt: License + +.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/dummy_wx + :alt: GitHub top language + +.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/dummy_wx/v0.3.0 + :target: https://github.com/domdfcoding/dummy_wx/pulse + :alt: GitHub commits since tagged version + +.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/commit/master + :alt: GitHub last commit + +.. |maintained| image:: https://img.shields.io/maintenance/yes/2020 + :alt: Maintenance + +.. |pre_commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white + :target: https://github.com/pre-commit/pre-commit + :alt: pre-commit + +.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/dummy_wx/master.svg + :target: https://results.pre-commit.ci/latest/github/domdfcoding/dummy_wx/master + :alt: pre-commit.ci status + +.. end shields + + + + +%package -n python3-dummy-wx +Summary: This module does nothing. +Provides: python-dummy-wx +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dummy-wx +**************** +dummy_wx +**************** + +This module does nothing, but is useful when trying to build documentation +for modules that require wxPython. + +Do NOT install this module if you already have wxPython installed, as it uses +the same "wx" package name to pretend to be wxPython. + +.. start shields + +.. list-table:: + :stub-columns: 1 + :widths: 10 90 + + * - Tests + - |travis| |actions_windows| |actions_macos| |codefactor| |pre_commit_ci| + * - PyPI + - |pypi-version| |supported-versions| |supported-implementations| |wheel| + * - Activity + - |commits-latest| |commits-since| |maintained| + * - Other + - |license| |language| |requires| |pre_commit| + + + +.. |travis| image:: https://img.shields.io/travis/com/domdfcoding/dummy_wx/master?logo=travis + :target: https://travis-ci.com/domdfcoding/dummy_wx + :alt: Travis Build Status + +.. |actions_windows| image:: https://github.com/domdfcoding/dummy_wx/workflows/Windows%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22Windows+Tests%22 + :alt: Windows Tests Status + +.. |actions_macos| image:: https://github.com/domdfcoding/dummy_wx/workflows/macOS%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22macOS+Tests%22 + :alt: macOS Tests Status + +.. |requires| image:: https://requires.io/github/domdfcoding/dummy_wx/requirements.svg?branch=master + :target: https://requires.io/github/domdfcoding/dummy_wx/requirements/?branch=master + :alt: Requirements Status + +.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/dummy_wx?logo=codefactor + :target: https://www.codefactor.io/repository/github/domdfcoding/dummy_wx + :alt: CodeFactor Grade + +.. |pypi-version| image:: https://img.shields.io/pypi/v/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Package Version + +.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/dummy_wx?logo=python&logoColor=white + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Python Versions + +.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Implementations + +.. |wheel| image:: https://img.shields.io/pypi/wheel/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Wheel + +.. |license| image:: https://img.shields.io/github/license/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/blob/master/LICENSE + :alt: License + +.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/dummy_wx + :alt: GitHub top language + +.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/dummy_wx/v0.3.0 + :target: https://github.com/domdfcoding/dummy_wx/pulse + :alt: GitHub commits since tagged version + +.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/commit/master + :alt: GitHub last commit + +.. |maintained| image:: https://img.shields.io/maintenance/yes/2020 + :alt: Maintenance + +.. |pre_commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white + :target: https://github.com/pre-commit/pre-commit + :alt: pre-commit + +.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/dummy_wx/master.svg + :target: https://results.pre-commit.ci/latest/github/domdfcoding/dummy_wx/master + :alt: pre-commit.ci status + +.. end shields + + + + +%package help +Summary: Development documents and examples for dummy-wx +Provides: python3-dummy-wx-doc +%description help +**************** +dummy_wx +**************** + +This module does nothing, but is useful when trying to build documentation +for modules that require wxPython. + +Do NOT install this module if you already have wxPython installed, as it uses +the same "wx" package name to pretend to be wxPython. + +.. start shields + +.. list-table:: + :stub-columns: 1 + :widths: 10 90 + + * - Tests + - |travis| |actions_windows| |actions_macos| |codefactor| |pre_commit_ci| + * - PyPI + - |pypi-version| |supported-versions| |supported-implementations| |wheel| + * - Activity + - |commits-latest| |commits-since| |maintained| + * - Other + - |license| |language| |requires| |pre_commit| + + + +.. |travis| image:: https://img.shields.io/travis/com/domdfcoding/dummy_wx/master?logo=travis + :target: https://travis-ci.com/domdfcoding/dummy_wx + :alt: Travis Build Status + +.. |actions_windows| image:: https://github.com/domdfcoding/dummy_wx/workflows/Windows%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22Windows+Tests%22 + :alt: Windows Tests Status + +.. |actions_macos| image:: https://github.com/domdfcoding/dummy_wx/workflows/macOS%20Tests/badge.svg + :target: https://github.com/domdfcoding/dummy_wx/actions?query=workflow%3A%22macOS+Tests%22 + :alt: macOS Tests Status + +.. |requires| image:: https://requires.io/github/domdfcoding/dummy_wx/requirements.svg?branch=master + :target: https://requires.io/github/domdfcoding/dummy_wx/requirements/?branch=master + :alt: Requirements Status + +.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/dummy_wx?logo=codefactor + :target: https://www.codefactor.io/repository/github/domdfcoding/dummy_wx + :alt: CodeFactor Grade + +.. |pypi-version| image:: https://img.shields.io/pypi/v/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Package Version + +.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/dummy_wx?logo=python&logoColor=white + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Python Versions + +.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Supported Implementations + +.. |wheel| image:: https://img.shields.io/pypi/wheel/dummy_wx + :target: https://pypi.org/project/dummy_wx/ + :alt: PyPI - Wheel + +.. |license| image:: https://img.shields.io/github/license/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/blob/master/LICENSE + :alt: License + +.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/dummy_wx + :alt: GitHub top language + +.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/dummy_wx/v0.3.0 + :target: https://github.com/domdfcoding/dummy_wx/pulse + :alt: GitHub commits since tagged version + +.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/dummy_wx + :target: https://github.com/domdfcoding/dummy_wx/commit/master + :alt: GitHub last commit + +.. |maintained| image:: https://img.shields.io/maintenance/yes/2020 + :alt: Maintenance + +.. |pre_commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white + :target: https://github.com/pre-commit/pre-commit + :alt: pre-commit + +.. |pre_commit_ci| image:: https://results.pre-commit.ci/badge/github/domdfcoding/dummy_wx/master.svg + :target: https://results.pre-commit.ci/latest/github/domdfcoding/dummy_wx/master + :alt: pre-commit.ci status + +.. end shields + + + + +%prep +%autosetup -n dummy-wx-0.3.0 + +%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-dummy-wx -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +780591442a95eebaaa1ee1f42f20e05d dummy_wx-0.3.0.tar.gz |