15
0
forked from pool/python-pifpaf
Files
python-pifpaf/python-pifpaf.spec
Dirk Mueller 7498b47cdb - update to 3.1.5:
* fix: do not block when process exits not correctly
  * fix: typo in stdout handling
  * fix: typo in stdout handling
  * fix: remove universal tag since Python 2 is not supported anymore
  * fix: close devnull
  * fix: do not leave zombie process
  * Fix broken Ceph config formatting
  * chore: compress image
  * Add Ceph Nautilus and later support
  * ceph: set limit for max open fds
  * Add TLS\_ENABLED environment var for memcached
  * Add Python 3.7 and 3.8 to classifier
  * Fix import ordering
  * Remove Python 2.x support and six
  * Fix zookeeper driver
  * Disable aodh for py27 too
  * Tidy up tox.ini and update kafka
  * Fix tests and add recent Python releases
  * Try to fix PEP8 again
  * Various fixes
  * Add a driver for httpbin
  * Update README.rst : Fix typo access
  * fix: log info, not error when command is ready
  * Fixes flake8 warning and adds missing comma
  * Apply suggestions from code review
  * Add TLS params to memcached
  * Add ceph-manager support
  * Add Ceph config options for small disks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pifpaf?expand=0&rev=23
2021-06-17 21:14:17 +00:00

84 lines
2.4 KiB
RPMSpec

#
# spec file for package python-pifpaf
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pifpaf
Version: 3.1.5
Release: 0
Summary: Suite of tools and fixtures to manage daemons for testing
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/jd/pifpaf
Source: https://pypi.io/packages/source/p/pifpaf/pifpaf-%{version}.tar.gz
BuildRequires: %{python_module pbr}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-click
Requires: python-daiquiri
Requires: python-fixtures
Requires: python-mock
Requires: python-psutil
Requires: python-requests
Requires: python-six
Requires: python-testrepository
Requires: python-testtools
Requires: python-xattr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
%description
Pifpaf is a suite of `fixtures`_ and a command-line tool that allows to start
and stop daemons for a quick throw-away usage. This is typically useful when
needing these daemons to run `integration testing`_. It originaly evolved from
its precussor `overtest`_.
%prep
%setup -q -n pifpaf-%{version}
%build
export LC_ALL=en_US.utf8
%python_build
%install
export LC_ALL=en_US.utf8
%python_install
%python_clone -a %{buildroot}%{_bindir}/pifpaf
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative pifpaf
%postun
%python_uninstall_alternative pifpaf
%check
# rather integration tests
%files %{python_files}
%license LICENSE
%doc ChangeLog README.rst
%{python_sitelib}/*
%python_alternative %{_bindir}/pifpaf
%changelog