diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pipelinewise-singer-python.spec | 95 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 97 insertions, 0 deletions
@@ -0,0 +1 @@ +/pipelinewise-singer-python-2.0.1.tar.gz diff --git a/python-pipelinewise-singer-python.spec b/python-pipelinewise-singer-python.spec new file mode 100644 index 0000000..9329014 --- /dev/null +++ b/python-pipelinewise-singer-python.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pipelinewise-singer-python +Version: 2.0.1 +Release: 1 +Summary: Singer.io utility library - PipelineWise compatible +License: Apache Software License +URL: https://github.com/transferwise/pipelinewise-singer-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/23/a4/429f4341b235d6140a6423f4b60c4e5fad3994b641a403b59ae5e83a8a9c/pipelinewise-singer-python-2.0.1.tar.gz +BuildArch: noarch + +Requires: python3-pytz +Requires: python3-jsonschema +Requires: python3-orjson +Requires: python3-dateutil +Requires: python3-backoff +Requires: python3-ciso8601 +Requires: python3-pylint +Requires: python3-ipython +Requires: python3-ipdb +Requires: python3-nose +Requires: python3-unify + +%description +[](https://badge.fury.io/py/pipelinewise-singer-python) +[](https://pypi.org/project/pipelinewise-singer-python/) +[](https://opensource.org/licenses/Apache-2.0) +Writes the Singer format from Python. +This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise). + +%package -n python3-pipelinewise-singer-python +Summary: Singer.io utility library - PipelineWise compatible +Provides: python-pipelinewise-singer-python +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pipelinewise-singer-python +[](https://badge.fury.io/py/pipelinewise-singer-python) +[](https://pypi.org/project/pipelinewise-singer-python/) +[](https://opensource.org/licenses/Apache-2.0) +Writes the Singer format from Python. +This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise). + +%package help +Summary: Development documents and examples for pipelinewise-singer-python +Provides: python3-pipelinewise-singer-python-doc +%description help +[](https://badge.fury.io/py/pipelinewise-singer-python) +[](https://pypi.org/project/pipelinewise-singer-python/) +[](https://opensource.org/licenses/Apache-2.0) +Writes the Singer format from Python. +This is a fork of [Singer's singer-python](https://github.com/singer-io/singer-python) made for [PipelineWise](https://transferwise.github.io/pipelinewise). + +%prep +%autosetup -n pipelinewise-singer-python-2.0.1 + +%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-pipelinewise-singer-python -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.1-1 +- Package Spec generated @@ -0,0 +1 @@ +72cd960b82c0fef3ed8d452aadc2570a pipelinewise-singer-python-2.0.1.tar.gz |
