From 83de30902331e23c65ebf4a9d3f590ede575ccad Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 03:14:12 +0000 Subject: automatic import of python-nrql-simple --- .gitignore | 1 + python-nrql-simple.spec | 91 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 93 insertions(+) create mode 100644 python-nrql-simple.spec create mode 100644 sources 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 `__. +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 `__. +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 `__. +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 - 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 -- cgit v1.2.3