summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 08:47:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 08:47:31 +0000
commitaf5d367115b05602feab718476688efd22d6b5ec (patch)
treeffec40c276695c66eb65ce82bdecd38307414c5b
parent3269bdc98b172bb980684a7feb4caa90fb2e07e7 (diff)
automatic import of python-djangorestframework
-rw-r--r--.gitignore1
-rw-r--r--python-djangorestframework.spec113
-rw-r--r--sources1
3 files changed, 115 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..522a3b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/djangorestframework-3.14.0.tar.gz
diff --git a/python-djangorestframework.spec b/python-djangorestframework.spec
new file mode 100644
index 0000000..7bd9c66
--- /dev/null
+++ b/python-djangorestframework.spec
@@ -0,0 +1,113 @@
+%global _empty_manifest_terminate_build 0
+Name: python-djangorestframework
+Version: 3.14.0
+Release: 1
+Summary: Web APIs for Django, made easy.
+License: BSD
+URL: https://www.django-rest-framework.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8e/53/5b2a002c5ebafd60dff1e1945a7d63dee40155830997439a9ba324f0fd50/djangorestframework-3.14.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-django
+Requires: python3-pytz
+
+%description
+# Funding
+REST framework is a *collaboratively funded project*. If you use
+REST framework commercially we strongly encourage you to invest in its
+continued development by [signing up for a paid plan][funding].
+The initial aim is to provide a single full-time position on REST framework.
+*Every single sign-up makes a significant impact towards making that possible.*
+[![][sentry-img]][sentry-url]
+[![][stream-img]][stream-url]
+[![][spacinov-img]][spacinov-url]
+[![][retool-img]][retool-url]
+[![][bitio-img]][bitio-url]
+[![][posthog-img]][posthog-url]
+[![][cryptapi-img]][cryptapi-url]
+[![][fezto-img]][fezto-url]
+
+%package -n python3-djangorestframework
+Summary: Web APIs for Django, made easy.
+Provides: python-djangorestframework
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-djangorestframework
+# Funding
+REST framework is a *collaboratively funded project*. If you use
+REST framework commercially we strongly encourage you to invest in its
+continued development by [signing up for a paid plan][funding].
+The initial aim is to provide a single full-time position on REST framework.
+*Every single sign-up makes a significant impact towards making that possible.*
+[![][sentry-img]][sentry-url]
+[![][stream-img]][stream-url]
+[![][spacinov-img]][spacinov-url]
+[![][retool-img]][retool-url]
+[![][bitio-img]][bitio-url]
+[![][posthog-img]][posthog-url]
+[![][cryptapi-img]][cryptapi-url]
+[![][fezto-img]][fezto-url]
+
+%package help
+Summary: Development documents and examples for djangorestframework
+Provides: python3-djangorestframework-doc
+%description help
+# Funding
+REST framework is a *collaboratively funded project*. If you use
+REST framework commercially we strongly encourage you to invest in its
+continued development by [signing up for a paid plan][funding].
+The initial aim is to provide a single full-time position on REST framework.
+*Every single sign-up makes a significant impact towards making that possible.*
+[![][sentry-img]][sentry-url]
+[![][stream-img]][stream-url]
+[![][spacinov-img]][spacinov-url]
+[![][retool-img]][retool-url]
+[![][bitio-img]][bitio-url]
+[![][posthog-img]][posthog-url]
+[![][cryptapi-img]][cryptapi-url]
+[![][fezto-img]][fezto-url]
+
+%prep
+%autosetup -n djangorestframework-3.14.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-djangorestframework -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.14.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c2eae63
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4384565100b6d8ce1d1d6ed5765cc5c7 djangorestframework-3.14.0.tar.gz