diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-airflow-add-ons.spec | 122 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 124 insertions, 0 deletions
@@ -0,0 +1 @@ +/airflow-add-ons-0.2.10.tar.gz diff --git a/python-airflow-add-ons.spec b/python-airflow-add-ons.spec new file mode 100644 index 0000000..8bb7662 --- /dev/null +++ b/python-airflow-add-ons.spec @@ -0,0 +1,122 @@ +%global _empty_manifest_terminate_build 0 +Name: python-airflow-add-ons +Version: 0.2.10 +Release: 1 +Summary: Airflow extensible opertators and sensors +License: MIT +URL: https://github.com/pualien/airflow-add-ons +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6e/6c/14975f9d5ddc2ac3ee2014a11b40e1f2fff66472abd7600f52312805e75b/airflow-add-ons-0.2.10.tar.gz +BuildArch: noarch + +Requires: python3-apache-airflow +Requires: python3-boto3 +Requires: python3-IMAPClient +Requires: python3-apache-airflow-providers-google +Requires: python3-apache-airflow-providers-amazon +Requires: python3-apache-airflow-providers-http +Requires: python3-apache-airflow-providers-slack +Requires: python3-apache-airflow-providers-facebook + +%description +# airflow-add-ons + +Airflow utilities to extend Airflow operators and connectors + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/airflow-add-ons + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/airflow-add-ons/). + +```sh +pip install airflow-add-ons +``` + + +%package -n python3-airflow-add-ons +Summary: Airflow extensible opertators and sensors +Provides: python-airflow-add-ons +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-airflow-add-ons +# airflow-add-ons + +Airflow utilities to extend Airflow operators and connectors + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/airflow-add-ons + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/airflow-add-ons/). + +```sh +pip install airflow-add-ons +``` + + +%package help +Summary: Development documents and examples for airflow-add-ons +Provides: python3-airflow-add-ons-doc +%description help +# airflow-add-ons + +Airflow utilities to extend Airflow operators and connectors + +## Where to get it +The source code is currently hosted on GitHub at: +https://github.com/pualien/airflow-add-ons + +Binary installers for the latest released version are available at the [Python +package index](https://pypi.org/project/airflow-add-ons/). + +```sh +pip install airflow-add-ons +``` + + +%prep +%autosetup -n airflow-add-ons-0.2.10 + +%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-airflow-add-ons -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.10-1 +- Package Spec generated @@ -0,0 +1 @@ +05dcc655a77ed061ea5e848f52c87dce airflow-add-ons-0.2.10.tar.gz |