%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 * Sun Apr 23 2023 Python_Bot - 0.17.5-1 - Package Spec generated