From 3252c2d5e890f0c37d2bbb48ee64f2a3bcabae2c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 07:39:37 +0000 Subject: automatic import of python-insultgenerator --- .gitignore | 1 + python-insultgenerator.spec | 145 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 147 insertions(+) create mode 100644 python-insultgenerator.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..94e5edd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/insultgenerator-1.0.3.tar.gz diff --git a/python-insultgenerator.spec b/python-insultgenerator.spec new file mode 100644 index 0000000..3bedacc --- /dev/null +++ b/python-insultgenerator.spec @@ -0,0 +1,145 @@ +%global _empty_manifest_terminate_build 0 +Name: python-insultgenerator +Version: 1.0.3 +Release: 1 +Summary: Random insult generator +License: MIT +URL: https://github.com/tr00st/insult_generator +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/05/05/56b87db39d78eef053f6dc28330fb245bd238c5501557c0070ea098e7a44/insultgenerator-1.0.3.tar.gz +BuildArch: noarch + +Requires: python3-six + +%description +# insult_generator +Random insult generator, written in Python + +[![Build Status](https://travis-ci.org/tr00st/insult_generator.svg?branch=master)](https://travis-ci.org/tr00st/insult_generator) +[![PyPI - License](https://img.shields.io/pypi/l/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) +[![PyPI](https://img.shields.io/pypi/v/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) + +# Usage + + >>> from insultgenerator import phrases + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so ill-defined, she resituated the Tallula" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so acerbic, she cold-chiselled the departmentalism" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so bantam, she Indianized the tranquilizer" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so fresh, she prussianised the Guesde" + +# Disclaimer + +No guarantees are made to the clarity or nonsensical nature of the insults created by this software. + + + + +%package -n python3-insultgenerator +Summary: Random insult generator +Provides: python-insultgenerator +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-insultgenerator +# insult_generator +Random insult generator, written in Python + +[![Build Status](https://travis-ci.org/tr00st/insult_generator.svg?branch=master)](https://travis-ci.org/tr00st/insult_generator) +[![PyPI - License](https://img.shields.io/pypi/l/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) +[![PyPI](https://img.shields.io/pypi/v/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) + +# Usage + + >>> from insultgenerator import phrases + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so ill-defined, she resituated the Tallula" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so acerbic, she cold-chiselled the departmentalism" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so bantam, she Indianized the tranquilizer" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so fresh, she prussianised the Guesde" + +# Disclaimer + +No guarantees are made to the clarity or nonsensical nature of the insults created by this software. + + + + +%package help +Summary: Development documents and examples for insultgenerator +Provides: python3-insultgenerator-doc +%description help +# insult_generator +Random insult generator, written in Python + +[![Build Status](https://travis-ci.org/tr00st/insult_generator.svg?branch=master)](https://travis-ci.org/tr00st/insult_generator) +[![PyPI - License](https://img.shields.io/pypi/l/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) +[![PyPI](https://img.shields.io/pypi/v/insultgenerator.svg)](https://pypi.org/project/insultgenerator/) + +# Usage + + >>> from insultgenerator import phrases + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so ill-defined, she resituated the Tallula" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so acerbic, she cold-chiselled the departmentalism" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so bantam, she Indianized the tranquilizer" + >>> phrases.get_so_insult_with_action_and_target("Your Mom", "she") + "Your Mom's so fresh, she prussianised the Guesde" + +# Disclaimer + +No guarantees are made to the clarity or nonsensical nature of the insults created by this software. + + + + +%prep +%autosetup -n insultgenerator-1.0.3 + +%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-insultgenerator -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 1.0.3-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..0e2e94d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +605309e31bcd85d8ceb0f9274da5c277 insultgenerator-1.0.3.tar.gz -- cgit v1.2.3