public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-barbicanclient] f45: Update to v5.6.0 rhbz#2525650
Date: Sun, 30 Aug 2026 13:16:26 GMT	[thread overview]
Message-ID: <178809578699.1.207864434193168979.rpms-python-barbicanclient-ee757c809bc1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-barbicanclient
            Branch : f45
            Commit : ee757c809bc16e9c66123f70a9adced77565012b
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2026-08-30T15:09:57+02:00
            Stats  : +76/-72 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-barbicanclient/c/ee757c809bc16e9c66123f70a9adced77565012b?branch=f45

            Log:
            Update to v5.6.0 rhbz#2525650

Update to v5.6.0 rhbz#2525650

---
diff --git a/.gitignore b/.gitignore
index 5273725..8c0f807 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,6 @@
 /python-barbicanclient-7.0.0.tar.gz
 /0xf8675126e2411e7748dd46662fc2093e4682645f.txt
 /python-barbicanclient-7.0.0.tar.gz.asc
+/0x30566c450e41d7c91e442dfb231f942f608ddeff.txt
+/python_barbicanclient-7.6.0.tar.gz
+/python_barbicanclient-7.6.0.tar.gz.asc

diff --git a/python-barbicanclient.spec b/python-barbicanclient.spec
index 01170fe..0f99141 100644
--- a/python-barbicanclient.spec
+++ b/python-barbicanclient.spec
@@ -1,122 +1,123 @@
-%{!?sources_gpg: %{!?dlrn:%global sources_gpg 1} }
-%global sources_gpg_sign 0xf8675126e2411e7748dd46662fc2093e4682645f
-%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
-# we are excluding some BRs from automatic generator
-%global excluded_brs doc8 bandit pre-commit hacking flake8-import-order
-# Exclude sphinx from BRs if docs are disabled
-%if ! 0%{?with_doc}
-%global excluded_brs %{excluded_brs} sphinx openstackdocstheme
-%endif
-
-%global with_doc 1
+%global sources_gpg 1
+%global sources_gpg_sign 0x30566c450e41d7c91e442dfb231f942f608ddeff
 
 %global sname barbicanclient
+%global with_doc 1
 
-%global common_desc \
-This is a client for the Barbican Key Management API. There is a \
-Python library for accessing the API (barbicanclient module), and \
-a command-line script (barbican).
+%global _description %{expand:
+This is a client for the Barbican Key Management API. There is a Python
+library for accessing the API (barbicanclient module), and a
+command-line script (barbican).}
 
-Name:           python-barbicanclient
-Version:        7.0.0
-Release:        %autorelease
-Summary:        Client Library for OpenStack Barbican Key Management API
 
-License:        Apache-2.0
-URL:            https://pypi.python.org/pypi/python-barbicanclient
-Source0:        https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz
+Name:             python-%{sname}
+Version:          7.6.0
+Release:          %autorelease
+Summary:          Python API and CLI for the Barbican Client
+License:          Apache-2.0
+URL:              https://launchpad.net/%{name}
+Source0:          https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz
 # Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
-Source101:        https://tarballs.openstack.org/%{name}/%{name}-%{upstream_version}.tar.gz.asc
+Source101:        https://tarballs.openstack.org/%{name}/python_%{sname}-%{version}.tar.gz.asc
 Source102:        https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
 %endif
 
-BuildArch:      noarch
+BuildArch:        noarch
 
 # Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
-BuildRequires:  /usr/bin/gpgv2
+BuildRequires:    gpgverify
 %endif
 
-BuildRequires:  git-core
-%description
-%{common_desc}
+BuildRequires:    git-core
+BuildRequires:    python3-devel
+# This package is split not following python guidelines
+BuildRequires:    python3-sphinxcontrib-rsvgconverter
+
+
+%description %{_description}
+
 
 %package -n python3-%{sname}
-Summary:        Client Library for OpenStack Barbican Key Management API
+Summary:          %{summary}
+
+
+%description -n python3-%{sname} %{_description}
 
-BuildRequires:  python3-devel
-BuildRequires:  pyproject-rpm-macros
-%description -n python3-%{sname}
-%{common_desc}
 
 %if 0%{?with_doc}
-%package -n python-%{sname}-doc
-Summary: Documentation for OpenStack Barbican API client
+%package doc
+Summary:          Documentation for OpenStack Barbican API Client
+
 
-BuildRequires:  python3-sphinxcontrib-rsvgconverter
+%description doc
+%{_description}
 
-%description -n python-%{sname}-doc
-Documentation for the barbicanclient module
+This package contains auto-generated documentation.
 %endif
 
+
 %prep
-# Required for tarball sources verification
 %if 0%{?sources_gpg} == 1
 %{gpgverify}  --keyring=%{SOURCE102} --signature=%{SOURCE101} --data=%{SOURCE0}
 %endif
-%autosetup -n %{name}-%{upstream_version} -S git
-
+%autosetup -n python_%{sname}-%{version} -S git
 
+# Ignore global online constraints file
 sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
-sed -i "s/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/" tox.ini
-sed -i /^minversion.*/d tox.ini
-sed -i /^requires.*virtualenv.*/d tox.ini
-
-# Exclude some bad-known BRs
-for pkg in %{excluded_brs}; do
-  for reqfile in doc/requirements.txt test-requirements.txt; do
-    if [ -f $reqfile ]; then
-      sed -i /^${pkg}.*/d $reqfile
-    fi
-  done
-done
-
-# Automatic BR generation
+
+# Disable coverage - messy.
+sed -i \
+    -e 's/^\s*PYTHON=coverage.*//' \
+    -e 's/^\s*coverage.*//' \
+    tox.ini
+
+# Drop dependencies for lint, coverage, ...
+%pyproject_patch_dependency hacking:ignore
+%pyproject_patch_dependency coverage:ignore
+
+
 %generate_buildrequires
 %if 0%{?with_doc}
-  %pyproject_buildrequires -t -e %{default_toxenv},docs
+%pyproject_buildrequires -t -e %{default_toxenv},docs
 %else
-  %pyproject_buildrequires -t -e %{default_toxenv}
+%pyproject_buildrequires -t -e %{default_toxenv}
 %endif
 
+
 %build
 %pyproject_wheel
 
+
+%install
+%pyproject_install
+
+%pyproject_save_files -l %{sname}
+
+
 %if 0%{?with_doc}
-# doc
 %tox -e docs
 # Fix hidden-file-or-dir warnings
-rm -fr doc/build/html/.buildinfo
+rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo doc/build/html/.htaccess
 %endif
 
-%install
-%pyproject_install
-ln -s ./barbican %{buildroot}%{_bindir}/barbican-3
 
-%files -n python3-%{sname}
-%license LICENSE
-%doc AUTHORS CONTRIBUTING.rst README.rst PKG-INFO ChangeLog
+%check
+%tox -e %{default_toxenv}
+
+
+%files -n python3-%{sname} -f %{pyproject_files}
+%doc ChangeLog README.rst
 %{_bindir}/barbican
-%{_bindir}/barbican-3
-%{python3_sitelib}/barbicanclient
-%{python3_sitelib}/python_barbicanclient-%{upstream_version}.dist-info
+
 
 %if 0%{?with_doc}
-%files -n python-%{sname}-doc
+%files doc
 %doc doc/build/html
 %license LICENSE
 %endif
 
+
 %changelog
 %autochangelog

diff --git a/sources b/sources
index a2e94cb..5944b2f 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (python-barbicanclient-7.0.0.tar.gz) = b6ddb6881e1ab70e9a35562b3a12f55ebf6c1b84b61c0324f7e9547f109564f6fffeb3faacb8ef5ae74255c46795d571eae6a2f6bb3043c785018e48e23a7730
-SHA512 (0xf8675126e2411e7748dd46662fc2093e4682645f.txt) = 1e9471d80d44bb3570b8054e845583b4c06f7177dc4fa8a5907e6185806ce794a594bf42d5c336ee20004a58e53748f275b749816e75f4cc3b9fecb8075ccbdf
-SHA512 (python-barbicanclient-7.0.0.tar.gz.asc) = 1597a377157bdce1f71ddb415f94fe0ecea3dbc86e5901e0d734de38a9698b00e1f28449284c6cc1818dc658dfa4fef88e647cb8d0120cd1cb1397bf5739be0a
+SHA512 (0x30566c450e41d7c91e442dfb231f942f608ddeff.txt) = 8a8ec343aa8a03aef957efde28c50454ddb911382c912189783ba0f49cd1b6f15fbe2506d30a167468f944ea970fdefe8eec4d2be2c5683c37be000babfb802d
+SHA512 (python_barbicanclient-7.6.0.tar.gz) = 71b07b69aeeb982b305d8979ec80e922265f72db446f87e371d7d89495c937e10604f329b74425bd71242a9c9deec87e5a55a49142d619cbca9946edec1b7132
+SHA512 (python_barbicanclient-7.6.0.tar.gz.asc) = fd07ebe2d7491ea7b9234af8a614a00784a52aeab1d46c783db3334050ad92376dc994c8bd66b0ff5209d4d6c0431311af78bd1dac13ab463efa08abc5ce8f29

                 reply	other threads:[~2026-08-30 13:16 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=178809578699.1.207864434193168979.rpms-python-barbicanclient-ee757c809bc1@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --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