summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 04:04:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 04:04:45 +0000
commitbe583837037a5bfcdb6127ab48e4d624abe3e705 (patch)
tree6f93354dc39cd13d53e8f602c03139b9a1bbefb7
parentb5d428a35ca3e738a71eeeb419128e67edf6458a (diff)
automatic import of python-CodeLighthouseopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-codelighthouse.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3122ba7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CodeLighthouse-1.3.0.tar.gz
diff --git a/python-codelighthouse.spec b/python-codelighthouse.spec
new file mode 100644
index 0000000..ae9b059
--- /dev/null
+++ b/python-codelighthouse.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-CodeLighthouse
+Version: 1.3.0
+Release: 1
+Summary: The python SDK for CodeLighthouse
+License: MIT
+URL: https://github.com/CodeLighthouse/sdk-python
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ec/ed/c4ff3adec856e2de5facb9ad857d955c9e159c9ce1cf46d3d77ef572dfeb/CodeLighthouse-1.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+
+%description
+[Documentation](https://docs.codelighthouse.io/docs/sdk-python) |
+[PyPi](https://pypi.org/project/CodeLighthouse/) |
+[Homepage](https://codelighthouse.io) |
+Codelighthouse helps you catch errors in your application in real time and immediately notifies code owners.
+We know your customers are important to you. Codelighthouse helps you minimize error impact by improving your developer's
+response time to mission-critical issues that arise through the use of your software. As soon as an error occurs, the
+developer responsible for maintaining that code is notified via his integration of choice. This removes the need for
+excess support infrastructure within your organization.
+
+%package -n python3-CodeLighthouse
+Summary: The python SDK for CodeLighthouse
+Provides: python-CodeLighthouse
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-CodeLighthouse
+[Documentation](https://docs.codelighthouse.io/docs/sdk-python) |
+[PyPi](https://pypi.org/project/CodeLighthouse/) |
+[Homepage](https://codelighthouse.io) |
+Codelighthouse helps you catch errors in your application in real time and immediately notifies code owners.
+We know your customers are important to you. Codelighthouse helps you minimize error impact by improving your developer's
+response time to mission-critical issues that arise through the use of your software. As soon as an error occurs, the
+developer responsible for maintaining that code is notified via his integration of choice. This removes the need for
+excess support infrastructure within your organization.
+
+%package help
+Summary: Development documents and examples for CodeLighthouse
+Provides: python3-CodeLighthouse-doc
+%description help
+[Documentation](https://docs.codelighthouse.io/docs/sdk-python) |
+[PyPi](https://pypi.org/project/CodeLighthouse/) |
+[Homepage](https://codelighthouse.io) |
+Codelighthouse helps you catch errors in your application in real time and immediately notifies code owners.
+We know your customers are important to you. Codelighthouse helps you minimize error impact by improving your developer's
+response time to mission-critical issues that arise through the use of your software. As soon as an error occurs, the
+developer responsible for maintaining that code is notified via his integration of choice. This removes the need for
+excess support infrastructure within your organization.
+
+%prep
+%autosetup -n CodeLighthouse-1.3.0
+
+%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-CodeLighthouse -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0972d91
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+060c90b16de3ec9a2f13614468e310a0 CodeLighthouse-1.3.0.tar.gz