summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:25:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:25:27 +0000
commit7358439bd0dc056dfb2ee8f910d79dd0078dd4da (patch)
treed935a236f30b4844f0aab54a2b56d7b803ac3f57
parent17973e085897ed43a818298973268d870fbfabb7 (diff)
automatic import of python-uw-restclients-canvas
-rw-r--r--.gitignore1
-rw-r--r--python-uw-restclients-canvas.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c64362d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/UW-RestClients-Canvas-1.2.8.tar.gz
diff --git a/python-uw-restclients-canvas.spec b/python-uw-restclients-canvas.spec
new file mode 100644
index 0000000..945eef2
--- /dev/null
+++ b/python-uw-restclients-canvas.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-UW-RestClients-Canvas
+Version: 1.2.8
+Release: 1
+Summary: A library for connecting to the Canvas LMS
+License: Apache License, Version 2.0
+URL: https://github.com/uw-it-aca/uw-restclients-canvas
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dd/80/a7c583859b1e637a3ea73e0a68a7ad237ec77158b33671bf9b8039a48a9e/UW-RestClients-Canvas-1.2.8.tar.gz
+BuildArch: noarch
+
+Requires: python3-UW-RestClients-Core
+Requires: python3-dateutil
+Requires: python3-mock
+
+%description
+
+See the README on `GitHub
+<https://github.com/uw-it-aca/uw-restclients-canvas>`_.
+
+
+%package -n python3-UW-RestClients-Canvas
+Summary: A library for connecting to the Canvas LMS
+Provides: python-UW-RestClients-Canvas
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-UW-RestClients-Canvas
+
+See the README on `GitHub
+<https://github.com/uw-it-aca/uw-restclients-canvas>`_.
+
+
+%package help
+Summary: Development documents and examples for UW-RestClients-Canvas
+Provides: python3-UW-RestClients-Canvas-doc
+%description help
+
+See the README on `GitHub
+<https://github.com/uw-it-aca/uw-restclients-canvas>`_.
+
+
+%prep
+%autosetup -n UW-RestClients-Canvas-1.2.8
+
+%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-UW-RestClients-Canvas -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e2a3296
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5b2a64521cb01346258c851aa165e4fc UW-RestClients-Canvas-1.2.8.tar.gz