diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 20:12:06 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 20:12:06 +0000 |
commit | 512272d21bddeb30a100306492bf23a892c7ad01 (patch) | |
tree | 17ef9392b503a3f089eb5a1d19151de04e547946 | |
parent | 7bc95fabe448629247b9540b91e2e0cb837f91f1 (diff) |
automatic import of python-dbnd-airflow-auto-tracking
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dbnd-airflow-auto-tracking.spec | 126 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 128 insertions, 0 deletions
@@ -0,0 +1 @@ +/dbnd-airflow-auto-tracking-1.0.12.12.tar.gz diff --git a/python-dbnd-airflow-auto-tracking.spec b/python-dbnd-airflow-auto-tracking.spec new file mode 100644 index 0000000..de9cac9 --- /dev/null +++ b/python-dbnd-airflow-auto-tracking.spec @@ -0,0 +1,126 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbnd-airflow-auto-tracking +Version: 1.0.12.12 +Release: 1 +Summary: Machine Learning Orchestration +License: Apache Software License +URL: https://github.com/databand-ai/dbnd +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/dc/a4/279b5c1c79928ad00497bf0c4e849af2a3e76bb994016da821b597e2168c/dbnd-airflow-auto-tracking-1.0.12.12.tar.gz +BuildArch: noarch + +Requires: python3-dbnd +Requires: python3-dbnd-airflow +Requires: python3-dbnd-airflow-monitor + +%description +# DBND Airflow Auto Tracking + +## The plugin + +`dbnd-airflow-auto-tracking` is a plugin for Airflow, enabling dbnd tracking to all DAGs and tasks without any code changes. + +### What does it do? + +The plugin will go over tasks and modify them if needed. +It uses Airflow's policy mechanism by adding dbnd tracking to policy function. +If the user had already defined its own policy function it will be executed in addition to dbnd tracking. + +### Installation + +```bash +pip install dbnd-airflow-auto-tracking +``` + + +%package -n python3-dbnd-airflow-auto-tracking +Summary: Machine Learning Orchestration +Provides: python-dbnd-airflow-auto-tracking +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbnd-airflow-auto-tracking +# DBND Airflow Auto Tracking + +## The plugin + +`dbnd-airflow-auto-tracking` is a plugin for Airflow, enabling dbnd tracking to all DAGs and tasks without any code changes. + +### What does it do? + +The plugin will go over tasks and modify them if needed. +It uses Airflow's policy mechanism by adding dbnd tracking to policy function. +If the user had already defined its own policy function it will be executed in addition to dbnd tracking. + +### Installation + +```bash +pip install dbnd-airflow-auto-tracking +``` + + +%package help +Summary: Development documents and examples for dbnd-airflow-auto-tracking +Provides: python3-dbnd-airflow-auto-tracking-doc +%description help +# DBND Airflow Auto Tracking + +## The plugin + +`dbnd-airflow-auto-tracking` is a plugin for Airflow, enabling dbnd tracking to all DAGs and tasks without any code changes. + +### What does it do? + +The plugin will go over tasks and modify them if needed. +It uses Airflow's policy mechanism by adding dbnd tracking to policy function. +If the user had already defined its own policy function it will be executed in addition to dbnd tracking. + +### Installation + +```bash +pip install dbnd-airflow-auto-tracking +``` + + +%prep +%autosetup -n dbnd-airflow-auto-tracking-1.0.12.12 + +%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-dbnd-airflow-auto-tracking -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.12.12-1 +- Package Spec generated @@ -0,0 +1 @@ +00560df0a5c1563cb03a1cccaf73ae20 dbnd-airflow-auto-tracking-1.0.12.12.tar.gz |