summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:14:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:14:12 +0000
commit83de30902331e23c65ebf4a9d3f590ede575ccad (patch)
tree585a419890e0edee37c299bc3ac60073e8c783c3
parentf1f1960d9c4e354254498890a8bfc8ed77f25764 (diff)
automatic import of python-nrql-simple
-rw-r--r--.gitignore1
-rw-r--r--python-nrql-simple.spec91
-rw-r--r--sources1
3 files changed, 93 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7291afc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nrql-simple-1.3.0.tar.gz
diff --git a/python-nrql-simple.spec b/python-nrql-simple.spec
new file mode 100644
index 0000000..4c564d3
--- /dev/null
+++ b/python-nrql-simple.spec
@@ -0,0 +1,91 @@
+%global _empty_manifest_terminate_build 0
+Name: python-nrql-simple
+Version: 1.3.0
+Release: 1
+Summary: nrql-simple is a small Python library that provides a convenient way to interact with the New Relic Insights query API. You can interact with this library programmatically or via the Command Line.
+License: MIT
+URL: https://github.com/anthonybloomer/nrql-simple
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ea/6b/8ba535ee9012904e0a19dc4ce54af85f9925faced146f4d5f3939fe40095/nrql-simple-1.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-requests
+Requires: python3-pygments
+Requires: python3-colorful
+Requires: python3-pandas
+
+%description
+|Build Status| |codecov|
+nrql-simple is a small Python library that provides a convenient way to
+interact with the `New Relic Insights query
+API <https://docs.newrelic.com/docs/insights/insights-api/get-data/query-insights-event-data-api>`__.
+You can interact with this library programmatically or via the Command
+Line.
+
+%package -n python3-nrql-simple
+Summary: nrql-simple is a small Python library that provides a convenient way to interact with the New Relic Insights query API. You can interact with this library programmatically or via the Command Line.
+Provides: python-nrql-simple
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-nrql-simple
+|Build Status| |codecov|
+nrql-simple is a small Python library that provides a convenient way to
+interact with the `New Relic Insights query
+API <https://docs.newrelic.com/docs/insights/insights-api/get-data/query-insights-event-data-api>`__.
+You can interact with this library programmatically or via the Command
+Line.
+
+%package help
+Summary: Development documents and examples for nrql-simple
+Provides: python3-nrql-simple-doc
+%description help
+|Build Status| |codecov|
+nrql-simple is a small Python library that provides a convenient way to
+interact with the `New Relic Insights query
+API <https://docs.newrelic.com/docs/insights/insights-api/get-data/query-insights-event-data-api>`__.
+You can interact with this library programmatically or via the Command
+Line.
+
+%prep
+%autosetup -n nrql-simple-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-nrql-simple -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 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..0a9d1d1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4843af0b7d83f391e291df9fbeb2bd76 nrql-simple-1.3.0.tar.gz