Accepting request 951390 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/951390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gscholar?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-02-03 23:45:53 +00:00 committed by Git OBS Bridge
commit c339dacda9
4 changed files with 22 additions and 8 deletions

View File

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

3
gscholar-2.0.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Feb 3 20:18:19 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* update copyright year
* skip python2
- update to version 2.0.0:
* removed Python2 support
* migrated to pytest
* allow tests to fail that are effected by google's rate limiter
* added github action for tests and dependency updates
* fixed various linter errors
-------------------------------------------------------------------
Tue May 26 06:34:31 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-gscholar
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-gscholar
Version: 1.6.1
Version: 2.0.0
Release: 0
Summary: Python library to query Google Scholar
License: MIT
Group: Development/Languages/Python
URL: https://github.com/venthur/gscholar
Source0: https://files.pythonhosted.org/packages/source/g/gscholar/gscholar-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@ -61,7 +61,7 @@ sed -i -e '/^#!\//, 1d' gscholar/gscholar.py
%files %{python_files}
%license LICENSE
%doc README.md CHANGELOG.md
%{python_sitelib}/*
%{python_sitelib}/gscholar*
%python_alternative %{_bindir}/gscholar
%changelog