forked from pool/python-proxmoxer
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
17
_service
Normal file
17
_service
Normal file
@@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/proxmoxer/proxmoxer</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">2.0.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">proxmoxer</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/proxmoxer/proxmoxer</param>
|
||||
<param name="changesrevision">cdcb40da0d3cd58e2f0588a6eb10278379f7dd34</param></service></servicedata>
|
3
proxmoxer-2.0.1.tar.gz
Normal file
3
proxmoxer-2.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c77eed2c57c841d571edb5e3a8836102d951081a06c8ecc6740f3315f18d3fe0
|
||||
size 32102
|
15
python-proxmoxer.changes
Normal file
15
python-proxmoxer.changes
Normal file
@@ -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 <kastl@b1-systems.de>
|
||||
|
||||
- new package python-proxmoxer: Python Wrapper for the Proxmox 2.x API (HTTP and SSH)
|
64
python-proxmoxer.spec
Normal file
64
python-proxmoxer.spec
Normal file
@@ -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
|
Reference in New Issue
Block a user