From aa6751b235feea5d0f3e6c683dff54cc63eaa676 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 04:30:08 +0000 Subject: automatic import of python-django-dynamic-model-validation --- .gitignore | 1 + python-django-dynamic-model-validation.spec | 103 ++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 105 insertions(+) create mode 100644 python-django-dynamic-model-validation.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f288327 100644 --- a/.gitignore +++ b/.gitignore @@ -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 +![PyPI](https://img.shields.io/pypi/v/django-dynamic-model-validation) [![Build Status](https://travis-ci.org/tj-django/django-dynamic-model-validation.svg?branch=master)](https://travis-ci.org/tj-django/django-dynamic-model-validation) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/6973bc063f1142afb66d897261d8f8f5)](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) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/6973bc063f1142afb66d897261d8f8f5)](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) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-dynamic-model-validation) ![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-dynamic-model-validation) [![Downloads](https://pepy.tech/badge/django-clone)](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 +![PyPI](https://img.shields.io/pypi/v/django-dynamic-model-validation) [![Build Status](https://travis-ci.org/tj-django/django-dynamic-model-validation.svg?branch=master)](https://travis-ci.org/tj-django/django-dynamic-model-validation) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/6973bc063f1142afb66d897261d8f8f5)](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) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/6973bc063f1142afb66d897261d8f8f5)](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) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-dynamic-model-validation) ![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-dynamic-model-validation) [![Downloads](https://pepy.tech/badge/django-clone)](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 +![PyPI](https://img.shields.io/pypi/v/django-dynamic-model-validation) [![Build Status](https://travis-ci.org/tj-django/django-dynamic-model-validation.svg?branch=master)](https://travis-ci.org/tj-django/django-dynamic-model-validation) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/6973bc063f1142afb66d897261d8f8f5)](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) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/6973bc063f1142afb66d897261d8f8f5)](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) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-dynamic-model-validation) ![PyPI - Django Version](https://img.shields.io/pypi/djversions/django-dynamic-model-validation) [![Downloads](https://pepy.tech/badge/django-clone)](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 - 1.0.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..2235d02 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +72d5654f3f2f7398afbd77b2da62ce86 django-dynamic-model-validation-1.0.0.tar.gz -- cgit v1.2.3