summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 10:06:58 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 10:06:58 +0000
commitecc867dd28b865d16e7c4a3d196de76ece23e9cd (patch)
tree438f0a7444283cc6b3e0fc86a80a56438fecac4e
parent2e048e2425c9fc050d659949832b754ae050b3e4 (diff)
automatic import of python-pydasher
-rw-r--r--.gitignore1
-rw-r--r--python-pydasher.spec81
-rw-r--r--sources1
3 files changed, 83 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7188dae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pydasher-0.0.13.tar.gz
diff --git a/python-pydasher.spec b/python-pydasher.spec
new file mode 100644
index 0000000..5c336f4
--- /dev/null
+++ b/python-pydasher.spec
@@ -0,0 +1,81 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pydasher
+Version: 0.0.13
+Release: 1
+Summary: A small set of utility functions for deterministically hashing pydantic base-models.
+License: Apache-2.0
+URL: https://pypi.org/project/pydasher/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/35/4d/125b30a33b8b223294773e6baa12538978a66b77764d1570e3bc13146a71/pydasher-0.0.13.tar.gz
+BuildArch: noarch
+
+Requires: python3-markdown-include
+Requires: python3-mkdocs
+Requires: python3-mkdocs-autorefs
+Requires: python3-mkdocs-markdownextradata-plugin
+Requires: python3-mkdocs-material
+Requires: python3-mkdocstrings
+Requires: python3-pdocs[docs]
+Requires: python3-pydantic[dotenv]
+Requires: python3-pymdown-extensions
+
+%description
+
+
+%package -n python3-pydasher
+Summary: A small set of utility functions for deterministically hashing pydantic base-models.
+Provides: python-pydasher
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pydasher
+
+
+%package help
+Summary: Development documents and examples for pydasher
+Provides: python3-pydasher-doc
+%description help
+
+
+%prep
+%autosetup -n pydasher-0.0.13
+
+%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-pydasher -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.13-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b6290e0
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a01fec210026501cb5e58fcdfb4af438 pydasher-0.0.13.tar.gz