From 6fae08125fb0b415f94f16727f1dde885fdd28d357824e593c2f0cb1a55b7376 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 31 Mar 2020 14:40:30 +0000 Subject: [PATCH] Remove link OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-git-pw?expand=0&rev=2 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + git-pw-1.8.0.tar.gz | 3 ++ git-pw.changes | 23 +++++++++++++++ git-pw.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 122 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 git-pw-1.8.0.tar.gz create mode 100644 git-pw.changes create mode 100644 git-pw.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/git-pw-1.8.0.tar.gz b/git-pw-1.8.0.tar.gz new file mode 100644 index 0000000..8202ec9 --- /dev/null +++ b/git-pw-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd3b9fadad0755ffa73f161ba0c95c71d30f7c23d322e8eb3db5e697f8d4554e +size 32748 diff --git a/git-pw.changes b/git-pw.changes new file mode 100644 index 0000000..368ea67 --- /dev/null +++ b/git-pw.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Sun Mar 15 07:24:31 UTC 2020 - Tomáš Chvátal + +- 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 + +- Update to v1.7.0 + +------------------------------------------------------------------- +Sun Feb 10 10:11:46 UTC 2019 - John Vandenberg + +- 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 diff --git a/git-pw.spec b/git-pw.spec new file mode 100644 index 0000000..50963e3 --- /dev/null +++ b/git-pw.spec @@ -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