forked from pool/python-ogr
- Update to 0.45.0:
* OGR now supports PyGithub >= 1.58.
* OGR now understands a few community-hosted GitLab instances that could
not be determined automatically from the hostname.
* Fixes an issue with project->service mapping where the service with an
url not containing the service type wasn't matched.
* A bug in ogr resulting in returning only first page of pull requests
for Pagure has been fixed.
* ogr now raises `GitForgeInternalError` rather than `PagureAPIException`
when getting 50x response from the Pagure API.
* `CommitComment.comment` has been deprecated in favour of
`CommitComment.body` to make the naming consistent across objects.
* ogr now requires Python 3.9 or later.
* Using the method `users_with_write_access` you can generate the set of
users that have write access to the project and the method
`has_write_access(user)` you can find out if the user has write access
to the project.
* We have implemented the closed_by property for the Pagure pull request
for getting the login of the account that closed the pull request.
- Switch to pyproject macros.
- Stop using greedy globs in %files.
- Drop BuildRequires on setuptools_scm_git_archive.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ogr?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 19 02:12:48 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.45.0:
|
||||
* OGR now supports PyGithub >= 1.58.
|
||||
* OGR now understands a few community-hosted GitLab instances that could
|
||||
not be determined automatically from the hostname.
|
||||
* Fixes an issue with project->service mapping where the service with an
|
||||
url not containing the service type wasn't matched.
|
||||
* A bug in ogr resulting in returning only first page of pull requests
|
||||
for Pagure has been fixed.
|
||||
* ogr now raises `GitForgeInternalError` rather than `PagureAPIException`
|
||||
when getting 50x response from the Pagure API.
|
||||
* `CommitComment.comment` has been deprecated in favour of
|
||||
`CommitComment.body` to make the naming consistent across objects.
|
||||
* ogr now requires Python 3.9 or later.
|
||||
* Using the method `users_with_write_access` you can generate the set of
|
||||
users that have write access to the project and the method
|
||||
`has_write_access(user)` you can find out if the user has write access
|
||||
to the project.
|
||||
* We have implemented the closed_by property for the Pagure pull request
|
||||
for getting the login of the account that closed the pull request.
|
||||
- Switch to pyproject macros.
|
||||
- Stop using greedy globs in %files.
|
||||
- Drop BuildRequires on setuptools_scm_git_archive.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 11:25:57 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-ogr
|
||||
Version: 0.45.0
|
||||
Release: 0
|
||||
@@ -25,9 +23,11 @@ Summary: One API for multiple git forges
|
||||
License: MIT
|
||||
URL: https://github.com/packit-service/ogr
|
||||
Source: https://files.pythonhosted.org/packages/source/o/ogr/ogr-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools_scm_git_archive}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Deprecated
|
||||
@@ -58,10 +58,10 @@ One API for multiple git forges.
|
||||
%setup -q -n ogr-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -70,6 +70,7 @@ One API for multiple git forges.
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/ogr
|
||||
%{python_sitelib}/ogr-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user