diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:29:17 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:29:17 +0000 |
commit | b4546d8973778992b8d307671a85677364132fc5 (patch) | |
tree | 9e2acf2eab535403ac1078ce7c19c89b597563e6 | |
parent | 52293e9d0389ce2ab0f0761b5ec2f654deb9d2c6 (diff) |
automatic import of python-pydash
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pydash.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/pydash-6.0.2.tar.gz diff --git a/python-pydash.spec b/python-pydash.spec new file mode 100644 index 0000000..61dbc9a --- /dev/null +++ b/python-pydash.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pydash +Version: 6.0.2 +Release: 1 +Summary: The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library. +License: MIT License +URL: https://github.com/dgilland/pydash +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2a/d6/a0bf5a313f8888df7d45b9bc953335b0149a07b90890be84f4ca24960318/pydash-6.0.2.tar.gz +BuildArch: noarch + +Requires: python3-black +Requires: python3-build +Requires: python3-coverage +Requires: python3-docformatter +Requires: python3-flake8 +Requires: python3-flake8-black +Requires: python3-flake8-bugbear +Requires: python3-flake8-isort +Requires: python3-invoke +Requires: python3-isort +Requires: python3-pylint +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-Sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-tox +Requires: python3-twine +Requires: python3-wheel +Requires: python3-importlib-metadata + +%description +Looking for a library that is more memory efficient and better suited for large datasets? Check out `fnc <https://github.com/dgilland/fnc>`_! It's built around generators and iteration and has iteratee-first function signatures. + +%package -n python3-pydash +Summary: The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library. +Provides: python-pydash +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pydash +Looking for a library that is more memory efficient and better suited for large datasets? Check out `fnc <https://github.com/dgilland/fnc>`_! It's built around generators and iteration and has iteratee-first function signatures. + +%package help +Summary: Development documents and examples for pydash +Provides: python3-pydash-doc +%description help +Looking for a library that is more memory efficient and better suited for large datasets? Check out `fnc <https://github.com/dgilland/fnc>`_! It's built around generators and iteration and has iteratee-first function signatures. + +%prep +%autosetup -n pydash-6.0.2 + +%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-pydash -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 6.0.2-1 +- Package Spec generated @@ -0,0 +1 @@ +c9efe1f34c241c800f840d8406dd0e14 pydash-6.0.2.tar.gz |