diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:26:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 06:26:10 +0000 |
commit | 0694e2278db11be83c025497c084528305eaae10 (patch) | |
tree | 68a0b7b606e1ad496397d55810bc760a333dd5ec | |
parent | dd08805cf06c20fe7e64cf2dcb818ab3b890eb0a (diff) |
automatic import of python-dataverk-toolsopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dataverk-tools.spec | 89 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 91 insertions, 0 deletions
@@ -0,0 +1 @@ +/dataverk_tools-0.1.2.tar.gz diff --git a/python-dataverk-tools.spec b/python-dataverk-tools.spec new file mode 100644 index 0000000..2bc2662 --- /dev/null +++ b/python-dataverk-tools.spec @@ -0,0 +1,89 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dataverk-tools +Version: 0.1.2 +Release: 1 +Summary: Theming and colors for dataverker and python dataviz +License: MIT +URL: https://github.com/navikt/dataverk_tools/ +Source0: https://mirrors.aliyun.com/pypi/web/packages/ba/4d/c93facbb21b7436a5de9a9a98cbf6f605f2236fb24c7fab9cfdbb9336009/dataverk_tools-0.1.2.tar.gz +BuildArch: noarch + +Requires: python3-plotly +Requires: python3-altair +Requires: python3-statsmodels +Requires: python3-colorlover +Requires: python3-matplotlib +Requires: python3-numpy +Requires: python3-vega +Requires: python3-vega-datasets + +%description +# Dataverk themes + + + + +%package -n python3-dataverk-tools +Summary: Theming and colors for dataverker and python dataviz +Provides: python-dataverk-tools +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dataverk-tools +# Dataverk themes + + + + +%package help +Summary: Development documents and examples for dataverk-tools +Provides: python3-dataverk-tools-doc +%description help +# Dataverk themes + + + + +%prep +%autosetup -n dataverk_tools-0.1.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-dataverk-tools -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.2-1 +- Package Spec generated @@ -0,0 +1 @@ +a62c99d134472c5273f64a23287ad254 dataverk_tools-0.1.2.tar.gz |