From 02a149fd0b3949b8b4d9337b261766f674af0990 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 05:24:02 +0000 Subject: automatic import of python-onefuzz --- .gitignore | 1 + python-onefuzz.spec | 204 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 206 insertions(+) create mode 100644 python-onefuzz.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..1e14823 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/onefuzz-8.1.0.tar.gz diff --git a/python-onefuzz.spec b/python-onefuzz.spec new file mode 100644 index 0000000..2fa0ee0 --- /dev/null +++ b/python-onefuzz.spec @@ -0,0 +1,204 @@ +%global _empty_manifest_terminate_build 0 +Name: python-onefuzz +Version: 8.1.0 +Release: 1 +Summary: Onefuzz Client Library for Python +License: MIT +URL: https://github.com/microsoft/onefuzz/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/83/b2/0507d7c04c179a0da1ca7d97bf5a78a3c32d364f8441a9752a20aa4c5db6/onefuzz-8.1.0.tar.gz +BuildArch: noarch + +Requires: python3-msal +Requires: python3-requests +Requires: python3-jmespath +Requires: python3-semver +Requires: python3-signalrcore +Requires: python3-asciimatics +Requires: python3-pydantic +Requires: python3-memoization +Requires: python3-msrestazure +Requires: python3-azure-storage-blob +Requires: python3-azure-applicationinsights +Requires: python3-tenacity +Requires: python3-docstring-parser +Requires: python3-azure-identity +Requires: python3-azure-cli-core +Requires: python3-PyJWT +Requires: python3-rsa +Requires: python3-onefuzztypes + +%description +# OneFuzz SDK + +*The Python SDK for OneFuzz* + +See [Onefuzz](https://github.com/microsoft/onefuzz) + +# Examples + +$ python +>>> from onefuzz.api import Onefuzz, ContainerType +>>> Onefuzz().template.libfuzzer.basic('my-second-job') +>>> + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%package -n python3-onefuzz +Summary: Onefuzz Client Library for Python +Provides: python-onefuzz +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-onefuzz +# OneFuzz SDK + +*The Python SDK for OneFuzz* + +See [Onefuzz](https://github.com/microsoft/onefuzz) + +# Examples + +$ python +>>> from onefuzz.api import Onefuzz, ContainerType +>>> Onefuzz().template.libfuzzer.basic('my-second-job') +>>> + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%package help +Summary: Development documents and examples for onefuzz +Provides: python3-onefuzz-doc +%description help +# OneFuzz SDK + +*The Python SDK for OneFuzz* + +See [Onefuzz](https://github.com/microsoft/onefuzz) + +# Examples + +$ python +>>> from onefuzz.api import Onefuzz, ContainerType +>>> Onefuzz().template.libfuzzer.basic('my-second-job') +>>> + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%prep +%autosetup -n onefuzz-8.1.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-onefuzz -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 8.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..b067239 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +10a5d6ed23cb78432b206c2f17a5e95f onefuzz-8.1.0.tar.gz -- cgit v1.2.3