- Update to 2.7.1
* pre-commit: Bump versions * Don't decode error response bodies - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install * Update name for dist directory in %files section OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-git-pw?expand=0&rev=25
This commit is contained in:
commit
1e0d7fdd9f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
git-pw-2.6.0.tar.gz
Normal file
3
git-pw-2.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e118e31bbe259ed9ae540d627cc563a6ece553d02aed11b1a92bbac408a0da0e
|
||||
size 43835
|
3
git_pw-2.7.0.tar.gz
Normal file
3
git_pw-2.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99cb0b4a603386127c8205358d9780428a0468f8b1cb73ace804a5a466a28ef4
|
||||
size 45461
|
3
git_pw-2.7.1.tar.gz
Normal file
3
git_pw-2.7.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f69c57aafd13d21d6fa604dff680c4f9113a8f31bf3f65dd663bad0e1839b0e1
|
||||
size 45779
|
191
python-git-pw.changes
Normal file
191
python-git-pw.changes
Normal file
@ -0,0 +1,191 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 12:00:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.7.1
|
||||
* pre-commit: Bump versions
|
||||
* Don't decode error response bodies
|
||||
- Switch package to modern Python Stack on SLE-15
|
||||
* Use Python 3.11 on SLE-15 by default
|
||||
* Drop support for older Python versions
|
||||
- Switch build system from setuptools to pyproject.toml
|
||||
* Add python-pip and python-wheel to BuildRequires
|
||||
* Replace %python_build with %pyproject_wheel
|
||||
* Replace %python_install with %pyproject_install
|
||||
* Update name for dist directory in %files section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 14:30:51 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.7.0
|
||||
* Python 3.13 is now officially supported and tested
|
||||
* Python 3.8 is no longer supported
|
||||
- Adjust upstream source name in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 20 14:05:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.6.0:
|
||||
* Use older Python version for click-man
|
||||
* Add support for Python 3.12, drop Python 3.7
|
||||
* Replace use of pkg\_resources
|
||||
* Revert "docs: Switch to furo theme"
|
||||
* Add pyproject.toml file
|
||||
* docs: Switch to furo theme
|
||||
* readthedocs: Also install git-pw
|
||||
* readthedocs: Specify requirements
|
||||
* Specify OS, tools
|
||||
* Add readthedocs config file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 23:02:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.5.0:
|
||||
* Add release note for --since, --before opts
|
||||
* patch, series: Add support for '--since' and '--before'
|
||||
* utils: Correct type
|
||||
* Fix black issues
|
||||
* CI: Switch to pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 08:17:21 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- python-six is not required
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 14 08:47:02 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove python_module macro definition
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 15:29:30 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to version 2.4.0
|
||||
* Replace implicit optional typedefs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 6 10:28:55 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
- version update to 2.3.0
|
||||
2.3.0
|
||||
-----
|
||||
* Release 2.3.0
|
||||
* Drop Python 3.5, 3.6 support, add 3.10
|
||||
* Create git-blame-ignore-revs file
|
||||
* Blackify code
|
||||
* requirements: Uncap docs requirements
|
||||
* CI: Add missing anchors
|
||||
2.2.3
|
||||
-----
|
||||
* Release 2.2.3
|
||||
* CI: Generate release
|
||||
* rpm: Add README for RPM specs
|
||||
* requirements: Uncap test requirements
|
||||
* rpm: Yet more spec file changes
|
||||
2.2.2
|
||||
-----
|
||||
* Release 2.2.2
|
||||
* Add missing runtime dependencies
|
||||
* rpm: Modify changelog
|
||||
2.2.1
|
||||
-----
|
||||
* Release 2.2.1
|
||||
* requirements: Remove all upper constraint caps
|
||||
* rpm: Add pytest as dependency
|
||||
2.2.0
|
||||
-----
|
||||
* Release 2.2.0
|
||||
* rpm: Spec updates
|
||||
* Replace mock with unittest.mock
|
||||
* Add missing PyYAML type stubs package
|
||||
* utils: Add support for 'yaml' formatter
|
||||
* trivial: Style fixes
|
||||
* README: Update docs for Patchwork 3.0
|
||||
* README: Use python3 variants of packages
|
||||
* CI: Stop publishing to test.pypi.org
|
||||
2.1.2
|
||||
-----
|
||||
* Release 2.1.2
|
||||
* requirements: Add support for click 8.x
|
||||
* tests: Unset PAGER env when testing fallback
|
||||
* docs: Update doc name
|
||||
* utils: Convert prints to logging calls
|
||||
* utils: Log subprocess calls
|
||||
2.1.1
|
||||
-----
|
||||
* man: Update man pages
|
||||
2.1.0
|
||||
-----
|
||||
* Add release note for new 'bundle download' options
|
||||
* Fix the setup.py warning
|
||||
* Allow downloading of series patches to separate files
|
||||
* utils: Remove unnecessary future import
|
||||
* README: Re-add build status
|
||||
* Remove references to Travis
|
||||
* Switch to GitHub Actions
|
||||
* tox: Add missing 'typing' stubs
|
||||
* tox: Fix default Python versions
|
||||
* Convert to Python 3-style type hints
|
||||
* Add release note for read-only auth change
|
||||
* Do not require authentication for GET requests
|
||||
- python-mock is not required for build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 29 06:47:47 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.0.0:
|
||||
* Drop support for Python 2.7
|
||||
* trivial: Use names for options with multiple=True
|
||||
* Add '--hash' option for 'git-pw patch list'
|
||||
* rpm: Address review comments
|
||||
* Add spec file
|
||||
* Revert "docs: Increase support range for reno"
|
||||
* travis: Add support for GitHub releases
|
||||
* docs: Increase support range for reno
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 04:27:25 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.9.0:
|
||||
* Adds support for Patchwork API v1.2 and introduces five new commands:
|
||||
+ bundle create
|
||||
+ bundle update
|
||||
+ bundle delete
|
||||
+ bundle add
|
||||
+ bundle remove
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 16:43:11 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 1.8.1: fixing the bug we filed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 14:54:17 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Skip over failing UpdateTestCase.test_update_with_invalid_state test
|
||||
(gh#getpatchwork/git-pw#53)
|
||||
- Add Provides/Obsoletes to rename git-pw to python-git-pw package.
|
||||
- Replace %python_only construct with proper alternatives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
86
python-git-pw.spec
Normal file
86
python-git-pw.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package python-git-pw
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
%define modname git_pw
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-git-pw
|
||||
Version: 2.7.1
|
||||
Release: 0
|
||||
Summary: A tool for integrating Git with Patchwork
|
||||
License: MIT
|
||||
URL: https://github.com/getpatchwork/git-pw
|
||||
Source: https://files.pythonhosted.org/packages/source/g/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module arrow >= 0.10}
|
||||
BuildRequires: %{python_module click >= 6.0}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyaml >= 5.1}
|
||||
BuildRequires: %{python_module pytest >= 3.0}
|
||||
BuildRequires: %{python_module requests > 2.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tabulate >= 0.8}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: git-core
|
||||
Requires: python-arrow >= 0.10
|
||||
Requires: python-click >= 6.0
|
||||
Requires: python-pyaml >= 5.1
|
||||
Requires: python-requests > 2.0
|
||||
Requires: python-tabulate >= 0.8
|
||||
Provides: git-pw = %{version}
|
||||
Obsoletes: git-pw < %{version}
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
git-pw is a tool for integrating Git with Patchwork, the web-based patch
|
||||
tracking system.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/git-pw
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.UTF-8
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative git-pw
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative git-pw
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%python_alternative %{_bindir}/git-pw
|
||||
%{python_sitelib}/git_pw
|
||||
%{python_sitelib}/git_pw-%{version}.dist-info
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user