Added python-shaker and python-zmq packages [deb, rpm]

This commit is contained in:
Aleksey Galkin 2015-03-17 21:19:29 +03:00
parent 8badbbabfe
commit e13029e215
13 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,5 @@
python-shaker (0.2.2) UNRELEASED; urgency=medium
* Initial release
-- Aleksey Galkin <agalkin@mirantis.com> Tue, 17 Mar 2015 15:00:00 +0300

View File

@ -0,0 +1 @@
7

View File

@ -0,0 +1,35 @@
Source: python-shaker
Section: python
Priority: extra
Maintainer: Aleksey Galkin <agalkin@mirantis.com>
Build-Depends:
debhelper (>= 8.0.0),
python-setuptools,
python-pbr (>=0.6),
Standards-Version: 3.9.4
Homepage: https://launchpad.net/python-shaker
XS-Testsuite: autopkgtest
Package: python-shaker
Architecture: all
Depends: python-pkg-resources,
python-pbr (>= 0.8), python-pbr (<= 1.0),
iso8601 (>= 0.1.9),
Jinja2 (>= 2.6),
python-oslo.concurrency (>= 1.3.0),
oslo-config (>= 1.6.0),
python-oslo.i18n (>= 1.3.0),
python-oslo.log (>= 0.4.0),
python-oslo.serialization (>= 1.2.0),
python-oslo.utils (>= 1.2.0),
python-glanceclient (>= 0.15.0),
python-keystoneclient (>= 1.1.0),
python-neutronclient (>= 2.3.11), python-neutronclient (<< 3),
python-novaclient (>= 2.18.0), python-novaclient(!= 2.21.0),
python-heatclient (>= 0.3.0),
PyYAML (>= 3.1.0),
python-zmq (>=14.3.1),
six (>= 1.9.0),
${python:Misc}
${python:Depends}
Description: EC2 Salt Minion Launcher

View File

View File

View File

@ -0,0 +1 @@
python-shacker_0.0.2_all.deb python extra

View File

@ -0,0 +1,14 @@
#!/usr/bin/make -f
# -*- makefile -*-
# export DH_VERBOSE=1
%:
dh $@ --buildsystem python_distutils --with python2
override_dh_auto_install:
dh_auto_install
override_dh_python2:
dh_python2 --no-guessing-deps

View File

@ -0,0 +1,89 @@
Name: python-shaker
Epoch: 1
Version: 0.2.2
Release: 1%{?dist}
Summary: EC2 Salt Minion Launcher
License: ASL 2.0
URL: http://pypi.python.org/pypi/%{name}
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-pbr
BuildRequires: python-d2to1
BuildRequires: python-sphinx
BuildRequires: python-oslo-sphinx
BuildRequires: python-six
Requires: python-pbr >= 0.8, python-pbr <= 1.0
Requires: python-iso8601 >= 0.1.9
Requires: python-jinja2 >= 2.6
Requires: python-oslo-concurrency >= 1.3.0
Requires: python-oslo-config >= 1.6.0
Requires: python-oslo-i18n >= 1.3.0
Requires: python-oslo-log >= 0.4.0
Requires: python-oslo-serialization >= 1.2.0
Requires: python-oslo-utils >= 1.2.0
Requires: python-glanceclient >= 0.15.0
Requires: python-keystoneclient >= 1.1.0
Requires: python-neutronclient >= 2.3.11, python-neutronclient < 3
Requires: python-novaclient >= 2.18.0, python-novaclient < 2.21.0, python-novaclient > 2.21.0
Requires: python-heatclient >= 0.3.0
Requires: PyYAML >= 3.1.0
Requires: python-zmq >= 14.3.1
Requires: python-six >= 1.9.0
Requires: python-setuptools
%description
Shake VMs with our sheer-class tests!
%package doc
Summary: Documentation for Shaker
Group: Documentation
BuildRequires: python-sphinx
BuildRequires: python-sphinxcontrib-httpdomain
%description doc
Documentation for the Shacker.
%prep
%setup -q
rm -f test-requirements.txt requirements.txt
rm -rf python_shaker.egg-info
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
rm -fr %{buildroot}%{python_sitelib}/tests
export PYTHONPATH="$( pwd ):$PYTHONPATH"
sphinx-build -b html doc/source html
sphinx-build -b man doc/source man
install -p -D -m 644 man/shaker.1 %{buildroot}%{_mandir}/man1/shaker.1
rm -fr html/.doctrees html/.buildinfo
%files
%doc LICENSE README.rst
%{_bindir}/shaker*
%{python_sitelib}/shaker
%{python_sitelib}/*.egg-info
%{_mandir}/man1/shaker.1*
%files doc
%doc LICENSE html
%changelog