diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:39:37 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 07:39:37 +0000 |
| commit | 3252c2d5e890f0c37d2bbb48ee64f2a3bcabae2c (patch) | |
| tree | 8128140b47c357d27c5877ebc0b4a61aec3f4582 | |
| parent | 65f0c5cf94e8583b4efdae7320e1c516362b4fed (diff) | |
automatic import of python-insultgeneratoropeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-insultgenerator.spec | 145 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 147 insertions, 0 deletions
@@ -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 + +[](https://travis-ci.org/tr00st/insult_generator) +[](https://pypi.org/project/insultgenerator/) +[](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 + +[](https://travis-ci.org/tr00st/insult_generator) +[](https://pypi.org/project/insultgenerator/) +[](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 + +[](https://travis-ci.org/tr00st/insult_generator) +[](https://pypi.org/project/insultgenerator/) +[](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 <Python_Bot@openeuler.org> - 1.0.3-1 +- Package Spec generated @@ -0,0 +1 @@ +605309e31bcd85d8ceb0f9274da5c277 insultgenerator-1.0.3.tar.gz |
