public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chandan Kumar <chkumar246@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-barbicanclient] f45: Initial import bz#1208454.
Date: Sun, 30 Aug 2026 13:16:01 GMT	[thread overview]
Message-ID: <178809576106.1.607312786291136720.rpms-python-barbicanclient-4c8e63ca1c7f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-barbicanclient
Branch : f45
Commit : 4c8e63ca1c7f4ba7673791bad1a3c4d30e2eda77
Author : Chandan Kumar <chkumar246@gmail.com>
Date   : 2015-04-05T09:47:45+05:30
Stats  : +100/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-barbicanclient/c/4c8e63ca1c7f4ba7673791bad1a3c4d30e2eda77?branch=f45

Log:
Initial import bz#1208454.

---
diff --git a/.gitignore b/.gitignore
index e69de29..d071bc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-barbicanclient-3.0.3.tar.gz

diff --git a/python-barbicanclient.spec b/python-barbicanclient.spec
new file mode 100644
index 0000000..c24e5d7
--- /dev/null
+++ b/python-barbicanclient.spec
@@ -0,0 +1,98 @@
+%if 0%{?rhel} && 0%{?rhel} <= 6
+%{!?__python2:        %global __python2 /usr/bin/python2}
+%{!?python2_sitelib:  %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
+%{!?_licensedir:%global license %%doc}
+
+Name:           python-barbicanclient
+Version:        3.0.3
+Release:        1%{?dist}
+Summary:        Client Library for OpenStack Barbican Key Management API
+
+License:        ASL 2.0
+URL:            https://pypi.python.org/pypi/python-barbicanclient
+Source0:        https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  python2-devel
+BuildRequires:  python-pbr
+BuildRequires:  python-setuptools
+
+Requires:       python-setuptools
+Requires:       python-requests
+Requires:       python-six >= 1.9.0
+Requires:       python-keystoneclient
+Requires:       python-cliff
+Requires:       python-oslo-i18n
+Requires:       python-oslo-serialization
+Requires:       python-oslo-utils
+Requires:       python-iso8601
+Requires:       python-babel
+Requires:       python-oslo-config
+Requires:       python-netaddr
+Requires:       python-prettytable
+Requires:       python-stevedore
+Requires:       pyparsing
+Requires:       python-cmd2
+Requires:       pytz
+Requires:       python-msgpack
+
+%description
+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).
+
+%package doc
+Summary: Documentation for OpenStack Barbican API client
+
+BuildRequires:  python-sphinx
+BuildRequires:  python-oslo-sphinx
+BuildRequires:  python-oslo-utils
+BuildRequires:  dos2unix
+BuildRequires:  python-oslo-i18n
+
+%description doc
+Documentation for the barbicanclient module
+
+%prep
+%setup -q -n %{name}-%{version}
+# Remove bundled egg-info
+rm -rf %{name}.egg-info
+# let RPM handle deps
+sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py
+# make doc build compatible with python-oslo-sphinx RPM
+sed -i 's/oslosphinx/oslo.sphinx/' doc/source/conf.py
+
+rm -rf {test-,}requirements.txt
+
+%build
+%{__python2} setup.py build
+# doc
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
+pushd doc
+sphinx-build -b html -d build/doctrees   source build/html
+popd
+# Fix hidden-file-or-dir warnings
+rm -fr doc/build/html/.buildinfo
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+dos2unix doc/build/html/_static/jquery.js
+
+
+%files
+%license LICENSE
+%doc AUTHORS CONTRIBUTING.rst README.rst PKG-INFO ChangeLog
+%{_bindir}/barbican
+%{python2_sitelib}/barbicanclient
+%{python2_sitelib}/python_barbicanclient-%{version}-py?.?.egg-info
+
+%files doc
+%doc doc/build/html
+%license LICENSE
+
+%changelog
+* Thu Apr 02 2015 Chandan Kumar <chkumar246@gmail.com> - 3.0.3-1
+- Initial package.

diff --git a/sources b/sources
index e69de29..a693ca1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a4e17dae428831f1de2d5174481fa860  python-barbicanclient-3.0.3.tar.gz

                 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=178809576106.1.607312786291136720.rpms-python-barbicanclient-4c8e63ca1c7f@fedoraproject.org \
    --to=chkumar246@gmail.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