%global _empty_manifest_terminate_build 0 Name: python-patchwork-core Version: 0.1.7 Release: 1 Summary: Core of the Patchwork Framework - The distributed asynchronous microframework License: MIT License URL: https://pypi.org/project/patchwork-core/ Source0: https://mirrors.aliyun.com/pypi/web/packages/ab/2f/162946d3ade865ef7474d8044734853c70f06b9bbdfda7ecbfc9dc4aaba7/patchwork-core-0.1.7.tar.gz BuildArch: noarch Requires: python3-betterproto Requires: python3-google Requires: python3-pydantic Requires: python3-pytz %description # Patchwork Core Core package of Patchwork - an asynchronous distributed microframework. This library contains some core structures and utils to re-use over all Patchwork packages. ## Requirements * Python 3.7 ## Contribution notes .. warning:: Remember to run `compile-protoc` script after every change in proto files from `protocol` directory. Make sure that all these changes follow guidelines described in Google Protobuf v3 documentation. ## Installation ``pip install patchwork-core`` ## Documentation https://patchwork-framework.gitlab.io/core %package -n python3-patchwork-core Summary: Core of the Patchwork Framework - The distributed asynchronous microframework Provides: python-patchwork-core BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-patchwork-core # Patchwork Core Core package of Patchwork - an asynchronous distributed microframework. This library contains some core structures and utils to re-use over all Patchwork packages. ## Requirements * Python 3.7 ## Contribution notes .. warning:: Remember to run `compile-protoc` script after every change in proto files from `protocol` directory. Make sure that all these changes follow guidelines described in Google Protobuf v3 documentation. ## Installation ``pip install patchwork-core`` ## Documentation https://patchwork-framework.gitlab.io/core %package help Summary: Development documents and examples for patchwork-core Provides: python3-patchwork-core-doc %description help # Patchwork Core Core package of Patchwork - an asynchronous distributed microframework. This library contains some core structures and utils to re-use over all Patchwork packages. ## Requirements * Python 3.7 ## Contribution notes .. warning:: Remember to run `compile-protoc` script after every change in proto files from `protocol` directory. Make sure that all these changes follow guidelines described in Google Protobuf v3 documentation. ## Installation ``pip install patchwork-core`` ## Documentation https://patchwork-framework.gitlab.io/core %prep %autosetup -n patchwork-core-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-patchwork-core -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Jun 09 2023 Python_Bot - 0.1.7-1 - Package Spec generated