diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 07:30:55 +0000 |
commit | 4c49849359dcb976c9d8a3e2a0ac83e01f911c32 (patch) | |
tree | 04b942e9db3fdd3f549ada0889fab15ac3dca567 | |
parent | da50dde281de5d2f275191017e95127a9575aa33 (diff) |
automatic import of python-discord-ext-owoifyopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-discord-ext-owoify.spec | 225 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 227 insertions, 0 deletions
@@ -0,0 +1 @@ +/discord-ext-owoify-0.0.7.9a0.tar.gz diff --git a/python-discord-ext-owoify.spec b/python-discord-ext-owoify.spec new file mode 100644 index 0000000..3df5559 --- /dev/null +++ b/python-discord-ext-owoify.spec @@ -0,0 +1,225 @@ +%global _empty_manifest_terminate_build 0 +Name: python-discord-ext-owoify +Version: 0.0.7.9a0 +Release: 1 +Summary: An extension module to owoify text +License: MIT +URL: https://github.com/GreenDiscord/discord-ext-owoify/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/c0/cc/597d3f946058dcfdf7816608d97507130c4d33c134d986e7a6de50ab36c7/discord-ext-owoify-0.0.7.9a0.tar.gz +BuildArch: noarch + + +%description +[](https://mit-license.org/)  [](https://discord.gg/esARSKDMAp) + +### discord-ext-owoify +Simple ext package for owoifing text. + +### Install +Simple paste this into your terminal + +- ```shell script + pip install discord-ext-owoify + ``` + +If you need to **update** please use the following: + +- ```shell script + pip install --upgrade discord-ext-owoify + ``` + +### Simple Use +Firstly, import the package using + +- ```python + from discord.ext import owoify + ``` + +Now, lets use the ```owoify.owoify()``` attribute to **owoify** your text! + +- ```python + from discord.ext import owoify + + print(owoify.owoify("TEXT")) + + ``` + +Wanna decode this now? Use the ```owoify.decode()``` attribute for this module. +- ```python + from discord.ext import owoify + + print(owoify.decode("TEXT")) + ``` + + Note: The decode attribute is still in dev, as i need to find all words that would get owoified :) + + +### Devlepoment version + +To install this, you need to install from the github + +- ```shell script + pip install -U git+https://github.com/GreenDiscord/discord-ext-owoify + ``` +Thanks! Please give feedback in issues :) + +%package -n python3-discord-ext-owoify +Summary: An extension module to owoify text +Provides: python-discord-ext-owoify +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-discord-ext-owoify +[](https://mit-license.org/)  [](https://discord.gg/esARSKDMAp) + +### discord-ext-owoify +Simple ext package for owoifing text. + +### Install +Simple paste this into your terminal + +- ```shell script + pip install discord-ext-owoify + ``` + +If you need to **update** please use the following: + +- ```shell script + pip install --upgrade discord-ext-owoify + ``` + +### Simple Use +Firstly, import the package using + +- ```python + from discord.ext import owoify + ``` + +Now, lets use the ```owoify.owoify()``` attribute to **owoify** your text! + +- ```python + from discord.ext import owoify + + print(owoify.owoify("TEXT")) + + ``` + +Wanna decode this now? Use the ```owoify.decode()``` attribute for this module. +- ```python + from discord.ext import owoify + + print(owoify.decode("TEXT")) + ``` + + Note: The decode attribute is still in dev, as i need to find all words that would get owoified :) + + +### Devlepoment version + +To install this, you need to install from the github + +- ```shell script + pip install -U git+https://github.com/GreenDiscord/discord-ext-owoify + ``` +Thanks! Please give feedback in issues :) + +%package help +Summary: Development documents and examples for discord-ext-owoify +Provides: python3-discord-ext-owoify-doc +%description help +[](https://mit-license.org/)  [](https://discord.gg/esARSKDMAp) + +### discord-ext-owoify +Simple ext package for owoifing text. + +### Install +Simple paste this into your terminal + +- ```shell script + pip install discord-ext-owoify + ``` + +If you need to **update** please use the following: + +- ```shell script + pip install --upgrade discord-ext-owoify + ``` + +### Simple Use +Firstly, import the package using + +- ```python + from discord.ext import owoify + ``` + +Now, lets use the ```owoify.owoify()``` attribute to **owoify** your text! + +- ```python + from discord.ext import owoify + + print(owoify.owoify("TEXT")) + + ``` + +Wanna decode this now? Use the ```owoify.decode()``` attribute for this module. +- ```python + from discord.ext import owoify + + print(owoify.decode("TEXT")) + ``` + + Note: The decode attribute is still in dev, as i need to find all words that would get owoified :) + + +### Devlepoment version + +To install this, you need to install from the github + +- ```shell script + pip install -U git+https://github.com/GreenDiscord/discord-ext-owoify + ``` +Thanks! Please give feedback in issues :) + +%prep +%autosetup -n discord-ext-owoify-0.0.7.9a0 + +%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-discord-ext-owoify -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7.9a0-1 +- Package Spec generated @@ -0,0 +1 @@ +c1a35fa3224636c1c1577e1b6d0c89bc discord-ext-owoify-0.0.7.9a0.tar.gz |