summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 10:29:17 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 10:29:17 +0000
commitb4546d8973778992b8d307671a85677364132fc5 (patch)
tree9e2acf2eab535403ac1078ce7c19c89b597563e6
parent52293e9d0389ce2ab0f0761b5ec2f654deb9d2c6 (diff)
automatic import of python-pydash
-rw-r--r--.gitignore1
-rw-r--r--python-pydash.spec91
-rw-r--r--sources1
3 files changed, 93 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3b3c9b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..7245610
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c9efe1f34c241c800f840d8406dd0e14 pydash-6.0.2.tar.gz