diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:45:32 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 10:45:32 +0000 |
| commit | 1d62ef37736338478faff5313ffaaf74a896050c (patch) | |
| tree | c0372516e6d35938d919482dd7c1662c6b75f449 | |
| parent | e87173ba230ea71cca45e04353ca4e3143f43262 (diff) | |
automatic import of python-dbt-snowflake
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-dbt-snowflake.spec | 191 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 193 insertions, 0 deletions
@@ -0,0 +1 @@ +/dbt-snowflake-1.4.2.tar.gz diff --git a/python-dbt-snowflake.spec b/python-dbt-snowflake.spec new file mode 100644 index 0000000..635c9ec --- /dev/null +++ b/python-dbt-snowflake.spec @@ -0,0 +1,191 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbt-snowflake +Version: 1.4.2 +Release: 1 +Summary: The Snowflake adapter plugin for dbt +License: Apache Software License +URL: https://github.com/dbt-labs/dbt-snowflake +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6d/6a/0f1edc7eb46749705290bfed2f5ebe6869f8c548cce33d0467b5a2fd548a/dbt-snowflake-1.4.2.tar.gz +BuildArch: noarch + +Requires: python3-dbt-core +Requires: python3-snowflake-connector-python[secure-local-storage] + +%description +<p align="center"> + <img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/> +</p> +<p align="center"> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/> + </a> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/> + </a> +</p> + +**[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. + +dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis. + +## dbt-snowflake + +The `dbt-snowflake` package contains all of the code enabling dbt to work with Snowflake. For +more information on using dbt with Snowflake, consult [the docs](https://docs.getdbt.com/docs/profile-snowflake). + +## Getting started + +- [Install dbt](https://docs.getdbt.com/docs/installation) +- Read the [introduction](https://docs.getdbt.com/docs/introduction/) and [viewpoint](https://docs.getdbt.com/docs/about/viewpoint/) + +## Join the dbt Community + +- Be part of the conversation in the [dbt Community Slack](http://community.getdbt.com/) +- Read more on the [dbt Community Discourse](https://discourse.getdbt.com) + +## Reporting bugs and contributing code + +- Want to report a bug or request a feature? Let us know on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/dbt-labs/dbt-snowflake/issues/new) +- Want to help us build dbt? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md) + +## Code of Conduct + +Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [dbt Code of Conduct](https://community.getdbt.com/code-of-conduct). + + +%package -n python3-dbt-snowflake +Summary: The Snowflake adapter plugin for dbt +Provides: python-dbt-snowflake +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbt-snowflake +<p align="center"> + <img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/> +</p> +<p align="center"> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/> + </a> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/> + </a> +</p> + +**[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. + +dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis. + +## dbt-snowflake + +The `dbt-snowflake` package contains all of the code enabling dbt to work with Snowflake. For +more information on using dbt with Snowflake, consult [the docs](https://docs.getdbt.com/docs/profile-snowflake). + +## Getting started + +- [Install dbt](https://docs.getdbt.com/docs/installation) +- Read the [introduction](https://docs.getdbt.com/docs/introduction/) and [viewpoint](https://docs.getdbt.com/docs/about/viewpoint/) + +## Join the dbt Community + +- Be part of the conversation in the [dbt Community Slack](http://community.getdbt.com/) +- Read more on the [dbt Community Discourse](https://discourse.getdbt.com) + +## Reporting bugs and contributing code + +- Want to report a bug or request a feature? Let us know on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/dbt-labs/dbt-snowflake/issues/new) +- Want to help us build dbt? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md) + +## Code of Conduct + +Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [dbt Code of Conduct](https://community.getdbt.com/code-of-conduct). + + +%package help +Summary: Development documents and examples for dbt-snowflake +Provides: python3-dbt-snowflake-doc +%description help +<p align="center"> + <img src="https://raw.githubusercontent.com/dbt-labs/dbt/ec7dee39f793aa4f7dd3dae37282cc87664813e4/etc/dbt-logo-full.svg" alt="dbt logo" width="500"/> +</p> +<p align="center"> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/main.yml/badge.svg?event=push" alt="Unit Tests Badge"/> + </a> + <a href="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml"> + <img src="https://github.com/dbt-labs/dbt-snowflake/actions/workflows/integration.yml/badge.svg?event=push" alt="Integration Tests Badge"/> + </a> +</p> + +**[dbt](https://www.getdbt.com/)** enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. + +dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis. + +## dbt-snowflake + +The `dbt-snowflake` package contains all of the code enabling dbt to work with Snowflake. For +more information on using dbt with Snowflake, consult [the docs](https://docs.getdbt.com/docs/profile-snowflake). + +## Getting started + +- [Install dbt](https://docs.getdbt.com/docs/installation) +- Read the [introduction](https://docs.getdbt.com/docs/introduction/) and [viewpoint](https://docs.getdbt.com/docs/about/viewpoint/) + +## Join the dbt Community + +- Be part of the conversation in the [dbt Community Slack](http://community.getdbt.com/) +- Read more on the [dbt Community Discourse](https://discourse.getdbt.com) + +## Reporting bugs and contributing code + +- Want to report a bug or request a feature? Let us know on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/dbt-labs/dbt-snowflake/issues/new) +- Want to help us build dbt? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt/blob/HEAD/CONTRIBUTING.md) + +## Code of Conduct + +Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [dbt Code of Conduct](https://community.getdbt.com/code-of-conduct). + + +%prep +%autosetup -n dbt-snowflake-1.4.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-dbt-snowflake -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.2-1 +- Package Spec generated @@ -0,0 +1 @@ +1d390d87dd8a00baeb2b85c9c89f380a dbt-snowflake-1.4.2.tar.gz |
