Matej Cepl 2020-03-31 14:40:30 +00:00 committed by Git OBS Bridge
commit 6fae08125f
5 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
git-pw-1.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd3b9fadad0755ffa73f161ba0c95c71d30f7c23d322e8eb3db5e697f8d4554e
size 32748

23
git-pw.changes Normal file
View File

@ -0,0 +1,23 @@
-------------------------------------------------------------------
Sun Mar 15 07:24:31 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.8.0:
* no changelog
- Set out proper dependencies
- Fix build without python2
-------------------------------------------------------------------
Wed Nov 27 08:11:06 UTC 2019 - Johannes Thumshirn <jthumshirn@suse.com>
- Update to v1.7.0
-------------------------------------------------------------------
Sun Feb 10 10:11:46 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.5.1
+ Fix help text for --format to refer to pw.format
-------------------------------------------------------------------
Wed Nov 28 10:10:51 UTC 2018 - jthumshirn@suse.com
- Initial packaging for openSUSE

72
git-pw.spec Normal file
View File

@ -0,0 +1,72 @@
#
# spec file for package git-pw
#
# Copyright (c) 2020 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: git-pw
Version: 1.8.0
Release: 0
Summary: A tool for integrating Git with Patchwork
License: MIT
URL: https://github.com/getpatchwork/%{name}
Source: https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module arrow >= 0.10}
BuildRequires: %{python_module click >= 6.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module requests > 2.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.12}
BuildRequires: %{python_module tabulate >= 0.8}
BuildRequires: fdupes
BuildRequires: git-core
BuildRequires: python-rpm-macros
Requires: git-core
Requires: python-arrow >= 0.10
Requires: python-click >= 6.0
Requires: python-requests > 2.0
Requires: python-six >= 1.12
Requires: python-tabulate >= 0.8
%python_subpackages
%description
git-pw is a tool for integrating Git with Patchwork, the web-based patch
tracking system.
%prep
%setup -q
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LC_ALL=en_US.UTF-8
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%python3_only %{_bindir}/git-pw
%{python_sitelib}/git_pw
%{python_sitelib}/git_pw-%{version}-py%{python_version}.egg-info
%changelog