summaryrefslogtreecommitdiff
path: root/python-pylint-django.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 11:16:33 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 11:16:33 +0000
commit12476c96c64a7a298f8ea3608fe464610c42b114 (patch)
tree4132690fdb9e7ba596c719272d7f6fa3d8b3e706 /python-pylint-django.spec
parentbb5522df574070c15f93e5ff579798af15eb78d2 (diff)
automatic import of python-pylint-django
Diffstat (limited to 'python-pylint-django.spec')
-rw-r--r--python-pylint-django.spec82
1 files changed, 82 insertions, 0 deletions
diff --git a/python-pylint-django.spec b/python-pylint-django.spec
new file mode 100644
index 0000000..b0256d9
--- /dev/null
+++ b/python-pylint-django.spec
@@ -0,0 +1,82 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pylint-django
+Version: 2.5.3
+Release: 1
+Summary: A Pylint plugin to help Pylint understand the Django web framework
+License: GPLv2
+URL: https://github.com/PyCQA/pylint-django
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/16/b5/c0a61c8c714674508f3181f7b95c42e1dd4515aa91753a7ab08fd449ff9e/pylint-django-2.5.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-pylint-plugin-utils
+Requires: python3-pylint
+Requires: python3-django-tables2
+Requires: python3-factory-boy
+Requires: python3-coverage
+Requires: python3-pytest
+Requires: python3-wheel
+Requires: python3-django-tastypie
+Requires: python3-pylint
+Requires: python3-Django
+
+%description
+
+
+%package -n python3-pylint-django
+Summary: A Pylint plugin to help Pylint understand the Django web framework
+Provides: python-pylint-django
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pylint-django
+
+
+%package help
+Summary: Development documents and examples for pylint-django
+Provides: python3-pylint-django-doc
+%description help
+
+
+%prep
+%autosetup -n pylint-django-2.5.3
+
+%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-pylint-django -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.5.3-1
+- Package Spec generated