From 3936f6ee8be45ddb96c4d294ca199f02fae6c126 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 08:45:22 +0000 Subject: automatic import of python-simpler --- .gitignore | 1 + python-simpler.spec | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 144 insertions(+) create mode 100644 python-simpler.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..76e9ac6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/simpler-5.6.1.tar.gz diff --git a/python-simpler.spec b/python-simpler.spec new file mode 100644 index 0000000..38fbc67 --- /dev/null +++ b/python-simpler.spec @@ -0,0 +1,142 @@ +%global _empty_manifest_terminate_build 0 +Name: python-simpler +Version: 5.6.1 +Release: 1 +Summary: Makes Python simpler. +License: MIT +URL: https://github.com/juancroldan/simpler +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/08/7c/4da47a6dbc0b6bd303efd3632de8aaf80c606e4a78b630b9d78cff80b697/simpler-5.6.1.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-pandas +Requires: python3-pyyaml +Requires: python3-rarfile +Requires: python3-py7zr +Requires: python3-sphinx-autodoc-typehints +Requires: python3-elevate + +%description +# Simpler + +A library to make Python even simpler. + +It contains an assorted selection of utils that I use on my projects. + +## Installation + +It is [available in PyPI](https://pypi.org/project/simpler/), just do `pip install simpler`. + +## Usage + +See [simpler.readthedocs.io](https://simpler.readthedocs.io/) for the latest library documentation. + +## Examples + +Load/save: + +[![load/save terminal demo](https://user-images.githubusercontent.com/9042837/117157317-cbd41f00-adbe-11eb-9553-4a354b087f87.gif)](https://asciinema.org/a/yhl9BxbiM1sAARqTNW2Dajz8f) + + + + +%package -n python3-simpler +Summary: Makes Python simpler. +Provides: python-simpler +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-simpler +# Simpler + +A library to make Python even simpler. + +It contains an assorted selection of utils that I use on my projects. + +## Installation + +It is [available in PyPI](https://pypi.org/project/simpler/), just do `pip install simpler`. + +## Usage + +See [simpler.readthedocs.io](https://simpler.readthedocs.io/) for the latest library documentation. + +## Examples + +Load/save: + +[![load/save terminal demo](https://user-images.githubusercontent.com/9042837/117157317-cbd41f00-adbe-11eb-9553-4a354b087f87.gif)](https://asciinema.org/a/yhl9BxbiM1sAARqTNW2Dajz8f) + + + + +%package help +Summary: Development documents and examples for simpler +Provides: python3-simpler-doc +%description help +# Simpler + +A library to make Python even simpler. + +It contains an assorted selection of utils that I use on my projects. + +## Installation + +It is [available in PyPI](https://pypi.org/project/simpler/), just do `pip install simpler`. + +## Usage + +See [simpler.readthedocs.io](https://simpler.readthedocs.io/) for the latest library documentation. + +## Examples + +Load/save: + +[![load/save terminal demo](https://user-images.githubusercontent.com/9042837/117157317-cbd41f00-adbe-11eb-9553-4a354b087f87.gif)](https://asciinema.org/a/yhl9BxbiM1sAARqTNW2Dajz8f) + + + + +%prep +%autosetup -n simpler-5.6.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-simpler -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 5.6.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..9ba40fc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ca8f94512737ec3e8d5f46b646a767a9 simpler-5.6.1.tar.gz -- cgit v1.2.3