From 3a37c0b96140723300e0c38ce7d9c70823df3b3d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 07:40:25 +0000 Subject: automatic import of python-platypush --- .gitignore | 1 + python-platypush.spec | 210 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 212 insertions(+) create mode 100644 python-platypush.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..915059d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/platypush-0.24.5.tar.gz diff --git a/python-platypush.spec b/python-platypush.spec new file mode 100644 index 0000000..c8c05fc --- /dev/null +++ b/python-platypush.spec @@ -0,0 +1,210 @@ +%global _empty_manifest_terminate_build 0 +Name: python-platypush +Version: 0.24.5 +Release: 1 +Summary: Platypush service +License: MIT +URL: https://platypush.tech +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f6/ed/209efc2d2b5b6a15b32d8ed48de61d579737ce73a4798ae9a7b7cac04b0a/platypush-0.24.5.tar.gz +BuildArch: noarch + + +%description +[![Build Status](https://ci.platypush.tech/status.svg)](https://ci.platypush.tech/latest.log) +[![Documentation Status](https://ci.platypush.tech/docs/status.svg)](https://ci.platypush.tech/docs/latest.log) +[![pip version](https://img.shields.io/pypi/v/platypush.svg?style=flat)](https://pypi.python.org/pypi/platypush/) +[![License](https://img.shields.io/github/license/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/blob/master/LICENSE.txt) +[![Last Commit](https://img.shields.io/github/last-commit/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/commits/master/) +[![Join chat on Matrix](https://img.shields.io/matrix/:platypush?server_fqdn=matrix.platypush.tech)](https://matrix.to/#/#platypush:matrix.platypush.tech) +[![Contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://git.platypush.tech/platypush/platypush/-/blob/master/CONTRIBUTING.md) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:python) +[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:javascript) + +- [Architecture](#architecture) + * [Plugins](#plugins) + * [Actions](#actions) + * [Backends](#backends) + * [Events](#events) + * [Hooks](#hooks) + * [Procedures](#procedures) + * [Cronjobs](#cronjobs) + * [The web interface](#the-web-interface) +- [Installation](#installation) + * [System installation](#system-installation) + + [Install through `pip`](#install-through-pip) + + [Install through a system package manager](#install-through-a-system-package-manager) + + [Install from sources](#install-from-sources) + * [Installing the dependencies for your extensions](#installing-the-dependencies-for-your-extensions) + + [Install via `extras` name](#install-via-extras-name) + + [Install via `manifest.yaml`](#install-via-manifestyaml) + + [Check the instructions reported in the documentation](#check-the-instructions-reported-in-the-documentation) + * [Virtual environment installation](#virtual-environment-installation) + * [Docker installation](#docker-installation) +- [Mobile app](#mobile-app) +- [Tests](#tests) +- [Funding](#funding) + +- Recommended read: [**Getting started with Platypush**](https://blog.platypush.tech/article/Ultimate-self-hosted-automation-with-Platypush). +- The [blog](https://blog.platypush.tech) is in general a good place to get + more insights on what you can build with it and inspiration about possible + usages. +- The [wiki](https://git.platypush.tech/platypush/platypush/wiki) also + contains many resources on getting started. +- Extensive documentation for all the available integrations and messages [is + available](https://docs.platypush.tech/). +- If you have issues/feature requests/enhancement ideas please [create an + issue](https://git.platypush.tech/platypush/platypush/-/issues). +- A [Reddit channel](https://www.reddit.com/r/platypush) is also available for + more general questions. +- A [Matrix instance](https://matrix.to/#/#platypush:matrix.platypush.tech) is + +%package -n python3-platypush +Summary: Platypush service +Provides: python-platypush +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-platypush +[![Build Status](https://ci.platypush.tech/status.svg)](https://ci.platypush.tech/latest.log) +[![Documentation Status](https://ci.platypush.tech/docs/status.svg)](https://ci.platypush.tech/docs/latest.log) +[![pip version](https://img.shields.io/pypi/v/platypush.svg?style=flat)](https://pypi.python.org/pypi/platypush/) +[![License](https://img.shields.io/github/license/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/blob/master/LICENSE.txt) +[![Last Commit](https://img.shields.io/github/last-commit/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/commits/master/) +[![Join chat on Matrix](https://img.shields.io/matrix/:platypush?server_fqdn=matrix.platypush.tech)](https://matrix.to/#/#platypush:matrix.platypush.tech) +[![Contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://git.platypush.tech/platypush/platypush/-/blob/master/CONTRIBUTING.md) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:python) +[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:javascript) + +- [Architecture](#architecture) + * [Plugins](#plugins) + * [Actions](#actions) + * [Backends](#backends) + * [Events](#events) + * [Hooks](#hooks) + * [Procedures](#procedures) + * [Cronjobs](#cronjobs) + * [The web interface](#the-web-interface) +- [Installation](#installation) + * [System installation](#system-installation) + + [Install through `pip`](#install-through-pip) + + [Install through a system package manager](#install-through-a-system-package-manager) + + [Install from sources](#install-from-sources) + * [Installing the dependencies for your extensions](#installing-the-dependencies-for-your-extensions) + + [Install via `extras` name](#install-via-extras-name) + + [Install via `manifest.yaml`](#install-via-manifestyaml) + + [Check the instructions reported in the documentation](#check-the-instructions-reported-in-the-documentation) + * [Virtual environment installation](#virtual-environment-installation) + * [Docker installation](#docker-installation) +- [Mobile app](#mobile-app) +- [Tests](#tests) +- [Funding](#funding) + +- Recommended read: [**Getting started with Platypush**](https://blog.platypush.tech/article/Ultimate-self-hosted-automation-with-Platypush). +- The [blog](https://blog.platypush.tech) is in general a good place to get + more insights on what you can build with it and inspiration about possible + usages. +- The [wiki](https://git.platypush.tech/platypush/platypush/wiki) also + contains many resources on getting started. +- Extensive documentation for all the available integrations and messages [is + available](https://docs.platypush.tech/). +- If you have issues/feature requests/enhancement ideas please [create an + issue](https://git.platypush.tech/platypush/platypush/-/issues). +- A [Reddit channel](https://www.reddit.com/r/platypush) is also available for + more general questions. +- A [Matrix instance](https://matrix.to/#/#platypush:matrix.platypush.tech) is + +%package help +Summary: Development documents and examples for platypush +Provides: python3-platypush-doc +%description help +[![Build Status](https://ci.platypush.tech/status.svg)](https://ci.platypush.tech/latest.log) +[![Documentation Status](https://ci.platypush.tech/docs/status.svg)](https://ci.platypush.tech/docs/latest.log) +[![pip version](https://img.shields.io/pypi/v/platypush.svg?style=flat)](https://pypi.python.org/pypi/platypush/) +[![License](https://img.shields.io/github/license/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/blob/master/LICENSE.txt) +[![Last Commit](https://img.shields.io/github/last-commit/BlackLight/platypush.svg)](https://git.platypush.tech/platypush/platypush/-/commits/master/) +[![Join chat on Matrix](https://img.shields.io/matrix/:platypush?server_fqdn=matrix.platypush.tech)](https://matrix.to/#/#platypush:matrix.platypush.tech) +[![Contributions](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://git.platypush.tech/platypush/platypush/-/blob/master/CONTRIBUTING.md) +[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:python) +[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/BlackLight/platypush.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/BlackLight/platypush/context:javascript) + +- [Architecture](#architecture) + * [Plugins](#plugins) + * [Actions](#actions) + * [Backends](#backends) + * [Events](#events) + * [Hooks](#hooks) + * [Procedures](#procedures) + * [Cronjobs](#cronjobs) + * [The web interface](#the-web-interface) +- [Installation](#installation) + * [System installation](#system-installation) + + [Install through `pip`](#install-through-pip) + + [Install through a system package manager](#install-through-a-system-package-manager) + + [Install from sources](#install-from-sources) + * [Installing the dependencies for your extensions](#installing-the-dependencies-for-your-extensions) + + [Install via `extras` name](#install-via-extras-name) + + [Install via `manifest.yaml`](#install-via-manifestyaml) + + [Check the instructions reported in the documentation](#check-the-instructions-reported-in-the-documentation) + * [Virtual environment installation](#virtual-environment-installation) + * [Docker installation](#docker-installation) +- [Mobile app](#mobile-app) +- [Tests](#tests) +- [Funding](#funding) + +- Recommended read: [**Getting started with Platypush**](https://blog.platypush.tech/article/Ultimate-self-hosted-automation-with-Platypush). +- The [blog](https://blog.platypush.tech) is in general a good place to get + more insights on what you can build with it and inspiration about possible + usages. +- The [wiki](https://git.platypush.tech/platypush/platypush/wiki) also + contains many resources on getting started. +- Extensive documentation for all the available integrations and messages [is + available](https://docs.platypush.tech/). +- If you have issues/feature requests/enhancement ideas please [create an + issue](https://git.platypush.tech/platypush/platypush/-/issues). +- A [Reddit channel](https://www.reddit.com/r/platypush) is also available for + more general questions. +- A [Matrix instance](https://matrix.to/#/#platypush:matrix.platypush.tech) is + +%prep +%autosetup -n platypush-0.24.5 + +%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-platypush -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.24.5-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..f8739c3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a9431ac1c0ea67d7a6f4044c1e5b8e73 platypush-0.24.5.tar.gz -- cgit v1.2.3