SHA256
14
0
forked from pool/python-q
Files
python-q/python-q.spec
Dirk Mueller aa3a9faa95 Accepting request 1008641 from home:yarunachalam:branches:devel:languages:python
- Update to version 2.7 
  * Fix tests on Python 3.5
  * Remove 3.4 from the test matrix (no longer supported by Github)
  * Fix pycodestyle/flake8 issues
  * Replace pep8 by pycodestyle

OBS-URL: https://build.opensuse.org/request/show/1008641
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-q?expand=0&rev=4
2022-10-07 07:52:55 +00:00

55 lines
1.5 KiB
RPMSpec

#
# spec file for package python-q
#
# Copyright (c) 2022 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-q
Version: 2.7
Release: 0
Summary: Quick-and-dirty debugging output for tired programmers
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/zestyping/q
Source: https://files.pythonhosted.org/packages/source/q/q/q-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Quick-and-dirty debugging output for tired programmers.
%prep
%setup -q -n q-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec test/test_basic.py
%files %{python_files}
%doc README.md
%{python_sitelib}/*
%changelog