commit afad50f47b267e139aeccbf172f5fd7b7a41551bafc318f4c9b40869cd3cf73e Author: Matej Cepl Date: Tue Feb 21 21:56:05 2023 +0000 Accepting request 1067027 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-proxmoxer; unfortunately this needs python-openssh-wrapper, that I can get to build, but only without %check... (see SR#1067026) OBS-URL: https://build.opensuse.org/request/show/1067027 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proxmoxer?expand=0&rev=1 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/_service b/_service new file mode 100644 index 0000000..834842a --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + https://github.com/proxmoxer/proxmoxer + git + .git + 2.0.1 + @PARENT_TAG@ + enable + + + proxmoxer + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..3cc74ed --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/proxmoxer/proxmoxer + cdcb40da0d3cd58e2f0588a6eb10278379f7dd34 \ No newline at end of file diff --git a/proxmoxer-2.0.1.tar.gz b/proxmoxer-2.0.1.tar.gz new file mode 100644 index 0000000..faa3c44 --- /dev/null +++ b/proxmoxer-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77eed2c57c841d571edb5e3a8836102d951081a06c8ecc6740f3315f18d3fe0 +size 32102 diff --git a/python-proxmoxer.changes b/python-proxmoxer.changes new file mode 100644 index 0000000..fbb2e95 --- /dev/null +++ b/python-proxmoxer.changes @@ -0,0 +1,15 @@ +------------------------------------------------------------------- +Tue Feb 21 12:45:15 UTC 2023 - kastl@b1-systems.de + +- Update to version 2.0.1: + * Update version and changelog + * FIX: black linting error + * add test to check correct propagation of verify_ssl + * fix pass all provided arguments to token auth-backend + * Fix README formatting + * Remove unneeded class inheritance from `object` + +------------------------------------------------------------------- +Mon Feb 20 17:18:48 UTC 2023 - Johannes Kastl + +- new package python-proxmoxer: Python Wrapper for the Proxmox 2.x API (HTTP and SSH) diff --git a/python-proxmoxer.spec b/python-proxmoxer.spec new file mode 100644 index 0000000..baa42ee --- /dev/null +++ b/python-proxmoxer.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-proxmoxer +# +# 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/ +# + +Name: python-proxmoxer +Version: 2.0.1 +Release: 0 +Summary: Python Wrapper for the Proxmox 2x API (HTTP and SSH) +License: MIT +URL: https://github.com/proxmoxer/proxmoxer/ +# the Pypi tarball does not contain the tests directory +Source: proxmoxer-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes + +# Tests +BuildRequires: %{python_module openssh-wrapper} +BuildRequires: %{python_module paramiko} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests-toolbelt} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module responses} + +BuildArch: noarch +%python_subpackages + +%description +Python Wrapper for the Proxmox 2.x API (HTTP and SSH) + +%prep +%setup -q -n proxmoxer-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest -k 'not test_timeout' --cov ./tests/ + +%files %{python_files} +%doc CHANGELOG.md README.rst +%license LICENSE.txt +%{python_sitelib}/proxmoxer +%{python_sitelib}/proxmoxer-%{version}*-info + +%changelog