summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-vt-py.spec151
-rw-r--r--sources1
3 files changed, 153 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1fc3548 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vt-py-0.17.5.tar.gz
diff --git a/python-vt-py.spec b/python-vt-py.spec
new file mode 100644
index 0000000..deb96be
--- /dev/null
+++ b/python-vt-py.spec
@@ -0,0 +1,151 @@
+%global _empty_manifest_terminate_build 0
+Name: python-vt-py
+Version: 0.17.5
+Release: 1
+Summary: The official Python client library for VirusTotal
+License: Apache 2
+URL: https://github.com/VirusTotal/vt-py
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6b/c3/664e420fd71e93f4da3099e17e162db7330ed3a6e6cbeee5cdc5191c0e59/vt-py-0.17.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-aiohttp
+Requires: python3-pytest
+Requires: python3-pytest-httpserver
+Requires: python3-pytest-asyncio
+
+%description
+![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/VirusTotal/vt-py)
+![GitHub](https://img.shields.io/github/license/VirusTotal/vt-py)
+![GitHub issues](https://img.shields.io/github/issues/VirusTotal/vt-py)
+
+
+# vt-py
+
+This is the official Python client library for VirusTotal. With this library
+you can interact with the [VirusTotal REST API v3](https://developers.virustotal.com/v3.0/reference)
+and automate your workflow quickly and efficiently.
+
+## Things you can do with vt-py
+
+* Scan files and URLs
+* Get information about files, URLs, domains, etc
+* Perform VirusTotal Intelligence searches
+* Manage your LiveHunt rulesets and notifications
+* Launch Retrohunt jobs and retrieve matches
+* Manipulate your VirusTotal Graphs
+* And much more ...
+
+For more information about how to use *vt-py* visit the [documentation](https://virustotal.github.io/vt-py/) page.
+
+You may also want to take a look at some of our [example scripts](https://github.com/VirusTotal/vt-py/tree/master/examples),
+where you can find some useful tools that can serve as a guidance on how to use *vt-py*.
+
+
+%package -n python3-vt-py
+Summary: The official Python client library for VirusTotal
+Provides: python-vt-py
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-vt-py
+![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/VirusTotal/vt-py)
+![GitHub](https://img.shields.io/github/license/VirusTotal/vt-py)
+![GitHub issues](https://img.shields.io/github/issues/VirusTotal/vt-py)
+
+
+# vt-py
+
+This is the official Python client library for VirusTotal. With this library
+you can interact with the [VirusTotal REST API v3](https://developers.virustotal.com/v3.0/reference)
+and automate your workflow quickly and efficiently.
+
+## Things you can do with vt-py
+
+* Scan files and URLs
+* Get information about files, URLs, domains, etc
+* Perform VirusTotal Intelligence searches
+* Manage your LiveHunt rulesets and notifications
+* Launch Retrohunt jobs and retrieve matches
+* Manipulate your VirusTotal Graphs
+* And much more ...
+
+For more information about how to use *vt-py* visit the [documentation](https://virustotal.github.io/vt-py/) page.
+
+You may also want to take a look at some of our [example scripts](https://github.com/VirusTotal/vt-py/tree/master/examples),
+where you can find some useful tools that can serve as a guidance on how to use *vt-py*.
+
+
+%package help
+Summary: Development documents and examples for vt-py
+Provides: python3-vt-py-doc
+%description help
+![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/VirusTotal/vt-py)
+![GitHub](https://img.shields.io/github/license/VirusTotal/vt-py)
+![GitHub issues](https://img.shields.io/github/issues/VirusTotal/vt-py)
+
+
+# vt-py
+
+This is the official Python client library for VirusTotal. With this library
+you can interact with the [VirusTotal REST API v3](https://developers.virustotal.com/v3.0/reference)
+and automate your workflow quickly and efficiently.
+
+## Things you can do with vt-py
+
+* Scan files and URLs
+* Get information about files, URLs, domains, etc
+* Perform VirusTotal Intelligence searches
+* Manage your LiveHunt rulesets and notifications
+* Launch Retrohunt jobs and retrieve matches
+* Manipulate your VirusTotal Graphs
+* And much more ...
+
+For more information about how to use *vt-py* visit the [documentation](https://virustotal.github.io/vt-py/) page.
+
+You may also want to take a look at some of our [example scripts](https://github.com/VirusTotal/vt-py/tree/master/examples),
+where you can find some useful tools that can serve as a guidance on how to use *vt-py*.
+
+
+%prep
+%autosetup -n vt-py-0.17.5
+
+%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-vt-py -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.17.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a3808be
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+28b57a9b719b2ca548cb1d9ad4ed4101 vt-py-0.17.5.tar.gz