summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 09:56:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 09:56:12 +0000
commitdd9c634bfab7de5772c435e5f0be111379dc6448 (patch)
tree1ebfda3b24dd49180a8a5da590a42d41fe16bdee
parentffa713caed7ba12c103d0a6911db3445eac2b1f4 (diff)
automatic import of python-django-handlerefopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-django-handleref.spec147
-rw-r--r--sources1
3 files changed, 149 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..022af8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-handleref-2.0.0.tar.gz
diff --git a/python-django-handleref.spec b/python-django-handleref.spec
new file mode 100644
index 0000000..a2e2a2b
--- /dev/null
+++ b/python-django-handleref.spec
@@ -0,0 +1,147 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-handleref
+Version: 2.0.0
+Release: 1
+Summary: django object tracking
+License: Apache-2.0
+URL: https://github.com/20c/django-handleref
+Source0: https://mirrors.aliyun.com/pypi/web/packages/85/68/20f83e5052bed84c8680530e3d247e6adc2d66026af770022d482511ccdd/django-handleref-2.0.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# django-handleref
+
+[![PyPI](https://img.shields.io/pypi/v/django-handleref.svg?maxAge=3600)](https://pypi.python.org/pypi/django-handleref)
+[![PyPI](https://img.shields.io/pypi/pyversions/django-handleref.svg?maxAge=600)](https://pypi.python.org/pypi/django-handleref)
+[![Tests](https://github.com/20c/django-handleref/workflows/tests/badge.svg)](https://github.com/20c/django-handleref)
+[![Codecov](https://img.shields.io/codecov/c/github/20c/django-handleref/master.svg?maxAge=3600)](https://codecov.io/github/20c/django-handleref)
+
+Track when an object was created or changed and allow querying based on time and versioning (w/ `django-reversion` support)
+
+### License
+
+Copyright 2015-2023 20C, LLC
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this software except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+%package -n python3-django-handleref
+Summary: django object tracking
+Provides: python-django-handleref
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-handleref
+# django-handleref
+
+[![PyPI](https://img.shields.io/pypi/v/django-handleref.svg?maxAge=3600)](https://pypi.python.org/pypi/django-handleref)
+[![PyPI](https://img.shields.io/pypi/pyversions/django-handleref.svg?maxAge=600)](https://pypi.python.org/pypi/django-handleref)
+[![Tests](https://github.com/20c/django-handleref/workflows/tests/badge.svg)](https://github.com/20c/django-handleref)
+[![Codecov](https://img.shields.io/codecov/c/github/20c/django-handleref/master.svg?maxAge=3600)](https://codecov.io/github/20c/django-handleref)
+
+Track when an object was created or changed and allow querying based on time and versioning (w/ `django-reversion` support)
+
+### License
+
+Copyright 2015-2023 20C, LLC
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this software except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+%package help
+Summary: Development documents and examples for django-handleref
+Provides: python3-django-handleref-doc
+%description help
+# django-handleref
+
+[![PyPI](https://img.shields.io/pypi/v/django-handleref.svg?maxAge=3600)](https://pypi.python.org/pypi/django-handleref)
+[![PyPI](https://img.shields.io/pypi/pyversions/django-handleref.svg?maxAge=600)](https://pypi.python.org/pypi/django-handleref)
+[![Tests](https://github.com/20c/django-handleref/workflows/tests/badge.svg)](https://github.com/20c/django-handleref)
+[![Codecov](https://img.shields.io/codecov/c/github/20c/django-handleref/master.svg?maxAge=3600)](https://codecov.io/github/20c/django-handleref)
+
+Track when an object was created or changed and allow querying based on time and versioning (w/ `django-reversion` support)
+
+### License
+
+Copyright 2015-2023 20C, LLC
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this software except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+%prep
+%autosetup -n django-handleref-2.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-handleref -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..befd8bb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9edc4d09b49dc1f19a4a526598869cd8 django-handleref-2.0.0.tar.gz