diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:20:14 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 06:20:14 +0000 |
commit | 59a88f47871737c01cc25745e85358c95c1db2b1 (patch) | |
tree | bd6255c586bc6833f89626c10c0166809faa2ee9 | |
parent | b48d3ff4e6952f86c98a730a3844bfedf5c8ded4 (diff) |
automatic import of python-wisdoms
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-wisdoms.spec | 88 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 90 insertions, 0 deletions
@@ -0,0 +1 @@ +/wisdoms-2.6.4.tar.gz diff --git a/python-wisdoms.spec b/python-wisdoms.spec new file mode 100644 index 0000000..fa9e14b --- /dev/null +++ b/python-wisdoms.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-wisdoms +Version: 2.6.4 +Release: 1 +Summary: fix dapr invoke function +License: MIT License +URL: https://gitlab.com/soft-project/wisdom-lib +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/6b/210cdd4653c74b63e87c4ca1f216b64d3e9c11417b200d66d8cd6e769ff1/wisdoms-2.6.4.tar.gz +BuildArch: noarch + +Requires: python3-pyYaml + +%description +- #### generation - 更新库 +_Make sure you have installed setuptools and wheel._ +_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_ +> python setup.py sdist bdist_wheel +- #### upload - 上传代码 +Install twine before doing this(qays:一只会抓鱼的熊) + +%package -n python3-wisdoms +Summary: fix dapr invoke function +Provides: python-wisdoms +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-wisdoms +- #### generation - 更新库 +_Make sure you have installed setuptools and wheel._ +_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_ +> python setup.py sdist bdist_wheel +- #### upload - 上传代码 +Install twine before doing this(qays:一只会抓鱼的熊) + +%package help +Summary: Development documents and examples for wisdoms +Provides: python3-wisdoms-doc +%description help +- #### generation - 更新库 +_Make sure you have installed setuptools and wheel._ +_Important: You must modify the version of the package in setup.py and then delete those folders (build, dist, egg-info)_ +> python setup.py sdist bdist_wheel +- #### upload - 上传代码 +Install twine before doing this(qays:一只会抓鱼的熊) + +%prep +%autosetup -n wisdoms-2.6.4 + +%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-wisdoms -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.6.4-1 +- Package Spec generated @@ -0,0 +1 @@ +cd7314dcddae10e377f67788f733d6f0 wisdoms-2.6.4.tar.gz |