diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:30:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:30:08 +0000 |
commit | aa6751b235feea5d0f3e6c683dff54cc63eaa676 (patch) | |
tree | 27fb1e927d686ec6c0694c18b1573a8ed217ea68 | |
parent | 6a9c0edf30955b7792705a5c4e67474c13c2f95a (diff) |
automatic import of python-django-dynamic-model-validation
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-django-dynamic-model-validation.spec | 103 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 105 insertions, 0 deletions
@@ -0,0 +1 @@ +/django-dynamic-model-validation-1.0.0.tar.gz diff --git a/python-django-dynamic-model-validation.spec b/python-django-dynamic-model-validation.spec new file mode 100644 index 0000000..933468d --- /dev/null +++ b/python-django-dynamic-model-validation.spec @@ -0,0 +1,103 @@ +%global _empty_manifest_terminate_build 0 +Name: python-django-dynamic-model-validation +Version: 1.0.0 +Release: 1 +Summary: Extra django model validation. +License: MIT/Apache-2.0 +URL: https://github.com/jackton1/django-dynamic-model-validation.git +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b8/c0/340a05de9b01d93c95d11b27782b952ea23c4cba9f28318ba4314c17834f/django-dynamic-model-validation-1.0.0.tar.gz +BuildArch: noarch + +Requires: python3-future +Requires: python3-six +Requires: python3-readme-renderer[md] +Requires: python3-bump2version +Requires: python3-Django +Requires: python3-pip-tools +Requires: python3-check-manifest +Requires: python3-future +Requires: python3-six +Requires: python3-tox +Requires: python3-pytest-django +Requires: python3-pluggy +Requires: python3-mock +Requires: python3-codacy-coverage +Requires: python3-flake8 +Requires: python3-yamllint +Requires: python3-isort +Requires: python3-flake8 +Requires: python3-yamllint +Requires: python3-isort +Requires: python3-tox +Requires: python3-pytest-django +Requires: python3-pluggy +Requires: python3-mock +Requires: python3-codacy-coverage +Requires: python3-Django +Requires: python3-pip-tools +Requires: python3-check-manifest + +%description + [](https://travis-ci.org/tj-django/django-dynamic-model-validation) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Grade) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Coverage) +  [](https://pepy.tech/project/django-clone) + +%package -n python3-django-dynamic-model-validation +Summary: Extra django model validation. +Provides: python-django-dynamic-model-validation +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-django-dynamic-model-validation + [](https://travis-ci.org/tj-django/django-dynamic-model-validation) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Grade) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Coverage) +  [](https://pepy.tech/project/django-clone) + +%package help +Summary: Development documents and examples for django-dynamic-model-validation +Provides: python3-django-dynamic-model-validation-doc +%description help + [](https://travis-ci.org/tj-django/django-dynamic-model-validation) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Grade) [](https://www.codacy.com/gh/tj-django/django-dynamic-model-validation/dashboard?utm_source=github.com&utm_medium=referral&utm_content=tj-django/django-dynamic-model-validation&utm_campaign=Badge_Coverage) +  [](https://pepy.tech/project/django-clone) + +%prep +%autosetup -n django-dynamic-model-validation-1.0.0 + +%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-dynamic-model-validation -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.0-1 +- Package Spec generated @@ -0,0 +1 @@ +72d5654f3f2f7398afbd77b2da62ce86 django-dynamic-model-validation-1.0.0.tar.gz |