From 46733cd4cc5851e8eb9cde273da654725dc4a4a0afc0cd5d5a4073fd47eeee74 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 9 Feb 2023 11:15:10 +0000 Subject: [PATCH] Accepting request 1063969 from home:glaubitz:branches:devel:languages:python:azure - Initial build + Version 1.0.0b2 OBS-URL: https://build.opensuse.org/request/show/1063969 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-developer-devcenter?expand=0&rev=1 --- .gitattributes | 23 +++++++ .gitignore | 1 + LICENSE.txt | 21 +++++++ azure-developer-devcenter-1.0.0b2.zip | 3 + python-azure-developer-devcenter.changes | 5 ++ python-azure-developer-devcenter.spec | 76 ++++++++++++++++++++++++ 6 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 azure-developer-devcenter-1.0.0b2.zip create mode 100644 python-azure-developer-devcenter.changes create mode 100644 python-azure-developer-devcenter.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..f9e87f7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Microsoft Corporation. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/azure-developer-devcenter-1.0.0b2.zip b/azure-developer-devcenter-1.0.0b2.zip new file mode 100644 index 0000000..6c69cca --- /dev/null +++ b/azure-developer-devcenter-1.0.0b2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc57f6b1853e86226039748a5feeb9b3cc652d3b8cc4bc052cf29bb25ca4c3cb +size 80409 diff --git a/python-azure-developer-devcenter.changes b/python-azure-developer-devcenter.changes new file mode 100644 index 0000000..130797c --- /dev/null +++ b/python-azure-developer-devcenter.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Feb 9 09:42:30 UTC 2023 - John Paul Adrian Glaubitz + +- Initial build + + Version 1.0.0b2 diff --git a/python-azure-developer-devcenter.spec b/python-azure-developer-devcenter.spec new file mode 100644 index 0000000..bb4a66f --- /dev/null +++ b/python-azure-developer-devcenter.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-azure-developer-devcenter +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +%define realversion 1.0.0b2 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-azure-developer-devcenter +Version: 1.0.0~b2 +Release: 0 +Summary: Microsoft Azure Developer DevCenter Service Client Library for Python +License: MIT +URL: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk +Source: https://files.pythonhosted.org/packages/source/a/azure-developer-devcenter/azure-developer-devcenter-%{realversion}.zip +BuildRequires: %{python_module azure-core >= 1.24.0} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} +BuildRequires: %{python_module isodate >= 0.6.1} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +Requires: python-azure-core >= 1.24.0 +Requires: python-azure-nspkg >= 3.0.0 +Requires: python-isodate >= 0.6.1 +Requires: (python-typing_extensions >= 4.3.0 if python-base < 3.8) +Conflicts: python-azure-sdk <= 2.0.0 + +BuildArch: noarch + +%python_subpackages + +%description +The Azure DevCenter package provides access to manage resources for Microsoft Dev Box +and Azure Deployment Environments. This SDK enables managing developer machines and +environments in Azure. + +Use the package for Azure DevCenter to: + +Create, access, manage, and delete Dev Box resources Create, +deploy, manage, and delete Environment resources + +%prep +%setup -q -n azure-developer-devcenter-%{realversion} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand # delete common files +rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ +} + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE +%dir %{python_sitelib}/azure/developer +%{python_sitelib}/azure/developer/devcenter +%{python_sitelib}/azure_developer_devcenter-*.egg-info + +%changelog