summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 12:48:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 12:48:29 +0000
commit06bdfa6c60a15a09553e3a892160c9d4b3b7fffe (patch)
tree24d2023c586d3245ecab092b14380a743de1482e
parent91272f533fbd125d78a5f77a2fd0856d618bb0d0 (diff)
automatic import of python-joypy
-rw-r--r--.gitignore1
-rw-r--r--python-joypy.spec82
-rw-r--r--sources1
3 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..8668dff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/joypy-0.2.6.tar.gz
diff --git a/python-joypy.spec b/python-joypy.spec
new file mode 100644
index 0000000..46ae115
--- /dev/null
+++ b/python-joypy.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-joypy
+Version: 0.2.6
+Release: 1
+Summary: Joyplots in python
+License: MIT
+URL: http://github.com/leotac/joypy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/f4/49636d4c5fa30822028a1e2af234cecf488ba3c7e9ff5aba88e36fb0c95c/joypy-0.2.6.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-pandas
+Requires: python3-matplotlib
+
+%description
+Joyplots in python.
+
+
+
+%package -n python3-joypy
+Summary: Joyplots in python
+Provides: python-joypy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-joypy
+Joyplots in python.
+
+
+
+%package help
+Summary: Development documents and examples for joypy
+Provides: python3-joypy-doc
+%description help
+Joyplots in python.
+
+
+
+%prep
+%autosetup -n joypy-0.2.6
+
+%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-joypy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.6-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5e5cc43
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+92cf068bf65c6f53f118ddbdac9f3316 joypy-0.2.6.tar.gz