diff options
Diffstat (limited to 'python-airflow-provider-great-expectations.spec')
-rw-r--r-- | python-airflow-provider-great-expectations.spec | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/python-airflow-provider-great-expectations.spec b/python-airflow-provider-great-expectations.spec new file mode 100644 index 0000000..b8c22d7 --- /dev/null +++ b/python-airflow-provider-great-expectations.spec @@ -0,0 +1,88 @@ +%global _empty_manifest_terminate_build 0 +Name: python-airflow-provider-great-expectations +Version: 0.2.6 +Release: 1 +Summary: An Apache Airflow provider for Great Expectations +License: Apache License 2.0 +URL: https://github.com/astronomer/airflow-provider-great-expectations +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/90/752dc45b6257599d38c3f3dcca4ab3a62b4fcff11d37119c30d62ab1e2ee/airflow-provider-great-expectations-0.2.6.tar.gz +BuildArch: noarch + +Requires: python3-apache-airflow +Requires: python3-great-expectations +Requires: python3-sqlalchemy +Requires: python3-parameterized +Requires: python3-pytest +Requires: python3-pytest-mock +Requires: python3-apache-airflow-providers-snowflake + +%description +platform darwin -- Python 3.7.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 +rootdir: /Users/jpayne/repos-bombora/bombora-airflow-provider-great-expectations, configfile: pytest.ini, testpaths: tests +plugins: anyio-3.3.0 +collected 7 items + +%package -n python3-airflow-provider-great-expectations +Summary: An Apache Airflow provider for Great Expectations +Provides: python-airflow-provider-great-expectations +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-airflow-provider-great-expectations +platform darwin -- Python 3.7.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 +rootdir: /Users/jpayne/repos-bombora/bombora-airflow-provider-great-expectations, configfile: pytest.ini, testpaths: tests +plugins: anyio-3.3.0 +collected 7 items + +%package help +Summary: Development documents and examples for airflow-provider-great-expectations +Provides: python3-airflow-provider-great-expectations-doc +%description help +platform darwin -- Python 3.7.4, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 +rootdir: /Users/jpayne/repos-bombora/bombora-airflow-provider-great-expectations, configfile: pytest.ini, testpaths: tests +plugins: anyio-3.3.0 +collected 7 items + +%prep +%autosetup -n airflow-provider-great-expectations-0.2.6 + +%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-provider-great-expectations -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.6-1 +- Package Spec generated |