%global _empty_manifest_terminate_build 0 Name: python-ducts Version: 0.1.7 Release: 1 Summary: DUplex Communication and Transactional Streaming Web Framework License: MIT License URL: https://github.com/iflb/ducts Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b6/5d/5276bff2d6f744eddee7c4f3ad9c5b1f5f301807db05f77d0041e9232f67/ducts-0.1.7.tar.gz BuildArch: noarch Requires: python3-iflb Requires: python3-ifconf Requires: python3-msgpack Requires: python3-aiofiles Requires: python3-aiohttp Requires: python3-aiohttp-remotes Requires: python3-aioredis Requires: python3-async-timeout Requires: python3-daemon Requires: python3-psutil Requires: python3-wave %description This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %package -n python3-ducts Summary: DUplex Communication and Transactional Streaming Web Framework Provides: python-ducts BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-ducts This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %package help Summary: Development documents and examples for ducts Provides: python3-ducts-doc %description help This is the README file for the project. The file should use UTF-8 encoding and can be written using [reStructuredText][rst] or [markdown][md use] with the appropriate [key set][md use]. It will be used to generate the project webpage on PyPI and will be displayed as the project homepage on common code-hosting services, and should be written for that purpose. Typical contents for this file would include an overview of the project, basic usage examples, etc. Generally, including the project changelog in here is not a good idea, although a simple “What's New” section for the most recent version may be appropriate. [packaging guide]: https://packaging.python.org [distribution tutorial]: https://packaging.python.org/tutorials/packaging-projects/ [src]: https://github.com/pypa/sampleproject [rst]: http://docutils.sourceforge.net/rst.html [md]: https://tools.ietf.org/html/rfc7764#section-3.5 "CommonMark variant" [md use]: https://packaging.python.org/specifications/core-metadata/#description-content-type-optional %prep %autosetup -n ducts-0.1.7 %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-ducts -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 29 2023 Python_Bot - 0.1.7-1 - Package Spec generated