diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:25:08 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 07:25:08 +0000 |
| commit | 448d6e5f9f4c22af81373df0025ab3d97bb2787b (patch) | |
| tree | 78a964361befdd6797787f6bc6071ff4f2b61589 /python-qtrio.spec | |
| parent | 29d39b4d878b0d5e4808ea001f206a2bce1ee125 (diff) | |
automatic import of python-qtrio
Diffstat (limited to 'python-qtrio.spec')
| -rw-r--r-- | python-qtrio.spec | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/python-qtrio.spec b/python-qtrio.spec new file mode 100644 index 0000000..4d0a2dc --- /dev/null +++ b/python-qtrio.spec @@ -0,0 +1,126 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qtrio +Version: 0.6.0 +Release: 1 +Summary: a library bringing Qt GUIs together with ``async`` and ``await`` via Trio +License: MIT -or- Apache License 2.0 +URL: https://github.com/altendky/qtrio +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7a/20/11171ed45eb678205692e836c57ec1dbc432b4e537f905694200e4be584a/qtrio-0.6.0.tar.gz +BuildArch: noarch + +Requires: python3-async-generator +Requires: python3-attrs +Requires: python3-decorator +Requires: python3-outcome +Requires: python3-qts +Requires: python3-trio +Requires: python3-trio-typing +Requires: python3-typing-extensions +Requires: python3-click +Requires: python3-click +Requires: python3-httpcore +Requires: python3-httpx +Requires: python3-hyperlink +Requires: python3-black +Requires: python3-check-manifest +Requires: python3-flake8 +Requires: python3-mypy +Requires: python3-pytest +Requires: python3-quart-trio +Requires: python3-quart +Requires: python3-towncrier +Requires: python3-click +Requires: python3-httpcore +Requires: python3-httpx +Requires: python3-hyperlink +Requires: python3-sphinx +Requires: python3-sphinx-autodoc-typehints +Requires: python3-sphinx-qt-documentation +Requires: python3-sphinx-rtd-theme +Requires: python3-sphinxcontrib-trio +Requires: python3-towncrier +Requires: python3-click +Requires: python3-httpcore +Requires: python3-httpx +Requires: python3-hyperlink +Requires: python3-coverage +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-faulthandler +Requires: python3-pytest-qt +Requires: python3-pytest-trio +Requires: python3-pytest-xdist[psutil] +Requires: python3-quart-trio +Requires: python3-quart +Requires: python3-pytest-xvfb +Requires: python3-pyqt5 +Requires: python3-pyqt5-stubs +Requires: python3-pyside2 +Requires: python3-pytest +Requires: python3-pytest-trio +Requires: python3-quart-trio +Requires: python3-quart +Requires: python3-towncrier +Requires: python3-pytest-trio + +%description + + +%package -n python3-qtrio +Summary: a library bringing Qt GUIs together with ``async`` and ``await`` via Trio +Provides: python-qtrio +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qtrio + + +%package help +Summary: Development documents and examples for qtrio +Provides: python3-qtrio-doc +%description help + + +%prep +%autosetup -n qtrio-0.6.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-qtrio -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1 +- Package Spec generated |
