diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:13:25 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:13:25 +0000 |
commit | f9594f3b5f30a195fbefbcb10ad0fafe8691cced (patch) | |
tree | 4e2c5c6ce8ac20aad1209146549cd0fdd93ce432 | |
parent | 59a80123487ad52f077d63b80c5d6aa4c69f254d (diff) |
automatic import of python-birgitta
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-birgitta.spec | 124 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 126 insertions, 0 deletions
@@ -0,0 +1 @@ +/birgitta-0.1.37.tar.gz diff --git a/python-birgitta.spec b/python-birgitta.spec new file mode 100644 index 0000000..834b5c8 --- /dev/null +++ b/python-birgitta.spec @@ -0,0 +1,124 @@ +%global _empty_manifest_terminate_build 0 +Name: python-birgitta +Version: 0.1.37 +Release: 1 +Summary: Pyspark and notebook unit testing, especially focused on Dataiku. +License: MIT +URL: https://github.com/telia-oss/birgitta +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/f6/c5f082c9f8191497fc541efa285be31836e9041d8d7f6e66791a12727e57/birgitta-0.1.37.tar.gz +BuildArch: noarch + +Requires: python3-docopt +Requires: python3-numpy +Requires: python3-pyspark +Requires: python3-mock +Requires: python3-pandas +Requires: python3-pyarrow +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-mock +Requires: python3-holidays + +%description +Birgitta is a Python ETL test and schema framework, +providing automated tests for pyspark notebooks/recipes. + +Birgitta allows doing solid ETL and ML, while still liberally +allowing imperfect notebook code, enabling a +`DataOps <https://www.dataopsmanifesto.org>` way of +working which is both solid and agile, not killing +Data Scientist flexibility by excessive coding standards in notebooks. + +In addition to running recipetests on your local dev machine or on +a CI/CD server, there is support for running recipetests +as [Dataiku](https://www.dataiku.com] DSS Scenarios. + + + + +%package -n python3-birgitta +Summary: Pyspark and notebook unit testing, especially focused on Dataiku. +Provides: python-birgitta +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-birgitta +Birgitta is a Python ETL test and schema framework, +providing automated tests for pyspark notebooks/recipes. + +Birgitta allows doing solid ETL and ML, while still liberally +allowing imperfect notebook code, enabling a +`DataOps <https://www.dataopsmanifesto.org>` way of +working which is both solid and agile, not killing +Data Scientist flexibility by excessive coding standards in notebooks. + +In addition to running recipetests on your local dev machine or on +a CI/CD server, there is support for running recipetests +as [Dataiku](https://www.dataiku.com] DSS Scenarios. + + + + +%package help +Summary: Development documents and examples for birgitta +Provides: python3-birgitta-doc +%description help +Birgitta is a Python ETL test and schema framework, +providing automated tests for pyspark notebooks/recipes. + +Birgitta allows doing solid ETL and ML, while still liberally +allowing imperfect notebook code, enabling a +`DataOps <https://www.dataopsmanifesto.org>` way of +working which is both solid and agile, not killing +Data Scientist flexibility by excessive coding standards in notebooks. + +In addition to running recipetests on your local dev machine or on +a CI/CD server, there is support for running recipetests +as [Dataiku](https://www.dataiku.com] DSS Scenarios. + + + + +%prep +%autosetup -n birgitta-0.1.37 + +%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-birgitta -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.37-1 +- Package Spec generated @@ -0,0 +1 @@ +adaa26c2e305545efde7624b80c921f0 birgitta-0.1.37.tar.gz |