From e7a691de6ba7a26bb042a8f01f9f99fa31c635d4 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 06:24:25 +0000 Subject: automatic import of python-edx-event-routing-backends --- .gitignore | 1 + python-edx-event-routing-backends.spec | 90 ++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 92 insertions(+) create mode 100644 python-edx-event-routing-backends.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2d86de2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/edx-event-routing-backends-5.2.2.tar.gz diff --git a/python-edx-event-routing-backends.spec b/python-edx-event-routing-backends.spec new file mode 100644 index 0000000..2565a6f --- /dev/null +++ b/python-edx-event-routing-backends.spec @@ -0,0 +1,90 @@ +%global _empty_manifest_terminate_build 0 +Name: python-edx-event-routing-backends +Version: 5.2.2 +Release: 1 +Summary: Various backends for receiving edX LMS events. +License: AGPL 3.0 +URL: https://github.com/openedx/event-routing-backends +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/66/c9/a09f19bc8c3e0957a602c1e50df19308e5d14974dc3c003510e8fd9b9526/edx-event-routing-backends-5.2.2.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-django-config-models +Requires: python3-djfernet +Requires: python3-edx-celeryutils +Requires: python3-edx-toggles +Requires: python3-event-tracking +Requires: python3-isodate +Requires: python3-jsonfield +Requires: python3-dateutil +Requires: python3-pytz +Requires: python3-requests +Requires: python3-tincan + +%description +|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge| +|license-badge| +Various backends for retransmitting edX LMS events to external services. + +%package -n python3-edx-event-routing-backends +Summary: Various backends for receiving edX LMS events. +Provides: python-edx-event-routing-backends +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-edx-event-routing-backends +|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge| +|license-badge| +Various backends for retransmitting edX LMS events to external services. + +%package help +Summary: Development documents and examples for edx-event-routing-backends +Provides: python3-edx-event-routing-backends-doc +%description help +|pypi-badge| |ci-badge| |codecov-badge| |doc-badge| |pyversions-badge| +|license-badge| +Various backends for retransmitting edX LMS events to external services. + +%prep +%autosetup -n edx-event-routing-backends-5.2.2 + +%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-edx-event-routing-backends -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 5.2.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..aebb3c7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +dbf75a774b4603ea171019eb94134d0c edx-event-routing-backends-5.2.2.tar.gz -- cgit v1.2.3