diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 10:31:00 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 10:31:00 +0000 |
commit | 3b98e25ececa2dff4218b88d9825639ff92dc3fa (patch) | |
tree | c7a877f95272e8216fb8288979c57a811dfa7588 | |
parent | b41c831b54f927709b7070782b1c0647a5cbb342 (diff) |
automatic import of python-django-chartit
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-chartit.spec | 72 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 74 insertions, 0 deletions
@@ -0,0 +1 @@ +/django_chartit-0.2.9.tar.gz diff --git a/python-django-chartit.spec b/python-django-chartit.spec new file mode 100644 index 0000000..2d64cec --- /dev/null +++ b/python-django-chartit.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django_chartit +Version: 0.2.9 +Release: 1 +Summary: A Django app to plot charts and pivot charts directly from the models. Uses HighCharts and jQuery JavaScript libraries to render the charts on the webpage. +License: BSD +URL: https://github.com/chartit/django-chartit +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/64/8c/873df78150ba9f8b2fc6230058743e60e8873bd430100958c9099ea9a570/django_chartit-0.2.9.tar.gz +BuildArch: noarch + + +%description + + +%package -n python3-django_chartit +Summary: A Django app to plot charts and pivot charts directly from the models. Uses HighCharts and jQuery JavaScript libraries to render the charts on the webpage. +Provides: python-django_chartit +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django_chartit + + +%package help +Summary: Development documents and examples for django_chartit +Provides: python3-django_chartit-doc +%description help + + +%prep +%autosetup -n django_chartit-0.2.9 + +%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-django_chartit -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.9-1 +- Package Spec generated @@ -0,0 +1 @@ +b726b390fa29f655ba7c90c34983d03c django_chartit-0.2.9.tar.gz |