summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 03:58:04 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 03:58:04 +0000
commita4d8d5570a3efa3346b9258f0ee71d65dc4a6c2b (patch)
tree85a36211338634c058113116105efbd9ba55c6b5
parent547450a87a7d14480cae62afd471fce1d4fb071a (diff)
automatic import of python-odahu-flow-airflow-plugin
-rw-r--r--.gitignore1
-rw-r--r--python-odahu-flow-airflow-plugin.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6dbc435 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/odahu-flow-airflow-plugin-1.6.0.tar.gz
diff --git a/python-odahu-flow-airflow-plugin.spec b/python-odahu-flow-airflow-plugin.spec
new file mode 100644
index 0000000..fc3c7c1
--- /dev/null
+++ b/python-odahu-flow-airflow-plugin.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-odahu-flow-airflow-plugin
+Version: 1.6.0
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: Apache v2
+URL: https://pypi.org/project/odahu-flow-airflow-plugin/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a4/46/cce7d787d31c87cb0386339cd925750d5dd6203637fa9dac631d00e82b62/odahu-flow-airflow-plugin-1.6.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-odahu-flow-sdk
+Requires: python3-requests
+Requires: python3-pytest
+Requires: python3-pytest-mock
+Requires: python3-pytest-cov
+Requires: python3-pylint
+Requires: python3-apache-airflow
+Requires: python3-google-api-python-client
+
+%description
+
+
+%package -n python3-odahu-flow-airflow-plugin
+Summary: please add a summary manually as the author left a blank one
+Provides: python-odahu-flow-airflow-plugin
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-odahu-flow-airflow-plugin
+
+
+%package help
+Summary: Development documents and examples for odahu-flow-airflow-plugin
+Provides: python3-odahu-flow-airflow-plugin-doc
+%description help
+
+
+%prep
+%autosetup -n odahu-flow-airflow-plugin-1.6.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-odahu-flow-airflow-plugin -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.6.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..57d010e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7a4bc82bbb1edf3e19c92fccbee471a6 odahu-flow-airflow-plugin-1.6.0.tar.gz