public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joel Capitao <jcapitao@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-magnumclient] epel10: Sync from RDO ussuri release from python-magnumclient-3.0.0-2.el8
Date: Mon, 10 Aug 2026 09:49:52 GMT [thread overview]
Message-ID: <178635539200.1.17767812533434173558.rpms-python-magnumclient-535ad64dffda@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-magnumclient
Branch : epel10
Commit : 535ad64dffda0b5f96dcea8215a7619b234aabea
Author : Joel Capitao <jcapitao@redhat.com>
Date : 2020-06-09T14:55:32+02:00
Stats : +76/-88 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-magnumclient/c/535ad64dffda0b5f96dcea8215a7619b234aabea?branch=epel10
Log:
Sync from RDO ussuri release from python-magnumclient-3.0.0-2.el8
---
diff --git a/.gitignore b/.gitignore
index 1766bdf..c6be76e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/python-magnumclient-2.9.1.tar.gz
/python-magnumclient-2.12.0.tar.gz
/python-magnumclient-2.15.0.tar.gz
+/python-magnumclient-3.0.0.tar.gz
diff --git a/python-magnumclient.spec b/python-magnumclient.spec
index da9df5f..2e511b7 100644
--- a/python-magnumclient.spec
+++ b/python-magnumclient.spec
@@ -1,14 +1,3 @@
-# Macros for py2/py3 compatibility
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global pyver %{python3_pkgversion}
-%else
-%global pyver 2
-%endif
-%global pyver_bin python%{pyver}
-%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
-%global pyver_install %{expand:%{py%{pyver}_install}}
-%global pyver_build %{expand:%{py%{pyver}_build}}
-# End of macros for py2/py3 compatibility
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
%global sname python-magnumclient
%global pname magnumclient
@@ -22,8 +11,8 @@ command-line tool (magnum).
%global common_desc_tests Python-magnumclient test subpackage
Name: python-%{pname}
-Version: 2.15.0
-Release: 3%{?dist}
+Version: 3.0.0
+Release: 1%{?dist}
Summary: Client library for Magnum API
License: ASL 2.0
@@ -34,89 +23,82 @@ BuildArch: noarch
%description
%{common_desc}
-%package -n python%{pyver}-%{pname}
+%package -n python3-%{pname}
Summary: Client library for Magnum API
-%{?python_provide:%python_provide python%{pyver}-%{pname}}
-%if %{pyver} == 3
+%{?python_provide:%python_provide python3-%{pname}}
Obsoletes: python2-%{pname} < %{version}-%{release}
-%endif
-BuildRequires: python%{pyver}-devel
-BuildRequires: python%{pyver}-setuptools
-BuildRequires: python%{pyver}-pbr
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pbr
BuildRequires: git
# test dependencies
-BuildRequires: python%{pyver}-oslo-utils
-BuildRequires: python%{pyver}-openstackclient
-BuildRequires: python%{pyver}-oslo-serialization
-BuildRequires: python%{pyver}-oslo-log
-BuildRequires: python%{pyver}-stevedore
-BuildRequires: python%{pyver}-requests
-BuildRequires: python%{pyver}-oslo-i18n
-BuildRequires: python%{pyver}-fixtures
-BuildRequires: python%{pyver}-mock
-BuildRequires: python%{pyver}-testtools
-BuildRequires: python%{pyver}-keystoneauth1
-BuildRequires: python%{pyver}-prettytable
-
-Requires: python%{pyver}-babel
-Requires: python%{pyver}-cryptography
-Requires: python%{pyver}-keystoneauth1 >= 3.4.0
-Requires: python%{pyver}-oslo-i18n >= 3.15.3
-Requires: python%{pyver}-oslo-log >= 3.36.0
-Requires: python%{pyver}-oslo-serialization >= 2.18.0
-Requires: python%{pyver}-oslo-utils >= 3.33.0
-Requires: python%{pyver}-osc-lib >= 1.8.0
-Requires: python%{pyver}-os-client-config >= 1.28.0
-Requires: python%{pyver}-pbr
-Requires: python%{pyver}-prettytable
-Requires: python%{pyver}-six
-
-# Handle python2 exception
-%if %{pyver} == 2
-Requires: python-decorator
-%else
-Requires: python%{pyver}-decorator
+BuildRequires: python3-oslo-utils
+BuildRequires: python3-openstackclient
+BuildRequires: python3-oslo-serialization
+BuildRequires: python3-oslo-log
+%if 0%{?rhel}
+BuildRequires: python3-osprofiler
%endif
-
-%description -n python%{pyver}-%{pname}
+BuildRequires: python3-stevedore
+BuildRequires: python3-requests
+BuildRequires: python3-oslo-i18n
+BuildRequires: python3-fixtures
+BuildRequires: python3-mock
+BuildRequires: python3-testtools
+BuildRequires: python3-keystoneauth1
+BuildRequires: python3-prettytable
+BuildRequires: python3-stestr
+
+Requires: python3-babel
+Requires: python3-cryptography
+Requires: python3-keystoneauth1 >= 3.4.0
+Requires: python3-oslo-i18n >= 3.15.3
+Requires: python3-oslo-log >= 3.36.0
+Requires: python3-oslo-serialization >= 2.18.0
+Requires: python3-oslo-utils >= 3.33.0
+Requires: python3-osc-lib >= 1.8.0
+Requires: python3-os-client-config >= 1.28.0
+Requires: python3-pbr
+Requires: python3-prettytable
+Requires: python3-six
+
+Requires: python3-decorator
+
+%description -n python3-%{pname}
%{common_desc}
%if 0%{?with_doc}
%package -n python-%{pname}-doc
Summary: python-magnumclient documentation
-BuildRequires: python%{pyver}-sphinx
-BuildRequires: python%{pyver}-openstackdocstheme
-BuildRequires: python%{pyver}-os-client-config
+BuildRequires: python3-sphinx
+BuildRequires: python3-openstackdocstheme
+BuildRequires: python3-os-client-config
-# Handle python2 exception
-%if %{pyver} == 2
-BuildRequires: python-decorator
-%else
-BuildRequires: python%{pyver}-decorator
-%endif
+BuildRequires: python3-decorator
%description -n python-%{pname}-doc
Documentation for python-magnumclient
%endif
-%package -n python%{pyver}-%{pname}-tests
+%package -n python3-%{pname}-tests
Summary: Python-magnumclient test subpackage
%{?python_provide:%python_provide python2-%{pname}-tests}
-Requires: python%{pyver}-%{pname} = %{version}-%{release}
-Requires: python%{pyver}-oslo-utils
-Requires: python%{pyver}-stevedore
-Requires: python%{pyver}-requests
-Requires: python%{pyver}-oslo-i18n
-Requires: python%{pyver}-fixtures
-Requires: python%{pyver}-mock
-Requires: python%{pyver}-testtools
-Requires: python%{pyver}-keystoneauth1
-Requires: python%{pyver}-prettytable
-
-%description -n python%{pyver}-%{pname}-tests
+Requires: python3-%{pname} = %{version}-%{release}
+Requires: python3-oslo-utils
+Requires: python3-stevedore
+Requires: python3-requests
+Requires: python3-oslo-i18n
+Requires: python3-fixtures
+Requires: python3-mock
+Requires: python3-testtools
+Requires: python3-keystoneauth1
+Requires: python3-prettytable
+Requires: python3-stestr
+
+%description -n python3-%{pname}-tests
%{common_desc_tests}
%prep
@@ -126,32 +108,34 @@ Requires: python%{pyver}-prettytable
rm -rf *requirements.txt
%build
-%{pyver_build}
+%{py3_build}
%if 0%{?with_doc}
# generate html docs
# (TODO) Re-add -W once https://review.openstack.org/#/c/554197 is in a
# tagged release
-sphinx-build-%{pyver} -b html doc/source doc/build/html
+sphinx-build-3 -b html doc/source doc/build/html
# Fix hidden-file-or-dir warnings
rm -rf doc/build/html/.{doctrees,buildinfo}
%endif
%install
-%{pyver_install}
+%{py3_install}
%check
-# tests are failing due to unicode not defined
-# we are skipping the test
-%{pyver_bin} setup.py test ||:
+%if 0%{?rhel}
+PYTHON=%{__python3} stestr run --slowest
+%else
+PYTHON=%{__python3} stestr run --slowest || true
+%endif
-%files -n python%{pyver}-%{pname}
+%files -n python3-%{pname}
%doc README.rst
%license LICENSE
-%{pyver_sitelib}/%{pname}
+%{python3_sitelib}/%{pname}
%{_bindir}/magnum
-%{pyver_sitelib}/*.egg-info
-%exclude %{pyver_sitelib}/%{pname}/tests
+%{python3_sitelib}/*.egg-info
+%exclude %{python3_sitelib}/%{pname}/tests
%if 0%{?with_doc}
%files -n python-%{pname}-doc
@@ -159,10 +143,13 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%doc doc/build/html
%endif
-%files -n python%{pyver}-%{pname}-tests
-%{pyver_sitelib}/%{pname}/tests
+%files -n python3-%{pname}-tests
+%{python3_sitelib}/%{pname}/tests
%changelog
+* Tue Jun 09 2020 Joel Capitao <jcapitao@redhat.com> 3.0.0-1
+- Update to upstream version 3.0.0
+
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.15.0-3
- Rebuilt for Python 3.9
diff --git a/sources b/sources
index 7a25f6a..05d6374 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-magnumclient-2.15.0.tar.gz) = d638c3596d5ff0677fdf03590a93bd9f3530790ae38bca3796812d6907f7a560e0076eb4bbc3e995bb329e5968ae5c2afdd16dbb4ac7b8a3fd526c53204eca10
+SHA512 (python-magnumclient-3.0.0.tar.gz) = 6d0eae6ed5232409adeb71cc3cbdf74e3d60dbde9034bf114ebd9d31f76776c413f163838055f74d137459a8d5812b3a375df01ec11923aafd8e08a769469a84
reply other threads:[~2026-08-10 9:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178635539200.1.17767812533434173558.rpms-python-magnumclient-535ad64dffda@fedoraproject.org \
--to=jcapitao@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox