forked from pool/python-keyring
Accepting request 329452 from home:dimstar:Factory
- Update to version 5.4: + Prefer setuptools_scm to hgtools. - Replace python-hgtools BuildRequires with python-setuptools_scm, following upstreams change back to setuptools_scm. - Add keyring-gnome-3.18.patch: Silence a warning: on GNOME 3.18, it is mandatory to specify the version to be imported. OBS-URL: https://build.opensuse.org/request/show/329452 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
546f6bfbb7
commit
fd533b464a
@@ -17,18 +17,19 @@
|
||||
|
||||
|
||||
Name: python-keyring
|
||||
Version: 5.3
|
||||
Version: 5.4
|
||||
Release: 0
|
||||
Url: https://bitbucket.org/kang/python-keyring-lib
|
||||
Summary: Store and access your passwords safely
|
||||
License: Python-2.0 and MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.zip
|
||||
Source: https://pypi.python.org/packages/source/k/keyring/keyring-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM keyring-gnome-3.18.patch dimstar@opensuse.org -- Silence a warning when run in GNOME 3.18: gi requires versioned imports now.
|
||||
Patch0: keyring-gnome-3.18.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-hgtools
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: unzip
|
||||
BuildRequires: python-setuptools_scm
|
||||
# Test requirements:
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-pytest
|
||||
@@ -55,6 +56,7 @@ from python. It can be used in any application that needs safe password storage.
|
||||
|
||||
%prep
|
||||
%setup -q -n keyring-%{version}
|
||||
%patch0 -p1
|
||||
# For rpmlint warning: remove shebang from python library:
|
||||
sed -i '/^#!/d' keyring/cli.py keyring/backends/_win_crypto.py
|
||||
|
||||
|
Reference in New Issue
Block a user