2019-02-13 14:16:48 +00:00
|
|
|
#
|
2019-03-25 11:44:44 +00:00
|
|
|
# spec file for package python-jirafs
|
2019-02-13 14:16:48 +00:00
|
|
|
#
|
2020-01-06 13:00:15 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2019-02-13 14:16:48 +00:00
|
|
|
#
|
|
|
|
|
# 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-%{**}}
|
2020-01-03 05:28:52 +00:00
|
|
|
%define skip_python2 1
|
2019-02-13 14:16:48 +00:00
|
|
|
Name: python-jirafs
|
2020-02-25 04:24:31 +00:00
|
|
|
Version: 2.2.0
|
2019-02-13 14:16:48 +00:00
|
|
|
Release: 0
|
2019-03-25 11:44:44 +00:00
|
|
|
Summary: Library for editing JIRA issues as local text files
|
2019-02-13 14:16:48 +00:00
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
|
URL: https://github.com/coddingtonbear/jirafs
|
2020-01-06 13:00:15 +00:00
|
|
|
Source: https://github.com/coddingtonbear/jirafs/archive/%{version}.tar.gz
|
2019-02-13 14:16:48 +00:00
|
|
|
Patch0: capitalization.patch
|
|
|
|
|
BuildRequires: %{python_module PrettyTable}
|
2019-03-28 10:16:08 +00:00
|
|
|
BuildRequires: %{python_module behave}
|
2019-02-13 14:16:48 +00:00
|
|
|
BuildRequires: %{python_module blessings}
|
2019-03-25 11:44:44 +00:00
|
|
|
BuildRequires: %{python_module environmental-override}
|
2019-03-28 10:16:08 +00:00
|
|
|
BuildRequires: %{python_module ipdb}
|
2019-02-13 14:16:48 +00:00
|
|
|
BuildRequires: %{python_module jira}
|
2019-03-28 10:16:08 +00:00
|
|
|
BuildRequires: %{python_module mock}
|
2019-03-25 11:44:44 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2019-02-13 14:16:48 +00:00
|
|
|
BuildRequires: %{python_module tox}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: python-PrettyTable
|
|
|
|
|
Requires: python-blessings
|
2019-03-25 11:44:44 +00:00
|
|
|
Requires: python-environmental-override
|
|
|
|
|
Requires: python-ipdb
|
2020-02-25 04:24:31 +00:00
|
|
|
Requires: python-jira >= 2
|
2019-03-28 10:16:08 +00:00
|
|
|
BuildArch: noarch
|
2019-02-13 14:16:48 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2019-03-25 11:44:44 +00:00
|
|
|
This library lets the user stay out of JIRA by letting them edit JIRA
|
|
|
|
|
issues as a collection of text files using an interface inspired by
|
|
|
|
|
`git` and `hg`.
|
2019-02-13 14:16:48 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n jirafs-%{version}
|
|
|
|
|
%autopatch -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
2020-01-22 18:14:07 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2019-02-13 14:16:48 +00:00
|
|
|
|
|
|
|
|
%check
|
2019-03-28 10:16:08 +00:00
|
|
|
# tests require running JIRA instance
|
2019-03-26 14:42:36 +00:00
|
|
|
#%%python_exec -m unittest discover -v
|
2019-02-13 14:16:48 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
2020-01-22 18:14:07 +00:00
|
|
|
%{_bindir}/jirafs
|
2019-02-13 14:16:48 +00:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|