2024-01-06 11:04:54 +01:00
|
|
|
|
Name: python-docker
|
2024-01-06 11:04:54 +01:00
|
|
|
|
Version: 3.2.1
|
2024-01-06 11:04:54 +01:00
|
|
|
|
Release: 1mamba
|
|
|
|
|
Summary: An API client for docker written in Python
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
|
URL: https://github.com/docker/docker-py
|
|
|
|
|
Source: https://github.com/docker/docker-py/archive/%{version}.tar.gz
|
|
|
|
|
License: Apache License 2.0
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
|
BuildRequires: libpython%{?with_pyver}-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python >= %python_version
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A Python library for the Docker Remote API.
|
|
|
|
|
It does everything the docker command does, but from within Python – run containers, manage them, pull/push images, etc.
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
|
%pyver_package
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n docker-py-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
%{__python} setup.py install \
|
|
|
|
|
-O1 --skip-build \
|
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
|
--install-headers=%{python_inc} \
|
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 11:04:54 +01:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc LICENSE README.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Sat Mar 31 2018 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Fri Mar 30 2018 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Thu Mar 22 2018 Automatic Build System <autodist@mambasoft.it> 3.1.4-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Wed Mar 21 2018 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Sat Feb 17 2018 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Mon Dec 25 2017 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Mon Feb 06 2017 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 11:04:54 +01:00
|
|
|
|
* Sat Oct 15 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.10.3-1mamba
|
|
|
|
|
- package created using the webbuild interface
|