summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 03:41:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 03:41:28 +0000
commit8be36a4fbc49253aa5bcb0aea4cd576ba7a86307 (patch)
tree52ac53e53888fc918cd11b5e3e661dfd89bd1acb
parente2da34c2b5cf2e3579c612cccb37283663df1d1e (diff)
automatic import of python-advanced-telegram-botopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-advanced-telegram-bot.spec198
-rw-r--r--sources1
3 files changed, 200 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..477a810 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/advanced-telegram-bot-0.2.1.tar.gz
diff --git a/python-advanced-telegram-bot.spec b/python-advanced-telegram-bot.spec
new file mode 100644
index 0000000..6dd13cf
--- /dev/null
+++ b/python-advanced-telegram-bot.spec
@@ -0,0 +1,198 @@
+%global _empty_manifest_terminate_build 0
+Name: python-advanced-telegram-bot
+Version: 0.2.1
+Release: 1
+Summary: Python library containing utils for telegram bots
+License: MIT License
+URL: https://github.com/sdallaboratory/advanced-telegram-bot
+Source0: https://mirrors.aliyun.com/pypi/web/packages/73/b7/2d0c3c6ca26a8ca794c55cc190fb616caa7bc8869fdd6dc855b3f4b2dc6a/advanced-telegram-bot-0.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-pymongo
+Requires: python3-telegram-bot
+Requires: python3-decorator
+
+%description
+# Advanced Telegram Bot
+
+Python library containing utils for telegram bots
+
+[![pypi-version](https://img.shields.io/pypi/v/advanced-telegram-bot?style=flat-square)](https://pypi.org/project/advanced-telegram-bot)
+![python-version](https://img.shields.io/pypi/pyversions/advanced-telegram-bot?style=flat-square)
+![license](https://img.shields.io/pypi/l/advanced-telegram-bot?style=flat-square)
+
+### Authors
+made by [SDAL](https://sdal.pw/ "sdal"):
+[minish144](https://github.com/Minish144 "minish144")
+&
+[usual-one](https://github.com/usual-one "usual-one")
+
+### Available utils
+- Incoming/outcoming messages service
+- Locale-dependent data storage
+- Logger
+- Role system
+- State system
+- User meta data storage
+
+### Dependencies
+All the dependencies can be found in `requirements.txt` file.
+
+### Installation
+```
+pip install advanced-telegram-bot
+```
+
+### Usage
+Just import the class and you're good to go
+```python
+from advancedbot import TelegramBot
+```
+
+### Documentation & help
+Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki).
+
+
+
+
+
+%package -n python3-advanced-telegram-bot
+Summary: Python library containing utils for telegram bots
+Provides: python-advanced-telegram-bot
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-advanced-telegram-bot
+# Advanced Telegram Bot
+
+Python library containing utils for telegram bots
+
+[![pypi-version](https://img.shields.io/pypi/v/advanced-telegram-bot?style=flat-square)](https://pypi.org/project/advanced-telegram-bot)
+![python-version](https://img.shields.io/pypi/pyversions/advanced-telegram-bot?style=flat-square)
+![license](https://img.shields.io/pypi/l/advanced-telegram-bot?style=flat-square)
+
+### Authors
+made by [SDAL](https://sdal.pw/ "sdal"):
+[minish144](https://github.com/Minish144 "minish144")
+&
+[usual-one](https://github.com/usual-one "usual-one")
+
+### Available utils
+- Incoming/outcoming messages service
+- Locale-dependent data storage
+- Logger
+- Role system
+- State system
+- User meta data storage
+
+### Dependencies
+All the dependencies can be found in `requirements.txt` file.
+
+### Installation
+```
+pip install advanced-telegram-bot
+```
+
+### Usage
+Just import the class and you're good to go
+```python
+from advancedbot import TelegramBot
+```
+
+### Documentation & help
+Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki).
+
+
+
+
+
+%package help
+Summary: Development documents and examples for advanced-telegram-bot
+Provides: python3-advanced-telegram-bot-doc
+%description help
+# Advanced Telegram Bot
+
+Python library containing utils for telegram bots
+
+[![pypi-version](https://img.shields.io/pypi/v/advanced-telegram-bot?style=flat-square)](https://pypi.org/project/advanced-telegram-bot)
+![python-version](https://img.shields.io/pypi/pyversions/advanced-telegram-bot?style=flat-square)
+![license](https://img.shields.io/pypi/l/advanced-telegram-bot?style=flat-square)
+
+### Authors
+made by [SDAL](https://sdal.pw/ "sdal"):
+[minish144](https://github.com/Minish144 "minish144")
+&
+[usual-one](https://github.com/usual-one "usual-one")
+
+### Available utils
+- Incoming/outcoming messages service
+- Locale-dependent data storage
+- Logger
+- Role system
+- State system
+- User meta data storage
+
+### Dependencies
+All the dependencies can be found in `requirements.txt` file.
+
+### Installation
+```
+pip install advanced-telegram-bot
+```
+
+### Usage
+Just import the class and you're good to go
+```python
+from advancedbot import TelegramBot
+```
+
+### Documentation & help
+Help can be found in our [wiki pages](https://github.com/sdallaboratory/advanced-telegram-bot/wiki).
+
+
+
+
+
+%prep
+%autosetup -n advanced-telegram-bot-0.2.1
+
+%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-advanced-telegram-bot -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d29425f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+8ff3d7fbcd2547fdc25f6de598949795 advanced-telegram-bot-0.2.1.tar.gz