From 0df502713f2874e0380a73877a1b32e38669ef30 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 05:44:34 +0000 Subject: automatic import of python-patchwork-contrib --- .gitignore | 1 + python-patchwork-contrib.spec | 120 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 122 insertions(+) create mode 100644 python-patchwork-contrib.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..b0b8da4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/patchwork-contrib-0.1.0.tar.gz diff --git a/python-patchwork-contrib.spec b/python-patchwork-contrib.spec new file mode 100644 index 0000000..fd09506 --- /dev/null +++ b/python-patchwork-contrib.spec @@ -0,0 +1,120 @@ +%global _empty_manifest_terminate_build 0 +Name: python-patchwork-contrib +Version: 0.1.0 +Release: 1 +Summary: Patchwork Contrib +License: MIT License +URL: https://pypi.org/project/patchwork-contrib/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5c/39/fc1151d3c20dbce2ad9e64257b14c584848c39dc6b50da0133f29a22f970/patchwork-contrib-0.1.0.tar.gz +BuildArch: noarch + +Requires: python3-patchwork-core +Requires: python3-aiohttp +Requires: python3-fastapi +Requires: python3-pydantic +Requires: python3-jose[cryptography] +Requires: python3-tortoise-orm + +%description +# Patchwork Contrib + +Set of tools and helpers to integrate [Patchwork](https://patchwork-framework.gitlab.io/core) with external +libraries. + +## Warning! +Current project state should be considered as Proof-of-Concept. + +This framework is based on working solution which handles 100+ services and hundreds of events per second, +however it's written from scratch and fully asynchronous in opposite to original one which is fully synchronous. +There is no guarantee that this framework pass performance tests and will be useful. + + +https://patchwork-framework.gitlab.io/contrib + + +%package -n python3-patchwork-contrib +Summary: Patchwork Contrib +Provides: python-patchwork-contrib +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-patchwork-contrib +# Patchwork Contrib + +Set of tools and helpers to integrate [Patchwork](https://patchwork-framework.gitlab.io/core) with external +libraries. + +## Warning! +Current project state should be considered as Proof-of-Concept. + +This framework is based on working solution which handles 100+ services and hundreds of events per second, +however it's written from scratch and fully asynchronous in opposite to original one which is fully synchronous. +There is no guarantee that this framework pass performance tests and will be useful. + + +https://patchwork-framework.gitlab.io/contrib + + +%package help +Summary: Development documents and examples for patchwork-contrib +Provides: python3-patchwork-contrib-doc +%description help +# Patchwork Contrib + +Set of tools and helpers to integrate [Patchwork](https://patchwork-framework.gitlab.io/core) with external +libraries. + +## Warning! +Current project state should be considered as Proof-of-Concept. + +This framework is based on working solution which handles 100+ services and hundreds of events per second, +however it's written from scratch and fully asynchronous in opposite to original one which is fully synchronous. +There is no guarantee that this framework pass performance tests and will be useful. + + +https://patchwork-framework.gitlab.io/contrib + + +%prep +%autosetup -n patchwork-contrib-0.1.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-patchwork-contrib -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..9e83f11 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +de30ac644df4dbf2fc38aa891e55b3e2 patchwork-contrib-0.1.0.tar.gz -- cgit v1.2.3