diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:03:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 04:03:48 +0000 |
commit | f56aba9d421d8729e6dde31b07f71b02de0abf40 (patch) | |
tree | 197c3afc0b976617284ea7b72f1735dd541630ad | |
parent | 6c6cc747a482f6be2005fbaedf01409e5ccce298 (diff) |
automatic import of python-dbt-coverageopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-dbt-coverage.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/dbt_coverage-0.3.4.tar.gz diff --git a/python-dbt-coverage.spec b/python-dbt-coverage.spec new file mode 100644 index 0000000..7bd10ce --- /dev/null +++ b/python-dbt-coverage.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-dbt-coverage +Version: 0.3.4 +Release: 1 +Summary: One-stop-shop for docs and test coverage of dbt projects +License: MIT +URL: https://github.com/slidoapp/dbt-coverage +Source0: https://mirrors.aliyun.com/pypi/web/packages/7b/45/5bcafa682a64f1baac2dbafb4d957e64bb3a712743c27da456cb7682704b/dbt_coverage-0.3.4.tar.gz +BuildArch: noarch + +Requires: python3-typer + +%description +jaffle_shop.customers 6/7 85.7% +jaffle_shop.orders 9/9 100.0% +jaffle_shop.raw_customers 0/3 0.0% +jaffle_shop.raw_orders 0/4 0.0% +jaffle_shop.raw_payments 0/4 0.0% +jaffle_shop.stg_customers 0/3 0.0% +jaffle_shop.stg_orders 0/4 0.0% + +%package -n python3-dbt-coverage +Summary: One-stop-shop for docs and test coverage of dbt projects +Provides: python-dbt-coverage +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-dbt-coverage +jaffle_shop.customers 6/7 85.7% +jaffle_shop.orders 9/9 100.0% +jaffle_shop.raw_customers 0/3 0.0% +jaffle_shop.raw_orders 0/4 0.0% +jaffle_shop.raw_payments 0/4 0.0% +jaffle_shop.stg_customers 0/3 0.0% +jaffle_shop.stg_orders 0/4 0.0% + +%package help +Summary: Development documents and examples for dbt-coverage +Provides: python3-dbt-coverage-doc +%description help +jaffle_shop.customers 6/7 85.7% +jaffle_shop.orders 9/9 100.0% +jaffle_shop.raw_customers 0/3 0.0% +jaffle_shop.raw_orders 0/4 0.0% +jaffle_shop.raw_payments 0/4 0.0% +jaffle_shop.stg_customers 0/3 0.0% +jaffle_shop.stg_orders 0/4 0.0% + +%prep +%autosetup -n dbt_coverage-0.3.4 + +%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-coverage -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.4-1 +- Package Spec generated @@ -0,0 +1 @@ +05292bc446d8ec02d15153de9e18c874 dbt_coverage-0.3.4.tar.gz |