summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:48:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:48:00 +0000
commit20233744e050dc17b5b8d150780479279bfd046d (patch)
tree19344d7026c9ccdf0804e436b24ab7d083183d0d
parent72e7f9b0dd693baeb212965cea23e5451dfe07bb (diff)
automatic import of python-django-infinite-scroll-pagination
-rw-r--r--.gitignore1
-rw-r--r--python-django-infinite-scroll-pagination.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3634ef4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-infinite-scroll-pagination-1.2.1.tar.gz
diff --git a/python-django-infinite-scroll-pagination.spec b/python-django-infinite-scroll-pagination.spec
new file mode 100644
index 0000000..685de52
--- /dev/null
+++ b/python-django-infinite-scroll-pagination.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-django-infinite-scroll-pagination
+Version: 1.2.1
+Release: 1
+Summary: infinite-scroll-pagination is a Django lib that implementsthe *seek method* for scalable pagination.
+License: MIT License
+URL: https://github.com/nitely/django-infinite-scroll-pagination
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/56/e0/e348906f256a057b97b4222555faf9c4fc6ad8fce451ab87c795a5130ac0/django-infinite-scroll-pagination-1.2.1.tar.gz
+BuildArch: noarch
+
+
+%description
+For more info, go to: https://github.com/nitely/django-infinite-scroll-pagination
+
+%package -n python3-django-infinite-scroll-pagination
+Summary: infinite-scroll-pagination is a Django lib that implementsthe *seek method* for scalable pagination.
+Provides: python-django-infinite-scroll-pagination
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-django-infinite-scroll-pagination
+For more info, go to: https://github.com/nitely/django-infinite-scroll-pagination
+
+%package help
+Summary: Development documents and examples for django-infinite-scroll-pagination
+Provides: python3-django-infinite-scroll-pagination-doc
+%description help
+For more info, go to: https://github.com/nitely/django-infinite-scroll-pagination
+
+%prep
+%autosetup -n django-infinite-scroll-pagination-1.2.1
+
+%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-infinite-scroll-pagination -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..83ac210
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2808a773023496484a2994c17c4d9955 django-infinite-scroll-pagination-1.2.1.tar.gz