diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:45:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 08:45:22 +0000 |
commit | 3936f6ee8be45ddb96c4d294ca199f02fae6c126 (patch) | |
tree | c2113d3bc1ca45d2cda7a32c4d3696127c22c621 | |
parent | 52001f6c8b7682f554ebb66798c17d3d730fb17f (diff) |
automatic import of python-simpleropeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-simpler.spec | 142 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 144 insertions, 0 deletions
@@ -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: + +[](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: + +[](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: + +[](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 <Python_Bot@openeuler.org> - 5.6.1-1 +- Package Spec generated @@ -0,0 +1 @@ +ca8f94512737ec3e8d5f46b646a767a9 simpler-5.6.1.tar.gz |